/external/webkit/WebCore/platform/ |
Theme.cpp | 27 #include "Theme.h" 31 LengthBox Theme::controlBorder(ControlPart part, const Font&, const LengthBox& zoomedBox, float) const 45 LengthBox Theme::controlPadding(ControlPart part, const Font&, const LengthBox& zoomedBox, float) const
|
Theme.h | 42 // Unlike other platform classes, Theme does extensively use virtual functions. This design allows a platform to switch between multiple themes at runtime. 43 class Theme { 45 Theme() { } 46 virtual ~Theme() { } 57 // General methods for whether or not any of the controls in the theme change appearance when the window is inactive or 78 // Notification when the theme has changed 92 // Allows the theme to modify the existing padding/border. 103 // the theme needs to communicate this inflated rect to the engine so that it can invalidate the whole control. 117 // Function to obtain the theme. This is implemented in the platform-specific subclasses. 118 Theme* platformTheme() [all...] |
/frameworks/base/core/java/android/view/ |
ContextThemeWrapper.java | 24 * A ContextWrapper that allows you to modify the theme from what is in the 30 private Resources.Theme mTheme; 53 @Override public Resources.Theme getTheme() { 59 mThemeResource = com.android.internal.R.style.Theme; 77 * Called by {@link #setTheme} and {@link #getTheme} to apply a theme 78 * resource to the current Theme object. Can override to change the 82 * @param theme The Theme object being modified. 83 * @param resid The theme style resource being applied to <var>theme</var> 95 Resources.Theme theme = mBase.getTheme(); local [all...] |
/cts/tests/tests/content/src/android/content/res/cts/ |
Resources_ThemeTest.java | 23 import android.content.res.Resources.Theme; 36 @TestTargetClass(Resources.Theme.class) 39 private Resources.Theme mResTheme; 61 args = {android.content.res.Resources.Theme.class} 70 final Theme other = getContext().getTheme();
|
/external/webkit/WebCore/platform/chromium/ |
ThemeChromiumMac.h | 30 #include "Theme.h" 37 class ThemeChromiumMac : public Theme {
|
ThemeChromiumMac.mm | 195 Theme* platformTheme() 573 // Theme overrides 579 return Theme::baselinePositionAdjustment(part); 597 return Theme::controlFont(part, font, zoomFactor); 629 return Theme::minimumControlSize(part, font, zoomFactor); 642 return Theme::controlBorder(part, font, zoomedBox, zoomFactor); 659 return Theme::controlPadding(part, font, zoomedBox, zoomFactor);
|
/external/webkit/WebCore/platform/mac/ |
ThemeMac.h | 29 #include "Theme.h" 33 class ThemeMac : public Theme {
|
ThemeMac.mm | 49 Theme* platformTheme() 438 // Theme overrides 444 return Theme::baselinePositionAdjustment(part); 462 return Theme::controlFont(part, font, zoomFactor); 494 return Theme::minimumControlSize(part, font, zoomFactor); 507 return Theme::controlBorder(part, font, zoomedBox, zoomFactor); 524 return Theme::controlPadding(part, font, zoomedBox, zoomFactor);
|
/frameworks/base/core/java/android/service/wallpaper/ |
WallpaperSettingsActivity.java | 26 * proper theme of the activity depending on how it is being used. 40 Resources.Theme theme = getTheme(); local 42 theme.applyStyle(com.android.internal.R.style.PreviewWallpaperSettings, true); 44 theme.applyStyle(com.android.internal.R.style.ActiveWallpaperSettings, true);
|
/cts/tests/tests/view/src/android/view/cts/ |
ContextThemeWrapperTest.java | 22 import android.content.res.Resources.Theme; 45 protected void onApplyThemeResource(Theme theme, int resid, boolean first) { 47 super.onApplyThemeResource(theme, resid, first); 92 // set Theme to TextAppearance 97 // assert theme style of TextAppearance 112 args = {android.content.res.Resources.Theme.class, int.class, boolean.class} 163 // get Theme and assert 164 Resources.Theme expected = getContext().getResources().newTheme();
|
/frameworks/base/core/java/android/text/style/ |
TextAppearanceSpan.java | 95 a = context.obtainStyledAttributes(com.android.internal.R.style.Theme, 96 com.android.internal.R.styleable.Theme);
|
/cts/tests/src/android/app/cts/ |
AppStubActivity.java | 137 public void onApplyThemeResource( Resources.Theme theme, 140 super.onApplyThemeResource(theme,resid,first);
|
/frameworks/base/core/jni/ |
android_util_AssetManager.cpp | 824 return (jint)(new ResTable::Theme(am->getResources())); 830 ResTable::Theme* theme = (ResTable::Theme*)themeInt; local 831 delete theme; 839 ResTable::Theme* theme = (ResTable::Theme*)themeInt; local 840 theme->applyStyle(styleRes, force ? true : false); 846 ResTable::Theme* dest = (ResTable::Theme*)destInt 854 ResTable::Theme* theme = (ResTable::Theme*)themeInt; local 878 ResTable::Theme* theme = (ResTable::Theme*)themeInt; local 926 ResTable::Theme* theme = (ResTable::Theme*)themeToken; local [all...] |
/frameworks/base/core/java/android/preference/ |
PreferenceScreen.java | 155 : com.android.internal.R.style.Theme);
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
ListViewTest.java | 101 public Resources.Theme getTheme() {
|
/frameworks/base/include/utils/ |
ResourceTypes.h | [all...] |
/external/webkit/WebCore/rendering/ |
RenderTheme.h | 2 * This file is part of the theme implementation for form controls in WebCore. 27 #include "Theme.h" 51 // This function is to be implemented in your platform-specific theme implementation to hand back the 52 // appropriate platform theme. When the theme is needed in non-page dependent code, a default theme is 56 // When the theme is needed in non-page dependent code, the defaultTheme() is used as fallback. 63 // property has been set to a value other than "none". The theme should map in all of the appropriate 66 // "border" are set, or if the appearance is not supported by the theme. 77 // The remaining methods should be implemented by the platform-specific portion of the theme, e.g. [all...] |
/frameworks/base/core/java/android/widget/ |
AbsSeekBar.java | 74 com.android.internal.R.styleable.Theme, 0, 0);
|
/frameworks/base/core/java/android/content/res/ |
Resources.java | [all...] |
/frameworks/base/libs/utils/ |
ResourceTypes.cpp | [all...] |
/development/apps/OBJViewer/com/android/objviewer/ |
OBJViewer.java | 307 setTheme(R.style.Theme);
|
/frameworks/base/core/java/android/content/ |
Context.java | 200 * Set the base theme for this context. Note that this should be called 205 * @param resid The style resource describing the theme. 210 * Return the Theme object associated with this Context. 212 public abstract Resources.Theme getTheme(); 215 * Retrieve styled attribute information in this Context's theme. See 216 * {@link Resources.Theme#obtainStyledAttributes(int[])} 219 * @see Resources.Theme#obtainStyledAttributes(int[]) 227 * Retrieve styled attribute information in this Context's theme. See 228 * {@link Resources.Theme#obtainStyledAttributes(int, int[])} 231 * @see Resources.Theme#obtainStyledAttributes(int, int[] [all...] |
ContextWrapper.java | 109 public Resources.Theme getTheme() {
|
/frameworks/base/test-runner/src/android/test/mock/ |
MockContext.java | 90 public Resources.Theme getTheme() {
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
BridgeContext.java | 39 import android.content.res.Resources.Theme; 70 private final Theme mTheme; 94 * @param themeName The name of the theme to use. 165 public Theme getTheme() { 280 // look for the style in the current theme, and its parent: 320 // values in the widget defStyle, and then in the theme. 329 // if the item is not present in the defStyle, we look in the main theme (and 344 // referencing another resource or a theme value. 396 * Resolves the value of a resource, if the value references a theme or resource value. 488 // no theme? no need to go further [all...] |