[go: nahoru, domu]

Searched refs:wrap (Results 1 - 25 of 125) sorted by relevance

12345

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DItemBridgeAdapterShadowOverlayWrapper.java21 * A wrapper class working with {@link ItemBridgeAdapter} to wrap item view in a
40 public void wrap(View wrapper, View wrapped) { method in class:ItemBridgeAdapterShadowOverlayWrapper
41 ((ShadowOverlayContainer) wrapper).wrap(wrapped);
/frameworks/opt/setupwizard/library/eclair-mr1/src/com/android/setupwizardlib/view/
H A DNavigationBarButton.java47 drawables[i] = TintedDrawable.wrap(drawables[i].mutate());
57 if (left != null) left = TintedDrawable.wrap(left.mutate());
58 if (top != null) top = TintedDrawable.wrap(top.mutate());
59 if (right != null) right = TintedDrawable.wrap(right.mutate());
60 if (bottom != null) bottom = TintedDrawable.wrap(bottom.mutate());
68 if (start != null) start = TintedDrawable.wrap(start.mutate());
69 if (top != null) top = TintedDrawable.wrap(top.mutate());
70 if (end != null) end = TintedDrawable.wrap(end.mutate());
71 if (bottom != null) bottom = TintedDrawable.wrap(bottom.mutate());
109 // TODO: Remove this class and use DrawableCompat.wrap() onc
113 public static TintedDrawable wrap(Drawable drawable) { method in class:NavigationBarButton.TintedDrawable
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DGLDebugHelper.java79 public static GL wrap(GL gl, int configFlags, Writer log) { method in class:GLDebugHelper
100 public static EGL wrap(EGL egl, int configFlags, Writer log) { method in class:GLDebugHelper
/frameworks/support/v4/tests/java/android/support/v4/graphics/
H A DDrawableCompatTest.java47 final Drawable wrappedDrawable = DrawableCompat.wrap(original);
59 final Drawable wrappedDrawable = DrawableCompat.wrap(original);
69 final Drawable wrapper = DrawableCompat.wrap(drawable);
78 final Drawable wrappedDrawable = DrawableCompat.wrap(new GradientDrawable());
79 assertSame(wrappedDrawable, DrawableCompat.wrap(wrappedDrawable));
89 // Now wrap and assert that the wrapper also returns a constant state
90 final Drawable wrapper = DrawableCompat.wrap(drawable);
99 // Now wrap it and set a mock as the wrapper's callback
100 final Drawable wrapper = DrawableCompat.wrap(drawable);
114 final Drawable wrapped = DrawableCompat.wrap(tintAwareDrawabl
[all...]
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
H A DBitReader.cpp24 return LLVMParseBitcodeInContext(wrap(&getGlobalContext()), MemBuf, OutModule,
34 *OutModule = wrap(ParseBitcodeFile(unwrap(MemBuf), *unwrap(ContextRef),
54 *OutM = wrap(getLazyBitcodeModule(unwrap(MemBuf), *unwrap(ContextRef),
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
H A DBitReader.cpp24 return LLVMParseBitcodeInContext(wrap(&getGlobalContext()), MemBuf, OutModule,
34 *OutModule = wrap(ParseBitcodeFile(unwrap(MemBuf), *unwrap(ContextRef),
54 *OutM = wrap(getLazyBitcodeModule(unwrap(MemBuf), *unwrap(ContextRef),
/frameworks/base/core/java/android/text/style/
H A DCharacterStyle.java32 * regions, you can use this method to wrap it with a new object that
36 public static CharacterStyle wrap(CharacterStyle cs) { method in class:CharacterStyle
46 * that were generated by {@link #wrap}, returns the underlying
/frameworks/base/libs/hwui/
H A DTexture.h44 inline void setWrap(GLenum wrap, bool bindTexture = false, bool force = false, argument
46 setWrapST(wrap, wrap, bindTexture, force, renderTarget);
94 void wrap(GLuint id, uint32_t width, uint32_t height, GLint format);
162 * s, t, and r wrap modes are all set to REPEAT."
H A DAssetAtlas.cpp42 mTexture->wrap(mImage->getTexture(),
119 texture->wrap(mTexture->id(), pixelRef->info().width(),
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/
H A DDrawerLayoutActions.java99 public static ViewAction wrap(final ViewAction baseAction) { method in class:DrawerLayoutActions
101 throw new IllegalArgumentException("Don't wrap and already wrapped action");
148 return wrap(new ViewAction() {
173 return wrap(new ViewAction() {
198 return wrap(new ViewAction() {
223 return wrap(new ViewAction() {
248 return wrap(new ViewAction() {
273 return wrap(new ViewAction() {
298 return wrap(new ViewAction() {
325 return wrap(ne
[all...]
/frameworks/base/core/java/android/util/
H A DExceptionUtils.java33 public static RuntimeException wrap(IOException e) { method in class:ExceptionUtils
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
H A DOutputStreamTarget.java53 data = ByteBuffer.wrap(stringVal.getBytes());
/frameworks/support/v4/java/android/support/v4/app/
H A DNoSaveStateFrameLayout.java31 static ViewGroup wrap(View child) { method in class:NoSaveStateFrameLayout
/frameworks/support/v4/tests/java/android/support/v4/view/
H A DViewPagerActions.java95 public static ViewAction wrap(final ViewAction baseAction) { method in class:ViewPagerActions
97 throw new IllegalArgumentException("Don't wrap an already wrapped action");
144 return wrap(new ViewAction() {
172 return wrap(new ViewAction() {
200 return wrap(new ViewAction() {
230 return wrap(new ViewAction() {
260 return wrap(new ViewAction() {
H A DBaseViewPagerTest.java276 onView(withId(R.id.pager)).perform(wrap(swipeLeft()));
280 onView(withId(R.id.pager)).perform(wrap(swipeLeft()));
285 onView(withId(R.id.pager)).perform(wrap(swipeLeft()));
290 onView(withId(R.id.pager)).perform(wrap(swipeRight()));
295 onView(withId(R.id.pager)).perform(wrap(swipeRight()));
301 onView(withId(R.id.pager)).perform(wrap(swipeRight()));
319 onView(withId(R.id.pager)).perform(wrap(swipeLeft()), wrap(swipeLeft()));
322 onView(withId(R.id.pager)).perform(wrap(swipeLeft()), wrap(swipeRigh
[all...]
/frameworks/support/v4/java/android/support/v4/graphics/drawable/
H A DDrawableCompat.java51 Drawable wrap(Drawable drawable); method in interface:DrawableCompat.DrawableImpl
103 public Drawable wrap(Drawable drawable) { method in class:DrawableCompat.BaseDrawableImpl
150 public Drawable wrap(Drawable drawable) { method in class:DrawableCompat.EclairDrawableImpl
165 public Drawable wrap(Drawable drawable) { method in class:DrawableCompat.HoneycombDrawableImpl
198 public Drawable wrap(Drawable drawable) { method in class:DrawableCompat.KitKatDrawableImpl
238 public Drawable wrap(Drawable drawable) { method in class:DrawableCompat.LollipopDrawableImpl
280 public Drawable wrap(Drawable drawable) { method in class:DrawableCompat.MDrawableImpl
281 // No need to wrap on M+
454 * Potentially wrap {@code drawable} so that it may be used for tinting across the
462 * Drawable bg = DrawableCompat.wrap(vie
481 public static Drawable wrap(@NonNull Drawable drawable) { method in class:DrawableCompat
[all...]
/frameworks/base/services/tests/servicestests/src/android/net/netlink/
H A DRtNetlinkNeighborMessageTest.java139 final ByteBuffer byteBuffer = ByteBuffer.wrap(RTM_DELNEIGH);
165 final ByteBuffer byteBuffer = ByteBuffer.wrap(RTM_NEWNEIGH);
191 final ByteBuffer byteBuffer = ByteBuffer.wrap(RTM_GETNEIGH_RESPONSE);
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/
H A DObexAppParameters.java139 return ByteBuffer.wrap(bval).get();
149 return ByteBuffer.wrap(bval).getShort();
159 return ByteBuffer.wrap(bval).getInt();
/frameworks/support/v17/tests/src/android/support/v17/leanback/widget/
H A DShadowOverlayContainerTest.java35 container.wrap(textView);
47 // change layout size of textView after wrap()
65 container.wrap(textView);
76 // change layout size of textView after wrap()
95 container.wrap(textView);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
H A DInformationElementUtil.java40 ByteBuffer data = ByteBuffer.wrap(bytes).order(ByteOrder.LITTLE_ENDIAN);
82 ByteBuffer data = ByteBuffer.wrap(ie.bytes).order(ByteOrder.LITTLE_ENDIAN);
171 ByteBuffer data = ByteBuffer.wrap(ie.bytes).order(ByteOrder.LITTLE_ENDIAN);
206 ByteBuffer data = ByteBuffer.wrap(ie.bytes).order(ByteOrder.LITTLE_ENDIAN);
246 ByteBuffer data = ByteBuffer.wrap(ie.bytes).order(ByteOrder.LITTLE_ENDIAN);
291 ByteBuffer data = ByteBuffer.wrap(ie.bytes).order(ByteOrder.LITTLE_ENDIAN);
348 ByteBuffer buf = ByteBuffer.wrap(ie.bytes).order(ByteOrder.LITTLE_ENDIAN);
425 ByteBuffer buf = ByteBuffer.wrap(ie.bytes).order(ByteOrder.LITTLE_ENDIAN);
449 ByteBuffer buf = ByteBuffer.wrap(ie.bytes).order(ByteOrder.LITTLE_ENDIAN);
593 ByteBuffer data = ByteBuffer.wrap(i
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DAppCompatCheckedTextView.java48 super(TintContextWrapper.wrap(context), attrs, defStyleAttr);
/frameworks/support/v4/java/android/support/v4/widget/
H A DFocusStrategy.java39 boolean wrap) {
51 return getNextFocusable(focused, sortedFocusables, wrap);
53 return getPreviousFocusable(focused, sortedFocusables, wrap);
60 private static <T> T getNextFocusable(T focused, ArrayList<T> focusables, boolean wrap) { argument
68 } else if (wrap && count > 0) {
75 private static <T> T getPreviousFocusable(T focused, ArrayList<T> focusables, boolean wrap) { argument
83 } else if (wrap && count > 0) {
36 findNextFocusInRelativeDirection(@onNull L focusables, @NonNull CollectionAdapter<L,T> collectionAdapter, @NonNull BoundsAdapter<T> adapter, @Nullable T focused, @FocusRelativeDirection int direction, boolean isLayoutRtl, boolean wrap) argument
/frameworks/base/services/tests/servicestests/src/android/net/dhcp/
H A DDhcpPacketTest.java288 final ByteBuffer packet = ByteBuffer.wrap(HexEncoding.decode((
319 final ByteBuffer packet = ByteBuffer.wrap(HexEncoding.decode((
375 final ByteBuffer packet = ByteBuffer.wrap(HexEncoding.decode((
412 final ByteBuffer packet = ByteBuffer.wrap(HexEncoding.decode((
489 final ByteBuffer packet = ByteBuffer.wrap(HexEncoding.decode((
522 final ByteBuffer packet = ByteBuffer.wrap(HexEncoding.decode((
553 final ByteBuffer packet = ByteBuffer.wrap(HexEncoding.decode((
587 final ByteBuffer packet = ByteBuffer.wrap(HexEncoding.decode((
623 final ByteBuffer packet = ByteBuffer.wrap(HexEncoding.decode((
656 final ByteBuffer packet = ByteBuffer.wrap(HexEncodin
[all...]
/frameworks/base/services/tests/servicestests/src/android/net/apf/
H A DApfTest.java674 ByteBuffer packet = ByteBuffer.wrap(new byte[100]);
706 ByteBuffer packet = ByteBuffer.wrap(new byte[100]);
733 ByteBuffer mcastv4packet = ByteBuffer.wrap(new byte[100]);
738 ByteBuffer mcastv6packet = ByteBuffer.wrap(new byte[100]);
745 ByteBuffer bcastv4packet = ByteBuffer.wrap(new byte[100]);
793 ByteBuffer packet = ByteBuffer.wrap(new byte[100]);
811 ByteBuffer packet = ByteBuffer.wrap(new byte[100]);
884 ByteBuffer basePacket = ByteBuffer.wrap(new byte[ICMP6_RA_OPTION_OFFSET]);
897 ByteBuffer zeroLengthOptionPacket = ByteBuffer.wrap(
908 ByteBuffer prefixOptionPacket = ByteBuffer.wrap(
[all...]
/frameworks/base/services/tests/servicestests/src/android/net/
H A DIpUtilsTest.java54 // out = " ByteBuffer packet = ByteBuffer.wrap(new byte[] {\n "
77 ByteBuffer packet = ByteBuffer.wrap(new byte[] {
123 ByteBuffer packet = ByteBuffer.wrap(new byte[] {

Completed in 830 milliseconds

12345