HomeSort by relevance Sort by last modified time
    Searched refs:testTypedArray (Results 1 - 3 of 3) sorted by null

  /cts/tests/tests/content/src/android/content/res/cts/
Resources_ThemeTest.java 66 TypedArray testTypedArray = mResTheme.obtainStyledAttributes(attrs);
67 assertNotNull(testTypedArray);
68 assertTrue(testTypedArray.length() > 0);
69 testTypedArray.recycle();
71 testTypedArray = mResTheme.obtainStyledAttributes(R.raw.testmp3, attrs);
72 assertNotNull(testTypedArray);
73 assertTrue(testTypedArray.length() > 0);
74 testTypedArray.recycle();
79 testTypedArray =mResTheme.obtainStyledAttributes(set, attrs, 0, 0);
80 assertNotNull(testTypedArray);
    [all...]
ResourcesTest.java 106 final TypedArray testTypedArray = mResources.obtainAttributes(set, R.styleable.Style1);
107 assertNotNull(testTypedArray);
108 assertEquals(2, testTypedArray.length());
109 assertEquals(0, testTypedArray.getColor(0, 0));
110 assertEquals(128, testTypedArray.getColor(1, 128));
111 assertEquals(mResources, testTypedArray.getResources());
112 testTypedArray.recycle();
    [all...]
  /cts/tests/tests/content/src/android/content/cts/
ContextTest.java 318 TypedArray testTypedArray = mContext
320 assertNotNull(testTypedArray);
321 assertTrue(testTypedArray.length() > 2);
322 assertTrue(testTypedArray.length() > 0);
323 testTypedArray.recycle();
326 testTypedArray = mContext.obtainStyledAttributes(android.R.style.TextAppearance_Small,
328 assertNotNull(testTypedArray);
329 assertTrue(testTypedArray.length() > 2);
330 testTypedArray.recycle();
334 testTypedArray = mContext.obtainStyledAttributes(-1, null)
    [all...]

Completed in 47 milliseconds