/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
KeyVisualAttributes.java | 58 R.styleable.Keyboard_Key_keyTypeface, 59 R.styleable.Keyboard_Key_keyLetterSize, 60 R.styleable.Keyboard_Key_keyLabelSize, 61 R.styleable.Keyboard_Key_keyLargeLetterRatio, 62 R.styleable.Keyboard_Key_keyHintLetterRatio, 63 R.styleable.Keyboard_Key_keyShiftedLetterHintRatio, 64 R.styleable.Keyboard_Key_keyHintLabelRatio, 65 R.styleable.Keyboard_Key_keyPreviewTextRatio, 66 R.styleable.Keyboard_Key_keyTextColor, 67 R.styleable.Keyboard_Key_keyTextInactivatedColor [all...] |
GestureTrailDrawingParams.java | 30 * @attr ref R.styleable#MainKeyboardView_gestureTrailFadeoutStartDelay 31 * @attr ref R.styleable#MainKeyboardView_gestureTrailFadeoutDuration 32 * @attr ref R.styleable#MainKeyboardView_gestureTrailUpdateInterval 33 * @attr ref R.styleable#MainKeyboardView_gestureTrailColor 34 * @attr ref R.styleable#MainKeyboardView_gestureTrailWidth 54 R.styleable.MainKeyboardView_gestureTrailColor, 0); 56 R.styleable.MainKeyboardView_gestureTrailStartWidth, 0.0f); 58 R.styleable.MainKeyboardView_gestureTrailEndWidth, 0.0f); 61 R.styleable.MainKeyboardView_gestureTrailBodyRatio, PERCENTAGE_INT) 64 R.styleable.MainKeyboardView_gestureTrailShadowRatio, 0) [all...] |
GestureStrokeRecognitionParams.java | 28 * @attr ref R.styleable#MainKeyboardView_gestureStaticTimeThresholdAfterFastTyping 29 * @attr ref R.styleable#MainKeyboardView_gestureDetectFastMoveSpeedThreshold 30 * @attr ref R.styleable#MainKeyboardView_gestureDynamicThresholdDecayDuration 31 * @attr ref R.styleable#MainKeyboardView_gestureDynamicTimeThresholdFrom 32 * @attr ref R.styleable#MainKeyboardView_gestureDynamicTimeThresholdTo 33 * @attr ref R.styleable#MainKeyboardView_gestureDynamicDistanceThresholdFrom 34 * @attr ref R.styleable#MainKeyboardView_gestureDynamicDistanceThresholdTo 35 * @attr ref R.styleable#MainKeyboardView_gestureSamplingMinimumDistance 36 * @attr ref R.styleable#MainKeyboardView_gestureRecognitionMinimumTime 37 * @attr ref R.styleable#MainKeyboardView_gestureRecognitionSpeedThreshol [all...] |
GestureStrokeDrawingParams.java | 26 * @attr ref R.styleable#MainKeyboardView_gestureTrailMinSamplingDistance 27 * @attr ref R.styleable#MainKeyboardView_gestureTrailMaxInterpolationAngularThreshold 28 * @attr ref R.styleable#MainKeyboardView_gestureTrailMaxInterpolationDistanceThreshold 29 * @attr ref R.styleable#MainKeyboardView_gestureTrailMaxInterpolationSegments 44 R.styleable.MainKeyboardView_gestureTrailMinSamplingDistance, 46 final int interpolationAngularDegree = mainKeyboardViewAttr.getInteger(R.styleable 51 mMaxInterpolationDistanceThreshold = mainKeyboardViewAttr.getDimension(R.styleable 55 R.styleable.MainKeyboardView_gestureTrailMaxInterpolationSegments,
|
KeyboardIconsSet.java | 69 NAME_SHIFT_KEY, R.styleable.Keyboard_iconShiftKey, 70 NAME_DELETE_KEY, R.styleable.Keyboard_iconDeleteKey, 71 NAME_SETTINGS_KEY, R.styleable.Keyboard_iconSettingsKey, 72 NAME_SPACE_KEY, R.styleable.Keyboard_iconSpaceKey, 73 NAME_ENTER_KEY, R.styleable.Keyboard_iconEnterKey, 74 NAME_GO_KEY, R.styleable.Keyboard_iconGoKey, 75 NAME_SEARCH_KEY, R.styleable.Keyboard_iconSearchKey, 76 NAME_SEND_KEY, R.styleable.Keyboard_iconSendKey, 77 NAME_NEXT_KEY, R.styleable.Keyboard_iconNextKey, 78 NAME_DONE_KEY, R.styleable.Keyboard_iconDoneKey [all...] |
KeyboardRow.java | 66 mDefaultKeyWidth = keyAttr.getFraction(R.styleable.Keyboard_Key_keyWidth, 68 mDefaultKeyLabelFlags = keyAttr.getInt(R.styleable.Keyboard_Key_keyLabelFlags, 0); 69 mDefaultBackgroundType = keyAttr.getInt(R.styleable.Keyboard_Key_backgroundType, 83 mDefaultKeyWidth = keyAttr.getFraction(R.styleable.Keyboard_Key_keyWidth, 85 mDefaultKeyLabelFlags = keyAttr.getInt(R.styleable.Keyboard_Key_keyLabelFlags, 0) 87 mDefaultBackgroundType = keyAttr.getInt(R.styleable.Keyboard_Key_backgroundType, 100 R.styleable.Keyboard); 102 R.styleable.Keyboard_rowHeight, params.mBaseHeight, params.mDefaultRowHeight); 105 R.styleable.Keyboard_Key); 153 if (keyAttr == null || !keyAttr.hasValue(R.styleable.Keyboard_Key_keyXPos)) [all...] |
KeyboardBuilder.java | 240 attr, R.styleable.Keyboard, R.attr.keyboardStyle, R.style.Keyboard); 241 final TypedArray keyAttr = mResources.obtainAttributes(attr, R.styleable.Keyboard_Key); 249 R.styleable.Keyboard_keyboardTopPadding, height, height, 0); 251 R.styleable.Keyboard_keyboardBottomPadding, height, height, 0); 253 R.styleable.Keyboard_keyboardLeftPadding, width, width, 0); 255 R.styleable.Keyboard_keyboardRightPadding, width, width, 0); 260 params.mDefaultKeyWidth = (int)keyAttr.getFraction(R.styleable.Keyboard_Key_keyWidth, 263 R.styleable.Keyboard_horizontalGap, baseWidth, baseWidth, 0); 268 R.styleable.Keyboard_verticalGap, height, height, 0); 273 R.styleable.Keyboard_rowHeight, baseHeight, baseHeight / DEFAULT_KEYBOARD_ROWS) [all...] |
/cts/tests/tests/content/src/android/content/res/cts/ |
TypedArrayTest.java | 64 mTypedArray = getContext().getTheme().obtainStyledAttributes(R.style.Whatever, R.styleable.style1); 75 R.style.Whatever, R.styleable.style1); 77 assertEquals(TypedValue.TYPE_INT_BOOLEAN, t.getType(R.styleable.style1_type1)); 78 assertEquals(TypedValue.TYPE_INT_BOOLEAN, t.getType(R.styleable.style1_type2)); 79 assertEquals(TypedValue.TYPE_INT_COLOR_ARGB8, t.getType(R.styleable.style1_type3)); 80 assertEquals(TypedValue.TYPE_INT_COLOR_ARGB8, t.getType(R.styleable.style1_type4)); 81 assertEquals(TypedValue.TYPE_DIMENSION, t.getType(R.styleable.style1_type5)); 82 assertEquals(TypedValue.TYPE_DIMENSION, t.getType(R.styleable.style1_type6)); 83 assertEquals(TypedValue.TYPE_DIMENSION, t.getType(R.styleable.style1_type7)); 84 assertEquals(TypedValue.TYPE_STRING, t.getType(R.styleable.style1_type8)) [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
AppCompatTextHelper.java | 55 R.styleable.AppCompatTextHelper, defStyleAttr, 0); 56 final int ap = a.getResourceId(R.styleable.AppCompatTextHelper_android_textAppearance, -1); 58 if (a.hasValue(R.styleable.AppCompatTextHelper_android_drawableLeft)) { 60 a.getResourceId(R.styleable.AppCompatTextHelper_android_drawableLeft, 0)); 62 if (a.hasValue(R.styleable.AppCompatTextHelper_android_drawableTop)) { 64 a.getResourceId(R.styleable.AppCompatTextHelper_android_drawableTop, 0)); 66 if (a.hasValue(R.styleable.AppCompatTextHelper_android_drawableRight)) { 68 a.getResourceId(R.styleable.AppCompatTextHelper_android_drawableRight, 0)); 70 if (a.hasValue(R.styleable.AppCompatTextHelper_android_drawableBottom)) { 72 a.getResourceId(R.styleable.AppCompatTextHelper_android_drawableBottom, 0)) [all...] |
AppCompatTextHelperV17.java | 41 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.AppCompatTextHelper, 43 if (a.hasValue(R.styleable.AppCompatTextHelper_android_drawableStart)) { 45 a.getResourceId(R.styleable.AppCompatTextHelper_android_drawableStart, 0)); 47 if (a.hasValue(R.styleable.AppCompatTextHelper_android_drawableEnd)) { 49 a.getResourceId(R.styleable.AppCompatTextHelper_android_drawableEnd, 0));
|
/frameworks/support/design/src/android/support/design/widget/ |
TabItem.java | 32 * @attr ref android.support.design.R.styleable#TabItem_android_icon 33 * @attr ref android.support.design.R.styleable#TabItem_android_text 34 * @attr ref android.support.design.R.styleable#TabItem_android_layout 51 R.styleable.TabItem); 52 mText = a.getText(R.styleable.TabItem_android_text); 53 mIcon = a.getDrawable(R.styleable.TabItem_android_icon); 54 mCustomLayout = a.getResourceId(R.styleable.TabItem_android_layout, 0);
|
/frameworks/base/tests/SharedLibrary/lib/src/com/google/android/test/shared_library/ |
AddressView.java | 29 R.styleable.AddressView, 32 mNameView.setText(a.getString(R.styleable.AddressView_name)); 33 int streetNumber = a.getInteger(R.styleable.AddressView_streetNumber, -1); 35 " " + a.getString(R.styleable.AddressView_streetName)); 36 mCityStateZipView.setText(a.getString(R.styleable.AddressView_city) + ", " + 37 a.getString(R.styleable.AddressView_state) + " " + 38 a.getString(R.styleable.AddressView_zip)); 39 mCountryView.setText(a.getString(R.styleable.AddressView_country));
|
/cts/tests/tests/view/src/android/view/cts/ |
ContextThemeWrapperTest.java | 60 contextThemeWrapper.getTheme().obtainStyledAttributes(R.styleable.TextAppearance); 128 TypedArray expectedTa = expected.obtainStyledAttributes(R.styleable.TextAppearance); 130 assertEquals(expectedTa.getColor(R.styleable.TextAppearance_textColor, defValue), 131 ta.getColor(R.styleable.TextAppearance_textColor, defValue)); 132 assertEquals(expectedTa.getColor(R.styleable.TextAppearance_textColorHint, defValue), 133 ta.getColor(R.styleable.TextAppearance_textColorHint, defValue)); 134 assertEquals(expectedTa.getColor(R.styleable.TextAppearance_textColorLink, defValue), 135 ta.getColor(R.styleable.TextAppearance_textColorLink, defValue)); 136 assertEquals(expectedTa.getColor(R.styleable.TextAppearance_textColorHighlight, defValue), 137 ta.getColor(R.styleable.TextAppearance_textColorHighlight, defValue)) [all...] |
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
SimpleInflater.java | 125 com.android.internal.R.styleable.MenuItem); 128 int itemId = a.getResourceId(R.styleable.MenuItem_android_id, 0); 129 final int category = a.getInt(R.styleable.MenuItem_android_menuCategory, 0); 130 final int order = a.getInt(R.styleable.MenuItem_android_orderInCategory, 0); 131 CharSequence itemTitle = a.getText(R.styleable.MenuItem_android_title); 132 CharSequence itemTitleCondensed = a.getText(R.styleable.MenuItem_android_titleCondensed); 133 int itemIconResId = a.getResourceId(R.styleable.MenuItem_android_icon, 0); 134 String itemAlphabeticShortcut = a.getString(R.styleable.MenuItem_android_alphabeticShortcut); 135 String itemNumericShortcut = a.getString(R.styleable.MenuItem_android_numericShortcut); 137 if (a.hasValue(R.styleable.MenuItem_android_checkable)) [all...] |
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
DialogPreference.java | 57 R.styleable.DialogPreference, defStyleAttr, defStyleRes); 59 mDialogTitle = TypedArrayUtils.getString(a, R.styleable.DialogPreference_dialogTitle, 60 R.styleable.DialogPreference_android_dialogTitle); 67 mDialogMessage = TypedArrayUtils.getString(a, R.styleable.DialogPreference_dialogMessage, 68 R.styleable.DialogPreference_android_dialogMessage); 70 mDialogIcon = TypedArrayUtils.getDrawable(a, R.styleable.DialogPreference_dialogIcon, 71 R.styleable.DialogPreference_android_dialogIcon); 74 R.styleable.DialogPreference_positiveButtonText, 75 R.styleable.DialogPreference_android_positiveButtonText); 78 R.styleable.DialogPreference_negativeButtonText [all...] |
SwitchPreferenceCompat.java | 82 R.styleable.SwitchPreferenceCompat, defStyleAttr, defStyleRes); 84 setSummaryOn(TypedArrayUtils.getString(a, R.styleable.SwitchPreferenceCompat_summaryOn, 85 R.styleable.SwitchPreferenceCompat_android_summaryOn)); 87 setSummaryOff(TypedArrayUtils.getString(a, R.styleable.SwitchPreferenceCompat_summaryOff, 88 R.styleable.SwitchPreferenceCompat_android_summaryOff)); 91 R.styleable.SwitchPreferenceCompat_switchTextOn, 92 R.styleable.SwitchPreferenceCompat_android_switchTextOn)); 95 R.styleable.SwitchPreferenceCompat_switchTextOff, 96 R.styleable.SwitchPreferenceCompat_android_switchTextOff)); 99 R.styleable.SwitchPreferenceCompat_disableDependentsState [all...] |
/packages/apps/Settings/src/com/android/settings/ |
DividerPreference.java | 30 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.DividerPreference, 0, 0); 31 if (a.hasValue(R.styleable.DividerPreference_allowDividerAbove)) { 32 mAllowAbove = a.getBoolean(R.styleable.DividerPreference_allowDividerAbove, false); 34 if (a.hasValue(R.styleable.DividerPreference_allowDividerBelow)) { 35 mAllowBelow = a.getBoolean(R.styleable.DividerPreference_allowDividerBelow, false);
|
/cts/tests/tests/preference2/src/android/preference2/cts/ |
CustomDialogPreference.java | 44 TypedArray a = getContext().obtainStyledAttributes(attrs,R.styleable.CustPref); 45 mTitle = a.getString(R.styleable.CustPref_title); 46 mIcon = a.getDrawable(R.styleable.CustPref_icon);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
PaintDrawable.java | 77 com.android.internal.R.styleable.DrawableCorners); 79 com.android.internal.R.styleable.DrawableCorners_radius, 0); 85 com.android.internal.R.styleable.DrawableCorners_topLeftRadius, radius); 87 com.android.internal.R.styleable.DrawableCorners_topRightRadius, radius); 89 com.android.internal.R.styleable.DrawableCorners_bottomLeftRadius, radius); 91 com.android.internal.R.styleable.DrawableCorners_bottomRightRadius, radius);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
TableLayout_LayoutParamsTest.java | 77 android.R.styleable.ViewGroup_Layout); 79 mockLayoutParams.setBaseAttributes(a, android.R.styleable.ViewGroup_Layout_layout_width, 80 android.R.styleable.ViewGroup_Layout_layout_height); 84 mockLayoutParams.setBaseAttributes(a, android.R.styleable.ViewGroup_Layout_layout_height, 85 android.R.styleable.ViewGroup_Layout_layout_width); 92 a = mTargetContext.obtainStyledAttributes(attrs, android.R.styleable.ViewGroup_Layout); 94 mockLayoutParams.setBaseAttributes(a, android.R.styleable.ViewGroup_Layout_layout_width, 95 android.R.styleable.ViewGroup_Layout_layout_height); 99 mockLayoutParams.setBaseAttributes(a, android.R.styleable.ViewGroup_Layout_layout_height, 100 android.R.styleable.ViewGroup_Layout_layout_width) [all...] |
/frameworks/support/v14/preference/src/android/support/v14/preference/ |
SwitchPreference.java | 85 R.styleable.SwitchPreference, defStyleAttr, defStyleRes); 87 setSummaryOn(TypedArrayUtils.getString(a, R.styleable.SwitchPreference_summaryOn, 88 R.styleable.SwitchPreference_android_summaryOn)); 90 setSummaryOff(TypedArrayUtils.getString(a, R.styleable.SwitchPreference_summaryOff, 91 R.styleable.SwitchPreference_android_summaryOff)); 94 R.styleable.SwitchPreference_switchTextOn, 95 R.styleable.SwitchPreference_android_switchTextOn)); 98 R.styleable.SwitchPreference_switchTextOff, 99 R.styleable.SwitchPreference_android_switchTextOff)); 102 R.styleable.SwitchPreference_disableDependentsState [all...] |
/frameworks/base/core/java/android/view/ |
PointerIcon.java | 215 com.android.internal.R.styleable.Pointer, 408 parser, com.android.internal.R.styleable.PointerIcon); 409 bitmapRes = a.getResourceId(com.android.internal.R.styleable.PointerIcon_bitmap, 0); 410 hotSpotX = a.getDimension(com.android.internal.R.styleable.PointerIcon_hotSpotX, 0); 411 hotSpotY = a.getDimension(com.android.internal.R.styleable.PointerIcon_hotSpotY, 0); 482 return com.android.internal.R.styleable.Pointer_pointerIconArrow; 484 return com.android.internal.R.styleable.Pointer_pointerIconSpotHover; 486 return com.android.internal.R.styleable.Pointer_pointerIconSpotTouch; 488 return com.android.internal.R.styleable.Pointer_pointerIconSpotAnchor; 490 return com.android.internal.R.styleable.Pointer_pointerIconHand [all...] |
/frameworks/base/core/java/android/preference/ |
CheckBoxPreference.java | 31 * @attr ref android.R.styleable#CheckBoxPreference_summaryOff 32 * @attr ref android.R.styleable#CheckBoxPreference_summaryOn 33 * @attr ref android.R.styleable#CheckBoxPreference_disableDependentsState 46 com.android.internal.R.styleable.CheckBoxPreference, defStyleAttr, defStyleRes); 47 setSummaryOn(a.getString(com.android.internal.R.styleable.CheckBoxPreference_summaryOn)); 48 setSummaryOff(a.getString(com.android.internal.R.styleable.CheckBoxPreference_summaryOff)); 50 com.android.internal.R.styleable.CheckBoxPreference_disableDependentsState, false));
|
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
BiDiTestViewDrawText.java | 45 R.styleable.DrawTextTestView, defStyle, 0); 46 mSize = a.getDimension(R.styleable.DrawTextTestView_size, 40.0f); 47 mColor = a.getColor(R.styleable.DrawTextTestView_color, Color.YELLOW); 48 final CharSequence text = a.getText(R.styleable.DrawTextTestView_text);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
VerticalGridView.java | 58 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.lbVerticalGridView); 60 setNumColumns(a.getInt(R.styleable.lbVerticalGridView_numberOfColumns, 1)); 65 TypedValue typedValue = array.peekValue(R.styleable.lbVerticalGridView_columnWidth); 67 int size = array.getLayoutDimension(R.styleable.lbVerticalGridView_columnWidth, 0);
|