/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowContext.java | 63 public final TypedArray obtainStyledAttributes( 65 return getTheme().obtainStyledAttributes(attrs); 69 public final TypedArray obtainStyledAttributes( 71 return getTheme().obtainStyledAttributes(resid, attrs); 75 public final TypedArray obtainStyledAttributes( 77 return getTheme().obtainStyledAttributes(set, attrs, 0, 0); 81 public final TypedArray obtainStyledAttributes( 83 return getTheme().obtainStyledAttributes(
|
ShadowResources.java | 218 public TypedArray obtainStyledAttributes(int[] attrs) { 219 return obtainStyledAttributes(0, attrs); 223 public TypedArray obtainStyledAttributes(int resid, int[] attrs) throws android.content.res.Resources.NotFoundException { 224 return obtainStyledAttributes(null, attrs, 0, 0); 228 public TypedArray obtainStyledAttributes(AttributeSet set, int[] attrs, int defStyleAttr, int defStyleRes) {
|
/cts/tests/tests/content/src/android/content/cts/ |
ContextTest.java | 95 attrArray = testTheme.obtainStyledAttributes(attrs); 112 // Test obtainStyledAttributes(int[]) 114 .obtainStyledAttributes(android.R.styleable.View); 120 // Test obtainStyledAttributes(int, int[]) 121 testTypedArray = mContext.obtainStyledAttributes(android.R.style.TextAppearance_Small, 129 testTypedArray = mContext.obtainStyledAttributes(-1, null); 130 fail("obtainStyledAttributes will throw a NullPointerException here."); 134 // Test obtainStyledAttributes(AttributeSet, int[]) with unavailable resource id. 136 testTypedArray = mContext.obtainStyledAttributes(-1, testInt); 142 // Test obtainStyledAttributes(AttributeSet, int[] [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
Resources_Theme_Delegate.java | 54 /*package*/ static TypedArray obtainStyledAttributes( 58 BridgeTypedArray ta = RenderSessionImpl.getCurrentContext().obtainStyledAttributes(attrs); 65 /*package*/ static TypedArray obtainStyledAttributes( 70 BridgeTypedArray ta = RenderSessionImpl.getCurrentContext().obtainStyledAttributes(resid, 78 /*package*/ static TypedArray obtainStyledAttributes( 82 BridgeTypedArray ta = RenderSessionImpl.getCurrentContext().obtainStyledAttributes(set,
|
/cts/tests/tests/content/src/android/content/res/cts/ |
Resources_ThemeTest.java | 56 TypedArray testTypedArray = mResTheme.obtainStyledAttributes(attrs); 61 testTypedArray = mResTheme.obtainStyledAttributes(R.raw.testmp3, attrs); 69 testTypedArray =mResTheme.obtainStyledAttributes(set, attrs, 0, 0);
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
TintButton.java | 48 TintTypedArray a = TintTypedArray.obtainStyledAttributes(context, attrs, TINT_ATTRS,
|
TintCheckBox.java | 47 TintTypedArray a = TintTypedArray.obtainStyledAttributes(context, attrs, TINT_ATTRS,
|
TintCheckedTextView.java | 48 TintTypedArray a = TintTypedArray.obtainStyledAttributes(context, attrs, TINT_ATTRS,
|
TintEditText.java | 46 TintTypedArray a = TintTypedArray.obtainStyledAttributes(context, attrs, TINT_ATTRS,
|
TintRadioButton.java | 48 TintTypedArray a = TintTypedArray.obtainStyledAttributes(context, attrs, TINT_ATTRS,
|
TintTypedArray.java | 41 public static TintTypedArray obtainStyledAttributes(Context context, AttributeSet set, 43 TypedArray array = context.obtainStyledAttributes(set, attrs); 47 public static TintTypedArray obtainStyledAttributes(Context context, AttributeSet set, 49 TypedArray array = context.obtainStyledAttributes(set, attrs, defStyleAttr, defStyleRes);
|
/packages/apps/Camera/src/com/android/camera/ |
CameraPreference.java | 43 TypedArray a = context.obtainStyledAttributes(
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
CameraPreference.java | 44 TypedArray a = context.obtainStyledAttributes(
|
/development/samples/Snake/src/com/example/android/snake/ |
TileView.java | 65 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.TileView); 74 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.TileView);
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/ |
HandleViewResources.java | 48 TypedArray a = context.getTheme().obtainStyledAttributes(attrs); 65 TypedArray a = context.getTheme().obtainStyledAttributes(attrs);
|
/cts/tests/tests/preference2/src/android/preference2/cts/ |
CustomCheckBoxPreference.java | 48 TypedArray a = getContext().obtainStyledAttributes(attrs,R.styleable.CustPref);
|
CustomDialogPreference.java | 44 TypedArray a = getContext().obtainStyledAttributes(attrs,R.styleable.CustPref);
|
CustomEditTextPreference.java | 48 TypedArray a = getContext().obtainStyledAttributes(attrs,R.styleable.CustPref);
|
CustomPreferenceGroup.java | 45 TypedArray a = getContext().obtainStyledAttributes(attrs,R.styleable.CustPref);
|
CustomSwitchPreference.java | 49 TypedArray a = getContext().obtainStyledAttributes(attrs,R.styleable.CustPref);
|
/development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/ |
TouchHighlightImageButton.java | 70 .obtainStyledAttributes(new int[]{android.R.attr.selectableItemBackground});
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
ContextTest.java | 85 assertThat(context.obtainStyledAttributes(null), not(nullValue())); 86 assertThat(context.obtainStyledAttributes(0, null), not(nullValue())); 87 assertThat(context.obtainStyledAttributes(null, null), not(nullValue())); 88 assertThat(context.obtainStyledAttributes(null, null, 0, 0), not(nullValue()));
|
TypedArrayTest.java | 27 assertNotNull(new Activity().obtainStyledAttributes(null).getResources());
|
/frameworks/base/core/java/android/preference/ |
CheckBoxPreference.java | 45 final TypedArray a = context.obtainStyledAttributes(attrs,
|
/frameworks/base/core/java/android/view/animation/ |
AccelerateInterpolator.java | 66 a = theme.obtainStyledAttributes(attrs, R.styleable.AccelerateInterpolator, 0, 0);
|