Home
last modified time | relevance | path

Searched refs:ta (Results 1 – 25 of 88) sorted by relevance

1234

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DYuvTest.java112 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/view/src/android/view/cts/
DContextThemeWrapperTest.java79 TypedArray ta = in testAccessTheme() local
83 verifyIdenticalTextAppearanceStyle(ta); in testAccessTheme()
94 TypedArray ta = in testSetTheme() local
96 verifyIdenticalTextAppearanceStyle(ta); in testSetTheme()
158 private void verifyIdenticalTextAppearanceStyle(TypedArray ta) { in verifyIdenticalTextAppearanceStyle() argument
165 assertEquals(expectedTa.getIndexCount(), ta.getIndexCount()); in verifyIdenticalTextAppearanceStyle()
167 ta.getColor(R.styleable.TextAppearance_textColor, defValue)); in verifyIdenticalTextAppearanceStyle()
169 ta.getColor(R.styleable.TextAppearance_textColorHint, defValue)); in verifyIdenticalTextAppearanceStyle()
171 ta.getColor(R.styleable.TextAppearance_textColorLink, defValue)); in verifyIdenticalTextAppearanceStyle()
173 ta.getColor(R.styleable.TextAppearance_textColorHighlight, defValue)); in verifyIdenticalTextAppearanceStyle()
[all …]
/cts/tests/tests/rscpp/src/android/cts/rscpp/
DRSYuvTest.java98 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/
DTestTheme.java215 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/
DTestThemeHelper.java135 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/
DCustomDrawableTest.java65 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/
DFontScaleActivity.java52 TypedArray ta = getTheme().obtainStyledAttributes(attrs, in dumpFontSize() local
55 final int fontPixelSize = ta.getDimensionPixelSize(0, -1); in dumpFontSize()
64 ta.recycle(); in dumpFontSize()
/cts/tests/tests/content/src/android/content/res/cts/
DResources_ThemeTest.java88 final TypedArray ta = mResTheme.obtainStyledAttributes(new int[] { R.attr.testString }); in testObtainStyledAttributesWithInlineStringInTheme() local
89 assertNotNull(ta); in testObtainStyledAttributesWithInlineStringInTheme()
90 assertEquals(1, ta.length()); in testObtainStyledAttributesWithInlineStringInTheme()
91 assertEquals(TypedValue.TYPE_STRING, ta.getType(0)); in testObtainStyledAttributesWithInlineStringInTheme()
92 assertEquals("This is a string", ta.getString(0)); in testObtainStyledAttributesWithInlineStringInTheme()
DTypedArrayTest.java276 try (TypedArray ta = contextThemeWrapper.getTheme().obtainStyledAttributes( in testAutoCloseable() argument
278 ta.getIndexCount(); in testAutoCloseable()
287 final TypedArray ta = getContext().getResources().obtainAttributes(set, in testNonResourceString() local
289 assertEquals(1, ta.getIndexCount()); in testNonResourceString()
290 assertEquals(EXPECTED_NON_RESOURCE_STRING, ta.getNonResourceString( in testNonResourceString()
292 ta.recycle(); in testNonResourceString()
305 try (TypedArray ta = theme.obtainStyledAttributes(parser, R.styleable.style1, 0, 0)) { in testEmptyXmlAttributeDoesNotFallbackToTheme() argument
306 assertTrue(ta.hasValueOrEmpty(R.styleable.style1_type1)); in testEmptyXmlAttributeDoesNotFallbackToTheme()
307 assertEquals(TypedValue.TYPE_NULL, ta.getType(R.styleable.style1_type1)); in testEmptyXmlAttributeDoesNotFallbackToTheme()
DResourcesTest.java120 final TypedArray ta = mResources.obtainTypedArray(R.array.string); in testObtainTypedArray() local
121 assertEquals(3, ta.length()); in testObtainTypedArray()
122 assertEquals("Test String 1", ta.getString(0)); in testObtainTypedArray()
123 assertEquals("Test String 2", ta.getString(1)); in testObtainTypedArray()
124 assertEquals("Test String 3", ta.getString(2)); in testObtainTypedArray()
125 assertEquals(mResources, ta.getResources()); in testObtainTypedArray()
/cts/tests/app/src/android/app/cts/
DDialogTest.java128 TypedArray ta = in testConstructor() local
130 assertTextAppearanceStyle(ta); in testConstructor()
133 ta = w.getContext().getTheme().obtainStyledAttributes(R.styleable.TextAppearance); in testConstructor()
134 assertTextAppearanceStyle(ta); in testConstructor()
170 private void assertTextAppearanceStyle(TypedArray ta) { in assertTextAppearanceStyle() argument
177 assertEquals(expectedTa.getIndexCount(), ta.getIndexCount()); in assertTextAppearanceStyle()
179 ta.getColor(R.styleable.TextAppearance_textColor, defValue)); in assertTextAppearanceStyle()
181 ta.getColor(R.styleable.TextAppearance_textColorHint, defValue)); in assertTextAppearanceStyle()
183 ta.getColor(R.styleable.TextAppearance_textColorLink, defValue)); in assertTextAppearanceStyle()
185 ta.getColor(R.styleable.TextAppearance_textColorHighlight, defValue)); in assertTextAppearanceStyle()
[all …]
DAlertDialog_BuilderTest.java119 TypedArray ta = themedContext.obtainStyledAttributes(attrs); in testConstructorWithThemeId() local
120 assertEquals(20, ta.getInt(0, 0)); in testConstructorWithThemeId()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DCellInfoTest.java797 int ta = cellSignalStrengthLte.getTimingAdvance(); in verifyCellSignalStrengthLte() local
798 assertTrue("getTimingAdvance() invalid [0-1282] | CellInfo.UNAVAILABLE, ta=" + ta, in verifyCellSignalStrengthLte()
799 ta == CellInfo.UNAVAILABLE || (ta >= 0 && ta <= 1282)); in verifyCellSignalStrengthLte()
1041 int ta = gsm.getTimingAdvance(); in verifyCellSignalStrengthGsm() local
1042 assertTrue("getTimingAdvance() out of range [0,219] | CellInfo.UNAVAILABLE, ta=" + ta, in verifyCellSignalStrengthGsm()
1043 ta == CellInfo.UNAVAILABLE || (ta >= 0 && ta <= 219)); in verifyCellSignalStrengthGsm()
/cts/tests/tests/widget/src/android/widget/cts/
DMagnifierTest.java240 final TypedArray ta = deviceDefaultContext.obtainStyledAttributes( in testMagnifierDefaultParameters_withDeprecatedConstructor() local
242 final float dialogCornerRadius = ta.getDimension(0, 0); in testMagnifierDefaultParameters_withDeprecatedConstructor()
243 ta.recycle(); in testMagnifierDefaultParameters_withDeprecatedConstructor()
/cts/tests/tests/media/assets/hls_variant/344388/
D16.ts577 …�20y��ALf����:#[Y�*��M�F���hU`j"�kS�<u�l�t��g�t~W�-oȽcKB=�1 �%1z�ta����$��;�~�Wӻ�Rͅa��…
579 …�:�� *���PBC� ����P�yx��Qm��-S�E�K�D,��%R�1$z�� ԓ��x�kÅ�ٙ��>����?�A�ta�`'g3?�����=�G���V…
D15.ts264 …5��TvL2�h���!:�Ұ&'+�}��۳���E-j�,wʪ��j�/�ö {(�a����<܊���1����u�z�ta��c�ا���.D�G�;PO1…
705 �č���j�d~�'��H���I,?��W�:��˄�/��TbW��jQ�Jew�zyaΕ•����� �����ّbW� ^>�ta�P-���¹�M@���s�Y…
D01.ts232 )�N�+��.fta�*=�2�m'�0���l�w����%9?n'!�L�����o����?����_��#�e�`y�2B�������9���f����"…
D19.ts49 Vh���I����5�B�2��� 4-�rnZ5�{r�4K�`�FGx�������_�siӋ�p7�t���� ���]��y���;�C"ta�C�p�n�`dT��…
D18.ts178 6�_$ '*��+�CS�wJ"�ļ;I揁G�SS?ta��BdpSVn@}a�y�t��"��/��8K/��[�PL�k>ƀtH�"KR�,['׈��\eF�…
/cts/tests/tests/media/assets/hls_variant/165340/
D21.ts559 …���L���}�nM,�3&0 �q�!Ts��K�+���ߡ�, � �p\�U,Z>�'F Wc��|�چ���!�5����4O:�ta�*�X�t����J�Az
D00.ts512 Z���Z Ȋ�V�q�o3��l���C�/6&s�]�8|~��e���N�m�>�n�ta�uȳ��
D04.ts217 ��^Q瑢Q}�S}��W�{�=�Q��m���� �S�0��Ρ�O��}�ta���^�m��R��!Q��{�����aG/N
/cts/tests/tests/media/assets/hls_variant/387360/
D12.ts106 -�r�桏��i�Z?��ta����2~j��y.N��F<�j)
D17.ts809 =��Η�&���5 f�#�PVYˇ� l�@FЮ����-<���Q��f��'�M�(ta��q�^�����P����Z@��gKE�9�;�j|��q ��g"�U�…
/cts/tests/tests/media/assets/unmuxed_1500k/
D02.ts277 A��%A�WzXG�^L���O�M��ta\��S:�^��Bv"��lt���K�W� ;+���� J�վ L
1814 …a�Y_>l�^�w��.�Ó�c��3�`�%�� ���I�t��_�e\�ꬫ�+ײ���7d���팟z`��8��FOO/�ta��Gt��x��*�9��@2…
3197 �.�f����f�L[�)��F��V�������SA`sI��������yM�g��!?#�� ,ta���f��d��UG+A��N��m�l�Y���X�<*R…
5687 …��YJ�9�g����zu�[� Y�{�+��_�A��G�_A��(8o L�$M����!b��/1D�w�����jED�ta��c���ٝwC�d^^���X��…

1234