/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
D | ImageProcessingTest.java | 108 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/ |
D | ImageProcessingTest.java | 96 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/ |
D | BlasTest.java | 96 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/ |
D | multithread.c | 46 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/ |
D | Resources_Theme_Delegate.java | 59 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/ |
D | Utils.java | 228 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/ |
D | TextView.java | 41 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/ |
D | ButtonBarLayout.java | 48 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()
|
D | NotificationActionListLayout.java | 64 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/ |
D | FastScroller.java | 347 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 …]
|
D | DayPickerPagerAdapter.java | 72 final TypedArray ta = context.obtainStyledAttributes(new int[] { in DayPickerPagerAdapter() local 74 mDayHighlightColor = ta.getColorStateList(0); in DayPickerPagerAdapter() 75 ta.recycle(); in DayPickerPagerAdapter()
|
D | DayPickerView.java | 135 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/ |
D | rsCpuIntrinsicLUT.cpp | 63 const uchar *ta = &tb[256]; in kernel() local 69 out[3] = ta[in[3]]; in kernel()
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | LayoutInflater_Delegate.java | 95 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/ |
D | BubbleFlyoutView.java | 163 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()
|
D | BadgedImageView.java | 66 TypedArray ta = context.obtainStyledAttributes( in BadgedImageView() local 68 ta.recycle(); in BadgedImageView()
|
D | BubbleExpandedView.java | 273 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/ |
D | LayoutInflater.java | 985 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/ |
D | AttributeCache.java | 62 public Entry(Context c, TypedArray ta) { in Entry() argument 64 array = ta; in Entry()
|
/frameworks/native/cmds/lshal/ |
D | ListCommand.cpp | 146 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/ |
D | CellSignalStrengthGsm.java | 62 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/ |
D | cpuinfo.txt | 15 27 27 root RT 0 1.4 S 0 0 ta migration/3 [migration/3]
|
D | ps.txt | 6 …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/ |
D | QSTileBaseView.java | 132 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/ |
D | BridgeContext.java | 729 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()
|