HomeSort by relevance Sort by last modified time
    Searched refs:styleable (Results 1 - 25 of 723) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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 66 .obtainStyledAttributes(R.style.Whatever, R.styleable.style1);
77 R.style.Whatever, R.styleable.style1);
79 assertEquals(TypedValue.TYPE_INT_BOOLEAN, t.getType(R.styleable.style1_type1));
80 assertEquals(TypedValue.TYPE_INT_BOOLEAN, t.getType(R.styleable.style1_type2));
81 assertEquals(TypedValue.TYPE_INT_COLOR_ARGB8, t.getType(R.styleable.style1_type3));
82 assertEquals(TypedValue.TYPE_INT_COLOR_ARGB8, t.getType(R.styleable.style1_type4));
83 assertEquals(TypedValue.TYPE_DIMENSION, t.getType(R.styleable.style1_type5));
84 assertEquals(TypedValue.TYPE_DIMENSION, t.getType(R.styleable.style1_type6));
85 assertEquals(TypedValue.TYPE_DIMENSION, t.getType(R.styleable.style1_type7));
86 assertEquals(TypedValue.TYPE_STRING, t.getType(R.styleable.style1_type8))
    [all...]
  /frameworks/support/core/ktx/src/androidTest/java/androidx/core/content/res/
TypedArrayTest.kt 35 val array = context.obtainStyledAttributes(attrs, R.styleable.TypedArrayTypes)
37 assertTrue(array.getBooleanOrThrow(R.styleable.TypedArrayTypes_boolean_present))
40 array.getBooleanOrThrow(R.styleable.TypedArrayTypes_boolean_absent)
46 val array = context.obtainStyledAttributes(attrs, R.styleable.TypedArrayTypes)
48 assertEquals(Color.WHITE, array.getColorOrThrow(R.styleable.TypedArrayTypes_color_present))
51 array.getColorOrThrow(R.styleable.TypedArrayTypes_color_absent)
57 val array = context.obtainStyledAttributes(attrs, R.styleable.TypedArrayTypes)
58 val stateList = array.getColorStateListOrThrow(R.styleable.TypedArrayTypes_color_present)
63 array.getColorStateListOrThrow(R.styleable.TypedArrayTypes_color_absent)
69 val array = context.obtainStyledAttributes(attrs, R.styleable.TypedArrayTypes
    [all...]
  /frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
AppCompatTextHelper.java 76 R.styleable.AppCompatTextHelper, defStyleAttr, 0);
77 final int ap = a.getResourceId(R.styleable.AppCompatTextHelper_android_textAppearance, -1);
79 if (a.hasValue(R.styleable.AppCompatTextHelper_android_drawableLeft)) {
81 a.getResourceId(R.styleable.AppCompatTextHelper_android_drawableLeft, 0));
83 if (a.hasValue(R.styleable.AppCompatTextHelper_android_drawableTop)) {
85 a.getResourceId(R.styleable.AppCompatTextHelper_android_drawableTop, 0));
87 if (a.hasValue(R.styleable.AppCompatTextHelper_android_drawableRight)) {
89 a.getResourceId(R.styleable.AppCompatTextHelper_android_drawableRight, 0));
91 if (a.hasValue(R.styleable.AppCompatTextHelper_android_drawableBottom)) {
93 a.getResourceId(R.styleable.AppCompatTextHelper_android_drawableBottom, 0))
    [all...]
  /packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/
XmlParserUtils.java 40 R.styleable.Preference,
41 R.styleable.Preference_android_key);
46 R.styleable.Preference,
47 R.styleable.Preference_android_title);
52 R.styleable.Preference,
53 R.styleable.Preference_android_summary);
58 R.styleable.CheckBoxPreference,
59 R.styleable.CheckBoxPreference_android_summaryOn);
64 R.styleable.CheckBoxPreference,
65 R.styleable.CheckBoxPreference_android_summaryOff)
    [all...]
  /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));
  /frameworks/support/slices/view/src/main/java/androidx/slice/widget/
