/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
DeadZone.java | 77 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.DeadZone, 80 mHold = a.getInteger(R.styleable.DeadZone_holdTime, 0); 81 mDecay = a.getInteger(R.styleable.DeadZone_decayTime, 0); 83 mSizeMin = a.getDimensionPixelSize(R.styleable.DeadZone_minSize, 0); 84 mSizeMax = a.getDimensionPixelSize(R.styleable.DeadZone_maxSize, 0); 86 int index = a.getInt(R.styleable.DeadZone_orientation, -1);
|
/frameworks/support/v7/appcompat/src/android/support/v7/content/res/ |
AppCompatColorStateListInflater.java | 113 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.ColorStateListItem); 114 final int baseColor = a.getColor(R.styleable.ColorStateListItem_android_color, 118 if (a.hasValue(R.styleable.ColorStateListItem_android_alpha)) { 119 alphaMod = a.getFloat(R.styleable.ColorStateListItem_android_alpha, alphaMod); 120 } else if (a.hasValue(R.styleable.ColorStateListItem_alpha)) { 121 alphaMod = a.getFloat(R.styleable.ColorStateListItem_alpha, alphaMod);
|
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
SeekBarPreference.java | 120 attrs, R.styleable.SeekBarPreference, defStyleAttr, defStyleRes); 127 mMin = a.getInt(R.styleable.SeekBarPreference_min, 0); 128 setMax(a.getInt(R.styleable.SeekBarPreference_android_max, 100)); 129 setSeekBarIncrement(a.getInt(R.styleable.SeekBarPreference_seekBarIncrement, 0)); 130 mAdjustable = a.getBoolean(R.styleable.SeekBarPreference_adjustable, true); 131 mShowSeekBarValue = a.getBoolean(R.styleable.SeekBarPreference_showSeekBarValue, true);
|
/frameworks/support/wear/src/android/support/wear/widget/ |
RoundedDrawable.java | 108 TypedArray a = r.obtainAttributes(Xml.asAttributeSet(parser), R.styleable.RoundedDrawable); 109 if (a.hasValue(R.styleable.RoundedDrawable_android_src)) { 110 setDrawable(a.getDrawable(R.styleable.RoundedDrawable_android_src)); 112 setRadius(a.getDimensionPixelSize(R.styleable.RoundedDrawable_radius, 0)); 113 setClipEnabled(a.getBoolean(R.styleable.RoundedDrawable_clipEnabled, false)); 115 a.getColor(R.styleable.RoundedDrawable_backgroundColor, Color.TRANSPARENT)); 123 * @attr ref android.support.wear.R.styleable#RoundedDrawable_android_src 148 * @attr ref android.support.wear.R.styleable#RoundedDrawable_backgroundColor 172 * @attr ref android.support.wear.R.styleable#RoundedDrawable_clipEnabled 257 * @attr ref android.support.wear.R.styleable#RoundedDrawable_radiu [all...] |
/frameworks/support/wear/src/android/support/wear/widget/drawer/ |
WearableDrawerView.java | 469 attrs, R.styleable.WearableDrawerView, defStyleAttr, 473 getDrawable(context, typedArray, R.styleable.WearableDrawerView_android_background); 475 .getDimensionPixelSize(R.styleable.WearableDrawerView_android_elevation, 0); 479 mContentResId = typedArray.getResourceId(R.styleable.WearableDrawerView_drawerContent, 0); 480 mPeekResId = typedArray.getResourceId(R.styleable.WearableDrawerView_peekView, 0); 482 typedArray.getBoolean(R.styleable.WearableDrawerView_enableAutoPeek, mCanAutoPeek);
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/ |
CircleView.java | 93 attrs, R.styleable.CircleView, defStyleAttr, 0 /* defStyleRes */); 95 mGravity = a.getInt(R.styleable.CircleView_android_gravity, Gravity.NO_GRAVITY); 96 mCenterX = a.getDimension(R.styleable.CircleView_centerX, 0.0f); 97 mCenterY = a.getDimension(R.styleable.CircleView_centerY, 0.0f); 98 mRadius = a.getDimension(R.styleable.CircleView_radius, 0.0f); 100 mCirclePaint.setColor(a.getColor(R.styleable.CircleView_fillColor, Color.WHITE)); 153 * @see R.styleable#CircleView_android_gravity 178 * @see R.styleable#CircleView_fillColor 195 * @see R.styleable#CircleView_centerX 218 * @see R.styleable#CircleView_center [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
ShadowDrawable.java | 161 ? r.obtainAttributes(attrs, R.styleable.ShadowDrawable) 162 : theme.obtainStyledAttributes(attrs, R.styleable.ShadowDrawable, 0, 0); 164 Drawable d = a.getDrawable(R.styleable.ShadowDrawable_android_src); 169 R.styleable.ShadowDrawable_android_shadowColor, Color.BLACK); 171 R.styleable.ShadowDrawable_android_elevation, 0); 173 R.styleable.ShadowDrawable_darkTintColor, Color.BLACK);
|
/packages/apps/Settings/src/com/android/settings/widget/ |
DonutView.java | 71 TypedArray styledAttrs = context.obtainStyledAttributes(attrs, R.styleable.DonutView); 72 mMeterBackgroundColor = styledAttrs.getColor(R.styleable.DonutView_meterBackgroundColor, 74 mMeterConsumedColor = styledAttrs.getColor(R.styleable.DonutView_meterConsumedColor, 76 applyColorAccent = styledAttrs.getBoolean(R.styleable.DonutView_applyColorAccent, 78 mShowPercentString = styledAttrs.getBoolean(R.styleable.DonutView_showPercentString, 80 mStrokeWidth = styledAttrs.getDimensionPixelSize(R.styleable.DonutView_thickness,
|
/frameworks/base/core/java/android/accessibilityservice/ |
AccessibilityServiceInfo.java | 64 * @attr ref android.R.styleable#AccessibilityService_accessibilityEventTypes 65 * @attr ref android.R.styleable#AccessibilityService_accessibilityFeedbackType 66 * @attr ref android.R.styleable#AccessibilityService_accessibilityFlags 67 * @attr ref android.R.styleable#AccessibilityService_canRequestEnhancedWebAccessibility 68 * @attr ref android.R.styleable#AccessibilityService_canRequestFilterKeyEvents 69 * @attr ref android.R.styleable#AccessibilityService_canRequestTouchExplorationMode 70 * @attr ref android.R.styleable#AccessibilityService_canRetrieveWindowContent 71 * @attr ref android.R.styleable#AccessibilityService_description 72 * @attr ref android.R.styleable#AccessibilityService_summary 73 * @attr ref android.R.styleable#AccessibilityService_notificationTimeou [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
ToolbarWidgetWrapper.java | 103 R.styleable.ActionBar, R.attr.actionBarStyle, 0); 104 mDefaultNavigationIcon = a.getDrawable(R.styleable.ActionBar_homeAsUpIndicator); 106 final CharSequence title = a.getText(R.styleable.ActionBar_title); 111 final CharSequence subtitle = a.getText(R.styleable.ActionBar_subtitle); 116 final Drawable logo = a.getDrawable(R.styleable.ActionBar_logo); 121 final Drawable icon = a.getDrawable(R.styleable.ActionBar_icon); 128 setDisplayOptions(a.getInt(R.styleable.ActionBar_displayOptions, 0)); 131 R.styleable.ActionBar_customNavigationLayout, 0); 138 final int height = a.getLayoutDimension(R.styleable.ActionBar_height, 0); 146 R.styleable.ActionBar_contentInsetStart, -1) [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
ToolbarWidgetWrapper.java | 107 null, R.styleable.ActionBar, R.attr.actionBarStyle, 0); 108 mDefaultNavigationIcon = a.getDrawable(R.styleable.ActionBar_homeAsUpIndicator); 110 final CharSequence title = a.getText(R.styleable.ActionBar_title); 115 final CharSequence subtitle = a.getText(R.styleable.ActionBar_subtitle); 120 final Drawable logo = a.getDrawable(R.styleable.ActionBar_logo); 125 final Drawable icon = a.getDrawable(R.styleable.ActionBar_icon); 132 setDisplayOptions(a.getInt(R.styleable.ActionBar_displayOptions, 0)); 135 R.styleable.ActionBar_customNavigationLayout, 0); 142 final int height = a.getLayoutDimension(R.styleable.ActionBar_height, 0); 150 R.styleable.ActionBar_contentInsetStart, -1) [all...] |
SwitchCompat.java | 72 * @attr ref android.support.v7.appcompat.R.styleable#SwitchCompat_android_textOn 73 * @attr ref android.support.v7.appcompat.R.styleable#SwitchCompat_android_textOff 74 * @attr ref android.support.v7.appcompat.R.styleable#SwitchCompat_switchMinWidth 75 * @attr ref android.support.v7.appcompat.R.styleable#SwitchCompat_switchPadding 76 * @attr ref android.support.v7.appcompat.R.styleable#SwitchCompat_switchTextAppearance 77 * @attr ref android.support.v7.appcompat.R.styleable#SwitchCompat_android_thumb 78 * @attr ref android.support.v7.appcompat.R.styleable#SwitchCompat_thumbTextPadding 79 * @attr ref android.support.v7.appcompat.R.styleable#SwitchCompat_track 222 attrs, R.styleable.SwitchCompat, defStyleAttr, 0); 223 mThumbDrawable = a.getDrawable(R.styleable.SwitchCompat_android_thumb) [all...] |
/frameworks/base/core/java/android/preference/ |
DialogPreference.java | 46 * @attr ref android.R.styleable#DialogPreference_dialogTitle 47 * @attr ref android.R.styleable#DialogPreference_dialogMessage 48 * @attr ref android.R.styleable#DialogPreference_dialogIcon 49 * @attr ref android.R.styleable#DialogPreference_dialogLayout 50 * @attr ref android.R.styleable#DialogPreference_positiveButtonText 51 * @attr ref android.R.styleable#DialogPreference_negativeButtonText 76 com.android.internal.R.styleable.DialogPreference, defStyleAttr, defStyleRes); 77 mDialogTitle = a.getString(com.android.internal.R.styleable.DialogPreference_dialogTitle); 83 mDialogMessage = a.getString(com.android.internal.R.styleable.DialogPreference_dialogMessage); 84 mDialogIcon = a.getDrawable(com.android.internal.R.styleable.DialogPreference_dialogIcon) [all...] |
ListPreference.java | 36 * @attr ref android.R.styleable#ListPreference_entries 37 * @attr ref android.R.styleable#ListPreference_entryValues 51 attrs, com.android.internal.R.styleable.ListPreference, defStyleAttr, defStyleRes); 52 mEntries = a.getTextArray(com.android.internal.R.styleable.ListPreference_entries); 53 mEntryValues = a.getTextArray(com.android.internal.R.styleable.ListPreference_entryValues); 60 com.android.internal.R.styleable.Preference, defStyleAttr, defStyleRes); 61 mSummary = a.getString(com.android.internal.R.styleable.Preference_summary);
|
MultiCheckPreference.java | 35 * @attr ref android.R.styleable#ListPreference_entries 36 * @attr ref android.R.styleable#ListPreference_entryValues 50 attrs, com.android.internal.R.styleable.ListPreference, defStyleAttr, defStyleRes); 51 mEntries = a.getTextArray(com.android.internal.R.styleable.ListPreference_entries); 56 com.android.internal.R.styleable.ListPreference_entryValues)); 63 com.android.internal.R.styleable.Preference, 0, 0); 64 mSummary = a.getString(com.android.internal.R.styleable.Preference_summary);
|
/packages/apps/Settings/src/com/android/settings/display/ |
ConversationMessageView.java | 69 R.styleable.ConversationMessageView); 71 mIncoming = a.getBoolean(R.styleable.ConversationMessageView_incoming, true); 72 mMessageText = a.getString(R.styleable.ConversationMessageView_messageText); 73 mTimestampText = a.getString(R.styleable.ConversationMessageView_timestampText); 74 mIconText = a.getString(R.styleable.ConversationMessageView_iconText); 75 mIconTextColor = a.getColor(R.styleable.ConversationMessageView_iconTextColor, 0); 76 mIconBackgroundColor = a.getColor(R.styleable.ConversationMessageView_iconBackgroundColor,
|
/frameworks/base/core/java/android/widget/ |
Switch.java | 74 * @attr ref android.R.styleable#Switch_textOn 75 * @attr ref android.R.styleable#Switch_textOff 76 * @attr ref android.R.styleable#Switch_switchMinWidth 77 * @attr ref android.R.styleable#Switch_switchPadding 78 * @attr ref android.R.styleable#Switch_switchTextAppearance 79 * @attr ref android.R.styleable#Switch_thumb 80 * @attr ref android.R.styleable#Switch_thumbTextPadding 81 * @attr ref android.R.styleable#Switch_track 229 attrs, com.android.internal.R.styleable.Switch, defStyleAttr, defStyleRes); 230 mThumbDrawable = a.getDrawable(com.android.internal.R.styleable.Switch_thumb) [all...] |
/frameworks/support/design/src/android/support/design/widget/ |
TextInputLayout.java | 207 R.styleable.TextInputLayout, defStyleAttr, R.style.Widget_Design_TextInputLayout); 208 mHintEnabled = a.getBoolean(R.styleable.TextInputLayout_hintEnabled, true); 209 setHint(a.getText(R.styleable.TextInputLayout_android_hint)); 211 R.styleable.TextInputLayout_hintAnimationEnabled, true); 213 if (a.hasValue(R.styleable.TextInputLayout_android_textColorHint)) { 215 a.getColorStateList(R.styleable.TextInputLayout_android_textColorHint); 219 R.styleable.TextInputLayout_hintTextAppearance, -1); 222 a.getResourceId(R.styleable.TextInputLayout_hintTextAppearance, 0)); 225 mErrorTextAppearance = a.getResourceId(R.styleable.TextInputLayout_errorTextAppearance, 0); 226 final boolean errorEnabled = a.getBoolean(R.styleable.TextInputLayout_errorEnabled, false) [all...] |
/frameworks/base/core/java/android/gesture/ |
GestureOverlayView.java | 42 * @attr ref android.R.styleable#GestureOverlayView_eventsInterceptionEnabled 43 * @attr ref android.R.styleable#GestureOverlayView_fadeDuration 44 * @attr ref android.R.styleable#GestureOverlayView_fadeOffset 45 * @attr ref android.R.styleable#GestureOverlayView_fadeEnabled 46 * @attr ref android.R.styleable#GestureOverlayView_gestureStrokeWidth 47 * @attr ref android.R.styleable#GestureOverlayView_gestureStrokeAngleThreshold 48 * @attr ref android.R.styleable#GestureOverlayView_gestureStrokeLengthThreshold 49 * @attr ref android.R.styleable#GestureOverlayView_gestureStrokeSquarenessThreshold 50 * @attr ref android.R.styleable#GestureOverlayView_gestureStrokeType 51 * @attr ref android.R.styleable#GestureOverlayView_gestureColo [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
KeyboardView.java | 49 * @attr ref R.styleable#KeyboardView_keyBackground 50 * @attr ref R.styleable#KeyboardView_functionalKeyBackground 51 * @attr ref R.styleable#KeyboardView_spacebarBackground 52 * @attr ref R.styleable#KeyboardView_spacebarIconWidthRatio 53 * @attr ref R.styleable#Keyboard_Key_keyLabelFlags 54 * @attr ref R.styleable#KeyboardView_keyHintLetterPadding 55 * @attr ref R.styleable#KeyboardView_keyPopupHintLetter 56 * @attr ref R.styleable#KeyboardView_keyPopupHintLetterPadding 57 * @attr ref R.styleable#KeyboardView_keyShiftedLetterHintPadding 58 * @attr ref R.styleable#KeyboardView_keyTextShadowRadiu [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
InsetDrawable.java | 49 * @attr ref android.R.styleable#InsetDrawable_visible 50 * @attr ref android.R.styleable#InsetDrawable_drawable 51 * @attr ref android.R.styleable#InsetDrawable_insetLeft 52 * @attr ref android.R.styleable#InsetDrawable_insetRight 53 * @attr ref android.R.styleable#InsetDrawable_insetTop 54 * @attr ref android.R.styleable#InsetDrawable_insetBottom 135 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.InsetDrawable); 155 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.InsetDrawable); 170 || mState.mThemeAttrs[R.styleable.InsetDrawable_drawable] == 0)) { 190 if (a.hasValue(R.styleable.InsetDrawable_inset)) [all...] |
ClipDrawable.java | 49 * @attr ref android.R.styleable#ClipDrawable_clipOrientation 50 * @attr ref android.R.styleable#ClipDrawable_gravity 51 * @attr ref android.R.styleable#ClipDrawable_drawable 89 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.ClipDrawable); 109 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.ClipDrawable); 124 || mState.mThemeAttrs[R.styleable.ClipDrawable_drawable] == 0)) { 144 R.styleable.ClipDrawable_clipOrientation, state.mOrientation); 146 R.styleable.ClipDrawable_gravity, state.mGravity);
|
/external/replicaisland/src/com/replica/replicaisland/ |
KeyboardConfigDialogPreference.java | 78 R.styleable.KeyConfigPreference, defStyle, 0); 79 mLeftPrefKey = a.getString(R.styleable.KeyConfigPreference_leftKey); 80 mRightPrefKey = a.getString(R.styleable.KeyConfigPreference_rightKey); 81 mJumpPrefKey = a.getString(R.styleable.KeyConfigPreference_jumpKey); 82 mAttackPrefKey = a.getString(R.styleable.KeyConfigPreference_attackKey);
|
/frameworks/base/core/java/android/view/animation/ |
GridLayoutAnimationController.java | 47 * @attr ref android.R.styleable#GridLayoutAnimation_columnDelay 48 * @attr ref android.R.styleable#GridLayoutAnimation_rowDelay 49 * @attr ref android.R.styleable#GridLayoutAnimation_direction 50 * @attr ref android.R.styleable#GridLayoutAnimation_directionPriority 116 com.android.internal.R.styleable.GridLayoutAnimation); 119 a.peekValue(com.android.internal.R.styleable.GridLayoutAnimation_columnDelay)); 122 a.peekValue(com.android.internal.R.styleable.GridLayoutAnimation_rowDelay)); 125 mDirection = a.getInt(com.android.internal.R.styleable.GridLayoutAnimation_direction, 127 mDirectionPriority = a.getInt(com.android.internal.R.styleable.GridLayoutAnimation_directionPriority,
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
NumPadKey.java | 81 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.NumPadKey); 84 mDigit = a.getInt(R.styleable.NumPadKey_digit, mDigit); 85 mTextViewResId = a.getResourceId(R.styleable.NumPadKey_textView, 0); 119 a = context.obtainStyledAttributes(attrs, android.R.styleable.View); 120 if (!a.hasValueOrEmpty(android.R.styleable.View_background)) {
|