/frameworks/base/core/tests/coretests/src/android/content/res/ |
ConfigurationBoundResourceCacheTest.java | 52 assertEquals(null, mCache.get(1, getActivity().getTheme())); 56 mCache.put(1, getActivity().getTheme(), new DummyFloatConstantState(5f)); 58 assertEquals(5f, mCache.get(1, getActivity().getTheme())); 59 assertNotSame(5f, mCache.get(1, getActivity().getTheme())); 63 mCache.put(1, getActivity().getTheme(), new DummyFloatConstantState(5f)); 67 assertEquals(5f, mCache.get(1, getActivity().getTheme())); 68 assertNotSame(5f, mCache.get(1, getActivity().getTheme())); 78 mCache.put(key, getActivity().getTheme(), 86 assertEquals(staticDim, mCache.get(key, getActivity().getTheme())); 88 assertEquals(staticDim, mCache.get(key, getActivity().getTheme())); [all...] |
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/dom_distiller/ |
DistilledPagePrefsTest.java | 50 assertEquals(Theme.LIGHT, mDistilledPagePrefs.getTheme()); 53 assertEquals(Theme.DARK, mDistilledPagePrefs.getTheme()); 55 assertEquals(Theme.LIGHT, mDistilledPagePrefs.getTheme()); 57 assertEquals(Theme.SEPIA, mDistilledPagePrefs.getTheme()); 68 assertNull(testObserver.getTheme()); 71 assertEquals(Theme.DARK, testObserver.getTheme()); 85 assertEquals(Theme.SEPIA, testObserverOne.getTheme()); 86 assertEquals(Theme.SEPIA, testObserverTwo.getTheme()); 92 assertEquals(Theme.SEPIA, testObserverOne.getTheme()); 93 assertEquals(Theme.DARK, testObserverTwo.getTheme()); [all...] |
/frameworks/base/core/java/android/service/wallpaper/ |
WallpaperSettingsActivity.java | 40 Resources.Theme theme = getTheme();
|
/frameworks/base/core/java/com/android/internal/app/ |
MediaRouteControllerDialogFragment.java | 53 return new MediaRouteControllerDialog(context, getTheme());
|
MediaRouteChooserDialogFragment.java | 90 return new MediaRouteChooserDialog(context, getTheme());
|
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
MediaRouterThemeHelper.java | 37 return context.getTheme().resolveAttribute(attr, value, true) ? value.resourceId : 0; 47 return context.getTheme().resolveAttribute(R.attr.isLightTheme, value, true)
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowContext.java | 60 abstract public Resources.Theme getTheme(); 65 return getTheme().obtainStyledAttributes(attrs); 71 return getTheme().obtainStyledAttributes(resid, attrs); 77 return getTheme().obtainStyledAttributes(set, attrs, 0, 0); 83 return getTheme().obtainStyledAttributes(
|
/frameworks/base/core/java/android/view/ |
ContextThemeWrapper.java | 94 @Override public Resources.Theme getTheme() { 117 * Called by {@link #setTheme} and {@link #getTheme} to apply a theme 135 Resources.Theme theme = getBaseContext().getTheme();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
ConfigurationTest.java | 51 assertEquals("@style/Theme", configuration.getTheme()); 86 ConfigurationChooser.getThemeLabel(configuration.getTheme(), true)); 88 ConfigurationChooser.getThemeLabel(configuration.getTheme(), false)); 112 assertEquals("@style/Theme", configuration.getTheme()); 128 assertEquals("@android:style/Theme.Holo.Light", copy.getTheme()); 139 assertEquals("@android:style/Theme.Holo.Light", copy.getTheme());
|
/cts/tests/tests/view/src/android/view/cts/ |
ContextThemeWrapperTest.java | 60 contextThemeWrapper.getTheme().obtainStyledAttributes(R.styleable.TextAppearance); 71 contextThemeWrapper.getTheme(); 110 expected.setTo(getContext().getTheme());
|
ViewGroup_LayoutParamsTest.java | 55 TypedArray array = mContext.getTheme().obtainStyledAttributes(R.style.Whatever, attrs);
|
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/adapter/ |
SimpleStringAdapter.java | 56 if (context.getTheme() != null) { 57 context.getTheme().resolveAttribute(
|
/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);
|
/frameworks/base/core/java/android/view/animation/ |
AccelerateInterpolator.java | 59 this(context.getResources(), context.getTheme(), attrs);
|
AnticipateInterpolator.java | 51 this(context.getResources(), context.getTheme(), attrs);
|
CycleInterpolator.java | 42 this(context.getResources(), context.getTheme(), attrs);
|
DecelerateInterpolator.java | 52 this(context.getResources(), context.getTheme(), attrs);
|
OvershootInterpolator.java | 52 this(context.getResources(), context.getTheme(), attrs);
|
/frameworks/base/tools/layoutlib/bridge/src/android/animation/ |
AnimatorInflater_Delegate.java | 35 return loadAnimator(context.getResources(), context.getTheme(), id);
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
AlphaTouchInterceptorOverlay.java | 52 final int resId = ThemeUtils.getSelectableItemBackground(context.getTheme());
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
ScrollBarView.java | 44 context.getTheme().resolveAttribute(
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
ThemeMenuAction.java | 96 String currentTheme = configuration.getTheme(); 188 String theme = attributes.getTheme(); 203 if (info.getTheme() != null) { 205 allThemes.add(info.getTheme()); 210 String current = configuration.getTheme(); 282 String current = mConfigChooser.getConfiguration().getTheme(); 289 return theme.equals(mConfigChooser.getConfiguration().getTheme());
|
/cts/tests/tests/content/src/android/content/cts/ |
ContextTest.java | 85 final Theme testTheme = mContext.getTheme(); 108 assertSame(testTheme, mContext.getTheme());
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
ListViewTest.java | 101 public Resources.Theme getTheme() { 102 return getInstrumentation().getTargetContext().getTheme();
|
/cts/tests/tests/content/src/android/content/res/cts/ |
Resources_ThemeTest.java | 48 final Theme other = getContext().getTheme();
|