SliceChildView.java 154 TypedArray a = getContext().getTheme().obtainStyledAttributes(attrs, R.styleable.SliceView,
157 int themeColor = a.getColor(R.styleable.SliceView_tintColor, -1);
159 mTitleColor = a.getColor(R.styleable.SliceView_titleColor, 0);
160 mSubtitleColor = a.getColor(R.styleable.SliceView_subtitleColor, 0);
163 R.styleable.SliceView_headerTitleSize, 0);
165 R.styleable.SliceView_headerSubtitleSize, 0);
167 R.styleable.SliceView_headerTextVerticalPadding, 0);
169 mTitleSize = (int) a.getDimension(R.styleable.SliceView_titleSize, 0);
171 R.styleable.SliceView_subtitleSize, 0);
173 R.styleable.SliceView_textVerticalPadding, 0)
    [all...]
  /cts/tests/tests/view/src/android/view/cts/
ContextThemeWrapperTest.java 79 contextThemeWrapper.getTheme().obtainStyledAttributes(R.styleable.TextAppearance);
150 TypedArray expectedTa = expected.obtainStyledAttributes(R.styleable.TextAppearance);
152 assertEquals(expectedTa.getColor(R.styleable.TextAppearance_textColor, defValue),
153 ta.getColor(R.styleable.TextAppearance_textColor, defValue));
154 assertEquals(expectedTa.getColor(R.styleable.TextAppearance_textColorHint, defValue),
155 ta.getColor(R.styleable.TextAppearance_textColorHint, defValue));
156 assertEquals(expectedTa.getColor(R.styleable.TextAppearance_textColorLink, defValue),
157 ta.getColor(R.styleable.TextAppearance_textColorLink, defValue));
158 assertEquals(expectedTa.getColor(R.styleable.TextAppearance_textColorHighlight, defValue),
159 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/preference/src/main/java/androidx/preference/
DialogPreference.java 58 R.styleable.DialogPreference, defStyleAttr, defStyleRes);
60 mDialogTitle = TypedArrayUtils.getString(a, R.styleable.DialogPreference_dialogTitle,
61 R.styleable.DialogPreference_android_dialogTitle);
68 mDialogMessage = TypedArrayUtils.getString(a, R.styleable.DialogPreference_dialogMessage,
69 R.styleable.DialogPreference_android_dialogMessage);
71 mDialogIcon = TypedArrayUtils.getDrawable(a, R.styleable.DialogPreference_dialogIcon,
72 R.styleable.DialogPreference_android_dialogIcon);
75 R.styleable.DialogPreference_positiveButtonText,
76 R.styleable.DialogPreference_android_positiveButtonText);
79 R.styleable.DialogPreference_negativeButtonText
    [all...]
SwitchPreference.java 83 R.styleable.SwitchPreference, defStyleAttr, defStyleRes);
85 setSummaryOn(TypedArrayUtils.getString(a, R.styleable.SwitchPreference_summaryOn,
86 R.styleable.SwitchPreference_android_summaryOn));
88 setSummaryOff(TypedArrayUtils.getString(a, R.styleable.SwitchPreference_summaryOff,
89 R.styleable.SwitchPreference_android_summaryOff));
92 R.styleable.SwitchPreference_switchTextOn,
93 R.styleable.SwitchPreference_android_switchTextOn));
96 R.styleable.SwitchPreference_switchTextOff,
97 R.styleable.SwitchPreference_android_switchTextOff));
100 R.styleable.SwitchPreference_disableDependentsState
    [all...]
