/frameworks/base/core/java/android/content/res/ |
AssetManager.java | 227 /*package*/ final boolean getThemeValue(long theme, int ident, 229 int block = loadThemeAttributeValue(theme, ident, outValue, resolveRefs); 512 /*package*/ final void releaseTheme(long theme) { 514 deleteTheme(theme); 515 decRefsLocked(theme); 724 /*package*/ native static final boolean applyStyle(long theme, 727 /*package*/ native static final boolean resolveAttrs(long theme, 763 private native final void deleteTheme(long theme); 764 /*package*/ native static final void applyThemeStyle(long theme, int styleRes, boolean force); 766 /*package*/ native static final int loadThemeAttributeValue(long theme, int ident [all...] |
/cts/hostsidetests/theme/app/src/android/theme/app/ |
ReferenceViewGroup.java | 17 package android.theme.app; 19 import android.theme.app.R;
|
CaptureActivity.java | 17 package android.theme.app;
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/ |
TwoFieldDatePickerDialog.java | 53 * @param theme the theme to apply to this dialog 59 int theme, 65 super(context, theme);
|
/external/chromium_org/ui/native_theme/ |
native_theme_win.h | 30 // Windows implementation of native theme class. 57 // Returns true if a high contrast theme is being used. 60 HRESULT GetThemeColor(ThemeName theme, 66 // Get the theme color if theming is enabled. If theming is unsupported 69 SkColor GetThemeColorWithDefault(ThemeName theme, 75 // Get the thickness of the border associated with the specified theme, 78 gfx::Size GetThemeBorderSize(ThemeName theme) const; 83 // the user's theme. This is meant for use when running tests that require 87 // Closes cached theme handles so we can unload the DLL or update our UI 88 // for a theme change [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
AnimatedVectorDrawable.java | 23 import android.content.res.Resources.Theme; 144 Theme theme) { 146 if (theme != null && canApplyTheme()) { 147 applyTheme(theme); 267 public void inflate(Resources res, XmlPullParser parser, AttributeSet attrs, Theme theme) 276 final TypedArray a = obtainAttributes(res, theme, attrs, 282 drawableRes, theme).mutate(); 289 final TypedArray a = obtainAttributes(res, theme, attrs [all...] |
AnimationDrawable.java | 26 import android.content.res.Resources.Theme; 272 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) 275 TypedArray a = obtainAttributes(r, theme, attrs, 304 r, theme, attrs, com.android.internal.R.styleable.AnimationDrawableItem); 319 dr = r.getDrawable(drawableRes, theme); 329 dr = Drawable.createFromXmlInner(r, parser, attrs, theme);
|
ShapeDrawable.java | 33 import android.content.res.Resources.Theme; 380 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) 382 super.inflate(r, parser, attrs, theme); 384 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.ShapeDrawable); 409 public void applyTheme(Theme t) { 432 // Extract the theme attributes, if any. 559 public Drawable newDrawable(Resources res, Theme theme) { 560 return new ShapeDrawable(this, res, theme); [all...] |
Drawable.java | 22 import android.content.res.Resources.Theme; 711 * Applies the specified theme to this Drawable and its children. 713 public void applyTheme(@SuppressWarnings("unused") Theme t) { [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderScrollbarTheme.cpp | 37 DEFINE_STATIC_LOCAL(RenderScrollbarTheme, theme, ()); 38 return &theme; 144 ScrollbarTheme::theme()->paintTickmarks(context, scrollbar, rect);
|
/frameworks/base/core/java/android/view/animation/ |
PathInterpolator.java | 20 import android.content.res.Resources.Theme; 93 public PathInterpolator(Resources res, Theme theme, AttributeSet attrs) { 95 if (theme != null) { 96 a = theme.obtainStyledAttributes(attrs, R.styleable.PathInterpolator, 0, 0);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
BubbleTextView.java | 22 import android.content.res.Resources.Theme; 43 private static SparseArray<Theme> sPreloaderThemes = new SparseArray<>(2); 407 private Theme getPreloaderTheme() { 412 Theme theme = sPreloaderThemes.get(style); local 413 if (theme == null) { 414 theme = getResources().newTheme(); 415 theme.applyStyle(style, true); 416 sPreloaderThemes.put(style, theme); 418 return theme; [all...] |
/cts/tests/app/src/android/app/cts/ |
AppStubActivity.java | 137 public void onApplyThemeResource( Resources.Theme theme, 140 super.onApplyThemeResource(theme,resid,first);
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
ApplicationInfoTest.java | 62 assertEquals(mApplicationInfo.theme, info.theme);
|
/external/chromium_org/chrome/browser/ui/webui/ |
downloads_ui.cc | 115 ThemeSource* theme = new ThemeSource(profile); local 116 content::URLDataSource::Add(profile, theme);
|
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/ |
MeterShadowElement.cpp | 58 return renderer && !RenderTheme::theme().supportsMeter(renderer->style()->appearance()) && HTMLDivElement::rendererIsNeeded(style); 79 return renderer && !RenderTheme::theme().supportsMeter(renderer->style()->appearance()) && HTMLDivElement::rendererIsNeeded(style);
|
/external/chromium_org/third_party/WebKit/Source/platform/exported/ |
WebScrollbarThemeClientImpl.cpp | 39 ScrollbarTheme::theme()->registerScrollbar(this); 44 ScrollbarTheme::theme()->unregisterScrollbar(this);
|
/external/chromium_org/third_party/WebKit/Source/web/ |
WebScrollbarThemePainter.cpp | 119 WebScrollbarThemePainter::WebScrollbarThemePainter(WebCore::ScrollbarTheme* theme, WebCore::Scrollbar* scrollbar) 120 : m_theme(theme)
|
WebColorName.cpp | 120 RenderTheme::theme().setCustomFocusRingColor(color);
|
/packages/apps/Mms/src/com/android/mms/ui/ |
NumberPickerDialog.java | 67 * @param theme the theme to apply to this dialog 72 int theme, 78 super(context, theme);
|
/external/chromium_org/chrome/browser/ui/views/toolbar/ |
wrench_menu.cc | 256 ui::NativeTheme* theme = view->GetNativeTheme(); local 259 return theme->GetSystemColor( 262 return theme->GetSystemColor( 265 return theme->GetSystemColor( 272 const ui::NativeTheme* theme = view->GetNativeTheme(); local 277 return theme->GetSystemColor( 280 return theme->GetSystemColor( 283 return theme->GetSystemColor( 372 virtual void OnNativeThemeChanged(const ui::NativeTheme* theme) OVERRIDE { 373 const MenuConfig& menu_config = MenuConfig::instance(theme); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/ |
CSSDefaultStyleSheets.cpp | 107 String defaultRules = String(htmlUserAgentStyleSheet, sizeof(htmlUserAgentStyleSheet)) + RenderTheme::theme().extraDefaultStyleSheet(); 120 String quirksRules = String(quirksUserAgentStyleSheet, sizeof(quirksUserAgentStyleSheet)) + RenderTheme::theme().extraQuirksStyleSheet(); 180 String mediaRules = String(mediaControlsUserAgentStyleSheet, sizeof(mediaControlsUserAgentStyleSheet)) + RenderTheme::theme().extraMediaControlsStyleSheet(); 190 String fullscreenRules = String(fullscreenUserAgentStyleSheet, sizeof(fullscreenUserAgentStyleSheet)) + RenderTheme::theme().extraFullScreenStyleSheet();
|
/external/chromium_org/third_party/WebKit/Source/platform/scroll/ |
ScrollbarThemeAura.cpp | 54 DEFINE_STATIC_LOCAL(ScrollbarThemeOverlay, theme, (10, 0, ScrollbarThemeOverlay::AllowHitTest)); 55 return &theme; 58 DEFINE_STATIC_LOCAL(ScrollbarThemeAura, theme, ()); 59 return &theme; 65 // In unit tests we don't have the mock theme engine (because of layering violations), so we hard code the size (see bug 327470).
|
/external/chromium_org/ui/message_center/views/ |
bounded_label.h | 64 virtual void OnNativeThemeChanged(const ui::NativeTheme* theme) OVERRIDE;
|
/external/chromium_org/ui/views/bubble/ |
bubble_delegate.cc | 224 void BubbleDelegateView::OnNativeThemeChanged(const ui::NativeTheme* theme) { 225 UpdateColorsFromTheme(theme); 290 void BubbleDelegateView::UpdateColorsFromTheme(const ui::NativeTheme* theme) { 292 color_ = theme->GetSystemColor(ui::NativeTheme::kColorId_DialogBackground);
|