/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
H A D | ImageProcessingTest.java | 96 public void runTest(TestAction ta, String testName) { argument 99 runOnUiThread(ta); 100 float bmValue = ta.getBenchmark(); 117 TestAction ta = new TestAction(TestName.LEVELS_VEC3_RELAXED); 118 runTest(ta, TestName.LEVELS_VEC3_RELAXED.name()); 124 TestAction ta = new TestAction(TestName.LEVELS_VEC4_RELAXED); 125 runTest(ta, TestName.LEVELS_VEC4_RELAXED.name()); 131 TestAction ta = new TestAction(TestName.LEVELS_VEC3_FULL); 132 runTest(ta, TestName.LEVELS_VEC3_FULL.name()); 138 TestAction ta [all...] |
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | ImageProcessingTest.java | 109 public void runTest(TestAction ta, String testName) { argument 110 runOnUiThread(ta); 111 Result times = ta.getBenchmark(); 152 TestAction ta = new TestAction(TestName.LEVELS_VEC3_RELAXED); 153 runTest(ta, TestName.LEVELS_VEC3_RELAXED.name()); 159 TestAction ta = new TestAction(TestName.LEVELS_VEC4_RELAXED); 160 runTest(ta, TestName.LEVELS_VEC4_RELAXED.name()); 166 TestAction ta = new TestAction(TestName.LEVELS_VEC3_FULL); 167 runTest(ta, TestName.LEVELS_VEC3_FULL.name()); 173 TestAction ta [all...] |
/frameworks/wilhelm/tests/sandbox/ |
H A D | multithread.c | 46 ThreadArgument *ta = (ThreadArgument *) param; local 51 ++ta->mCounter; 52 switch (ta->mObjectID) { 56 result = (*ta->mEngineEngine)->CreateOutputMix(ta->mEngineEngine, &myMixObject, 0, NULL, 67 SLDataLocator_URI locURI = {SL_DATALOCATOR_URI, ta->mURI}; 70 SLDataLocator_OutputMix locOutputMix = {SL_DATALOCATOR_OUTPUTMIX, ta->mMixObject}; 73 result = (*ta->mEngineEngine)->CreateAudioPlayer(ta->mEngineEngine, &myPlayerObject, 132 ThreadArgument *ta local 165 ThreadArgument *ta = &thread_args[i]; local 177 ThreadArgument *ta = &thread_args[i]; local [all...] |
/frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/ |
H A D | BlasTest.java | 97 public void runTest(TestAction ta, String testName) { argument 100 runOnUiThread(ta); 101 float bmValue = ta.getBenchmark(); 116 TestAction ta = new TestAction(TestName.SGEMM_SMALL); 117 runTest(ta, TestName.SGEMM_SMALL.name()); 123 TestAction ta = new TestAction(TestName.SGEMM_MEDIUM); 124 runTest(ta, TestName.SGEMM_MEDIUM.name()); 130 TestAction ta = new TestAction(TestName.SGEMM_LARGE); 131 runTest(ta, TestName.SGEMM_LARGE.name()); 137 TestAction ta [all...] |
/frameworks/ml/nn/runtime/test/benchmark/src/com/example/android/nn/benchmark/ |
H A D | NNTest.java | 96 public void runTest(TestAction ta, String testName) { argument 99 runOnUiThread(ta); 100 float bmValue = ta.getBenchmark(); 115 TestAction ta = new TestAction(TestName.MobileNet_FLOAT); 116 runTest(ta, TestName.MobileNet_FLOAT.name()); 122 TestAction ta = new TestAction(TestName.MobileNet_QUANT8); 123 runTest(ta, TestName.MobileNet_QUANT8.name());
|
/frameworks/base/tools/aapt2/integration-tests/NamespaceTest/LibTwo/src/com/android/aapt/namespace/libtwo/ |
H A D | TextView.java | 41 final TypedArray ta = context.getTheme().obtainStyledAttributes(attrs, R.styleable.TextView, 44 mTextViewAttr = ta.getString(R.styleable.TextView_textview_attr); 46 ta.recycle();
|
/frameworks/support/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/utils/ |
H A D | ResourceHelper.java | 45 TypedArray ta = theme.obtainStyledAttributes(new int[] {attribute}); 46 themeColor = ta.getColor(0, defaultColor); 47 ta.recycle();
|
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/utils/ |
H A D | ResourceHelper.java | 45 TypedArray ta = theme.obtainStyledAttributes(new int[] {attribute}); 46 themeColor = ta.getColor(0, defaultColor); 47 ta.recycle();
|
/frameworks/layoutlib/bridge/src/android/content/res/ |
H A D | Resources_Theme_Delegate.java | 59 BridgeTypedArray ta = RenderSessionImpl.getCurrentContext().internalObtainStyledAttributes( 61 ta.setTheme(thisTheme); 63 return ta; 72 BridgeTypedArray ta = RenderSessionImpl.getCurrentContext().internalObtainStyledAttributes( 74 ta.setTheme(thisTheme); 76 return ta; 84 BridgeTypedArray ta = RenderSessionImpl.getCurrentContext().internalObtainStyledAttributes(set, 86 ta.setTheme(thisTheme); 88 return ta;
|
/frameworks/support/slices/view/src/main/java/androidx/slice/widget/ |
H A D | SliceViewUtil.java | 88 TypedArray ta = context.obtainStyledAttributes(new int[] { 91 float alpha = ta.getFloat(0, 0); 92 ta.recycle(); 109 TypedArray ta = context.obtainStyledAttributes(new int[] { 112 @ColorInt int colorAccent = ta.getColor(0, 0); 113 ta.recycle(); 120 TypedArray ta = context.obtainStyledAttributes(new int[] { 123 int theme = ta.getResourceId(0, 0); 124 ta.recycle(); 131 TypedArray ta [all...] |
/frameworks/support/car/src/main/java/androidx/car/widget/ |
H A D | ColumnCardView.java | 73 TypedArray ta = context.obtainStyledAttributes(attrs, R.styleable.ColumnCardView, 75 mColumnSpan = ta.getInteger(R.styleable.ColumnCardView_columnSpan, defaultColumnSpan); 76 ta.recycle();
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
H A D | GuidedActionsRelativeLayout.java | 41 TypedArray ta = getContext().getTheme().obtainStyledAttributes( 43 mKeyLinePercent = ta.getFloat(R.styleable.LeanbackGuidedStepTheme_guidedStepKeyline, 45 ta.recycle();
|
H A D | GuidanceStylingRelativeLayout.java | 37 TypedArray ta = context.getTheme().obtainStyledAttributes( 39 float percent = ta.getFloat(R.styleable.LeanbackGuidedStepTheme_guidedStepKeyline, 40); 40 ta.recycle();
|
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/view/ |
H A D | ContextThemeWrapperTest.java | 80 TypedArray ta = contextThemeWrapper.getTheme().obtainStyledAttributes( 84 verifyIdenticalTextAppearanceStyle(ta); 150 private void verifyIdenticalTextAppearanceStyle(TypedArray ta) { argument 157 assertEquals(expectedTa.getIndexCount(), ta.getIndexCount()); 161 ta.getColor( 167 ta.getColor( 174 ta.getColor( 181 ta.getDimension( 187 ta.getInt(androidx.appcompat.R.styleable
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ButtonBarLayout.java | 46 final TypedArray ta = context.obtainStyledAttributes(attrs, R.styleable.ButtonBarLayout); 47 mAllowStacking = ta.getBoolean(R.styleable.ButtonBarLayout_allowStacking, true); 48 ta.recycle();
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
H A D | Utils.java | 231 TypedArray ta = context.obtainStyledAttributes(new int[]{attr}); 232 float alpha = ta.getFloat(0, 0); 233 ta.recycle(); 246 TypedArray ta = context.obtainStyledAttributes(new int[]{attr}); 247 @ColorInt int colorAccent = ta.getColor(0, 0); 248 ta.recycle(); 253 TypedArray ta = context.obtainStyledAttributes(new int[]{attr}); 254 int theme = ta.getResourceId(0, 0); 255 ta.recycle(); 260 TypedArray ta [all...] |
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsicLUT.cpp | 63 const uchar *ta = &tb[256]; local 69 out[3] = ta[in[3]];
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
H A D | ButtonBarLayout.java | 51 final TypedArray ta = context.obtainStyledAttributes(attrs, R.styleable.ButtonBarLayout); 52 mAllowStacking = ta.getBoolean(R.styleable.ButtonBarLayout_allowStacking, true); 53 ta.recycle();
|
/frameworks/base/core/java/android/widget/ |
H A D | FastScroller.java | 337 final TypedArray ta = context.obtainStyledAttributes(null, 339 final int N = ta.getIndexCount(); 341 final int index = ta.getIndex(i); 344 mOverlayPosition = ta.getInt(index, OVERLAY_FLOATING); 347 mPreviewResId[PREVIEW_LEFT] = ta.getResourceId(index, 0); 350 mPreviewResId[PREVIEW_RIGHT] = ta.getResourceId(index, 0); 353 mThumbDrawable = ta.getDrawable(index); 356 mTrackDrawable = ta.getDrawable(index); 359 mTextAppearance = ta.getResourceId(index, 0); 362 mTextColor = ta [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | AttributeCache.java | 62 public Entry(Context c, TypedArray ta) { argument 64 array = ta;
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | CellSignalStrengthGsm.java | 52 public CellSignalStrengthGsm(int ss, int ber, int ta) { argument 55 mTimingAdvance = ta;
|
/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/app/ |
H A D | MediaRouterThemeHelper.java | 180 TypedArray ta = context.obtainStyledAttributes(style, attrs); 181 int color = ta.getColor(0, 0); 182 ta.recycle();
|
/frameworks/layoutlib/bridge/src/android/view/ |
H A D | LayoutInflater_Delegate.java | 95 final TypedArray ta = context.obtainStyledAttributes(attrs, ATTRS_THEME); 96 final int themeResId = ta.getResourceId(0, 0); 101 ta.recycle();
|
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/app/ |
H A D | MediaRouterThemeHelper.java | 178 TypedArray ta = context.obtainStyledAttributes(style, attrs); 179 int color = ta.getColor(0, 0); 180 ta.recycle();
|
/frameworks/base/core/java/android/view/ |
H A D | LayoutInflater.java | 756 final TypedArray ta = context.obtainStyledAttributes(attrs, ATTRS_THEME); 757 final int themeResId = ta.getResourceId(0, 0); 761 ta.recycle(); 887 final TypedArray ta = context.obtainStyledAttributes(attrs, R.styleable.ViewTag); 888 final int key = ta.getResourceId(R.styleable.ViewTag_id, 0); 889 final CharSequence value = ta.getText(R.styleable.ViewTag_value); 891 ta.recycle(); 905 final TypedArray ta = context.obtainStyledAttributes(attrs, ATTRS_THEME); 906 final int themeResId = ta.getResourceId(0, 0); 911 ta [all...] |