HomeSort by relevance Sort by last modified time
    Searched refs:styleable (Results 26 - 50 of 598) sorted by null

12 3 4 5 6 7 8 91011>>

  /frameworks/base/services/core/java/com/android/server/accounts/
AccountAuthenticatorCache.java 59 com.android.internal.R.styleable.AccountAuthenticator);
62 sa.getString(com.android.internal.R.styleable.AccountAuthenticator_accountType);
64 com.android.internal.R.styleable.AccountAuthenticator_label, 0);
66 com.android.internal.R.styleable.AccountAuthenticator_icon, 0);
68 com.android.internal.R.styleable.AccountAuthenticator_smallIcon, 0);
70 com.android.internal.R.styleable.AccountAuthenticator_accountPreferences, 0);
72 com.android.internal.R.styleable.AccountAuthenticator_customTokens, false);
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
AppCompatCompoundButtonHelper.java 55 TypedArray a = mView.getContext().obtainStyledAttributes(attrs, R.styleable.CompoundButton,
58 if (a.hasValue(R.styleable.CompoundButton_android_button)) {
60 R.styleable.CompoundButton_android_button, 0);
66 if (a.hasValue(R.styleable.CompoundButton_buttonTint)) {
68 a.getColorStateList(R.styleable.CompoundButton_buttonTint));
70 if (a.hasValue(R.styleable.CompoundButton_buttonTintMode)) {
73 a.getInt(R.styleable.CompoundButton_buttonTintMode, -1),
  /frameworks/support/v7/preference/src/android/support/v7/preference/
CheckBoxPreference.java 63 R.styleable.CheckBoxPreference, defStyleAttr, defStyleRes);
65 setSummaryOn(TypedArrayUtils.getString(a, R.styleable.CheckBoxPreference_summaryOn,
66 R.styleable.CheckBoxPreference_android_summaryOn));
68 setSummaryOff(TypedArrayUtils.getString(a, R.styleable.CheckBoxPreference_summaryOff,
69 R.styleable.CheckBoxPreference_android_summaryOff));
72 R.styleable.CheckBoxPreference_disableDependentsState,
73 R.styleable.CheckBoxPreference_android_disableDependentsState, false));
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
UsageView.java 48 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.UsageView, 0, 0);
49 if (a.hasValue(R.styleable.UsageView_sideLabels)) {
50 setSideLabels(a.getTextArray(R.styleable.UsageView_sideLabels));
52 if (a.hasValue(R.styleable.UsageView_bottomLabels)) {
53 setBottomLabels(a.getTextArray(R.styleable.UsageView_bottomLabels));
55 if (a.hasValue(R.styleable.UsageView_textColor)) {
56 int color = a.getColor(R.styleable.UsageView_textColor, 0);
64 if (a.hasValue(R.styleable.UsageView_android_gravity)) {
65 int gravity = a.getInt(R.styleable.UsageView_android_gravity, 0);
83 mUsageGraph.setAccentColor(a.getColor(R.styleable.UsageView_android_colorAccent, 0))
    [all...]
  /cts/tests/tests/view/src/android/view/cts/
ViewGroup_LayoutParamsTest.java 53 int[] attrs = R.styleable.style1;
55 mockLayoutParams.setBaseAttributes(array, R.styleable.style1_type6,
56 R.styleable.style1_type7);
58 assertEquals(array.getDimensionPixelSize(R.styleable.style1_type6, defValue),
60 assertEquals(array.getDimensionPixelSize(R.styleable.style1_type7, defValue),
  /development/samples/Snake/src/com/example/android/snake/
BackgroundView.java 46 // retrieve colors for 4 segments from styleable properties
47 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.BackgroundView);
48 mColors[0] = a.getColor(R.styleable.BackgroundView_colorSegmentOne, Color.RED);
49 mColors[1] = a.getColor(R.styleable.BackgroundView_colorSegmentTwo, Color.YELLOW);
50 mColors[2] = a.getColor(R.styleable.BackgroundView_colorSegmentThree, Color.BLUE);
51 mColors[3] = a.getColor(R.styleable.BackgroundView_colorSegmentFour, Color.GREEN);
  /frameworks/base/core/java/com/android/internal/widget/
WeightedLinearLayout.java 46 context.obtainStyledAttributes(attrs, styleable.WeightedLinearLayout);
48 mMajorWeightMin = a.getFloat(styleable.WeightedLinearLayout_majorWeightMin, 0.0f);
49 mMinorWeightMin = a.getFloat(styleable.WeightedLinearLayout_minorWeightMin, 0.0f);
50 mMajorWeightMax = a.getFloat(styleable.WeightedLinearLayout_majorWeightMax, 0.0f);
51 mMinorWeightMax = a.getFloat(styleable.WeightedLinearLayout_minorWeightMax, 0.0f);
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
ContactListPinnedHeaderView.java 41 if (R.styleable.ContactListItemView == null) {
44 TypedArray a = getContext().obtainStyledAttributes(attrs, R.styleable.ContactListItemView);
46 R.styleable.ContactListItemView_list_item_background_color, Color.WHITE);
48 R.styleable.ContactListItemView_list_item_text_offset_top, 0);
50 R.styleable.ContactListItemView_list_item_padding_left, 0);
  /frameworks/base/core/java/android/view/
MenuInflater.java 366 com.android.internal.R.styleable.MenuGroup);
368 groupId = a.getResourceId(com.android.internal.R.styleable.MenuGroup_id, defaultGroupId);
369 groupCategory = a.getInt(com.android.internal.R.styleable.MenuGroup_menuCategory, defaultItemCategory);
370 groupOrder = a.getInt(com.android.internal.R.styleable.MenuGroup_orderInCategory, defaultItemOrder);
371 groupCheckable = a.getInt(com.android.internal.R.styleable.MenuGroup_checkableBehavior, defaultItemCheckable);
372 groupVisible = a.getBoolean(com.android.internal.R.styleable.MenuGroup_visible, defaultItemVisible);
373 groupEnabled = a.getBoolean(com.android.internal.R.styleable.MenuGroup_enabled, defaultItemEnabled);
383 com.android.internal.R.styleable.MenuItem);
386 itemId = a.getResourceId(com.android.internal.R.styleable.MenuItem_id, defaultItemId);
387 final int category = a.getInt(com.android.internal.R.styleable.MenuItem_menuCategory, groupCategory)
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/view/
SupportMenuInflater.java 348 TypedArray a = mContext.obtainStyledAttributes(attrs, R.styleable.MenuGroup);
350 groupId = a.getResourceId(R.styleable.MenuGroup_android_id, defaultGroupId);
352 R.styleable.MenuGroup_android_menuCategory, defaultItemCategory);
353 groupOrder = a.getInt(R.styleable.MenuGroup_android_orderInCategory, defaultItemOrder);
355 R.styleable.MenuGroup_android_checkableBehavior, defaultItemCheckable);
356 groupVisible = a.getBoolean(R.styleable.MenuGroup_android_visible, defaultItemVisible);
357 groupEnabled = a.getBoolean(R.styleable.MenuGroup_android_enabled, defaultItemEnabled);
366 TypedArray a = mContext.obtainStyledAttributes(attrs, R.styleable.MenuItem);
369 itemId = a.getResourceId(R.styleable.MenuItem_android_id, defaultItemId);
370 final int category = a.getInt(R.styleable.MenuItem_android_menuCategory, groupCategory)
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
TableRow_LayoutParamsTest.java 120 android.R.styleable.ViewGroup_Layout);
122 mockLayoutParams.setBaseAttributes(a, android.R.styleable.ViewGroup_Layout_layout_width,
123 android.R.styleable.ViewGroup_Layout_layout_height);
127 mockLayoutParams.setBaseAttributes(a, android.R.styleable.ViewGroup_Layout_layout_height,
128 android.R.styleable.ViewGroup_Layout_layout_width);
135 a = mTargetContext.obtainStyledAttributes(attrs, android.R.styleable.ViewGroup_Layout);
137 mockLayoutParams.setBaseAttributes(a, android.R.styleable.ViewGroup_Layout_layout_width,
138 android.R.styleable.ViewGroup_Layout_layout_height);
142 mockLayoutParams.setBaseAttributes(a, android.R.styleable.ViewGroup_Layout_layout_height,
143 android.R.styleable.ViewGroup_Layout_layout_width)
    [all...]
  /packages/services/Car/car-support-lib/src/android/support/car/ui/
