/frameworks/base/core/java/android/inputmethodservice/ |
SoftInputWindow.java | 59 * particular, it uses the window manager and theme from this context 61 * @param theme A style resource describing the theme to use for the window. 63 * and Theme Resources</a> for more information about defining and 64 * using styles. This theme is applied on top of the current theme in 65 * <var>context</var>. If 0, the default dialog theme will be used. 67 public SoftInputWindow(Context context, String name, int theme, Callback callback, 70 super(context, theme);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
NinePatchDrawable.java | 23 import android.content.res.Resources.Theme; 396 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) 398 super.inflate(r, parser, attrs, theme); 400 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.NinePatchDrawable); 415 // Extract the theme attributes, if any. 478 public void applyTheme(Theme t) { 658 public Drawable newDrawable(Resources res, Theme theme) { 659 return new NinePatchDrawable(this, res, theme); [all...] |
RippleDrawable.java | 23 import android.content.res.Resources.Theme; 362 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) 364 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.RippleDrawable); 371 super.inflate(r, parser, attrs, theme); 418 // Extract the theme attributes, if any. 450 public void applyTheme(Theme t) { 936 public Drawable newDrawable(Resources res, Theme theme) { 937 return new RippleDrawable(this, res, theme); [all...] |
AnimatedRotateDrawable.java | 26 import android.content.res.Resources.Theme; 257 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) 260 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.AnimatedRotateDrawable); 278 drawable = r.getDrawable(res, theme); 292 if ((drawable = Drawable.createFromXmlInner(r, parser, attrs, theme)) == null) {
|
ScaleDrawable.java | 25 import android.content.res.Resources.Theme; 90 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) 92 super.inflate(r, parser, attrs, theme); 97 r, theme, attrs, com.android.internal.R.styleable.ScaleDrawable); 114 dr = Drawable.createFromXmlInner(r, parser, attrs, theme);
|
LayerDrawable.java | 22 import android.content.res.Resources.Theme; 123 LayerDrawable(LayerState state, Resources res, Theme theme) { 129 if (theme != null && canApplyTheme()) { 130 applyTheme(theme); 139 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) 141 super.inflate(r, parser, attrs, theme); 143 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.LayerDrawable); 147 inflateLayers(r, parser, attrs, theme); [all...] |
GradientDrawable.java | 22 import android.content.res.Resources.Theme; [all...] |
/external/chromium_org/ui/views/bubble/ |
bubble_frame_view.h | 62 virtual void OnNativeThemeChanged(const ui::NativeTheme* theme) OVERRIDE;
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderScrollbarPart.cpp | 94 return ScrollbarTheme::theme()->scrollbarThickness(); 155 m_scrollbar->theme()->invalidatePart(m_scrollbar, m_part); 161 m_scrollbar->theme()->invalidatePart(m_scrollbar, m_part);
|
RenderThemeChromiumDefault.cpp | 62 static blink::WebThemeEngine::State getWebThemeState(const RenderTheme* theme, const RenderObject* o) 64 if (!theme->isEnabled(o)) 66 if (useMockTheme() && theme->isReadOnlyControl(o)) 68 if (theme->isPressed(o)) 70 if (useMockTheme() && theme->isFocused(o)) 72 if (theme->isHovered(o)) 83 // RenderTheme::theme for Android is defined in RenderThemeChromiumAndroid.cpp. 85 RenderTheme& RenderTheme::theme() function in class:WebCore::RenderTheme 211 // FIXME: Mock theme doesn't handle zoomed sliders. 370 // FIXME: the normal Aura theme doesn't care about this, so we shoul [all...] |
RenderMenuList.cpp | 111 innerStyle->setPaddingLeft(Length(RenderTheme::theme().popupInternalPaddingLeft(style()), Fixed)); 112 innerStyle->setPaddingRight(Length(RenderTheme::theme().popupInternalPaddingRight(style()), Fixed)); 113 innerStyle->setPaddingTop(Length(RenderTheme::theme().popupInternalPaddingTop(style()), Fixed)); 114 innerStyle->setPaddingBottom(Length(RenderTheme::theme().popupInternalPaddingBottom(style()), Fixed)); 177 if (RenderTheme::theme().popupOptionSupportsTextIndent()) { 326 maxLogicalWidth = max(m_optionsWidth, RenderTheme::theme().minimumMenuListSize(style())) + m_innerBlock->paddingLeft() + m_innerBlock->paddingRight(); 559 // For these appearance values, the theme applies padding to leave room for the
|
/external/chromium_org/third_party/WebKit/Source/platform/scroll/ |
ScrollbarThemeMacCommon.mm | 78 static ScrollbarThemeMacCommon* theme = NULL; 79 if (theme) 80 return theme; 83 theme = &overlayTheme; 86 theme = &nonOverlayTheme; 88 return theme;
|
ScrollableArea.cpp | 70 static int maxOverlapBetweenPages = ScrollbarTheme::theme()->maxOverlapBetweenPages(); 343 ScrollbarTheme::theme()->updateScrollbarOverlayStyle(scrollbar); 348 ScrollbarTheme::theme()->updateScrollbarOverlayStyle(scrollbar);
|
/external/chromium_org/third_party/WebKit/Source/web/ |
DateTimeChooserImpl.cpp | 157 addProperty("showOtherDateEntry", WebCore::RenderTheme::theme().supportsCalendarPicker(m_parameters.type), data); 159 addProperty("suggestionHighlightColor", WebCore::RenderTheme::theme().activeListBoxSelectionBackgroundColor().serialized(), data); 160 addProperty("suggestionHighlightTextColor", WebCore::RenderTheme::theme().activeListBoxSelectionForegroundColor().serialized(), data);
|
PopupListBox.cpp | 394 backColor = RenderTheme::theme().activeListBoxSelectionBackgroundColor(); 395 textColor = RenderTheme::theme().activeListBoxSelectionForegroundColor(); 406 if (style.backgroundColorType() == PopupMenuStyle::DefaultBackgroundColor && RenderTheme::theme().systemColor(CSSValueButtonface) == backColor) 407 backColor = RenderTheme::theme().systemColor(CSSValueMenu); 776 if (!ScrollbarTheme::theme()->usesOverlayScrollbars()) 777 scrollbarWidth = ScrollbarTheme::theme()->scrollbarThickness();
|
/frameworks/base/core/java/android/app/ |
DialogFragment.java | 171 private static final String SAVED_THEME = "android:theme"; 193 * taking care of selecting flags, theme, and other options for you. The 201 * @param theme Optional custom theme. If 0, an appropriate theme (based 204 public void setStyle(int style, int theme) { 209 if (theme != 0) { 210 mTheme = theme;
|
Dialog.java | 128 * uses the window manager and theme in this context to 139 * uses the window manager and theme from this context to 141 * @param theme A style resource describing the theme to use for the 143 * and Theme Resources</a> for more information about defining and using 144 * styles. This theme is applied on top of the current theme in 145 * <var>context</var>. If 0, the default dialog theme will be used. 147 public Dialog(Context context, int theme) { 148 this(context, theme, true) [all...] |
/frameworks/support/v4/java/android/support/v4/app/ |
DialogFragment.java | 79 private static final String SAVED_THEME = "android:theme"; 101 * taking care of selecting flags, theme, and other options for you. The 109 * @param theme Optional custom theme. If 0, an appropriate theme (based 112 public void setStyle(@DialogStyle int style, @StyleRes int theme) { 117 if (theme != 0) { 118 mTheme = theme;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
Configuration.java | 69 * A {@linkplain Configuration} is a selection of device, orientation, theme, 79 /** The theme in change flags or override flags */ 129 /** The theme style to render with */ 322 * Returns the current theme style 324 * @return the theme style 352 * Returns whether the configuration's theme is a project theme. 357 * @return true for project a theme, false for a framework theme 360 String theme = getTheme() local 643 String theme = getTheme(); local [all...] |
/external/chromium_org/ui/message_center/views/ |
bounded_label.cc | 39 void SetNativeTheme(const ui::NativeTheme* theme); 88 void InnerBoundedLabel::SetNativeTheme(const ui::NativeTheme* theme) { 90 OnNativeThemeChanged(theme); 352 void BoundedLabel::OnNativeThemeChanged(const ui::NativeTheme* theme) { 353 label_->SetNativeTheme(theme);
|
/external/chromium_org/chrome/browser/themes/ |
theme_syncable_service_unittest.cc | 180 // Create and add custom theme extension so the ThemeSyncableService can 256 // Custom theme equality. 278 // Non-custom theme equality. 295 // Set up theme service to use custom theme. 317 // Set up theme service to use custom theme. 341 // Set up theme service to use default theme. 359 // Set up theme service to use default theme and expect no changes [all...] |
/external/chromium_org/ui/views/controls/ |
label.cc | 376 void Label::OnNativeThemeChanged(const ui::NativeTheme* theme) { 377 UpdateColorsFromTheme(theme); 515 void Label::UpdateColorsFromTheme(const ui::NativeTheme* theme) { 517 requested_enabled_color_ = theme->GetSystemColor( 521 requested_disabled_color_ = theme->GetSystemColor( 525 background_color_ = theme->GetSystemColor(
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/ |
KeyboardThemeTests.java | 65 // Set valid theme id to preference. 75 // Simulate illegal format theme id in preference. 84 * Test keyboard theme preference on the same platform version and the same keyboard version. 134 * Test default keyboard theme based on the platform version. 174 // Forced to switch to LXX theme. 187 * Test keyboard theme preference while upgrading the keyboard that doesn't support LXX theme 188 * to the keyboard that supports LXX theme. 194 // Clean up new keyboard theme preference to simulate "upgrade to LXX keyboard". 197 final KeyboardTheme theme = KeyboardTheme.getKeyboardTheme(mPrefs, sdkVersion) local [all...] |
/cts/tests/app/src/android/app/cts/ |
DialogStubActivity.java | 336 public MockAlertDialog(Context context, int theme) { 337 super(context, theme); 394 public MockDatePickerDialog(Context context, int theme, OnDateSetListener callBack, 396 super(context, theme, callBack, year, monthOfYear, dayOfMonth);
|
/cts/tests/tests/theme/src/android/theme/cts/ |
DeviceDefaultTest.java | 17 package android.theme.cts;
|