Home
last modified time | relevance | path

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

12

/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
DImageProcessingTest.java108 public void runTest(TestAction ta, String testName) { in runTest() argument
109 runOnUiThread(ta); in runTest()
110 Result times = ta.getBenchmark(); in runTest()
151 TestAction ta = new TestAction(TestName.LEVELS_VEC3_RELAXED); in testLevelsVec3Relaxed() local
152 runTest(ta, TestName.LEVELS_VEC3_RELAXED.name()); in testLevelsVec3Relaxed()
158 TestAction ta = new TestAction(TestName.LEVELS_VEC4_RELAXED); in testLevelsVec4Relaxed() local
159 runTest(ta, TestName.LEVELS_VEC4_RELAXED.name()); in testLevelsVec4Relaxed()
165 TestAction ta = new TestAction(TestName.LEVELS_VEC3_FULL); in testLevelsVec3Full() local
166 runTest(ta, TestName.LEVELS_VEC3_FULL.name()); in testLevelsVec3Full()
172 TestAction ta = new TestAction(TestName.LEVELS_VEC4_FULL); in testLevelsVec4Full() local
[all …]
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
DImageProcessingTest.java96 public void runTest(TestAction ta, String testName) { in runTest() argument
99 runOnUiThread(ta); in runTest()
100 float bmValue = ta.getBenchmark(); in runTest()
117 TestAction ta = new TestAction(TestName.LEVELS_VEC3_RELAXED); in testLevelsVec3Relaxed() local
118 runTest(ta, TestName.LEVELS_VEC3_RELAXED.name()); in testLevelsVec3Relaxed()
124 TestAction ta = new TestAction(TestName.LEVELS_VEC4_RELAXED); in testLevelsVec4Relaxed() local
125 runTest(ta, TestName.LEVELS_VEC4_RELAXED.name()); in testLevelsVec4Relaxed()
131 TestAction ta = new TestAction(TestName.LEVELS_VEC3_FULL); in testLevelsVec3Full() local
132 runTest(ta, TestName.LEVELS_VEC3_FULL.name()); in testLevelsVec3Full()
138 TestAction ta = new TestAction(TestName.LEVELS_VEC4_FULL); in testLevelsVec4Full() local
[all …]
/frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/
DBlasTest.java96 public void runTest(TestAction ta, String testName) { in runTest() argument
99 runOnUiThread(ta); in runTest()
100 float bmValue = ta.getBenchmark(); in runTest()
115 TestAction ta = new TestAction(TestName.SGEMM_SMALL); in testSGEMMSmall() local
116 runTest(ta, TestName.SGEMM_SMALL.name()); in testSGEMMSmall()
122 TestAction ta = new TestAction(TestName.SGEMM_MEDIUM); in testSGEMMedium() local
123 runTest(ta, TestName.SGEMM_MEDIUM.name()); in testSGEMMedium()
129 TestAction ta = new TestAction(TestName.SGEMM_LARGE); in testSGEMMLarge() local
130 runTest(ta, TestName.SGEMM_LARGE.name()); in testSGEMMLarge()
136 TestAction ta = new TestAction(TestName.BNNM_SMALL); in testBNNMSmall() local
[all …]
/frameworks/wilhelm/tests/sandbox/
Dmultithread.c46 ThreadArgument *ta = (ThreadArgument *) param; in thread_start() local
51 ++ta->mCounter; in thread_start()
52 switch (ta->mObjectID) { in thread_start()
56 result = (*ta->mEngineEngine)->CreateOutputMix(ta->mEngineEngine, &myMixObject, 0, NULL, in thread_start()
67 SLDataLocator_URI locURI = {SL_DATALOCATOR_URI, ta->mURI}; in thread_start()
70 SLDataLocator_OutputMix locOutputMix = {SL_DATALOCATOR_OUTPUTMIX, ta->mMixObject}; in thread_start()
73 result = (*ta->mEngineEngine)->CreateAudioPlayer(ta->mEngineEngine, &myPlayerObject, in thread_start()
132 ThreadArgument *ta = &thread_args[i]; in main() local
137 ta->mObjectID = SL_OBJECTID_OUTPUTMIX; in main()
138 ta->mURI = NULL; in main()
[all …]
/frameworks/layoutlib/bridge/src/android/content/res/
DResources_Theme_Delegate.java59 BridgeTypedArray ta = RenderSessionImpl.getCurrentContext().internalObtainStyledAttributes( in obtainStyledAttributes() local
61 ta.setTheme(thisTheme); in obtainStyledAttributes()
63 return ta; in obtainStyledAttributes()
72 BridgeTypedArray ta = RenderSessionImpl.getCurrentContext().internalObtainStyledAttributes( in obtainStyledAttributes() local
74 ta.setTheme(thisTheme); in obtainStyledAttributes()
76 return ta; in obtainStyledAttributes()
84 … BridgeTypedArray ta = RenderSessionImpl.getCurrentContext().internalObtainStyledAttributes(set, in obtainStyledAttributes() local
86 ta.setTheme(thisTheme); in obtainStyledAttributes()
88 return ta; in obtainStyledAttributes()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DUtils.java228 TypedArray ta = context.obtainStyledAttributes(new int[]{attr}); in applyAlphaAttr() local
229 float alpha = ta.getFloat(0, 0); in applyAlphaAttr()
230 ta.recycle(); in applyAlphaAttr()
243 TypedArray ta = context.obtainStyledAttributes(new int[]{attr}); in getColorAttrDefaultColor() local
244 @ColorInt int colorAccent = ta.getColor(0, 0); in getColorAttrDefaultColor()
245 ta.recycle(); in getColorAttrDefaultColor()
250 TypedArray ta = context.obtainStyledAttributes(new int[]{attr}); in getColorAttr() local
253 stateList = ta.getColorStateList(0); in getColorAttr()
255 ta.recycle(); in getColorAttr()
261 TypedArray ta = context.obtainStyledAttributes(new int[]{attr}); in getThemeAttr() local
[all …]
/frameworks/base/tools/aapt2/integration-tests/NamespaceTest/LibTwo/src/com/android/aapt/namespace/libtwo/
DTextView.java41 final TypedArray ta = context.getTheme().obtainStyledAttributes(attrs, R.styleable.TextView, in TextView() local
44 mTextViewAttr = ta.getString(R.styleable.TextView_textview_attr); in TextView()
46 ta.recycle(); in TextView()
/frameworks/base/core/java/com/android/internal/widget/
DButtonBarLayout.java48 final TypedArray ta = context.obtainStyledAttributes(attrs, R.styleable.ButtonBarLayout); in ButtonBarLayout() local
49 mAllowStacking = ta.getBoolean(R.styleable.ButtonBarLayout_allowStacking, true); in ButtonBarLayout()
50 ta.recycle(); in ButtonBarLayout()
DNotificationActionListLayout.java64 TypedArray ta = context.obtainStyledAttributes(attrs, attrIds, defStyleAttr, defStyleRes); in NotificationActionListLayout() local
65 mGravity = ta.getInt(0, 0); in NotificationActionListLayout()
66 ta.recycle(); in NotificationActionListLayout()
/frameworks/base/core/java/android/widget/
DFastScroller.java347 final TypedArray ta = context.obtainStyledAttributes(null, in setStyle() local
349 final int N = ta.getIndexCount(); in setStyle()
351 final int index = ta.getIndex(i); in setStyle()
354 mOverlayPosition = ta.getInt(index, OVERLAY_FLOATING); in setStyle()
357 mPreviewResId[PREVIEW_LEFT] = ta.getResourceId(index, 0); in setStyle()
360 mPreviewResId[PREVIEW_RIGHT] = ta.getResourceId(index, 0); in setStyle()
363 mThumbDrawable = ta.getDrawable(index); in setStyle()
366 mTrackDrawable = ta.getDrawable(index); in setStyle()
369 mTextAppearance = ta.getResourceId(index, 0); in setStyle()
372 mTextColor = ta.getColorStateList(index); in setStyle()
[all …]
DDayPickerPagerAdapter.java72 final TypedArray ta = context.obtainStyledAttributes(new int[] { in DayPickerPagerAdapter() local
74 mDayHighlightColor = ta.getColorStateList(0); in DayPickerPagerAdapter()
75 ta.recycle(); in DayPickerPagerAdapter()
DDayPickerView.java135 final TypedArray ta = mContext.obtainStyledAttributes(null, in DayPickerView() local
137 final ColorStateList monthColor = ta.getColorStateList(0); in DayPickerView()
142 ta.recycle(); in DayPickerView()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicLUT.cpp63 const uchar *ta = &tb[256]; in kernel() local
69 out[3] = ta[in[3]]; in kernel()
/frameworks/layoutlib/bridge/src/android/view/
DLayoutInflater_Delegate.java95 final TypedArray ta = context.obtainStyledAttributes(attrs, ATTRS_THEME); in parseInclude() local
96 final int themeResId = ta.getResourceId(0, 0); in parseInclude()
101 ta.recycle(); in parseInclude()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleFlyoutView.java163 final TypedArray ta = mContext.obtainStyledAttributes( in BubbleFlyoutView() local
167 mFloatingBackgroundColor = ta.getColor(0, Color.WHITE); in BubbleFlyoutView()
168 mCornerRadius = ta.getDimensionPixelSize(1, 0); in BubbleFlyoutView()
169 ta.recycle(); in BubbleFlyoutView()
DBadgedImageView.java66 TypedArray ta = context.obtainStyledAttributes( in BadgedImageView() local
68 ta.recycle(); in BadgedImageView()
DBubbleExpandedView.java273 TypedArray ta = getContext().obtainStyledAttributes(R.styleable.BubbleExpandedView); in applyThemeAttrs() local
274 int bgColor = ta.getColor( in applyThemeAttrs()
276 float cornerRadius = ta.getDimension( in applyThemeAttrs()
278 ta.recycle(); in applyThemeAttrs()
/frameworks/base/core/java/android/view/
DLayoutInflater.java985 final TypedArray ta = context.obtainStyledAttributes(attrs, ATTRS_THEME); in createViewFromTag() local
986 final int themeResId = ta.getResourceId(0, 0); in createViewFromTag()
990 ta.recycle(); in createViewFromTag()
1144 final TypedArray ta = context.obtainStyledAttributes(attrs, R.styleable.ViewTag); in parseViewTag() local
1145 final int key = ta.getResourceId(R.styleable.ViewTag_id, 0); in parseViewTag()
1146 final CharSequence value = ta.getText(R.styleable.ViewTag_value); in parseViewTag()
1148 ta.recycle(); in parseViewTag()
1166 final TypedArray ta = context.obtainStyledAttributes(attrs, ATTRS_THEME); in parseInclude() local
1167 final int themeResId = ta.getResourceId(0, 0); in parseInclude()
1172 ta.recycle(); in parseInclude()
/frameworks/base/services/core/java/com/android/server/
DAttributeCache.java62 public Entry(Context c, TypedArray ta) { in Entry() argument
64 array = ta; in Entry()
/frameworks/native/cmds/lshal/
DListCommand.cpp146 vintf::TransportArch ta) { in match() argument
149 return (ta.transport == instance.transport()) && in match()
150 (ta.transport == vintf::Transport::HWBINDER || in match()
151 vintf::contains(instance.arch(), ta.arch)) && in match()
164 const FqInstance& fqInstance, vintf::TransportArch ta, VintfInfo value) { in getVintfInfo() argument
168 found = match(instance, fqInstance, ta); in getVintfInfo()
191 vintf::TransportArch ta) const { in getVintfInfo()
200 return lshal::getVintfInfo(getDeviceManifest(), fqInstance, ta, DEVICE_MANIFEST) | in getVintfInfo()
201 lshal::getVintfInfo(getFrameworkManifest(), fqInstance, ta, FRAMEWORK_MANIFEST) | in getVintfInfo()
202 lshal::getVintfInfo(getDeviceMatrix(), fqInstance, ta, DEVICE_MATRIX) | in getVintfInfo()
[all …]
/frameworks/base/telephony/java/android/telephony/
DCellSignalStrengthGsm.java62 public CellSignalStrengthGsm(int rssi, int ber, int ta) { in CellSignalStrengthGsm() argument
65 mTimingAdvance = inRangeOrUnavailable(ta, 0, 219); in CellSignalStrengthGsm()
/frameworks/base/cmds/incident_helper/testdata/
Dcpuinfo.txt15 27 27 root RT 0 1.4 S 0 0 ta migration/3 [migration/3]
Dps.txt6 …660 1976 806 4468612 138328 binder_thread_read 0 S 35 -16 - 0 ta 00:00:00 HwBinder:16…
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileBaseView.java132 final TypedArray ta = getContext().obtainStyledAttributes(attrs); in newTileBackground() local
133 final Drawable d = ta.getDrawable(0); in newTileBackground()
134 ta.recycle(); in newTileBackground()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java729 BridgeTypedArray ta = in internalObtainStyledAttributes() local
922 ta.bridgeSetValue( in internalObtainStyledAttributes()
930 ta.bridgeSetValue( in internalObtainStyledAttributes()
941 ta.sealArray(); in internalObtainStyledAttributes()
943 return ta; in internalObtainStyledAttributes()
981 BridgeTypedArray ta = in createStyleBasedTypedArray() local
1002 ta.bridgeSetValue( in createStyleBasedTypedArray()
1010 ta.sealArray(); in createStyleBasedTypedArray()
1012 return Pair.of(ta, defaultPropMap); in createStyleBasedTypedArray()

12