Home
last modified time | relevance | path

Searched refs:StyleRes (Results 1 – 25 of 51) sorted by relevance

123

/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DThemeResolver.java6 import androidx.annotation.StyleRes;
17 @StyleRes private final int defaultTheme;
58 @StyleRes
71 @StyleRes
76 @StyleRes
101 @StyleRes
128 @StyleRes
188 @StyleRes private int defaultTheme = R.style.SuwThemeGlif_DayNight;
200 public Builder setDefaultTheme(@StyleRes int defaultTheme) { in setDefaultTheme()
DWizardManagerHelper.java27 import androidx.annotation.StyleRes;
291 public static @StyleRes int getThemeRes(Intent intent, @StyleRes int defaultTheme) { in getThemeRes()
313 public static @StyleRes int getThemeRes( in getThemeRes()
314 Intent intent, @StyleRes int defaultTheme, @Nullable String oldestSupportedTheme) { in getThemeRes()
345 public static @StyleRes int getThemeRes( in getThemeRes()
346 String theme, @StyleRes int defaultTheme, @Nullable String oldestSupportedTheme) { in getThemeRes()
377 public static @StyleRes int getThemeRes(@Nullable String theme, @StyleRes int defaultTheme) { in getThemeRes()
DFallbackThemeWrapper.java21 import androidx.annotation.StyleRes;
41 public FallbackThemeWrapper(Context base, @StyleRes int themeResId) { in FallbackThemeWrapper()
/frameworks/base/core/java/android/widget/
DCalendarView.java24 import android.annotation.StyleRes;
110 @AttrRes int defStyleAttr, @StyleRes int defStyleRes) { in CalendarView()
349 public void setWeekDayTextAppearance(@StyleRes int resourceId) { in setWeekDayTextAppearance()
361 public @StyleRes int getWeekDayTextAppearance() { in getWeekDayTextAppearance()
372 public void setDateTextAppearance(@StyleRes int resourceId) { in setDateTextAppearance()
384 public @StyleRes int getDateTextAppearance() { in getDateTextAppearance()
620 void setWeekDayTextAppearance(@StyleRes int resourceId); in setWeekDayTextAppearance()
621 @StyleRes int getWeekDayTextAppearance(); in getWeekDayTextAppearance()
623 void setDateTextAppearance(@StyleRes int resourceId); in setDateTextAppearance()
624 @StyleRes int getDateTextAppearance(); in getDateTextAppearance()
DCalendarViewMaterialDelegate.java19 import android.annotation.StyleRes;
42 public void setWeekDayTextAppearance(@StyleRes int resId) { in setWeekDayTextAppearance()
46 @StyleRes
53 public void setDateTextAppearance(@StyleRes int resId) { in setDateTextAppearance()
57 @StyleRes
/frameworks/base/core/java/android/app/
DDatePickerDialog.java21 import android.annotation.StyleRes;
74 public DatePickerDialog(@NonNull Context context, @StyleRes int themeResId) { in DatePickerDialog()
109 public DatePickerDialog(@NonNull Context context, @StyleRes int themeResId, in DatePickerDialog()
114 private DatePickerDialog(@NonNull Context context, @StyleRes int themeResId, in DatePickerDialog()
141 static @StyleRes int resolveDialogTheme(@NonNull Context context, @StyleRes int themeResId) { in resolveDialogTheme()
DFragmentTransaction.java8 import android.annotation.StyleRes;
233 public abstract FragmentTransaction setTransitionStyle(@StyleRes int styleRes); in setTransitionStyle()
DAlertDialog.java23 import android.annotation.StyleRes;
199 protected AlertDialog(Context context, @StyleRes int themeResId) { in AlertDialog()
203 AlertDialog(Context context, @StyleRes int themeResId, boolean createContextThemeWrapper) { in AlertDialog()
211 static @StyleRes int resolveDialogTheme(Context context, @StyleRes int themeResId) { in resolveDialogTheme()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
DButtonFooterMixin.java24 import androidx.annotation.StyleRes;
68 public Button addButton(CharSequence text, @StyleRes int theme) { in addButton()
84 public Button addButton(@StringRes int text, @StyleRes int theme) { in addButton()
163 private Button createThemedButton(Context context, @StyleRes int theme) { in createThemedButton()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/
DThemeResolverTest.java24 import androidx.annotation.StyleRes;
44 @StyleRes int defaultTheme = 12345; in resolve_nonDayNight_shouldReturnCorrespondingTheme()
60 @StyleRes int defaultTheme = 12345; in resolve_dayNight_shouldReturnDayNightTheme()
88 @StyleRes int defaultTheme = 12345; in resolve_olderThanOldestSupportedTheme_shouldReturnDefault()
102 @StyleRes int defaultTheme = 12345; in resolve_intentTheme_shouldReturnCorrespondingTheme()
144 @StyleRes int defaultTheme = 12345; in resolve_suwIntent_shouldForceNonDayNightTheme()
192 @StyleRes int defaultTheme = 12345; in applyTheme_glifV3_shouldSetActivityThemeToGlifV3()
DWizardManagerHelperTest.java32 import androidx.annotation.StyleRes;
251 @StyleRes int def = 123; in testGetThemeResDefault()
257 @StyleRes int def = 123; in testGetThemeResNull()
/frameworks/base/core/java/android/content/res/
DAssetManager.java25 import android.annotation.StyleRes;
662 @AttrRes int[] getStyleAttributes(@StyleRes int resId) { in getStyleAttributes()
1058 void applyStyle(long themePtr, @AttrRes int defStyleAttr, @StyleRes int defStyleRes, in applyStyle()
1073 @StyleRes int defStyleRes, @StyleRes int xmlStyle) { in getAttributeResolutionStack()
1081 boolean resolveAttrs(long themePtr, @AttrRes int defStyleAttr, @StyleRes int defStyleRes, in resolveAttrs()
1129 void applyStyleToTheme(long themePtr, @StyleRes int resId, boolean force) { in applyStyleToTheme()
1446 @StyleRes int resId); in nativeGetStyleAttributes()
1471 @StyleRes int xmlStyleRes, @AttrRes int defStyleAttr, @StyleRes int defStyleRes); in nativeAttributeResolutionStack()
1473 @StyleRes int defStyleRes, long xmlParserPtr, @NonNull int[] inAttrs, in nativeApplyStyle()
1476 @AttrRes int defStyleAttr, @StyleRes int defStyleRes, @Nullable int[] inValues, in nativeResolveAttrs()
[all …]
DResources.java40 import android.annotation.StyleRes;
1517 public TypedArray obtainStyledAttributes(@StyleRes int resId, in obtainStyledAttributes()
1575 @StyleRes int defStyleRes) { in obtainStyledAttributes()
1745 @StyleRes
1787 @StyleRes int defStyleRes, @StyleRes int explicitStyleRes) { in getAttributeResolutionStack()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/util/
DDrawingTestHelper.java27 import androidx.annotation.StyleRes;
39 public static Activity createCanvasActivity(@StyleRes int theme) in createCanvasActivity()
/frameworks/opt/setupwizard/library/gingerbread/test/instrumentation/src/com/android/setupwizardlib/items/
DButtonItemDrawingTest.java21 import androidx.annotation.StyleRes;
72 private Button createButton(@StyleRes int theme) in createButton()
/frameworks/base/core/java/android/view/
DContextThemeWrapper.java20 import android.annotation.StyleRes;
66 public ContextThemeWrapper(Context base, @StyleRes int themeResId) { in ContextThemeWrapper()
/frameworks/base/core/java/com/android/internal/widget/
DMessagingTextMessage.java22 import android.annotation.StyleRes;
61 @AttrRes int defStyleAttr, @StyleRes int defStyleRes) { in MessagingTextMessage()
DMessagingImageMessage.java22 import android.annotation.StyleRes;
77 @AttrRes int defStyleAttr, @StyleRes int defStyleRes) { in MessagingImageMessage()
DAlertDialogLayout.java21 import android.annotation.StyleRes;
65 @AttrRes int defStyleAttr, @StyleRes int defStyleRes) { in AlertDialogLayout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DRotationButtonController.java24 import android.annotation.StyleRes;
64 private @StyleRes int mStyleRes;
116 RotationButtonController(Context context, @StyleRes int style, RotationButton rotationButton) { in RotationButtonController()
312 @StyleRes int getStyleRes() { in getStyleRes()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DTemplateLayout.java25 import androidx.annotation.StyleRes;
166 LayoutInflater inflater, @StyleRes int fallbackTheme, @LayoutRes int template) { in inflateTemplate()
/frameworks/base/core/java/android/annotation/
DStyleRes.java36 public @interface StyleRes { annotation
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/
DBaseActivity.java26 import androidx.annotation.StyleRes;
364 protected void setToolbarTitleStyle(@StyleRes int style) { in setToolbarTitleStyle()
DBaseSetupWizardActivity.java26 import androidx.annotation.StyleRes;
363 protected void setToolbarTitleStyle(@StyleRes int style) { in setToolbarTitleStyle()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuPopupHelper.java22 import android.annotation.StyleRes;
78 @StyleRes int popupStyleRes) { in MenuPopupHelper()

123