DrawerArrowDrawable.java 70 .obtainStyledAttributes(null, R.styleable.DrawerArrowDrawable,
74 mPaint.setColor(typedArray.getColor(R.styleable.DrawerArrowDrawable_carArrowColor, 0));
75 mSize = typedArray.getDimensionPixelSize(R.styleable.DrawerArrowDrawable_carArrowDrawableSize, 0);
77 mBarSize = Math.round(typedArray.getDimension(R.styleable.DrawerArrowDrawable_carArrowBarSize, 0));
80 R.styleable.DrawerArrowDrawable_carArrowTopBottomBarSize, 0));
81 mBarThickness = typedArray.getDimension(R.styleable.DrawerArrowDrawable_carArrowThickness, 0);
84 R.styleable.DrawerArrowDrawable_carArrowGapBetweenBars, 0));
85 mSpin = typedArray.getBoolean(R.styleable.DrawerArrowDrawable_carArrowSpinBars, true);
87 .getDimension(R.styleable.DrawerArrowDrawable_carArrowMiddleBarSize, 0);
MaxWidthLayout.java 41 initialize(context.obtainStyledAttributes(R.styleable.MaxWidthLayout));
46 initialize(context.obtainStyledAttributes(attrs, R.styleable.MaxWidthLayout));
52 .obtainStyledAttributes(attrs, R.styleable.MaxWidthLayout, defStyleAttr, 0));
59 mMaxChildrenWidth = (int) (ta.getDimension(R.styleable.MaxWidthLayout_carMaxWidth, 0));
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
KeyStylesSet.java 149 readString(keyAttr, R.styleable.Keyboard_Key_altCode);
150 readString(keyAttr, R.styleable.Keyboard_Key_keySpec);
151 readString(keyAttr, R.styleable.Keyboard_Key_keyHintLabel);
152 readStringArray(keyAttr, R.styleable.Keyboard_Key_moreKeys);
153 readStringArray(keyAttr, R.styleable.Keyboard_Key_additionalMoreKeys);
154 readFlags(keyAttr, R.styleable.Keyboard_Key_keyLabelFlags);
155 readString(keyAttr, R.styleable.Keyboard_Key_keyIconDisabled);
156 readInt(keyAttr, R.styleable.Keyboard_Key_maxMoreKeysColumn);
157 readInt(keyAttr, R.styleable.Keyboard_Key_backgroundType);
158 readFlags(keyAttr, R.styleable.Keyboard_Key_keyActionFlags)
    [all...]
