Home
last modified time | relevance | path

Searched refs:ta (Results 1 – 25 of 85) 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/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.java278 final TypedArray ta = getContext().getResources().obtainAttributes(set, in testNonResourceString() local
280 assertEquals(1, ta.getIndexCount()); in testNonResourceString()
281 assertEquals(EXPECTED_NON_RESOURCE_STRING, ta.getNonResourceString( in testNonResourceString()
283 ta.recycle(); in testNonResourceString()
296 final TypedArray ta = theme.obtainStyledAttributes(parser, R.styleable.style1, 0, 0); in testEmptyXmlAttributeDoesNotFallbackToTheme() local
298 assertTrue(ta.hasValueOrEmpty(R.styleable.style1_type1)); in testEmptyXmlAttributeDoesNotFallbackToTheme()
299 assertEquals(TypedValue.TYPE_NULL, ta.getType(R.styleable.style1_type1)); in testEmptyXmlAttributeDoesNotFallbackToTheme()
301 ta.recycle(); in testEmptyXmlAttributeDoesNotFallbackToTheme()
DResourcesTest.java123 final TypedArray ta = mResources.obtainTypedArray(R.array.string); in testObtainTypedArray() local
124 assertEquals(3, ta.length()); in testObtainTypedArray()
125 assertEquals("Test String 1", ta.getString(0)); in testObtainTypedArray()
126 assertEquals("Test String 2", ta.getString(1)); in testObtainTypedArray()
127 assertEquals("Test String 3", ta.getString(2)); in testObtainTypedArray()
128 assertEquals(mResources, ta.getResources()); in testObtainTypedArray()
/cts/tests/app/src/android/app/cts/
DDialogTest.java123 TypedArray ta = in testConstructor() local
125 assertTextAppearanceStyle(ta); in testConstructor()
128 ta = w.getContext().getTheme().obtainStyledAttributes(R.styleable.TextAppearance); in testConstructor()
129 assertTextAppearanceStyle(ta); in testConstructor()
166 private void assertTextAppearanceStyle(TypedArray ta) { in assertTextAppearanceStyle() argument
173 assertEquals(expectedTa.getIndexCount(), ta.getIndexCount()); in assertTextAppearanceStyle()
175 ta.getColor(R.styleable.TextAppearance_textColor, defValue)); in assertTextAppearanceStyle()
177 ta.getColor(R.styleable.TextAppearance_textColorHint, defValue)); in assertTextAppearanceStyle()
179 ta.getColor(R.styleable.TextAppearance_textColorLink, defValue)); in assertTextAppearanceStyle()
181 ta.getColor(R.styleable.TextAppearance_textColorHighlight, defValue)); in assertTextAppearanceStyle()
[all …]
DAlertDialog_BuilderTest.java122 TypedArray ta = themedContext.obtainStyledAttributes(attrs); in testConstructorWithThemeId() local
123 assertEquals(20, ta.getInt(0, 0)); in testConstructorWithThemeId()
/cts/hostsidetests/incident/src/com/android/server/cts/
DAlarmManagerIncidentTest.java146 for (AlarmManagerServiceDumpProto.TopAlarm ta : dump.getTopAlarmsList()) { in verifyAlarmManagerServiceDumpProto()
147 assertTrue(0 <= ta.getUid()); in verifyAlarmManagerServiceDumpProto()
148 testFilterStatsProto(ta.getFilter(), filterLevel); in verifyAlarmManagerServiceDumpProto()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DCellInfoTest.java677 int ta = cellSignalStrengthLte.getTimingAdvance(); in verifyCellSignalStrengthLte() local
678 assertTrue("getTimingAdvance() invalid [0-1282] | Integer.MAX_VALUE, ta=" + ta, in verifyCellSignalStrengthLte()
679 ta == Integer.MAX_VALUE || (ta >= 0 && ta <=1282)); in verifyCellSignalStrengthLte()
877 int ta = gsm.getTimingAdvance(); in verifyCellSignalStrengthGsm() local
878 assertTrue("getTimingAdvance() out of range [0,219] | Integer.MAX_VALUE, ta=" + ta, in verifyCellSignalStrengthGsm()
879 ta == Integer.MAX_VALUE || (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��…
D21.ts316 /�����ip�����IS:�v��@���(���-�^þ� ������\�P� �i�-E�F��AG�� ta���Wv�a2X��c^��w�s��0�{��ސ]��'�…
/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�…
D19.ts1181 1!�Q!����� ���A���m/sI<�P�)�6��P�����lU��P��n�'܄�p�M}�LG�E�lΝ�m�s��]Sr���CN����ta�…
/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