/cts/tests/tests/view/src/android/view/cts/ |
D | ContextThemeWrapperTest.java | 81 TypedArray ta = in testAccessTheme() local 85 verifyIdenticalTextAppearanceStyle(ta); in testAccessTheme() 96 TypedArray ta = in testSetTheme() local 98 verifyIdenticalTextAppearanceStyle(ta); in testSetTheme() 160 private void verifyIdenticalTextAppearanceStyle(TypedArray ta) { in verifyIdenticalTextAppearanceStyle() argument 167 assertEquals(expectedTa.getIndexCount(), ta.getIndexCount()); in verifyIdenticalTextAppearanceStyle() 169 ta.getColor(R.styleable.TextAppearance_textColor, defValue)); in verifyIdenticalTextAppearanceStyle() 171 ta.getColor(R.styleable.TextAppearance_textColorHint, defValue)); in verifyIdenticalTextAppearanceStyle() 173 ta.getColor(R.styleable.TextAppearance_textColorLink, defValue)); in verifyIdenticalTextAppearanceStyle() 175 ta.getColor(R.styleable.TextAppearance_textColorHighlight, defValue)); in verifyIdenticalTextAppearanceStyle() [all …]
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | YuvTest.java | 112 Allocation ta = Allocation.createSized(mRS, Element.U8(mRS), tmp.length); in testV17() local 113 ta.copyFrom(tmp); in testV17() 116 syuv.setInput(ta); in testV17() 129 ta.destroy(); in testV17() 151 Allocation ta = Allocation.createTyped(mRS, tb.create(), Allocation.USAGE_SCRIPT); in test_NV21() local 162 ta.copyFrom(tmp); in test_NV21() 166 syuv.setInput(ta); in test_NV21() 170 script.set_mInput(ta); in test_NV21() 180 ta.destroy(); in test_NV21() 202 Allocation ta = Allocation.createTyped(mRS, tb.create(), Allocation.USAGE_SCRIPT); in test_YV12() local [all …]
|
/cts/tests/tests/rscpp/src/android/cts/rscpp/ |
D | RSYuvTest.java | 98 Allocation ta = Allocation.createSized(mRS, Element.U8(mRS), tmp.length); in testV17() local 99 ta.copyFrom(tmp); in testV17() 102 syuv.setInput(ta); in testV17() 125 Allocation ta = Allocation.createTyped(mRS, tb.create(), Allocation.USAGE_SCRIPT); in test_YV12() local 138 ta.copyFrom(tmp); in test_YV12() 140 syuv.setInput(ta); in test_YV12() 164 Allocation ta = Allocation.createTyped(mRS, tb.create(), Allocation.USAGE_SCRIPT); in test_NV21() local 175 ta.copyFrom(tmp); in test_NV21() 177 syuv.setInput(ta); in test_NV21()
|
/cts/hostsidetests/appsecurity/test-apps/IsolatedSplitApp/src/com/android/cts/isolatedsplitapp/ |
D | TestTheme.java | 215 final TypedArray ta = theme.obtainStyledAttributes(new int[] {resourceId}); in getString() local 216 final String string = ta.getString(0); in getString() 217 ta.recycle(); in getString() 225 final TypedArray ta = theme.obtainStyledAttributes(new int[] {resourceId}); in getColor() local 226 final int color = ta.getColor(0, 0); in getColor() 227 ta.recycle(); in getColor() 232 final TypedArray ta = theme.obtainStyledAttributes(new int[] {resourceId}); in getDrawableColor() local 233 final Drawable color = ta.getDrawable(0); in getDrawableColor() 234 ta.recycle(); in getDrawableColor()
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/ |
D | TestThemeHelper.java | 135 final TypedArray ta = theme.obtainStyledAttributes(new int[] {resourceId}); in getColor() local 136 final int color = ta.getColor(0, 0); in getColor() 137 ta.recycle(); in getColor() 142 final TypedArray ta = theme.obtainStyledAttributes(new int[] {resourceId}); in getDrawableColor() local 143 final Drawable color = ta.getDrawable(0); in getDrawableColor() 144 ta.recycle(); in getDrawableColor()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | CustomDrawableTest.java | 65 final TypedArray ta; in inflate() local 67 ta = theme.obtainStyledAttributes(attrs, ATTRS, 0, 0); in inflate() 69 ta = r.obtainAttributes(attrs, ATTRS); in inflate() 72 mColor = ta.getColor(0, Color.BLACK); in inflate()
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | FontScaleActivity.java | 52 TypedArray ta = getTheme().obtainStyledAttributes(attrs, in dumpFontSize() local 55 final int fontPixelSize = ta.getDimensionPixelSize(0, -1); in dumpFontSize() 67 ta.recycle(); in dumpFontSize()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | Resources_ThemeTest.java | 107 final TypedArray ta = mResTheme.obtainStyledAttributes(new int[] { R.attr.testString }); in testObtainStyledAttributesWithInlineStringInTheme() local 108 assertNotNull(ta); in testObtainStyledAttributesWithInlineStringInTheme() 109 assertEquals(1, ta.length()); in testObtainStyledAttributesWithInlineStringInTheme() 110 assertEquals(TypedValue.TYPE_STRING, ta.getType(0)); in testObtainStyledAttributesWithInlineStringInTheme() 111 assertEquals("This is a string", ta.getString(0)); in testObtainStyledAttributesWithInlineStringInTheme()
|
D | TypedArrayTest.java | 303 try (TypedArray ta = contextThemeWrapper.getTheme().obtainStyledAttributes( in testAutoCloseable() argument 305 ta.getIndexCount(); in testAutoCloseable() 315 final TypedArray ta = getContext().getResources().obtainAttributes(set, in testNonResourceString() local 317 assertEquals(1, ta.getIndexCount()); in testNonResourceString() 318 assertEquals(EXPECTED_NON_RESOURCE_STRING, ta.getNonResourceString( in testNonResourceString() 320 ta.recycle(); in testNonResourceString() 334 try (TypedArray ta = theme.obtainStyledAttributes(parser, R.styleable.style1, 0, 0)) { in testEmptyXmlAttributeDoesNotFallbackToTheme() argument 335 assertTrue(ta.hasValueOrEmpty(R.styleable.style1_type1)); in testEmptyXmlAttributeDoesNotFallbackToTheme() 336 assertEquals(TypedValue.TYPE_NULL, ta.getType(R.styleable.style1_type1)); in testEmptyXmlAttributeDoesNotFallbackToTheme()
|
D | ResourcesTest.java | 147 final TypedArray ta = mResources.obtainTypedArray(R.array.string); in testObtainTypedArray() local 148 assertEquals(3, ta.length()); in testObtainTypedArray() 149 assertEquals("Test String 1", ta.getString(0)); in testObtainTypedArray() 150 assertEquals("Test String 2", ta.getString(1)); in testObtainTypedArray() 151 assertEquals("Test String 3", ta.getString(2)); in testObtainTypedArray() 152 assertEquals(mResources, ta.getResources()); in testObtainTypedArray()
|
/cts/tests/app/src/android/app/cts/ |
D | DialogTest.java | 129 TypedArray ta = in testConstructor() local 131 assertTextAppearanceStyle(ta); in testConstructor() 134 ta = w.getContext().getTheme().obtainStyledAttributes(R.styleable.TextAppearance); in testConstructor() 135 assertTextAppearanceStyle(ta); in testConstructor() 171 private void assertTextAppearanceStyle(TypedArray ta) { in assertTextAppearanceStyle() argument 178 assertEquals(expectedTa.getIndexCount(), ta.getIndexCount()); in assertTextAppearanceStyle() 180 ta.getColor(R.styleable.TextAppearance_textColor, defValue)); in assertTextAppearanceStyle() 182 ta.getColor(R.styleable.TextAppearance_textColorHint, defValue)); in assertTextAppearanceStyle() 184 ta.getColor(R.styleable.TextAppearance_textColorLink, defValue)); in assertTextAppearanceStyle() 186 ta.getColor(R.styleable.TextAppearance_textColorHighlight, defValue)); in assertTextAppearanceStyle() [all …]
|
D | AlertDialog_BuilderTest.java | 101 TypedArray ta = themedContext.obtainStyledAttributes(attrs); in testConstructorWithThemeId() local 102 assertEquals(20, ta.getInt(0, 0)); in testConstructorWithThemeId()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | CellInfoTest.java | 817 int ta = cellSignalStrengthLte.getTimingAdvance(); in verifyCellSignalStrengthLte() local 818 assertTrue("getTimingAdvance() invalid [0-1282] | CellInfo.UNAVAILABLE, ta=" + ta, in verifyCellSignalStrengthLte() 819 ta == CellInfo.UNAVAILABLE || (ta >= 0 && ta <= 1282)); in verifyCellSignalStrengthLte() 1061 int ta = gsm.getTimingAdvance(); in verifyCellSignalStrengthGsm() local 1062 assertTrue("getTimingAdvance() out of range [0,219] | CellInfo.UNAVAILABLE, ta=" + ta, in verifyCellSignalStrengthGsm() 1063 ta == CellInfo.UNAVAILABLE || (ta >= 0 && ta <= 219)); in verifyCellSignalStrengthGsm()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | MagnifierTest.java | 249 final TypedArray ta = deviceDefaultContext.obtainStyledAttributes( in testMagnifierDefaultParameters_withDeprecatedConstructor() local 251 final float dialogCornerRadius = ta.getDimension(0, 0); in testMagnifierDefaultParameters_withDeprecatedConstructor() 252 ta.recycle(); in testMagnifierDefaultParameters_withDeprecatedConstructor()
|
/cts/tests/tests/security/res/raw/ |
D | cve_2019_2245.ts | 3282 ��d��05�c��hx�Y�WB�unPX��J�5Of��dV��8ta:t�F^l#}��kTc�Ѹ~Y2��#}���2B'4���h��H�P�
|
D | cve_2018_13925.ts | 3283 ��d��05�c��hx�Y�WB�unPX��J�5Of��dV��8ta:t�F^l#}��kTc�Ѹ~Y2��#}���2B'4���h��H�P�
|
D | cve_2019_2244.ts | 3284 ��d��05�c��hx�Y�WB�unPX��J�5Of��dV��8ta:t�F^l#}��kTc�Ѹ~Y2��#}���2B'4���h��H�P�
|