Home
last modified time | relevance | path

Searched refs:array (Results 1 – 25 of 86) sorted by relevance

1234

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DLayerDrawableTest.java67 Drawable[] array = new Drawable[] { bitmapDrawable, colorDrawable }; in testConstructor() local
68 LayerDrawable layerDrawable = new LayerDrawable(array); in testConstructor()
69 assertEquals(array.length, layerDrawable.getNumberOfLayers()); in testConstructor()
73 array = new Drawable[0]; in testConstructor()
74 layerDrawable = new LayerDrawable(array); in testConstructor()
93 Drawable[] array = new Drawable[0]; in testInflate() local
94 LayerDrawable layerDrawable = new LayerDrawable(array); in testInflate()
112 layerDrawable = new LayerDrawable(array); in testInflate()
155 Drawable[] array = new Drawable[] { bitmapDrawable, colorDrawable }; in testFindDrawableByLayerId() local
156 LayerDrawable layerDrawable = new LayerDrawable(array); in testFindDrawableByLayerId()
[all …]
/cts/tests/tests/content/src/android/content/res/cts/
DArrayTest.java67 checkStringArray(R.array.strings, new String[] {"zero", "1", "here"}); in testStrings()
68 checkTextArray(R.array.strings, new String[] {"zero", "1", "here"}); in testStrings()
69 checkStringArray(R.array.integers, new String[] {null, null, null}); in testStrings()
70 checkTextArray(R.array.integers, new String[] {null, null, null}); in testStrings()
75 checkIntArray(R.array.strings, new int[] {0, 0, 0}); in testIntegers()
76 checkIntArray(R.array.integers, new int[] {0, 1, 101}); in testIntegers()
/cts/tests/tests/view/src/android/view/cts/
DViewGroup_LayoutParamsTest.java83 TypedArray array = mContext.getTheme().obtainStyledAttributes(R.style.Whatever, attrs); in testSetBaseAttributes() local
84 mockLayoutParams.setBaseAttributes(array, R.styleable.style1_type6, in testSetBaseAttributes()
87 assertEquals(array.getDimensionPixelSize(R.styleable.style1_type6, defValue), in testSetBaseAttributes()
89 assertEquals(array.getDimensionPixelSize(R.styleable.style1_type7, defValue), in testSetBaseAttributes()
91 array.recycle(); in testSetBaseAttributes()
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapFactoryTest.java114 byte[] array = obtainArray(); in testDecodeByteArray1()
115 Bitmap b = BitmapFactory.decodeByteArray(array, 0, array.length, mOpt1); in testDecodeByteArray1()
121 assertNull(BitmapFactory.decodeByteArray(array, 0, array.length, mOpt2)); in testDecodeByteArray1()
130 byte[] array = obtainArray(); in testDecodeByteArray2()
131 Bitmap b = BitmapFactory.decodeByteArray(array, 0, array.length); in testDecodeByteArray2()
/cts/tools/vm-tests/src/dot/junit/opcodes/aput_object/d/
DT_aput_object_3.d62 new-array v2, v0, [Ldot/junit/opcodes/aput_object/d/SubClass;
65 new-array v3, v0, [Ldot/junit/opcodes/aput_object/d/SuperClass;
76 new-array v6, v0, [Ldot/junit/opcodes/aput_object/d/SuperInterface;
79 new-array v7, v0, [Ljava/lang/Object;
82 new-array v8, v0, [Ldot/junit/opcodes/aput_object/d/SuperInterface2;
/cts/tools/vm-tests/src/dot/junit/opcodes/fill_array_data/d/
DT_fill_array_data_7.d30 fill-array-data v9 I
36 fill-array-data-end
DT_fill_array_data_9.d30 fill-array-data v9 I
36 fill-array-data-end
DT_fill_array_data_3.d30 fill-array-data v10 I
36 fill-array-data-end
DT_fill_array_data_13.d30 fill-array-data v9 I
36 fill-array-data-end
DT_fill_array_data_8.d30 fill-array-data v9 I
36 fill-array-data-end
DT_fill_array_data_11.d30 fill-array-data v9 I
36 fill-array-data-end
DT_fill_array_data_1.d30 fill-array-data v9 I
36 fill-array-data-end
DT_fill_array_data_4.d30 fill-array-data v7 I
36 fill-array-data-end
DT_fill_array_data_12.d31 fill-array-data v9 I
37 fill-array-data-end
DT_fill_array_data_2.d30 fill-array-data v9 D
36 fill-array-data-end
DT_fill_array_data_5.d30 fill-array-data v7 I
36 fill-array-data-end
DT_fill_array_data_6.d30 fill-array-data v8 I
36 fill-array-data-end
/cts/tools/vm-tests/src/dot/junit/opcodes/filled_new_array/d/
DT_filled_new_array_8.d30 filled-new-array {v5, v6, v7, v8, v9}, [I
37 filled-new-array {v5, v6, v7, v8, v9}, [I
/cts/tools/vm-tests/src/dot/junit/opcodes/instance_of/d/
DT_instance_of_2.d70 new-array v10, v11, [Ldot/junit/opcodes/instance_of/d/T_instance_of_2/SubClass;
75 new-array v10, v11, [Ldot/junit/opcodes/instance_of/d/T_instance_of_2/SubClass;
98 new-array v10, v11, [Ldot/junit/opcodes/instance_of/d/T_instance_of_2/SubClass;
103 new-array v10, v11, [Ldot/junit/opcodes/instance_of/d/T_instance_of_2/SubClass;
108 new-array v10, v11, [Ldot/junit/opcodes/instance_of/d/T_instance_of_2/SuperClass;
/cts/tools/vm-tests/src/dot/junit/opcodes/check_cast/d/
DT_check_cast_2.d69 new-array v10, v11, [Ldot/junit/opcodes/check_cast/d/T_check_cast_2/SubClass;
74 new-array v10, v11, [Ldot/junit/opcodes/check_cast/d/T_check_cast_2/SubClass;
109 new-array v10, v11, [Ldot/junit/opcodes/check_cast/d/T_check_cast_2/SubClass;
120 new-array v10, v11, [Ldot/junit/opcodes/check_cast/d/T_check_cast_2/SubClass;
131 new-array v10, v11, [Ldot/junit/opcodes/check_cast/d/T_check_cast_2/SuperClass;
/cts/tests/tests/widget/src/android/widget/cts/
DListViewTest.java358 SparseBooleanArray array = mListView.getCheckedItemPositions(); in testAccessItemChecked() local
359 assertTrue(array.get(1)); in testAccessItemChecked()
360 assertFalse(array.get(2)); in testAccessItemChecked()
368 assertTrue(array.get(1)); in testAccessItemChecked()
369 assertTrue(array.get(2)); in testAccessItemChecked()
370 assertFalse(array.get(3)); in testAccessItemChecked()
371 assertTrue(array.get(4)); in testAccessItemChecked()
378 assertFalse(array.get(1)); in testAccessItemChecked()
379 assertFalse(array.get(2)); in testAccessItemChecked()
380 assertFalse(array.get(3)); in testAccessItemChecked()
[all …]
DAbsSpinnerTest.java120 com.android.cts.stub.R.array.string, android.R.layout.simple_spinner_item); in testSetSelectionIntBoolean()
153 com.android.cts.stub.R.array.string, android.R.layout.simple_spinner_item); in testSetSelectionInt()
191 com.android.cts.stub.R.array.string, android.R.layout.simple_spinner_item); in testAccessAdapter()
238 com.android.cts.stub.R.array.string, android.R.layout.simple_spinner_item); in testGetCount()
339 com.android.cts.stub.R.array.string, android.R.layout.simple_spinner_item); in testOnSaveAndRestoreInstanceState()
/cts/tests/tests/provider/src/android/provider/cts/
DContacts_OrganizationsTest.java42 com.android.internal.R.array.organizationTypes); in testGetDisplayLabel()
/cts/tests/tests/app/src/android/app/cts/
DAlertDialog_BuilderTest.java477 mBuilder.setItems(com.android.cts.stub.R.array.difficultyLevel, mOnClickListener); in testSetItemsWithParamInt()
486 com.android.cts.stub.R.array.difficultyLevel); in testSetItemsWithParamInt()
497 com.android.cts.stub.R.array.difficultyLevel); in testSetItemsWithParamCharSequence()
566 com.android.cts.stub.R.array.difficultyLevel); in testSetMultiChoiceItemsWithParamInt()
571 mBuilder.setMultiChoiceItems(com.android.cts.stub.R.array.difficultyLevel, null, in testSetMultiChoiceItemsWithParamInt()
595 com.android.cts.stub.R.array.difficultyLevel); in testSetMultiChoiceItemsWithParamCharSequence()
652 com.android.cts.stub.R.array.difficultyLevel); in testSetSingleChoiceItemsWithParamInt()
657 mBuilder.setSingleChoiceItems(com.android.cts.stub.R.array.difficultyLevel, 0, in testSetSingleChoiceItemsWithParamInt()
717 com.android.cts.stub.R.array.difficultyLevel); in testSetSingleChoiceItemsWithParamCharSequence()
743 com.android.cts.stub.R.array.difficultyLevel); in testSetSingleChoiceItems()
[all …]
/cts/tools/dasm/test/
Dall_opcodes.d49 array-length v1, v2
51 new-array v1, v2, java/lang/Object
52 filled-new-array {v1, v2, v3, v4, v5}, I
53 filled-new-array/range {v3..v7}, D
54 fill-array-data v11 I
59 fill-array-data-end

1234