SlidingKeyInputDrawingPreview.java 31 * @attr ref R.styleable#MainKeyboardView_slidingKeyInputPreviewColor
32 * @attr ref R.styleable#MainKeyboardView_slidingKeyInputPreviewWidth
33 * @attr ref R.styleable#MainKeyboardView_slidingKeyInputPreviewBodyRatio
34 * @attr ref R.styleable#MainKeyboardView_slidingKeyInputPreviewShadowRatio
49 R.styleable.MainKeyboardView_slidingKeyInputPreviewColor, 0);
51 R.styleable.MainKeyboardView_slidingKeyInputPreviewWidth, 0) / 2.0f;
54 R.styleable.MainKeyboardView_slidingKeyInputPreviewBodyRatio, PERCENTAGE_INT)
58 R.styleable.MainKeyboardView_slidingKeyInputPreviewShadowRatio, 0);
  /frameworks/base/core/java/android/content/res/
GradientColor.java 184 R.styleable.GradientColor_startX, mStartX);
186 R.styleable.GradientColor_startY, mStartY);
188 R.styleable.GradientColor_endX, mEndX);
190 R.styleable.GradientColor_endY, mEndY);
193 R.styleable.GradientColor_centerX, mCenterX);
195 R.styleable.GradientColor_centerY, mCenterY);
198 R.styleable.GradientColor_type, mGradientType);
201 R.styleable.GradientColor_startColor, mStartColor);
203 R.styleable.GradientColor_centerColor);
205 R.styleable.GradientColor_centerColor, mCenterColor)
    [all...]
  /frameworks/base/core/java/android/content/
