Home
last modified time | relevance | path

Searched refs:typedArray (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DExifInterfaceTest.java120 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/support/compat/jellybean/android/support/v4/app/
DBundleUtil.java22 Bundle[] typedArray = Arrays.copyOf(array, array.length, in getBundleArrayFromBundle() local
24 bundle.putParcelableArray(key, typedArray); in getBundleArrayFromBundle()
25 return typedArray; in getBundleArrayFromBundle()
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/items/
DRecyclerItemAdapter.java78 final TypedArray typedArray = parent.getContext() in onCreateViewHolder() local
80 Drawable selectableItemBackground = typedArray.getDrawable( in onCreateViewHolder()
83 selectableItemBackground = typedArray.getDrawable( in onCreateViewHolder()
87 final Drawable background = typedArray.getDrawable( in onCreateViewHolder()
99 typedArray.recycle(); in onCreateViewHolder()
/frameworks/base/core/java/android/text/style/
DSuggestionSpan.java185 TypedArray typedArray = context.obtainStyledAttributes( in initStyle() local
187 mMisspelledUnderlineThickness = typedArray.getDimension( in initStyle()
189 mMisspelledUnderlineColor = typedArray.getColor( in initStyle()
193 typedArray = context.obtainStyledAttributes( in initStyle()
195 mEasyCorrectUnderlineThickness = typedArray.getDimension( in initStyle()
197 mEasyCorrectUnderlineColor = typedArray.getColor( in initStyle()
201 typedArray = context.obtainStyledAttributes( in initStyle()
203 mAutoCorrectionUnderlineThickness = typedArray.getDimension( in initStyle()
205 mAutoCorrectionUnderlineColor = typedArray.getColor( in initStyle()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DPagingIndicator.java136 TypedArray typedArray = context.obtainStyledAttributes(attrs, R.styleable.PagingIndicator, in PagingIndicator() local
138 mDotRadius = getDimensionFromTypedArray(typedArray, R.styleable.PagingIndicator_dotRadius, in PagingIndicator()
141 mArrowRadius = getDimensionFromTypedArray(typedArray, in PagingIndicator()
144 mDotGap = getDimensionFromTypedArray(typedArray, R.styleable.PagingIndicator_dotToDotGap, in PagingIndicator()
146 mArrowGap = getDimensionFromTypedArray(typedArray, in PagingIndicator()
148 int bgColor = getColorFromTypedArray(typedArray, R.styleable.PagingIndicator_dotBgColor, in PagingIndicator()
152 mDotFgSelectColor = getColorFromTypedArray(typedArray, in PagingIndicator()
155 typedArray.recycle(); in PagingIndicator()
179 private int getDimensionFromTypedArray(TypedArray typedArray, int attr, int defaultId) { in getDimensionFromTypedArray() argument
180 return typedArray.getDimensionPixelOffset(attr, in getDimensionFromTypedArray()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/tv/pip/
DPipControlButtonView.java86 TypedArray typedArray = in PipControlButtonView() local
89 setImageResource(typedArray.getResourceId(0, 0)); in PipControlButtonView()
90 setText(typedArray.getResourceId(1, 0)); in PipControlButtonView()
92 typedArray.recycle(); in PipControlButtonView()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DSystemBarHelper.java133 final TypedArray typedArray = context.obtainStyledAttributes(new int[]{ in showSystemBars() local
135 final int statusBarColor = typedArray.getColor(0, 0); in showSystemBars()
136 final int navigationBarColor = typedArray.getColor(1, 0); in showSystemBars()
139 typedArray.recycle(); in showSystemBars()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
DPrintOptionsLayout.java39 TypedArray typedArray = context.obtainStyledAttributes(attrs, in PrintOptionsLayout() local
41 mColumnCount = typedArray.getInteger(R.styleable.PrintOptionsLayout_columnCount, 0); in PrintOptionsLayout()
42 typedArray.recycle(); in PrintOptionsLayout()
/frameworks/data-binding/compilerCommon/
DBindingExpression.g4487 | 'typedArray'
/frameworks/support/compat/java/android/support/v4/app/
DNotificationCompat.java4014 Notification[] typedArray = new Notification[array.length]; in getNotificationArrayFromBundle() local
4016 typedArray[i] = (Notification) array[i]; in getNotificationArrayFromBundle()
4018 bundle.putParcelableArray(key, typedArray); in getNotificationArrayFromBundle()
4019 return typedArray; in getNotificationArrayFromBundle()
/frameworks/base/core/java/android/app/
DFragment.java2616 private static Transition loadTransition(Context context, TypedArray typedArray,
2621 int transitionId = typedArray.getResourceId(id, 0);
DNotification.java6900 Notification[] typedArray = Arrays.copyOf(array, array.length, in getNotificationArrayFromBundle() local
6902 bundle.putParcelableArray(key, typedArray); in getNotificationArrayFromBundle()
6903 return typedArray; in getNotificationArrayFromBundle()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java2594 final TypedArray typedArray = overrideContext.obtainStyledAttributes( in addStartingWindow() local
2596 final int resId = typedArray.getResourceId(R.styleable.Window_windowBackground, 0); in addStartingWindow()
/frameworks/base/docs/html/topic/libraries/data-binding/
Dindex.jd1064 @typedArray