/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | KeyStylesSet.java | 19 import android.content.res.TypedArray; 62 public String[] getStringArray(final TypedArray a, final int index) { in getStringArray() 68 public String getString(final TypedArray a, final int index) { in getString() 73 public int getInt(final TypedArray a, final int index, final int defaultValue) { in getInt() 78 public int getFlags(final TypedArray a, final int index) { in getFlags() 98 public String[] getStringArray(final TypedArray a, final int index) { in getStringArray() 113 public String getString(final TypedArray a, final int index) { in getString() 126 public int getInt(final TypedArray a, final int index, final int defaultValue) { in getInt() 139 public int getFlags(final TypedArray a, final int index) { in getFlags() 147 public void readKeyAttributes(final TypedArray keyAttr) { in readKeyAttributes() [all …]
|
D | KeyStyle.java | 19 import android.content.res.TypedArray; 27 public abstract @Nullable String[] getStringArray(TypedArray a, int index); in getStringArray() 28 public abstract @Nullable String getString(TypedArray a, int index); in getString() 29 public abstract int getInt(TypedArray a, int index, int defaultValue); in getInt() 30 public abstract int getFlags(TypedArray a, int index); in getFlags() 37 protected String parseString(final TypedArray a, final int index) { in parseString() 45 protected String[] parseStringArray(final TypedArray a, final int index) { in parseStringArray()
|
D | KeyboardRow.java | 20 import android.content.res.TypedArray; 64 public RowAttributes(final TypedArray keyAttr, final float defaultKeyWidth, in RowAttributes() 81 public RowAttributes(final TypedArray keyAttr, final RowAttributes defaultRowAttr, in RowAttributes() 99 final TypedArray keyboardAttr = res.obtainAttributes(Xml.asAttributeSet(parser), in KeyboardRow() 104 final TypedArray keyAttr = res.obtainAttributes(Xml.asAttributeSet(parser), in KeyboardRow() 118 public void pushRowAttributes(final TypedArray keyAttr) { in pushRowAttributes() 152 public float getKeyX(final TypedArray keyAttr) { in getKeyX() 170 public float getKeyWidth(final TypedArray keyAttr, final float keyXPos) { in getKeyWidth()
|
D | KeyboardBuilder.java | 21 import android.content.res.TypedArray; 239 final TypedArray keyboardAttr = mContext.obtainStyledAttributes( in parseKeyboardAttributes() 241 final TypedArray keyAttr = mResources.obtainAttributes(attr, R.styleable.Keyboard_Key); in parseKeyboardAttributes() 341 final TypedArray keyboardAttr = mResources.obtainAttributes(attr, R.styleable.Keyboard); in parseRowAttributes() 401 final TypedArray gridRowAttr = mResources.obtainAttributes( in parseGridRows() 477 final TypedArray keyAttr = mResources.obtainAttributes( in parseKey() 501 final TypedArray keyAttr = mResources.obtainAttributes( in parseSpacer() 529 final TypedArray keyboardAttr = mResources.obtainAttributes( in parseIncludeInternal() 531 final TypedArray keyAttr = mResources.obtainAttributes(attr, R.styleable.Keyboard_Key); in parseIncludeInternal() 643 final TypedArray caseAttr = mResources.obtainAttributes(attr, R.styleable.Keyboard_Case); in parseCaseCondition() [all …]
|
/packages/apps/Settings/src/com/android/settings/core/ |
D | PreferenceXmlParserUtils.java | 21 import android.content.res.TypedArray; 147 final TypedArray preferenceAttributes = context.obtainStyledAttributes(attrs, in extractMetadata() 149 TypedArray preferenceScreenAttributes = null; in extractMetadata() 217 private static String getKey(TypedArray styledAttributes) { in getKey() 221 private static String getTitle(TypedArray styledAttributes) { in getTitle() 225 private static String getSummary(TypedArray styledAttributes) { in getSummary() 229 private static String getController(TypedArray styledAttributes) { in getController() 233 private static String getHighlightableMenuKey(TypedArray styledAttributes) { in getHighlightableMenuKey() 237 private static int getIcon(TypedArray styledAttributes) { in getIcon() 241 private static boolean isSearchable(TypedArray styledAttributes) { in isSearchable() [all …]
|
/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
D | PreferenceXmlParser.java | 23 import android.content.res.TypedArray; 127 final TypedArray preferenceAttributes = context.obtainStyledAttributes(attrs, in extractMetadata() 183 private static String getKey(TypedArray styledAttributes) { in getKey() 187 private static String getController(TypedArray styledAttributes) { in getController() 191 private static boolean isSearchable(TypedArray styledAttributes) { in isSearchable() 195 private static String getDriver(TypedArray styledAttributes) { in getDriver() 199 private static String getFrontPassenger(TypedArray styledAttributes) { in getFrontPassenger() 203 private static String getRearPassenger(TypedArray styledAttributes) { in getRearPassenger()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | Themes.java | 25 import android.content.res.TypedArray; 77 TypedArray ta = context.obtainStyledAttributes(android.R.style.TextAppearance_DeviceDefault, in getDefaultBodyFont() 90 TypedArray ta = context.obtainStyledAttributes(new int[]{attr}); in getDimension() 115 TypedArray ta = context.obtainStyledAttributes(new int[]{attr}); in getAttrBoolean() 122 TypedArray ta = context.obtainStyledAttributes(new int[]{attr}); in getAttrDrawable() 129 TypedArray ta = context.obtainStyledAttributes(new int[]{attr}); in getAttrInteger() 186 TypedArray ta = context.obtainStyledAttributes(attrSet, attrNames); in createValueMap()
|
D | ResourceHelper.kt | 20 import android.content.res.TypedArray 34 open fun obtainStyledAttributes(attrs: AttributeSet, styleId: IntArray): TypedArray { in obtainStyledAttributes()
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
D | IndicatorIconController.java | 20 import android.content.res.TypedArray; 56 private TypedArray mFlashIndicatorPhotoIcons; 57 private TypedArray mFlashIndicatorVideoIcons; 58 private TypedArray mHdrPlusIndicatorIcons; 59 private TypedArray mHdrIndicatorIcons; 60 private TypedArray mPanoIndicatorIcons; 61 private TypedArray mCountdownTimerIndicatorIcons; 299 TypedArray iconArray, boolean showDefault) { in setIndicatorState()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | TintDrawable.java | 23 import android.content.res.TypedArray; 57 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.TintDrawable); in inflate() 73 final TypedArray a = t.resolveAttributes(mThemeAttrs, R.styleable.TintDrawable); in applyTheme() 88 private void updateStateFromTypedArray(@NonNull TypedArray a) { in updateStateFromTypedArray()
|
/packages/apps/Dialer/java/com/android/dialer/common/preference/ |
D | SwitchPreferenceWithClickableSummary.java | 23 import android.content.res.TypedArray; 53 TypedArray typedArray = in SwitchPreferenceWithClickableSummary() 63 TypedArray typedArray = in SwitchPreferenceWithClickableSummary() 72 TypedArray typedArray = in SwitchPreferenceWithClickableSummary()
|
/packages/apps/AvatarPicker/src/main/java/com/android/avatarpicker/data/ |
D | Utils.kt | 20 import android.content.res.TypedArray 24 fun Resources.safeObtainTypedArray(id: Int): TypedArray? { in safeObtainTypedArray() 36 fun TypedArray.safeObtainStringRes(index: Int, @StringRes default: Int): Int { in safeObtainStringRes() method
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | ResourceUtils.java | 20 import android.content.res.TypedArray; 242 public static float getFraction(final TypedArray a, final int index, final float defValue) { in getFraction() 250 public static float getFraction(final TypedArray a, final int index) { in getFraction() 254 public static int getDimensionPixelSize(final TypedArray a, final int index) { in getDimensionPixelSize() 262 public static float getDimensionOrFraction(final TypedArray a, final int index, final int base, in getDimensionOrFraction() 276 public static int getEnumValue(final TypedArray a, final int index, final int defValue) { in getEnumValue()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | ThemeUtils.kt | 20 import android.content.res.TypedArray 52 var a: TypedArray in resolveColor() 78 var a: TypedArray in resolveDrawable()
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | InCallUIMaterialColorMapUtils.java | 21 import android.content.res.TypedArray; 28 private final TypedArray primaryColors; 29 private final TypedArray secondaryColors;
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/about/ |
D | Utils.java | 12 import android.content.res.TypedArray; 104 TypedArray ta = context.obtainStyledAttributes(new int[]{attr}); in applyAlphaAttr() 119 TypedArray ta = context.obtainStyledAttributes(new int[]{attr}); in getColorAttrDefaultColor() 126 TypedArray ta = context.obtainStyledAttributes(new int[]{attr}); in getColorAttr() 141 TypedArray ta = context.obtainStyledAttributes(new int[]{attr}); in getThemeAttr() 148 TypedArray ta = context.obtainStyledAttributes(new int[]{attr}); in getDrawable()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/element/ |
D | CarSystemBarElementFlags.java | 22 import android.content.res.TypedArray; 89 TypedArray typedArray = context.obtainStyledAttributes(attrs, in getStatusBarManagerDisableFlagsFromAttributes() 132 TypedArray typedArray = context.obtainStyledAttributes(attrs, in getStatusBarManagerDisable2FlagsFromAttributes() 171 TypedArray typedArray = context.obtainStyledAttributes(attrs, in getDisableForLockTaskModeLockedFromAttributes()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/util/ |
D | LibUtils.java | 29 import android.content.res.TypedArray; 134 TypedArray ta = context.obtainStyledAttributes(new int[]{attr}); in applyAlphaAttr() 149 TypedArray ta = context.obtainStyledAttributes(new int[]{attr}); in getColorAttrDefaultColor() 156 TypedArray ta = context.obtainStyledAttributes(new int[]{attr}); in getColorAttr() 171 TypedArray ta = context.obtainStyledAttributes(new int[]{attr}); in getThemeAttr() 178 TypedArray ta = context.obtainStyledAttributes(new int[]{attr}); in getDrawable()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/ |
D | XmlParserUtils.java | 20 import android.content.res.TypedArray; 83 final TypedArray ta = context.obtainStyledAttributes(attrs, R.styleable.Preference); in getDataIcon() 110 final TypedArray ta = context.obtainStyledAttributes(set, attrs); in getData() 123 final TypedArray sa = context.obtainStyledAttributes(set, attrs); in getDataEntries()
|
/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/ |
D | GraphicsUtils.java | 19 import android.content.res.TypedArray; 112 TypedArray ta = context.obtainStyledAttributes(new int[]{attr}); in getAttrColor() 122 TypedArray ta = context.obtainStyledAttributes(new int[]{attr}); in getFloat()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | IconListPreference.java | 21 import android.content.res.TypedArray; 37 TypedArray a = context.obtainStyledAttributes( in IconListPreference() 77 TypedArray array = res.obtainTypedArray(iconsRes); in getIds()
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ui/ |
D | ThemeUiTestBase.java | 25 import android.content.res.TypedArray; 95 final TypedArray ta = mTheme.obtainStyledAttributes(styleable); in assertTheme() 109 final TypedArray ta = mTheme.obtainStyledAttributes(styleable); in assertTheme()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | DevicePaddings.java | 20 import android.content.res.TypedArray; 68 TypedArray a = context.obtainStyledAttributes( in DevicePaddings() 205 TypedArray t = context.obtainStyledAttributes(attrs, in PaddingFormula() 222 private static float getValue(TypedArray a, int index) { in getValue()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
D | ResourceUtils.java | 20 import android.content.res.TypedArray; 30 TypedArray ta = context.obtainStyledAttributes(new int[]{attr}); in getColorAttr()
|
/packages/apps/Launcher3/src/com/android/launcher3/responsive/ |
D | ResponsiveSpecsParser.kt | 19 import android.content.res.TypedArray 36 attributes: TypedArray, in parseXML() 45 var groupAttrs: TypedArray? = null in parseXML()
|