/frameworks/opt/setupwizard/library/eclair-mr1/src/com/android/setupwizardlib/items/ |
SwitchItem.java | 46 final TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.SuwSwitchItem); 47 mChecked = a.getBoolean(R.styleable.SuwSwitchItem_android_checked, false);
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/ |
ActionBarPolicy.java | 92 TypedArray a = mContext.obtainStyledAttributes(null, R.styleable.ActionBar, 94 int height = a.getLayoutDimension(R.styleable.ActionBar_height, 0);
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
RadioOptions.java | 64 R.styleable.RadioOptions, 66 int drawableId = a.getResourceId(R.styleable.RadioOptions_selected_drawable, 0);
|
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/ |
EmergencyListPreference.java | 42 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.EmergencyListPreference); 44 a.getTextArray(R.styleable.EmergencyListPreference_entryContentDescriptions);
|
/packages/apps/Settings/src/com/android/settings/applications/ |
LayoutPreference.java | 39 attrs, com.android.internal.R.styleable.Preference, 0, 0); 40 int layoutResource = a.getResourceId(com.android.internal.R.styleable.Preference_layout,
|
/packages/services/Telephony/src/com/android/phone/ |
EditPhoneNumberPreference.java | 131 R.styleable.EditPhoneNumberPreference, 0, R.style.EditPhoneNumberPreference); 132 mEnableText = a.getString(R.styleable.EditPhoneNumberPreference_enableButtonText); 133 mDisableText = a.getString(R.styleable.EditPhoneNumberPreference_disableButtonText); 134 mChangeNumberText = a.getString(R.styleable.EditPhoneNumberPreference_changeNumButtonText); 135 mConfirmationMode = a.getInt(R.styleable.EditPhoneNumberPreference_confirmMode, 0); 139 a = context.obtainStyledAttributes(attrs, android.R.styleable.CheckBoxPreference, 0, 0); 140 mSummaryOn = a.getString(android.R.styleable.CheckBoxPreference_summaryOn); 141 mSummaryOff = a.getString(android.R.styleable.CheckBoxPreference_summaryOff);
|
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/ |
FixedAspectSurfaceView.java | 51 R.styleable.FixedAspectSurfaceView, 0, 0); 53 R.styleable.FixedAspectSurfaceView_aspectRatio, 1.f));
|
/frameworks/base/core/java/android/widget/ |
ViewAnimator.java | 33 * @attr ref android.R.styleable#ViewAnimator_inAnimation 34 * @attr ref android.R.styleable#ViewAnimator_outAnimation 35 * @attr ref android.R.styleable#ViewAnimator_animateFirstView 55 TypedArray a = context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.ViewAnimator); 56 int resource = a.getResourceId(com.android.internal.R.styleable.ViewAnimator_inAnimation, 0); 61 resource = a.getResourceId(com.android.internal.R.styleable.ViewAnimator_outAnimation, 0); 66 boolean flag = a.getBoolean(com.android.internal.R.styleable.ViewAnimator_animateFirstView, true); 88 com.android.internal.R.styleable.FrameLayout); 90 com.android.internal.R.styleable.FrameLayout_measureAllChildren, true);
|
CompoundButton.java | 48 * See {@link android.R.styleable#CompoundButton 49 * CompoundButton Attributes}, {@link android.R.styleable#Button Button 50 * Attributes}, {@link android.R.styleable#TextView TextView Attributes}, {@link 51 * android.R.styleable#View View Attributes} 87 attrs, com.android.internal.R.styleable.CompoundButton, defStyleAttr, defStyleRes); 89 final Drawable d = a.getDrawable(com.android.internal.R.styleable.CompoundButton_button); 94 if (a.hasValue(R.styleable.CompoundButton_buttonTintMode)) { 96 R.styleable.CompoundButton_buttonTintMode, -1), mButtonTintMode); 100 if (a.hasValue(R.styleable.CompoundButton_buttonTint)) { 101 mButtonTintList = a.getColorStateList(R.styleable.CompoundButton_buttonTint) [all...] |
Switch.java | 71 * @attr ref android.R.styleable#Switch_textOn 72 * @attr ref android.R.styleable#Switch_textOff 73 * @attr ref android.R.styleable#Switch_switchMinWidth 74 * @attr ref android.R.styleable#Switch_switchPadding 75 * @attr ref android.R.styleable#Switch_switchTextAppearance 76 * @attr ref android.R.styleable#Switch_thumb 77 * @attr ref android.R.styleable#Switch_thumbTextPadding 78 * @attr ref android.R.styleable#Switch_track 226 attrs, com.android.internal.R.styleable.Switch, defStyleAttr, defStyleRes); 227 mThumbDrawable = a.getDrawable(com.android.internal.R.styleable.Switch_thumb) [all...] |
/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);
|
/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 202 * @see R.styleable#CircleView_centerX 232 * @see R.styleable#CircleView_center [all...] |
/frameworks/base/core/java/android/accessibilityservice/ |
AccessibilityServiceInfo.java | 61 * @attr ref android.R.styleable#AccessibilityService_accessibilityEventTypes 62 * @attr ref android.R.styleable#AccessibilityService_accessibilityFeedbackType 63 * @attr ref android.R.styleable#AccessibilityService_accessibilityFlags 64 * @attr ref android.R.styleable#AccessibilityService_canRequestEnhancedWebAccessibility 65 * @attr ref android.R.styleable#AccessibilityService_canRequestFilterKeyEvents 66 * @attr ref android.R.styleable#AccessibilityService_canRequestTouchExplorationMode 67 * @attr ref android.R.styleable#AccessibilityService_canRetrieveWindowContent 68 * @attr ref android.R.styleable#AccessibilityService_description 69 * @attr ref android.R.styleable#AccessibilityService_notificationTimeout 70 * @attr ref android.R.styleable#AccessibilityService_packageName [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 | 103 null, 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...] |
SwitchCompat.java | 74 * @attr ref android.support.v7.appcompat.R.styleable#SwitchCompat_android_textOn 75 * @attr ref android.support.v7.appcompat.R.styleable#SwitchCompat_android_textOff 76 * @attr ref android.support.v7.appcompat.R.styleable#SwitchCompat_switchMinWidth 77 * @attr ref android.support.v7.appcompat.R.styleable#SwitchCompat_switchPadding 78 * @attr ref android.support.v7.appcompat.R.styleable#SwitchCompat_switchTextAppearance 79 * @attr ref android.support.v7.appcompat.R.styleable#SwitchCompat_android_thumb 80 * @attr ref android.support.v7.appcompat.R.styleable#SwitchCompat_thumbTextPadding 81 * @attr ref android.support.v7.appcompat.R.styleable#SwitchCompat_track 211 attrs, R.styleable.SwitchCompat, defStyleAttr, 0); 212 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);
|
/packages/apps/Settings/src/com/android/settings/display/ |
ConversationMessageView.java | 70 R.styleable.ConversationMessageView); 72 mIncoming = a.getBoolean(R.styleable.ConversationMessageView_incoming, true); 73 mMessageText = a.getString(R.styleable.ConversationMessageView_messageText); 74 mTimestampText = a.getString(R.styleable.ConversationMessageView_timestampText); 75 mIconText = a.getString(R.styleable.ConversationMessageView_iconText); 76 mIconTextColor = a.getColor(R.styleable.ConversationMessageView_iconTextColor, 0); 77 mIconBackgroundColor = a.getColor(R.styleable.ConversationMessageView_iconBackgroundColor,
|
/frameworks/support/design/src/android/support/design/widget/ |
TextInputLayout.java | 183 R.styleable.TextInputLayout, defStyleAttr, R.style.Widget_Design_TextInputLayout); 184 mHintEnabled = a.getBoolean(R.styleable.TextInputLayout_hintEnabled, true); 185 setHint(a.getText(R.styleable.TextInputLayout_android_hint)); 187 R.styleable.TextInputLayout_hintAnimationEnabled, true); 189 if (a.hasValue(R.styleable.TextInputLayout_android_textColorHint)) { 191 a.getColorStateList(R.styleable.TextInputLayout_android_textColorHint); 195 R.styleable.TextInputLayout_hintTextAppearance, -1); 198 a.getResourceId(R.styleable.TextInputLayout_hintTextAppearance, 0)); 201 mErrorTextAppearance = a.getResourceId(R.styleable.TextInputLayout_errorTextAppearance, 0); 202 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/opt/setupwizard/library/main/src/com/android/setupwizardlib/ |
SetupWizardLayout.java | 85 R.styleable.SuwSetupWizardLayout, defStyleAttr, 0); 89 a.getDrawable(R.styleable.SuwSetupWizardLayout_suwBackground); 94 a.getDrawable(R.styleable.SuwSetupWizardLayout_suwBackgroundTile); 102 a.getDrawable(R.styleable.SuwSetupWizardLayout_suwIllustration); 107 a.getDrawable(R.styleable.SuwSetupWizardLayout_suwIllustrationImage); 109 R.styleable.SuwSetupWizardLayout_suwIllustrationHorizontalTile); 117 R.styleable.SuwSetupWizardLayout_suwDecorPaddingTop, -1); 127 R.styleable.SuwSetupWizardLayout_suwIllustrationAspectRatio, -1f); 137 a.getText(R.styleable.SuwSetupWizardLayout_suwHeaderText);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
BaseGridView.java | 218 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.lbBaseGridView); 219 boolean throughFront = a.getBoolean(R.styleable.lbBaseGridView_focusOutFront, false); 220 boolean throughEnd = a.getBoolean(R.styleable.lbBaseGridView_focusOutEnd, false); 222 boolean throughSideStart = a.getBoolean(R.styleable.lbBaseGridView_focusOutSideStart, true); 223 boolean throughSideEnd = a.getBoolean(R.styleable.lbBaseGridView_focusOutSideEnd, true); 226 a.getDimensionPixelSize(R.styleable.lbBaseGridView_verticalMargin, 0)); 228 a.getDimensionPixelSize(R.styleable.lbBaseGridView_horizontalMargin, 0)); 229 if (a.hasValue(R.styleable.lbBaseGridView_android_gravity)) { 230 setGravity(a.getInt(R.styleable.lbBaseGridView_android_gravity, Gravity.NO_GRAVITY)); [all...] |
/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);
|