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

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/tools/layoutlib/bridge/src/android/content/res/
Resources_Theme_Delegate.java 37 /*package*/ static TypedArray obtainStyledAttributes(
40 return RenderSessionImpl.getCurrentContext().obtainStyledAttributes(attrs);
44 /*package*/ static TypedArray obtainStyledAttributes(
48 return RenderSessionImpl.getCurrentContext().obtainStyledAttributes(resid, attrs);
52 /*package*/ static TypedArray obtainStyledAttributes(
55 return RenderSessionImpl.getCurrentContext().obtainStyledAttributes(
  /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 214 public TypedArray obtainStyledAttributes(int[] attrs) {
215 return obtainStyledAttributes(0, attrs);
219 public TypedArray obtainStyledAttributes(int resid, int[] attrs) throws android.content.res.Resources.NotFoundException {
220 return obtainStyledAttributes(null, attrs, 0, 0);
224 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...]
  /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/base/core/java/android/view/animation/
CycleInterpolator.java 35 context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.CycleInterpolator);
AccelerateInterpolator.java 52 context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.AccelerateInterpolator);
AnticipateInterpolator.java 43 TypedArray a = context.obtainStyledAttributes(attrs,
DecelerateInterpolator.java 45 context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.DecelerateInterpolator);
OvershootInterpolator.java 44 TypedArray a = context.obtainStyledAttributes(attrs,
AlphaAnimation.java 43 context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.AlphaAnimation);
  /packages/apps/Camera/src/com/android/camera/
CameraPreference.java 43 TypedArray a = context.obtainStyledAttributes(
  /packages/apps/Camera2/src/com/android/camera/
CameraPreference.java 45 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);
  /frameworks/base/core/java/android/content/
Context.java 382 * {@link Resources.Theme#obtainStyledAttributes(int[])}
385 * @see Resources.Theme#obtainStyledAttributes(int[])
387 public final TypedArray obtainStyledAttributes(
389 return getTheme().obtainStyledAttributes(attrs);
394 * {@link Resources.Theme#obtainStyledAttributes(int, int[])}
397 * @see Resources.Theme#obtainStyledAttributes(int, int[])
399 public final TypedArray obtainStyledAttributes(
401 return getTheme().obtainStyledAttributes(resid, attrs);
406 * {@link Resources.Theme#obtainStyledAttributes(AttributeSet, int[], int, int)}
409 * @see Resources.Theme#obtainStyledAttributes(AttributeSet, int[], int, int
    [all...]
  /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 40 TypedArray a = context.obtainStyledAttributes(attrs,

Completed in 1177 milliseconds

1 2 3 4 5 6 7 8 91011>>