Home
last modified time | relevance | path

Searched defs:attr (Results 1 – 25 of 41) sorted by relevance

12

/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/util/
DThemes.java31 public static int getAttrColor(Context context, int attr) { in getAttrColor()
36 public static int getAttrColor(Context context, @StyleRes int styleResId, int attr) { in getAttrColor()
48 public static ColorStateList getAttrColorStateList(Context context, int attr) { in getAttrColorStateList()
58 int attr) { in getAttrColorStateList()
68 public static boolean getAttrBoolean(Context context, int attr) { in getAttrBoolean()
73 public static boolean getAttrBoolean(Context context, @StyleRes int styleResId, int attr) { in getAttrBoolean()
81 public static Drawable getAttrDrawable(Context context, int attr) { in getAttrDrawable()
86 public static Drawable getAttrDrawable(Context context, @StyleRes int styleResId, int attr) { in getAttrDrawable()
94 public static int getAttrInteger(Context context, int attr) { in getAttrInteger()
99 public static int getAttrInteger(Context context, @StyleRes int styleResId, int attr) { in getAttrInteger()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/
DThemeUtils.java44 public static int resolveColor(Context context, @AttrRes int attr) { in resolveColor()
57 public static int resolveColor(Context context, @AttrRes int attr, @AttrRes int[] stateSet) { in resolveColor()
86 public static Drawable resolveDrawable(Context context, @AttrRes int attr) { in resolveDrawable()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DThemes.java73 public static float getDimension(Context context, int attr, float defaultValue) { in getDimension()
84 public static int getAttrColor(Context context, int attr) { in getAttrColor()
91 public static boolean getAttrBoolean(Context context, int attr) { in getAttrBoolean()
98 public static Drawable getAttrDrawable(Context context, int attr) { in getAttrDrawable()
105 public static int getAttrInteger(Context context, int attr) { in getAttrInteger()
115 public static int getAlpha(Context context, int attr) { in getAlpha()
/packages/apps/TV/src/com/android/tv/parental/
DContentRatingsParser.java120 String attr = parser.getAttributeName(i); in parse() local
190 String attr = parser.getAttributeName(i); in parseRatingSystemDefinition() local
266 String attr = parser.getAttributeName(i); in parseRatingDefinition() local
336 String attr = parser.getAttributeName(i); in parseSubRatingDefinition() local
417 String attr = parser.getAttributeName(i); in parseRating() local
447 String attr = parser.getAttributeName(i); in parseSubRating() local
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/utils/
DCarUiUtils.java54 public static int getAttrResourceId(Context context, int attr) { in getAttrResourceId()
62 public static int getAttrResourceId(Context context, @StyleRes int styleResId, int attr) { in getAttrResourceId()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ui/
DThemeUiTestBase.java94 protected void assertTheme(int[] styleable, int attr, int expected) { in assertTheme()
108 protected void assertTheme(int[] styleable, int attr, boolean expected) { in assertTheme()
/packages/apps/Car/Notification/src/com/android/car/notification/
DThemesUtil.java31 public static int getAttrColor(Context context, int attr) { in getAttrColor()
/packages/apps/Messaging/src/com/android/messaging/ui/
DMaxHeightScrollView.java36 final TypedArray attr = context.obtainStyledAttributes(attrs, in MaxHeightScrollView() local
DAsyncImageView.java105 final TypedArray attr = context.obtainStyledAttributes(attrs, R.styleable.AsyncImageView, in AsyncImageView() local
/packages/apps/Messaging/src/com/android/messaging/util/
DSwitchCompatUtils.java106 final int attr) { in getThemeAttrColor()
119 final int attr, final float alpha) { in getThemeAttrColor()
/packages/apps/Nfc/nci/jni/
DCondVar.cpp42 pthread_condattr_t attr; in CondVar() local
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyDrawParams.java84 public void updateParams(final int keyHeight, @Nullable final KeyVisualAttributes attr) { in updateParams()
126 @Nullable final KeyVisualAttributes attr) { in mayCloneAndUpdateParams()
DKeyboardBuilder.java238 final AttributeSet attr = Xml.asAttributeSet(parser); in parseKeyboardAttributes() local
340 final AttributeSet attr = Xml.asAttributeSet(parser); in parseRowAttributes() local
528 final AttributeSet attr = Xml.asAttributeSet(parser); in parseIncludeInternal() local
642 final AttributeSet attr = Xml.asAttributeSet(parser); in parseCaseCondition() local
805 final AttributeSet attr = Xml.asAttributeSet(parser); in parseKeyStyle() local
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DDisabledCheckBoxPreference.java62 int attr = a.getIndex(i); in setupDisabledCheckBoxPreference() local
/packages/apps/Settings/src/com/android/settings/widget/
DDisabledCheckBoxPreference.java63 int attr = a.getIndex(i); in setupDisabledCheckBoxPreference() local
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DPhotoPriorityResolver.java162 String attr = parser.getAttributeName(i); in loadPhotoPriorityFromXml() local
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DXmlParseUtils.java74 public static void checkAttributeExists(final TypedArray attr, final int attrId, in checkAttributeExists()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/
DArchiveFileTestRule.java104 FileAttribute<Set<PosixFilePermission>> attr = PosixFilePermissions.asFileAttribute(perm); in generateFile() local
/packages/apps/Launcher3/src/com/android/launcher3/views/
DBottomUserEducationView.java45 public BottomUserEducationView(Context context, AttributeSet attr) { in BottomUserEducationView()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DIconShape.java107 public TypedValue getAttrValue(int attr) { in getAttrValue()
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/
DStringResourceMap.java128 public void startElement(String uri, String localName, String qName, Attributes attr) { in startElement()
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/core/
DBaseLayoutController.java145 private boolean getThemeBoolean(Activity activity, int attr) { in getThemeBoolean()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DAdvancedBluetoothDetailsHeaderController.java190 final int attr = level > LOW_BATTERY_LEVEL || charging in createBtBatteryIcon() local
/packages/services/BuiltInPrintService/jni/ipphelper/
Dippstatus_monitor.c288 ipp_attribute_t *attr; in _cancel() local
/packages/apps/TV/tuner/src/com/android/tv/tuner/cc/
DCaptionTrackRenderer.java361 private void setPenAttr(CaptionPenAttr attr) { in setPenAttr()

12