/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | ExifInterfaceTest.java | 120 private static String getString(TypedArray typedArray, int index) { in getString() argument 121 String stringValue = typedArray.getString(index); in getString() 128 public ExpectedValue(TypedArray typedArray) { in ExpectedValue() argument 130 hasThumbnail = typedArray.getBoolean(0, false); in ExpectedValue() 131 thumbnailWidth = typedArray.getInt(1, 0); in ExpectedValue() 132 thumbnailHeight = typedArray.getInt(2, 0); in ExpectedValue() 135 hasLatLong = typedArray.getBoolean(3, false); in ExpectedValue() 136 latitude = typedArray.getFloat(4, 0f); in ExpectedValue() 137 longitude = typedArray.getFloat(5, 0f); in ExpectedValue() 138 altitude = typedArray.getFloat(6, 0f); in ExpectedValue() [all …]
|
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/hvac/ |
D | AnimatedTemperatureView.java | 106 TypedArray typedArray = context.obtainStyledAttributes(attrs, in AnimatedTemperatureView() local 108 mAreaId = typedArray.getInt(R.styleable.AnimatedTemperatureView_hvacAreaId, -1); in AnimatedTemperatureView() 109 mPropertyId = typedArray.getInt(R.styleable.AnimatedTemperatureView_hvacPropertyId, -1); in AnimatedTemperatureView() 111 typedArray.getDimensionPixelOffset( in AnimatedTemperatureView() 113 mGravity = typedArray.getInt(R.styleable.AnimatedTemperatureView_android_gravity, in AnimatedTemperatureView() 116 typedArray.getResourceId(R.styleable.AnimatedTemperatureView_android_textAppearance, in AnimatedTemperatureView() 118 mMinEms = typedArray.getInteger(R.styleable.AnimatedTemperatureView_android_minEms, 0); in AnimatedTemperatureView() 119 mMinValue = typedArray.getFloat(R.styleable.AnimatedTemperatureView_hvacMinValue, in AnimatedTemperatureView() 121 mMaxValue = typedArray.getFloat(R.styleable.AnimatedTemperatureView_hvacMaxValue, in AnimatedTemperatureView() 143 String format = typedArray.getString(R.styleable.AnimatedTemperatureView_hvacTempFormat); in AnimatedTemperatureView() [all …]
|
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/ |
D | CarNavigationButton.java | 60 TypedArray typedArray = context.obtainStyledAttributes( in CarNavigationButton() local 62 mIntent = typedArray.getString(R.styleable.CarNavigationButton_intent); in CarNavigationButton() 63 mLongIntent = typedArray.getString(R.styleable.CarNavigationButton_longIntent); in CarNavigationButton() 64 mBroadcastIntent = typedArray.getBoolean(R.styleable.CarNavigationButton_broadcast, false); in CarNavigationButton() 65 mSelectedAlpha = typedArray.getFloat( in CarNavigationButton() 67 mUnselectedAlpha = typedArray.getFloat( in CarNavigationButton() 69 mSelectedIconResourceId = typedArray.getResourceId( in CarNavigationButton() 71 typedArray.recycle(); in CarNavigationButton()
|
D | CarFacetButton.java | 78 TypedArray typedArray = context.obtainStyledAttributes(attrs, R.styleable.CarFacetButton); in CarFacetButton() local 79 setupIntents(typedArray); in CarFacetButton() 80 setupIcons(typedArray); in CarFacetButton() 90 protected void setupIntents(TypedArray typedArray) { in setupIntents() argument 91 String intentString = typedArray.getString(R.styleable.CarFacetButton_intent); in setupIntents() 92 String longPressIntentString = typedArray.getString(R.styleable.CarFacetButton_longIntent); in setupIntents() 93 String categoryString = typedArray.getString(R.styleable.CarFacetButton_categories); in setupIntents() 94 String packageString = typedArray.getString(R.styleable.CarFacetButton_packages); in setupIntents() 96 typedArray.getString(R.styleable.CarFacetButton_componentNames); in setupIntents()
|
D | AssitantButton.java | 66 protected void setupIntents(TypedArray typedArray){ in setupIntents() argument
|
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/hvac/ |
D | TemperatureTextView.java | 43 TypedArray typedArray = context.obtainStyledAttributes(attrs, R.styleable.TemperatureView); in TemperatureTextView() local 44 mAreaId = typedArray.getInt(R.styleable.TemperatureView_hvacAreaId, -1); in TemperatureTextView() 45 mPropertyId = typedArray.getInt(R.styleable.TemperatureView_hvacPropertyId, -1); in TemperatureTextView() 46 String format = typedArray.getString(R.styleable.TemperatureView_hvacTempFormat); in TemperatureTextView()
|
/frameworks/base/core/java/android/text/style/ |
D | SuggestionSpan.java | 202 TypedArray typedArray = context.obtainStyledAttributes( in initStyle() local 204 mMisspelledUnderlineThickness = typedArray.getDimension( in initStyle() 206 mMisspelledUnderlineColor = typedArray.getColor( in initStyle() 210 typedArray = context.obtainStyledAttributes( in initStyle() 212 mEasyCorrectUnderlineThickness = typedArray.getDimension( in initStyle() 214 mEasyCorrectUnderlineColor = typedArray.getColor( in initStyle() 218 typedArray = context.obtainStyledAttributes( in initStyle() 220 mAutoCorrectionUnderlineThickness = typedArray.getDimension( in initStyle() 222 mAutoCorrectionUnderlineColor = typedArray.getColor( in initStyle()
|
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/items/ |
D | RecyclerItemAdapter.java | 100 final TypedArray typedArray = in onCreateViewHolder() local 103 typedArray.getDrawable( in onCreateViewHolder() 107 typedArray.getDrawable(R.styleable.SuwRecyclerItemAdapter_selectableItemBackground); in onCreateViewHolder() 113 typedArray.getDrawable(R.styleable.SuwRecyclerItemAdapter_android_colorBackground); in onCreateViewHolder() 129 typedArray.recycle(); in onCreateViewHolder()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/tv/ |
D | PipControlButtonView.java | 87 TypedArray typedArray = in PipControlButtonView() local 90 setImageResource(typedArray.getResourceId(0, 0)); in PipControlButtonView() 91 setText(typedArray.getResourceId(1, 0)); in PipControlButtonView() 93 typedArray.recycle(); in PipControlButtonView()
|
/frameworks/base/core/java/android/content/res/ |
D | FontResourcesParser.java | 176 TypedArray typedArray = resources.obtainTypedArray(certsId); in readFamily() local 177 if (typedArray.length() > 0) { in readFamily() 179 boolean isArrayOfArrays = typedArray.getResourceId(0, 0) != 0; in readFamily() 181 for (int i = 0; i < typedArray.length(); i++) { in readFamily() 182 int certId = typedArray.getResourceId(i, 0); in readFamily()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/ |
D | SystemBarHelper.java | 130 final TypedArray typedArray = in showSystemBars() local 133 final int statusBarColor = typedArray.getColor(0, 0); in showSystemBars() 134 final int navigationBarColor = typedArray.getColor(1, 0); in showSystemBars() 137 typedArray.recycle(); in showSystemBars()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
D | PrintOptionsLayout.java | 40 TypedArray typedArray = context.obtainStyledAttributes(attrs, in PrintOptionsLayout() local 42 mColumnCount = typedArray.getInteger(R.styleable.PrintOptionsLayout_columnCount, 0); in PrintOptionsLayout() 43 typedArray.recycle(); in PrintOptionsLayout()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | LockIcon.java | 229 TypedArray typedArray = mContext.getTheme().obtainStyledAttributes( in onThemeChanged() local 231 mIconColor = typedArray.getColor(0, Color.WHITE); in onThemeChanged() 232 typedArray.recycle(); in onThemeChanged()
|
/frameworks/layoutlib/bridge/src/android/content/res/ |
D | Resources_Delegate.java | 551 BridgeTypedArray typedArray = newTypeArray(resources, length); in obtainTypedArray() local 564 typedArray.bridgeSetValue(i, elementValue.getName(), namespace, i, elementValue); in obtainTypedArray() 567 typedArray.sealArray(); in obtainTypedArray() 568 return typedArray; in obtainTypedArray()
|
/frameworks/base/core/java/android/app/ |
D | Fragment.java | 2841 private static Transition loadTransition(Context context, TypedArray typedArray, 2846 int transitionId = typedArray.getResourceId(id, 0);
|
D | Notification.java | 8184 final TypedArray typedArray = mBuilder.mContext.obtainStyledAttributes( in bindMediaActionButton() local 8186 int rippleAlpha = Color.alpha(typedArray.getColor(0, 0)); in bindMediaActionButton() 8187 typedArray.recycle(); in bindMediaActionButton() 10393 Notification[] typedArray = Arrays.copyOf(array, array.length, in getNotificationArrayFromBundle() local 10395 bundle.putParcelableArray(key, typedArray); in getNotificationArrayFromBundle() 10396 return typedArray; in getNotificationArrayFromBundle()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PhoneWindowManager.java | 2383 final TypedArray typedArray = overrideContext.obtainStyledAttributes( in addSplashScreen() local 2385 final int resId = typedArray.getResourceId(R.styleable.Window_windowBackground, 0); in addSplashScreen() 2394 typedArray.recycle(); in addSplashScreen()
|