SwitchPreferenceCompat.java 83 R.styleable.SwitchPreferenceCompat, defStyleAttr, defStyleRes);
85 setSummaryOn(TypedArrayUtils.getString(a, R.styleable.SwitchPreferenceCompat_summaryOn,
86 R.styleable.SwitchPreferenceCompat_android_summaryOn));
88 setSummaryOff(TypedArrayUtils.getString(a, R.styleable.SwitchPreferenceCompat_summaryOff,
89 R.styleable.SwitchPreferenceCompat_android_summaryOff));
92 R.styleable.SwitchPreferenceCompat_switchTextOn,
93 R.styleable.SwitchPreferenceCompat_android_switchTextOn));
96 R.styleable.SwitchPreferenceCompat_switchTextOff,
97 R.styleable.SwitchPreferenceCompat_android_switchTextOff));
100 R.styleable.SwitchPreferenceCompat_disableDependentsState
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/list/
ContactListPinnedHeaderView.java 38 if (R.styleable.ContactListItemView == null) {
41 TypedArray a = getContext().obtainStyledAttributes(attrs, R.styleable.ContactListItemView);
43 R.styleable.ContactListItemView_list_item_background_color, Color.WHITE);
45 R.styleable.ContactListItemView_list_item_text_offset_top, 0);
47 R.styleable.ContactListItemView_list_item_padding_left, 0);
  /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);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
CarNavigationButton.java 38 attrs, R.styleable.CarNavigationButton);
39 mIntent = typedArray.getString(R.styleable.CarNavigationButton_intent);
40 mLongIntent = typedArray.getString(R.styleable.CarNavigationButton_longIntent);
41 mBroadcastIntent = typedArray.getBoolean(R.styleable.CarNavigationButton_broadcast, false);
43 R.styleable.CarNavigationButton_selectedAlpha, mSelectedAlpha);
45 R.styleable.CarNavigationButton_unselectedAlpha, mUnselectedAlpha);
47 com.android.internal.R.styleable.ImageView_src, 0);
49 R.styleable.CarNavigationButton_selectedIcon, mIconResourceId);
  /frameworks/support/compat/src/main/java/androidx/core/content/res/
FontResourcesParserCompat.java 192 TypedArray array = resources.obtainAttributes(attrs, R.styleable.FontFamily);
193 String authority = array.getString(R.styleable.FontFamily_fontProviderAuthority);
194 String providerPackage = array.getString(R.styleable.FontFamily_fontProviderPackage);
195 String query = array.getString(R.styleable.FontFamily_fontProviderQuery);
196 int certsId = array.getResourceId(R.styleable.FontFamily_fontProviderCerts, 0);
197 int strategy = array.getInteger(R.styleable.FontFamily_fontProviderFetchStrategy,
199 int timeoutMs = array.getInteger(R.styleable.FontFamily_fontProviderFetchTimeout,
267 TypedArray array = resources.obtainAttributes(attrs, R.styleable.FontFamilyFont);
268 final int weightAttr = array.hasValue(R.styleable.FontFamilyFont_fontWeight)
269 ? R.styleable.FontFamilyFont_fontWeigh
    [all...]
  /frameworks/base/core/java/android/view/
PointerIcon.java 219 com.android.internal.R.styleable.Pointer,
439 parser, com.android.internal.R.styleable.PointerIcon);
440 bitmapRes = a.getResourceId(com.android.internal.R.styleable.PointerIcon_bitmap, 0);
441 hotSpotX = a.getDimension(com.android.internal.R.styleable.PointerIcon_hotSpotX, 0);
442 hotSpotY = a.getDimension(com.android.internal.R.styleable.PointerIcon_hotSpotY, 0);
517 return com.android.internal.R.styleable.Pointer_pointerIconArrow;
519 return com.android.internal.R.styleable.Pointer_pointerIconSpotHover;
521 return com.android.internal.R.styleable.Pointer_pointerIconSpotTouch;
523 return com.android.internal.R.styleable.Pointer_pointerIconSpotAnchor;
525 return com.android.internal.R.styleable.Pointer_pointerIconHand
    [all...]
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/lib1/
R.java 15 public static final class styleable { class in class:R

Completed in 1557 milliseconds

1 2 3 4 5 6 7 8 91011>>