Home
last modified time | relevance | path

Searched refs:themedContext (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSPanelTest.kt68 private val themedContext = constant
79 qsPanel = QSPanel(themedContext, null) in setup()
84 footer = LinearLayout(themedContext).apply { id = R.id.qs_footer } in setup()
122 QSTileViewImpl(themedContext) in testTilesFooterVisibleLandscapeMedia()
126 val mediaView = FrameLayout(themedContext) in testTilesFooterVisibleLandscapeMedia()
127 mediaView.addView(View(themedContext), MATCH_PARENT, 800) in testTilesFooterVisibleLandscapeMedia()
148 themedContext.orCreateTestableResources.addOverride( in testBottomPadding()
160 themedContext.orCreateTestableResources.addOverride(R.dimen.qs_panel_padding_top, padding) in testTopPadding()
161 themedContext.orCreateTestableResources.addOverride( in testTopPadding()
205 panel = QSPanel(themedContext, null) in initializedWithNoMedia_sceneContainerDisabled_tileLayoutParentIsAlwaysQsPanel()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/settings/brightness/ui/binder/
DBrightnessMirrorInflaterTest.kt38 private val themedContext = constant in com.android.systemui.settings.brightness.ui.binder.BrightnessMirrorInflaterTest
47 themedContext, in inflate_sliderViewAddedToFrame()
62 themedContext, in inflate_frameAndSliderViewVisible()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/qs/ui/composable/
DQuickSettingsTheme.kt29 val themedContext = in QuickSettingsTheme() constant
31 CompositionLocalProvider(LocalContext provides themedContext) { content() } in QuickSettingsTheme()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DAppCompatActionBar.java138 Context themedContext = context; in getInflater() local
149 themedContext = new ContextThemeWrapper(context, styleId); in getInflater()
152 return LayoutInflater.from(themedContext); in getInflater()
221 Context themedContext = (Context)invoke( in inflateMenus() local
224 MenuInflater inflater = new MenuInflater(themedContext); in inflateMenus()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/
DSystemEventChipAnimationController.kt52 private lateinit var themedContext: ContextThemeWrapper variable in com.android.systemui.statusbar.events.SystemEventChipAnimationController
86 currentAnimatedView = viewCreator(themedContext).also { in prepareChipAnimation()
240 themedContext = ContextThemeWrapper(context, R.style.Theme_SystemUI_QuickSettings) in init()
241 animationWindowView = LayoutInflater.from(themedContext) in init()
244 val height = themedContext.resources.getDimensionPixelSize(R.dimen.status_bar_height) in init()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DTileRequestDialog.kt73 val themedContext = ContextThemeWrapper(context, R.style.Theme_SystemUI_QuickSettings) in createTileView() constant
74 val tile = QSTileViewImpl(themedContext, true) in createTileView()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/shade/ui/composable/
DShadeHeader.kt409 val themedContext = in BatteryIcon() constant
411 val fg = Utils.getColorAttrDefaultColor(themedContext, android.R.attr.textColorPrimary) in BatteryIcon()
414 themedContext, in BatteryIcon()
497 val themedContext = in StatusIcons() constant
499 val iconContainer = StatusIconContainer(themedContext, null) in StatusIcons()
502 Utils.getColorAttrDefaultColor(themedContext, android.R.attr.textColorPrimary), in StatusIcons()
504 themedContext, in StatusIcons()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/settings/brightness/ui/viewmodel/
DBrightnessMirrorViewModelTest.kt50 private val themedContext = constant in com.android.systemui.settings.brightness.ui.viewmodel.BrightnessMirrorViewModelTest
130 themedContext, in setLocationInWindow_paddingSetToRootView()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/carrier/
DShadeCarrierTest.java53 Context themedContext = in setUp() local
55 LayoutInflater inflater = LayoutInflater.from(themedContext); in setUp()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
DBackgroundWindowManager.java212 final Context themedContext = new ContextThemeWrapper(mContext, in getThemeColor() local
214 return themedContext.getColor(R.color.one_handed_tutorial_background_color); in getThemeColor()
DOneHandedTutorialHandler.java245 final Context themedContext = new ContextThemeWrapper(mTutorialView.getContext(), in updateThemeColor() local
249 TypedArray ta = themedContext.obtainStyledAttributes(new int[]{ in updateThemeColor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/logcat/
DLogAccessDialogActivity.java205 Context themedContext = new ContextThemeWrapper(this, themeId); in createView() local
206 final View view = LayoutInflater.from(themedContext).inflate( in createView()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/footer/ui/viewmodel/
DFooterActionsViewModelTest.kt66 private val themedContext = ContextThemeWrapper(context, R.style.Theme_SystemUI_QuickSettings) constant in com.android.systemui.qs.footer.ui.viewmodel.FooterActionsViewModelTest
93 themedContext, in <lambda>()
120 themedContext, in <lambda>()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/
DSupportPreferencesUtil.java155 @NonNull Context themedContext, @NonNull ArrayList<Object> viewCookie, in setUpPreferencesListView() argument
158 LinearLayout listView = new LinearLayout(themedContext); in setUpPreferencesListView()
/frameworks/base/core/tests/coretests/src/android/widget/
DRemoteViewsTest.java650 Context themedContext = in nestedViews_themesPropagateCorrectly() local
652 RelativeLayout rootParent = new RelativeLayout(themedContext); in nestedViews_themesPropagateCorrectly()
663 RelativeLayout root = (RelativeLayout) top.apply(themedContext, rootParent); in nestedViews_themesPropagateCorrectly()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationIconContainer.java191 final Context themedContext = new ContextThemeWrapper(getContext(), in initResources() local
193 mThemedTextColorPrimary = Utils.getColorAttr(themedContext, in initResources()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportProgressService.java1847 final Context themedContext = new ContextThemeWrapper( in initialize() local
1853 final View view = View.inflate(themedContext, R.layout.dialog_bugreport_info, null); in initialize()
1858 mDialog = new AlertDialog.Builder(themedContext) in initialize()