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

123456

/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]);
57 if (left != null) left = TintedDrawable.wrap(left);
58 if (top != null) top = TintedDrawable.wrap(top);
59 if (right != null) right = TintedDrawable.wrap(right);
60 if (bottom != null) bottom = TintedDrawable.wrap(bottom);
68 if (start != null) start = TintedDrawable.wrap(start);
69 if (top != null) top = TintedDrawable.wrap(top);
70 if (end != null) end = TintedDrawable.wrap(end);
71 if (bottom != null) bottom = TintedDrawable.wrap(bottom);
109 // TODO: Remove this class and use DrawableCompat.wrap() onc
113 public static TintedDrawable wrap(Drawable drawable) { method in class:NavigationBarButton.TintedDrawable
[all...]
/frameworks/support/compat/tests/java/android/support/v4/graphics/
H A DDrawableCompatTest.java41 final Drawable wrappedDrawable = DrawableCompat.wrap(original);
53 final Drawable wrappedDrawable = DrawableCompat.wrap(original);
63 final Drawable wrapper = DrawableCompat.wrap(drawable);
78 // Now wrap it
79 final Drawable wrapper = DrawableCompat.wrap(drawable);
87 final Drawable wrappedDrawable = DrawableCompat.wrap(new GradientDrawable());
88 assertSame(wrappedDrawable, DrawableCompat.wrap(wrappedDrawable));
98 // Now wrap and assert that the wrapper also returns a constant state
99 final Drawable wrapper = DrawableCompat.wrap(drawable);
108 // Now wrap i
[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/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/support/core-ui/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() {
170 return wrap(new ViewAction() {
198 return wrap(new ViewAction() {
226 return wrap(new ViewAction() {
256 return wrap(new ViewAction() {
286 return wrap(new ViewAction() {
H A DBaseViewPagerTest.java45 import static android.support.v4.view.ViewPagerActions.wrap;
360 verifyPageChangeViewActions(wrap(swipeLeft()), wrap(swipeRight()));
374 onView(withId(R.id.pager)).perform(wrap(swipeLeft()), wrap(swipeLeft()));
377 onView(withId(R.id.pager)).perform(wrap(swipeLeft()), wrap(swipeRight()));
380 onView(withId(R.id.pager)).perform(wrap(swipeRight()), wrap(swipeRight()));
384 onView(withId(R.id.pager)).perform(wrap(swipeRigh
[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/fragment/java/android/support/v4/app/
H A DNoSaveStateFrameLayout.java31 static ViewGroup wrap(View child) { method in class:NoSaveStateFrameLayout
/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/leanback/tests/java/android/support/v17/leanback/widget/
H A DShadowOverlayContainerTest.java36 container.wrap(textView);
48 // change layout size of textView after wrap()
66 container.wrap(textView);
77 // change layout size of textView after wrap()
96 container.wrap(textView);
/frameworks/support/compat/java/android/support/v4/graphics/drawable/
H A DDrawableCompat.java51 Drawable wrap(Drawable drawable); method in interface:DrawableCompat.DrawableImpl
104 public Drawable wrap(Drawable drawable) { method in class:DrawableCompat.BaseDrawableImpl
161 public Drawable wrap(Drawable drawable) { method in class:DrawableCompat.HoneycombDrawableImpl
194 public Drawable wrap(Drawable drawable) { method in class:DrawableCompat.KitKatDrawableImpl
234 public Drawable wrap(Drawable drawable) { method in class:DrawableCompat.LollipopDrawableImpl
281 public Drawable wrap(Drawable drawable) { method in class:DrawableCompat.MDrawableImpl
282 // No need to wrap on M+
467 * Potentially wrap {@code drawable} so that it may be used for tinting across the
478 * Drawable bg = DrawableCompat.wrap(view.getBackground());
497 public static Drawable wrap( method in class:DrawableCompat
[all...]
/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/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/graphics/
H A DDrawableCompatActivity.java48 mDrawable = DrawableCompat.wrap(d.mutate());
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/graphics/
H A DDrawableCompatActivity.java48 mDrawable = DrawableCompat.wrap(d.mutate());
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DAppCompatCheckedTextView.java48 super(TintContextWrapper.wrap(context), attrs, defStyleAttr);
/frameworks/support/core-ui/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/
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 572 milliseconds

123456