SyncAdaptersCache.java 60 com.android.internal.R.styleable.SyncAdapter);
63 sa.getString(com.android.internal.R.styleable.SyncAdapter_contentAuthority);
65 sa.getString(com.android.internal.R.styleable.SyncAdapter_accountType);
70 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_userVisible, true);
72 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_supportsUploading,
75 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_isAlwaysSyncable,
78 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_allowParallelSyncs,
81 sa.getString(com.android.internal.R.styleable
  /frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
AbstractItemHierarchy.java 39 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.SuwAbstractItem);
40 mId = a.getResourceId(R.styleable.SuwAbstractItem_android_id, 0);
  /packages/apps/LegacyCamera/src/com/android/camera/
CameraPreference.java 45 attrs, R.styleable.CameraPreference, 0, 0);
46 mTitle = a.getString(R.styleable.CameraPreference_title);
  /packages/apps/Messaging/src/com/android/messaging/ui/
MaxHeightScrollView.java 37 R.styleable.MaxHeightScrollView, 0, 0);
38 mMaxHeight = attr.getDimensionPixelSize(R.styleable.MaxHeightScrollView_android_maxHeight,
  /packages/apps/Settings/src/com/android/settings/widget/
AspectRatioFrameLayout.java 45 context.obtainStyledAttributes(attrs, R.styleable.AspectRatioFrameLayout);
47 R.styleable.AspectRatioFrameLayout_aspectRatio, 1.0f);
  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
Keyboard.java 197 android.R.styleable.Keyboard);
199 android.R.styleable.Keyboard_keyWidth,
202 android.R.styleable.Keyboard_keyHeight,
205 android.R.styleable.Keyboard_horizontalGap,
208 android.R.styleable.Keyboard_verticalGap,
212 android.R.styleable.Keyboard_Row);
213 rowEdgeFlags = a.getInt(android.R.styleable.Keyboard_Row_rowEdgeFlags, 0);
214 mode = a.getResourceId(android.R.styleable.Keyboard_Row_keyboardMode,
330 android.R.styleable.Keyboard);
333 android.R.styleable.Keyboard_keyWidth
    [all...]
  /cts/tests/tests/preference2/src/android/preference2/cts/
CustomCheckBoxPreference.java 48 TypedArray a = getContext().obtainStyledAttributes(attrs,R.styleable.CustPref);
49 mTitle = a.getString(R.styleable.CustPref_title);
50 mIcon = a.getDrawable(R.styleable.CustPref_icon);
CustomEditTextPreference.java 48 TypedArray a = getContext().obtainStyledAttributes(attrs,R.styleable.CustPref);
49 mTitle =a.getString(R.styleable.CustPref_title);
50 mIcon = a.getDrawable(R.styleable.CustPref_icon);
CustomPreferenceGroup.java 45 TypedArray a = getContext().obtainStyledAttributes(attrs,R.styleable.CustPref);
46 setTitle(a.getString(R.styleable.CustPref_title));
47 setIcon(a.getDrawable(R.styleable.CustPref_icon));

Completed in 1391 milliseconds

12 3 4 5 6 7 8 91011>>