Home
last modified time | relevance | path

Searched refs:SIZE (Results 1 – 17 of 17) sorted by relevance

/cts/tests/tests/renderscript/src/android/renderscript/cts/
Dsmall_structs.rs72 #define CHAR_ARRAY_TEST(SIZE) \
73 typedef struct char_array_##SIZE { char bytes[SIZE]; } \
74 char_array_##SIZE; \
76 char_array_##SIZE RS_KERNEL \
77 modify_char_array_##SIZE(char_array_##SIZE in) { \
78 for (int i = 0; i < SIZE; ++i) { \
84 void verify_char_array_##SIZE(rs_allocation alloc) { \
86 struct char_array_##SIZE *elem = \
87 (struct char_array_##SIZE *) rsGetElementAt(alloc, i); \
88 for (int j = 0; j < SIZE; ++j) { \
/cts/tests/tests/graphics/src/android/graphics/cts/
DComposeShaderTest.java45 private static final int SIZE = 255; field in ComposeShaderTest
50 LinearGradient blueGradient = new LinearGradient(0, 0, SIZE, 0, in testPorterDuff()
52 LinearGradient redGradient = new LinearGradient(0, 0, 0, SIZE, in testPorterDuff()
56 Bitmap bitmap = Bitmap.createBitmap(SIZE, SIZE, Config.ARGB_8888); in testPorterDuff()
62 for (int y = 0; y < SIZE; y++) { in testPorterDuff()
63 for (int x = 0; x < SIZE; x++) { in testPorterDuff()
83 LinearGradient blueGradient = new LinearGradient(0, 0, SIZE, 0, in testBlendMode()
85 LinearGradient redGradient = new LinearGradient(0, 0, 0, SIZE, in testBlendMode()
89 Bitmap bitmap = Bitmap.createBitmap(SIZE, SIZE, Config.ARGB_8888); in testBlendMode()
95 for (int y = 0; y < SIZE; y++) { in testBlendMode()
[all …]
DSweepGradientTest.java48 private static final int SIZE = 200; field in SweepGradientTest
49 private static final int CENTER = SIZE / 2;
61 mBitmap = Bitmap.createBitmap(SIZE, SIZE, Config.ARGB_8888); in setup()
72 mCanvas.drawRect(new Rect(0, 0, SIZE, SIZE), mPaint); in test2Colors()
82 mCanvas.drawRect(new Rect(0, 0, SIZE, SIZE), mPaint); in testColorArray()
94 mCanvas.drawRect(new Rect(0, 0, SIZE, SIZE), mPaint); in testMultiColor()
/cts/tests/tests/transition/src/android/transition/cts/
DSharedElementCallbackTest.java48 final int SIZE = 10; in testSnapshot() local
50 Bitmap bitmap = Bitmap.createBitmap(SIZE, SIZE, Bitmap.Config.ARGB_8888, true, cs); in testSnapshot()
59 RectF screenBounds = new RectF(0, 0, SIZE, SIZE); in testSnapshot()
/cts/tests/tests/database/src/android/database/cts/
DCursorIndexOutOfBoundsExceptionTest.java26 int SIZE = 99; in testConstructors() local
28 String expected2 = "Index " + INDEX + " requested, with a size of " + SIZE; in testConstructors()
44 throw new CursorIndexOutOfBoundsException(INDEX, SIZE); in testConstructors()
/cts/tests/openglperf2/jni/primitive/shaderperf/
DShaderPerfRenderer.cpp124 const int SIZE = 256; in setUp() local
125 uint32_t* m = new uint32_t[SIZE]; in setUp()
128 for (int i = 0; i < SIZE; i++) { in setUp()
134 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, SIZE, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, m); in setUp()
/cts/tests/tests/provider/src/android/provider/cts/
DMediaStoreAudioTestHelper.java98 public static final int SIZE = 2737870; field in MediaStoreAudioTestHelper.Audio1
122 values.put(Media.SIZE, SIZE); in getContentValues()
161 public static final int SIZE = 2737321; field in MediaStoreAudioTestHelper.Audio2
184 values.put(Media.SIZE, SIZE); in getContentValues()
DMediaStore_Audio_Playlists_MembersTest.java77 Members.SIZE,
106 Members.SIZE,
259 assertEquals(Audio1.SIZE, c.getInt(c.getColumnIndex(Members.SIZE))); in testStoreAudioPlaylistsMembersExternal()
304 assertEquals(Audio2.SIZE, c.getInt(c.getColumnIndex(Members.SIZE))); in testStoreAudioPlaylistsMembersExternal()
DMediaStore_Audio_MediaTest.java122 assertEquals(Audio1.SIZE, c.getInt(c.getColumnIndex(Media.SIZE))); in testStoreAudioMedia()
DMediaStore_Video_MediaTest.java138 values.put(Media.SIZE, numBytes); in testStoreVideoMediaExternal()
172 assertEquals(numBytes, c.getInt(c.getColumnIndex(Media.SIZE))); in testStoreVideoMediaExternal()
385 assertEquals(20716, c.getLong(c.getColumnIndex(VideoColumns.SIZE))); in testMetadata()
DMediaStore_Images_MediaTest.java245 values.put(Media.SIZE, numBytes); in testStoreImagesMediaExternal()
274 assertEquals(numBytes, c.getInt(c.getColumnIndex(Media.SIZE))); in testStoreImagesMediaExternal()
475 assertEquals(107704, c.getLong(c.getColumnIndex(ImageColumns.SIZE)));
DMediaStore_Audio_Genres_MembersTest.java149 assertEquals(Audio1.SIZE, c.getInt(c.getColumnIndex(Members.SIZE))); in testStoreAudioGenresMembersExternal()
DMediaStorePlacementTest.java93 values.put(MediaColumns.SIZE, 0); in testIgnored()
/cts/tests/tests/os/src/android/os/storage/cts/
DStorageManagerTest.java666 final int SIZE = 1024 * 1024; in testOpenProxyFileDescriptor_largeRead() local
668 new TestProxyFileDescriptorCallback(SIZE, "abcdefghijklmnopqrstuvwxyz"); in testOpenProxyFileDescriptor_largeRead()
669 final byte[] bytes = new byte[SIZE]; in testOpenProxyFileDescriptor_largeRead()
682 final int SIZE = 1024 * 1024; in testOpenProxyFileDescriptor_largeWrite() local
684 new TestProxyFileDescriptorCallback(SIZE, "abcdefghijklmnopqrstuvwxyz"); in testOpenProxyFileDescriptor_largeWrite()
685 final byte[] bytes = new byte[SIZE]; in testOpenProxyFileDescriptor_largeWrite()
686 for (int i = 0; i < SIZE; i++) { in testOpenProxyFileDescriptor_largeWrite()
/cts/tests/camera/src/android/hardware/camera2/cts/
DImageReaderTest.java965 final Size SIZE = mStaticInfo.getAvailableSizesForFormatChecked(FORMAT, in discardFreeBuffersTestByCamera() local
970 createDefaultImageReader(SIZE, FORMAT, MAX_NUM_IMAGES, mListener); in discardFreeBuffersTestByCamera()
979 validateImage(SIZE, FORMAT, NUM_FRAME_VERIFIED, REPEATING); in discardFreeBuffersTestByCamera()
980 validateCaptureResult(FORMAT, SIZE, listener, NUM_FRAME_VERIFIED); in discardFreeBuffersTestByCamera()
986 validateImage(SIZE, FORMAT, NUM_FRAME_VERIFIED, REPEATING); in discardFreeBuffersTestByCamera()
987 validateCaptureResult(FORMAT, SIZE, listener, NUM_FRAME_VERIFIED); in discardFreeBuffersTestByCamera()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityManagerTestBase.java1669 final int[] mCounts = new int[ActivityCallback.SIZE];
1670 final int[] mLastIndexes = new int[ActivityCallback.SIZE];
DCommandSession.java940 public static final int SIZE = sValues.length;