Searched refs:wrap (Results 26 - 50 of 182) sorted by relevance

12345678

/frameworks/base/libs/hwui/
H A DTexture.h64 inline void setWrap(GLenum wrap, bool bindTexture = false, bool force = false) { argument
65 setWrapST(wrap, wrap, bindTexture, force);
112 void wrap(GLuint id, uint32_t width, uint32_t height, GLint internalFormat,
215 * s, t, and r wrap modes are all set to REPEAT."
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
H A DOutputStreamTarget.java53 data = ByteBuffer.wrap(stringVal.getBytes());
H A DInputStreamSource.java75 byteBuffer = ByteBuffer.wrap(byteStream.toByteArray());
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/eap/
H A DEAPMethodTest.java140 EAPMethod.parse(ByteBuffer.wrap(new byte[0]));
151 ByteBuffer buffer = ByteBuffer.wrap(TEST_DATA1_BYTES, 0, TEST_DATA1_BYTES.length - 1);
163 assertEquals(TEST_DATA1_EAP_METHOD, EAPMethod.parse(ByteBuffer.wrap(TEST_DATA1_BYTES)));
174 assertEquals(TEST_DATA2_EAP_METHOD, EAPMethod.parse(ByteBuffer.wrap(TEST_DATA2_BYTES)));
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/wakelock/
H A DWakeLockTest.java45 mWakeLock = WakeLock.wrap(mInner);
84 Runnable wrapped = mWakeLock.wrap(() -> {
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
H A DDomainNameElementTest.java88 ByteBuffer buffer = ByteBuffer.wrap(getTestData(new String[] {TEST_DOMAIN_NAME1}));
102 ByteBuffer buffer = ByteBuffer.wrap(testData);
H A DNAIRealmElementTest.java65 ByteBuffer.wrap(new byte[0])).getRealmDataList().isEmpty());
H A DRoamingConsortiumElementTest.java124 ByteBuffer buffer = ByteBuffer.wrap(getDefaultTestData());
140 ByteBuffer buffer = ByteBuffer.wrap(getDefaultTestData());
/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.java53 container.wrap(textView);
65 // change layout size of textView after wrap()
84 container.wrap(textView);
95 // change layout size of textView after wrap()
115 container.wrap(textView);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
H A DInformationElementUtil.java39 ByteBuffer data = ByteBuffer.wrap(bytes).order(ByteOrder.LITTLE_ENDIAN);
146 ByteBuffer data = ByteBuffer.wrap(ie.bytes).order(ByteOrder.LITTLE_ENDIAN);
233 ByteBuffer data = ByteBuffer.wrap(ie.bytes).order(ByteOrder.LITTLE_ENDIAN);
265 ByteBuffer data = ByteBuffer.wrap(ie.bytes).order(ByteOrder.LITTLE_ENDIAN);
305 ByteBuffer data = ByteBuffer.wrap(ie.bytes).order(ByteOrder.LITTLE_ENDIAN);
440 ByteBuffer buf = ByteBuffer.wrap(ie.bytes).order(ByteOrder.LITTLE_ENDIAN);
538 ByteBuffer buf = ByteBuffer.wrap(ie.bytes).order(ByteOrder.LITTLE_ENDIAN);
549 ByteBuffer buf = ByteBuffer.wrap(ie.bytes).order(ByteOrder.LITTLE_ENDIAN);
575 ByteBuffer buf = ByteBuffer.wrap(ie.bytes).order(ByteOrder.LITTLE_ENDIAN);
789 ByteBuffer data = ByteBuffer.wrap(i
[all...]
/frameworks/base/core/java/android/util/
H A DExceptionUtils.java33 public static RuntimeException wrap(IOException e) { method in class:ExceptionUtils
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/graphics/
H A DDrawableCompatActivity.java48 mDrawable = DrawableCompat.wrap(d.mutate());
/frameworks/support/media-compat/api21/android/support/v4/media/
H A DAudioAttributesCompatApi21.java57 public static Wrapper wrap(@NonNull AudioAttributes obj) { method in class:AudioAttributesCompatApi21.Wrapper
59 throw new IllegalArgumentException("AudioAttributesApi21.Wrapper cannot wrap null");
/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/support/core-ui/tests/java/android/support/v4/view/
H A DBaseViewPagerTest.java46 import static android.support.v4.view.ViewPagerActions.wrap;
403 verifyPageChangeViewActions(wrap(swipeLeft()), wrap(swipeRight()));
417 onView(withId(R.id.pager)).perform(wrap(swipeLeft()), wrap(swipeLeft()));
420 onView(withId(R.id.pager)).perform(wrap(swipeLeft()), wrap(swipeRight()));
423 onView(withId(R.id.pager)).perform(wrap(swipeRight()), wrap(swipeRight()));
427 onView(withId(R.id.pager)).perform(wrap(swipeRigh
[all...]
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
H A DDrawerLayoutTest.java24 import static android.support.v7.testutils.DrawerLayoutActions.wrap;
196 // It's critically important to wrap the GeneralSwipeAction to "wait" until the
198 // open / close state. This is done in DrawerLayoutActions.wrap method.
201 wrap(new GeneralSwipeAction(Swipe.FAST, GeneralLocation.CENTER_LEFT,
206 wrap(new GeneralSwipeAction(Swipe.FAST, GeneralLocation.CENTER_RIGHT,
220 // It's critically important to wrap the GeneralSwipeAction to "wait" until the
222 // open / close state. This is done in DrawerLayoutActions.wrap method.
225 wrap(new GeneralSwipeAction(Swipe.FAST, GeneralLocation.CENTER_LEFT,
231 wrap(new GeneralSwipeAction(Swipe.FAST, GeneralLocation.CENTER_LEFT,
237 wrap(ne
[all...]
/frameworks/support/compat/java/android/support/v4/graphics/drawable/
H A DDrawableCompat.java85 public Drawable wrap(Drawable drawable) { method in class:DrawableCompat.DrawableCompatBaseImpl
202 public Drawable wrap(Drawable drawable) { method in class:DrawableCompat.DrawableCompatApi19Impl
246 public Drawable wrap(Drawable drawable) { method in class:DrawableCompat.DrawableCompatApi21Impl
320 public Drawable wrap(Drawable drawable) { method in class:DrawableCompat.DrawableCompatApi23Impl
321 // No need to wrap on M+
503 * Potentially wrap {@code drawable} so that it may be used for tinting across the
514 * Drawable bg = DrawableCompat.wrap(view.getBackground());
533 public static Drawable wrap(@NonNull Drawable drawable) { method in class:DrawableCompat
534 return IMPL.wrap(drawable);
538 * Unwrap {@code drawable} if it is the result of a call to {@link #wrap(Drawabl
[all...]
/frameworks/base/core/java/android/bluetooth/le/
H A DPeriodicAdvertisingManager.java152 IPeriodicAdvertisingCallback wrapped = wrap(callback, handler);
196 private IPeriodicAdvertisingCallback wrap(PeriodicAdvertisingCallback callback, Handler handler) { method in class:PeriodicAdvertisingManager
/frameworks/base/tests/net/java/android/net/util/
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[] {
/frameworks/av/include/media/stagefright/
H A DRemoteDataSource.h30 static sp<IDataSource> wrap(const sp<DataSource> &source) { function in class:android::RemoteDataSource
/frameworks/av/media/libstagefright/foundation/include/
H A DRemoteDataSource.h30 static sp<IDataSource> wrap(const sp<DataSource> &source) { function in class:android::RemoteDataSource
/frameworks/av/media/libstagefright/include/
H A DRemoteDataSource.h30 static sp<IDataSource> wrap(const sp<DataSource> &source) { function in class:android::RemoteDataSource

Completed in 8861 milliseconds

12345678