Home
last modified time | relevance | path

Searched refs:styleable (Results 1 – 25 of 181) sorted by relevance

12345678

/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DSimpleInflater.java125 com.android.internal.R.styleable.MenuItem); in readItem()
128 int itemId = a.getResourceId(R.styleable.MenuItem_android_id, 0); in readItem()
129 final int category = a.getInt(R.styleable.MenuItem_android_menuCategory, 0); in readItem()
130 final int order = a.getInt(R.styleable.MenuItem_android_orderInCategory, 0); in readItem()
131 CharSequence itemTitle = a.getText(R.styleable.MenuItem_android_title); in readItem()
132 CharSequence itemTitleCondensed = a.getText(R.styleable.MenuItem_android_titleCondensed); in readItem()
133 int itemIconResId = a.getResourceId(R.styleable.MenuItem_android_icon, 0); in readItem()
134 … String itemAlphabeticShortcut = a.getString(R.styleable.MenuItem_android_alphabeticShortcut); in readItem()
135 String itemNumericShortcut = a.getString(R.styleable.MenuItem_android_numericShortcut); in readItem()
137 if (a.hasValue(R.styleable.MenuItem_android_checkable)) { in readItem()
[all …]
/frameworks/base/core/java/android/view/
DMenuInflater.java324 com.android.internal.R.styleable.MenuGroup); in readGroup()
326 … groupId = a.getResourceId(com.android.internal.R.styleable.MenuGroup_id, defaultGroupId); in readGroup()
327 …groupCategory = a.getInt(com.android.internal.R.styleable.MenuGroup_menuCategory, defaultItemCateg… in readGroup()
328 …groupOrder = a.getInt(com.android.internal.R.styleable.MenuGroup_orderInCategory, defaultItemOrder… in readGroup()
329 …groupCheckable = a.getInt(com.android.internal.R.styleable.MenuGroup_checkableBehavior, defaultIte… in readGroup()
330 …groupVisible = a.getBoolean(com.android.internal.R.styleable.MenuGroup_visible, defaultItemVisible… in readGroup()
331 …groupEnabled = a.getBoolean(com.android.internal.R.styleable.MenuGroup_enabled, defaultItemEnabled… in readGroup()
341 com.android.internal.R.styleable.MenuItem); in readItem()
344 itemId = a.getResourceId(com.android.internal.R.styleable.MenuItem_id, defaultItemId); in readItem()
345 …final int category = a.getInt(com.android.internal.R.styleable.MenuItem_menuCategory, groupCategor… in readItem()
[all …]
DPointerIcon.java129 com.android.internal.R.styleable.Pointer, in getSystemIcon()
385 parser, com.android.internal.R.styleable.PointerIcon); in loadResource()
386 bitmapRes = a.getResourceId(com.android.internal.R.styleable.PointerIcon_bitmap, 0); in loadResource()
387 hotSpotX = a.getFloat(com.android.internal.R.styleable.PointerIcon_hotSpotX, 0); in loadResource()
388 hotSpotY = a.getFloat(com.android.internal.R.styleable.PointerIcon_hotSpotY, 0); in loadResource()
424 return com.android.internal.R.styleable.Pointer_pointerIconArrow; in getSystemIconStyleIndex()
426 return com.android.internal.R.styleable.Pointer_pointerIconSpotHover; in getSystemIconStyleIndex()
428 return com.android.internal.R.styleable.Pointer_pointerIconSpotTouch; in getSystemIconStyleIndex()
430 return com.android.internal.R.styleable.Pointer_pointerIconSpotAnchor; in getSystemIconStyleIndex()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java914 com.android.internal.R.styleable.AndroidManifest); in parsePackage()
916 com.android.internal.R.styleable.AndroidManifest_versionCode, 0); in parsePackage()
918 com.android.internal.R.styleable.AndroidManifest_versionName, 0); in parsePackage()
923 com.android.internal.R.styleable.AndroidManifest_sharedUserId, 0); in parsePackage()
934 com.android.internal.R.styleable.AndroidManifest_sharedUserLabel, 0); in parsePackage()
939 com.android.internal.R.styleable.AndroidManifest_installLocation, in parsePackage()
1000 com.android.internal.R.styleable.AndroidManifestUsesPermission); in parsePackage()
1005 com.android.internal.R.styleable.AndroidManifestUsesPermission_name); in parsePackage()
1023 com.android.internal.R.styleable.AndroidManifestUsesConfiguration); in parsePackage()
1025 … com.android.internal.R.styleable.AndroidManifestUsesConfiguration_reqTouchScreen, in parsePackage()
[all …]
/frameworks/base/core/java/android/app/
DSearchableInfo.java311 com.android.internal.R.styleable.Searchable); in SearchableInfo()
312 mSearchMode = a.getInt(com.android.internal.R.styleable.Searchable_searchMode, 0); in SearchableInfo()
313 mLabelId = a.getResourceId(com.android.internal.R.styleable.Searchable_label, 0); in SearchableInfo()
314 mHintId = a.getResourceId(com.android.internal.R.styleable.Searchable_hint, 0); in SearchableInfo()
315 mIconId = a.getResourceId(com.android.internal.R.styleable.Searchable_icon, 0); in SearchableInfo()
317 com.android.internal.R.styleable.Searchable_searchButtonText, 0); in SearchableInfo()
318 mSearchInputType = a.getInt(com.android.internal.R.styleable.Searchable_inputType, in SearchableInfo()
321 mSearchImeOptions = a.getInt(com.android.internal.R.styleable.Searchable_imeOptions, in SearchableInfo()
324 com.android.internal.R.styleable.Searchable_includeInGlobalSearch, false); in SearchableInfo()
326 com.android.internal.R.styleable.Searchable_queryAfterZeroResults, false); in SearchableInfo()
[all …]
/frameworks/base/core/java/android/content/
DSyncAdaptersCache.java49 com.android.internal.R.styleable.SyncAdapter); in parseServiceAttributes()
52 sa.getString(com.android.internal.R.styleable.SyncAdapter_contentAuthority); in parseServiceAttributes()
54 sa.getString(com.android.internal.R.styleable.SyncAdapter_accountType); in parseServiceAttributes()
59 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_userVisible, true); in parseServiceAttributes()
61 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_supportsUploading, in parseServiceAttributes()
64 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_isAlwaysSyncable, in parseServiceAttributes()
67 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_allowParallelSyncs, in parseServiceAttributes()
70 sa.getString(com.android.internal.R.styleable in parseServiceAttributes()
/frameworks/base/core/java/android/animation/
DAnimatorInflater.java123 com.android.internal.R.styleable.AnimatorSet); in createAnimatorFromXml()
124 int ordering = a.getInt(com.android.internal.R.styleable.AnimatorSet_ordering, in createAnimatorFromXml()
164 … context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.PropertyAnimator); in loadObjectAnimator()
166 … String propertyName = a.getString(com.android.internal.R.styleable.PropertyAnimator_propertyName); in loadObjectAnimator()
186 context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.Animator); in loadAnimator()
188 long duration = a.getInt(com.android.internal.R.styleable.Animator_duration, 0); in loadAnimator()
190 long startDelay = a.getInt(com.android.internal.R.styleable.Animator_startOffset, 0); in loadAnimator()
192 int valueType = a.getInt(com.android.internal.R.styleable.Animator_valueType, in loadAnimator()
200 int valueFromIndex = com.android.internal.R.styleable.Animator_valueFrom; in loadAnimator()
201 int valueToIndex = com.android.internal.R.styleable.Animator_valueTo; in loadAnimator()
[all …]
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java791 com.android.internal.R.styleable.GradientDrawable);
794 com.android.internal.R.styleable.GradientDrawable_visible);
797 com.android.internal.R.styleable.GradientDrawable_shape, RECTANGLE);
799 com.android.internal.R.styleable.GradientDrawable_dither, false);
803 com.android.internal.R.styleable.GradientDrawable_innerRadius, -1);
806 com.android.internal.R.styleable.GradientDrawable_innerRadiusRatio, 3.0f);
809 com.android.internal.R.styleable.GradientDrawable_thickness, -1);
812 com.android.internal.R.styleable.GradientDrawable_thicknessRatio, 9.0f);
815 com.android.internal.R.styleable.GradientDrawable_useLevel, true);
842 com.android.internal.R.styleable.GradientDrawableSize);
[all …]
DPaintDrawable.java77 com.android.internal.R.styleable.DrawableCorners); in inflateTag()
79 com.android.internal.R.styleable.DrawableCorners_radius, 0); in inflateTag()
85 com.android.internal.R.styleable.DrawableCorners_topLeftRadius, radius); in inflateTag()
87 com.android.internal.R.styleable.DrawableCorners_topRightRadius, radius); in inflateTag()
89 com.android.internal.R.styleable.DrawableCorners_bottomLeftRadius, radius); in inflateTag()
91 com.android.internal.R.styleable.DrawableCorners_bottomRightRadius, radius); in inflateTag()
DShapeDrawable.java298 com.android.internal.R.styleable.ShapeDrawablePadding); in inflateTag()
301 com.android.internal.R.styleable.ShapeDrawablePadding_left, 0), in inflateTag()
303 com.android.internal.R.styleable.ShapeDrawablePadding_top, 0), in inflateTag()
305 com.android.internal.R.styleable.ShapeDrawablePadding_right, 0), in inflateTag()
307 com.android.internal.R.styleable.ShapeDrawablePadding_bottom, 0)); in inflateTag()
320 TypedArray a = r.obtainAttributes(attrs, com.android.internal.R.styleable.ShapeDrawable); in inflate()
323 color = a.getColor(com.android.internal.R.styleable.ShapeDrawable_color, color); in inflate()
326 boolean dither = a.getBoolean(com.android.internal.R.styleable.ShapeDrawable_dither, false); in inflate()
330 a.getDimension(com.android.internal.R.styleable.ShapeDrawable_width, 0f)); in inflate()
332 a.getDimension(com.android.internal.R.styleable.ShapeDrawable_height, 0f)); in inflate()
DAnimationDrawable.java240 com.android.internal.R.styleable.AnimationDrawable); in inflate()
243 com.android.internal.R.styleable.AnimationDrawable_visible); in inflate()
246 com.android.internal.R.styleable.AnimationDrawable_variablePadding, false)); in inflate()
249 com.android.internal.R.styleable.AnimationDrawable_oneshot, false); in inflate()
267 a = r.obtainAttributes(attrs, com.android.internal.R.styleable.AnimationDrawableItem); in inflate()
269 com.android.internal.R.styleable.AnimationDrawableItem_duration, -1); in inflate()
276 com.android.internal.R.styleable.AnimationDrawableItem_drawable, 0); in inflate()
DStateListDrawable.java118 com.android.internal.R.styleable.StateListDrawable); in inflate()
121 com.android.internal.R.styleable.StateListDrawable_visible); in inflate()
124 com.android.internal.R.styleable.StateListDrawable_variablePadding, false)); in inflate()
126 com.android.internal.R.styleable.StateListDrawable_constantSize, false)); in inflate()
128 com.android.internal.R.styleable.StateListDrawable_enterFadeDuration, 0)); in inflate()
130 com.android.internal.R.styleable.StateListDrawable_exitFadeDuration, 0)); in inflate()
132 setDither(a.getBoolean(com.android.internal.R.styleable.StateListDrawable_dither, in inflate()
/frameworks/base/core/java/android/accounts/
DAccountAuthenticatorCache.java55 com.android.internal.R.styleable.AccountAuthenticator); in parseServiceAttributes()
58 sa.getString(com.android.internal.R.styleable.AccountAuthenticator_accountType); in parseServiceAttributes()
60 com.android.internal.R.styleable.AccountAuthenticator_label, 0); in parseServiceAttributes()
62 com.android.internal.R.styleable.AccountAuthenticator_icon, 0); in parseServiceAttributes()
64 com.android.internal.R.styleable.AccountAuthenticator_smallIcon, 0); in parseServiceAttributes()
66 com.android.internal.R.styleable.AccountAuthenticator_accountPreferences, 0); in parseServiceAttributes()
68 com.android.internal.R.styleable.AccountAuthenticator_customTokens, false); in parseServiceAttributes()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboard.java190 com.android.internal.R.styleable.Keyboard); in Row()
192 com.android.internal.R.styleable.Keyboard_keyWidth, in Row()
195 com.android.internal.R.styleable.Keyboard_keyHeight, in Row()
198 com.android.internal.R.styleable.Keyboard_horizontalGap, in Row()
201 com.android.internal.R.styleable.Keyboard_verticalGap, in Row()
205 com.android.internal.R.styleable.Keyboard_Row); in Row()
206 rowEdgeFlags = a.getInt(com.android.internal.R.styleable.Keyboard_Row_rowEdgeFlags, 0); in Row()
207 mode = a.getResourceId(com.android.internal.R.styleable.Keyboard_Row_keyboardMode, in Row()
337 com.android.internal.R.styleable.Keyboard); in Key()
340 com.android.internal.R.styleable.Keyboard_keyWidth, in Key()
[all …]
/frameworks/base/core/java/android/preference/
DPreferenceFrameLayout.java51 com.android.internal.R.styleable.PreferenceFrameLayout, defStyle, 0); in PreferenceFrameLayout()
60 com.android.internal.R.styleable.PreferenceFrameLayout_borderTop, in PreferenceFrameLayout()
63 com.android.internal.R.styleable.PreferenceFrameLayout_borderBottom, in PreferenceFrameLayout()
66 com.android.internal.R.styleable.PreferenceFrameLayout_borderLeft, in PreferenceFrameLayout()
69 com.android.internal.R.styleable.PreferenceFrameLayout_borderRight, in PreferenceFrameLayout()
135 com.android.internal.R.styleable.PreferenceFrameLayout_Layout); in LayoutParams()
137 … com.android.internal.R.styleable.PreferenceFrameLayout_Layout_layout_removeBorders, in LayoutParams()
DSwitchPreference.java69 com.android.internal.R.styleable.SwitchPreference, defStyle, 0); in SwitchPreference()
70 setSummaryOn(a.getString(com.android.internal.R.styleable.SwitchPreference_summaryOn)); in SwitchPreference()
71 setSummaryOff(a.getString(com.android.internal.R.styleable.SwitchPreference_summaryOff)); in SwitchPreference()
73 com.android.internal.R.styleable.SwitchPreference_switchTextOn)); in SwitchPreference()
75 com.android.internal.R.styleable.SwitchPreference_switchTextOff)); in SwitchPreference()
77 com.android.internal.R.styleable.SwitchPreference_disableDependentsState, false)); in SwitchPreference()
DCheckBoxPreference.java41 com.android.internal.R.styleable.CheckBoxPreference, defStyle, 0); in CheckBoxPreference()
42 setSummaryOn(a.getString(com.android.internal.R.styleable.CheckBoxPreference_summaryOn)); in CheckBoxPreference()
43 setSummaryOff(a.getString(com.android.internal.R.styleable.CheckBoxPreference_summaryOff)); in CheckBoxPreference()
45 com.android.internal.R.styleable.CheckBoxPreference_disableDependentsState, false)); in CheckBoxPreference()
/frameworks/base/core/java/android/text/style/
DTextAppearanceSpan.java61 com.android.internal.R.styleable.TextAppearance); in TextAppearanceSpan()
63 textColor = a.getColorStateList(com.android.internal.R.styleable. in TextAppearanceSpan()
65 mTextColorLink = a.getColorStateList(com.android.internal.R.styleable. in TextAppearanceSpan()
67 mTextSize = a.getDimensionPixelSize(com.android.internal.R.styleable. in TextAppearanceSpan()
70 mStyle = a.getInt(com.android.internal.R.styleable.TextAppearance_textStyle, 0); in TextAppearanceSpan()
71 String family = a.getString(com.android.internal.R.styleable.TextAppearance_fontFamily); in TextAppearanceSpan()
75 int tf = a.getInt(com.android.internal.R.styleable.TextAppearance_typeface, 0); in TextAppearanceSpan()
100 com.android.internal.R.styleable.Theme); in TextAppearanceSpan()
DSuggestionSpan.java160 null, com.android.internal.R.styleable.SuggestionSpan, defStyle, 0); in initStyle()
162 com.android.internal.R.styleable.SuggestionSpan_textUnderlineThickness, 0); in initStyle()
164 com.android.internal.R.styleable.SuggestionSpan_textUnderlineColor, Color.BLACK); in initStyle()
168 null, com.android.internal.R.styleable.SuggestionSpan, defStyle, 0); in initStyle()
170 com.android.internal.R.styleable.SuggestionSpan_textUnderlineThickness, 0); in initStyle()
172 com.android.internal.R.styleable.SuggestionSpan_textUnderlineColor, Color.BLACK); in initStyle()
176 null, com.android.internal.R.styleable.SuggestionSpan, defStyle, 0); in initStyle()
178 com.android.internal.R.styleable.SuggestionSpan_textUnderlineThickness, 0); in initStyle()
180 com.android.internal.R.styleable.SuggestionSpan_textUnderlineColor, Color.BLACK); in initStyle()
/frameworks/base/core/java/com/android/internal/widget/
DWeightedLinearLayout.java46 context.obtainStyledAttributes(attrs, styleable.WeightedLinearLayout); in WeightedLinearLayout()
48 mMajorWeightMin = a.getFloat(styleable.WeightedLinearLayout_majorWeightMin, 0.0f); in WeightedLinearLayout()
49 mMinorWeightMin = a.getFloat(styleable.WeightedLinearLayout_minorWeightMin, 0.0f); in WeightedLinearLayout()
50 mMajorWeightMax = a.getFloat(styleable.WeightedLinearLayout_majorWeightMax, 0.0f); in WeightedLinearLayout()
51 mMinorWeightMax = a.getFloat(styleable.WeightedLinearLayout_minorWeightMax, 0.0f); in WeightedLinearLayout()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodInfo.java139 com.android.internal.R.styleable.InputMethod); in InputMethodInfo()
141 com.android.internal.R.styleable.InputMethod_settingsActivity); in InputMethodInfo()
143 com.android.internal.R.styleable.InputMethod_isDefault, 0); in InputMethodInfo()
157 attrs, com.android.internal.R.styleable.InputMethod_Subtype); in InputMethodInfo()
159 a.getResourceId(com.android.internal.R.styleable in InputMethodInfo()
161 a.getResourceId(com.android.internal.R.styleable in InputMethodInfo()
163 a.getString(com.android.internal.R.styleable in InputMethodInfo()
165 a.getString(com.android.internal.R.styleable in InputMethodInfo()
167 a.getString(com.android.internal.R.styleable in InputMethodInfo()
169 a.getBoolean(com.android.internal.R.styleable in InputMethodInfo()
[all …]
/frameworks/base/core/java/android/view/animation/
DAnimation.java232 … TypedArray a = context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.Animation); in Animation()
234 setDuration((long) a.getInt(com.android.internal.R.styleable.Animation_duration, 0)); in Animation()
235 setStartOffset((long) a.getInt(com.android.internal.R.styleable.Animation_startOffset, 0)); in Animation()
237 …setFillEnabled(a.getBoolean(com.android.internal.R.styleable.Animation_fillEnabled, mFillEnabled)); in Animation()
238 … setFillBefore(a.getBoolean(com.android.internal.R.styleable.Animation_fillBefore, mFillBefore)); in Animation()
239 … setFillAfter(a.getBoolean(com.android.internal.R.styleable.Animation_fillAfter, mFillAfter)); in Animation()
241 … setRepeatCount(a.getInt(com.android.internal.R.styleable.Animation_repeatCount, mRepeatCount)); in Animation()
242 setRepeatMode(a.getInt(com.android.internal.R.styleable.Animation_repeatMode, RESTART)); in Animation()
244 … setZAdjustment(a.getInt(com.android.internal.R.styleable.Animation_zAdjustment, ZORDER_NORMAL)); in Animation()
246 setBackgroundColor(a.getInt(com.android.internal.R.styleable.Animation_background, 0)); in Animation()
[all …]
DRotateAnimation.java52 com.android.internal.R.styleable.RotateAnimation); in RotateAnimation()
55 com.android.internal.R.styleable.RotateAnimation_fromDegrees, 0.0f); in RotateAnimation()
56 mToDegrees = a.getFloat(com.android.internal.R.styleable.RotateAnimation_toDegrees, 0.0f); in RotateAnimation()
59 com.android.internal.R.styleable.RotateAnimation_pivotX)); in RotateAnimation()
64 com.android.internal.R.styleable.RotateAnimation_pivotY)); in RotateAnimation()
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
DBiDiTestViewDrawText.java45 R.styleable.DrawTextTestView, defStyle, 0); in BiDiTestViewDrawText()
46 mSize = a.getDimension(R.styleable.DrawTextTestView_size, 40.0f); in BiDiTestViewDrawText()
47 mColor = a.getColor(R.styleable.DrawTextTestView_color, Color.YELLOW); in BiDiTestViewDrawText()
48 final CharSequence text = a.getText(R.styleable.DrawTextTestView_text); in BiDiTestViewDrawText()
/frameworks/base/core/java/android/view/textservice/
DSpellCheckerInfo.java96 com.android.internal.R.styleable.SpellChecker); in SpellCheckerInfo()
97 label = sa.getResourceId(com.android.internal.R.styleable.SpellChecker_label, 0); in SpellCheckerInfo()
99 com.android.internal.R.styleable.SpellChecker_settingsActivity); in SpellCheckerInfo()
113 attrs, com.android.internal.R.styleable.SpellChecker_Subtype); in SpellCheckerInfo()
115 a.getResourceId(com.android.internal.R.styleable in SpellCheckerInfo()
117 a.getString(com.android.internal.R.styleable in SpellCheckerInfo()
119 a.getString(com.android.internal.R.styleable in SpellCheckerInfo()

12345678