Home
last modified time | relevance | path

Searched refs:uiContext (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/core/java/com/android/server/
DWallpaperUpdateReceiver.java54 Context uiContext = currentActivityThread.getSystemUiContext(); in updateWallpaper() local
55 WallpaperManager wallpaperManager = WallpaperManager.getInstance(uiContext); in updateWallpaper()
56 if (isUserSetWallpaper(wallpaperManager, uiContext)) { in updateWallpaper()
/frameworks/base/core/tests/coretests/src/android/content/
DContextTest.java228 final Context uiContext = createUiContext(); in testIsUiContext_UiContextDerivedContext() local
229 Context context = uiContext.createAttributionContext(null /* attributionTag */); in testIsUiContext_UiContextDerivedContext()
233 context = uiContext.createConfigurationContext(new Configuration()); in testIsUiContext_UiContextDerivedContext()
241 final Context uiContext = createUiContext(); in testIsUiContext_UiContextDerivedDisplayContext() local
243 getSecondaryDisplay(uiContext.getSystemService(DisplayManager.class)); in testIsUiContext_UiContextDerivedDisplayContext()
244 final Context context = uiContext.createDisplayContext(secondaryDisplay); in testIsUiContext_UiContextDerivedDisplayContext()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DModeSwitchesController.java135 final Context uiContext = mContext.createWindowContext(display, in createInstance() local
137 return new MagnificationModeSwitch(uiContext, mClickListener); in createInstance()
/frameworks/base/services/core/java/com/android/server/wm/
DImmersiveModeConfirmation.java113 final Context uiContext = ActivityThread.currentActivityThread().getSystemUiContext(); in ImmersiveModeConfirmation() local
115 ? uiContext : uiContext.createDisplayContext(display); in ImmersiveModeConfirmation()
DAppWarnings.java115 public AppWarnings(ActivityTaskManagerService atm, Context uiContext, Handler handler, in AppWarnings() argument
723 BaseDialog(AppWarnings manager, Context uiContext, String packageName, int userId) { in BaseDialog() argument
725 mUiContext = uiContext; in BaseDialog()
DDisplayPolicy.java1832 final Context uiContext = getSystemUiContext();
1837 mCurrentUserResources = uiContext.getResources();
1844 uiContext.getPackageName(), null, 0, userId);
1846 uiContext.getWindowContextToken(),
1854 uiContext.getResources().getCompatibilityInfo(),
DActivityTaskManagerService.java1051 Context uiContext, Handler handler, Handler uiHandler, File systemDir) { in createAppWarnings() argument
1052 return new AppWarnings(this, uiContext, handler, uiHandler, systemDir); in createAppWarnings()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityInputFilter.java832 final Context uiContext = displayContext.createWindowContext( in createMagnificationGestureHandler() local
834 magnificationGestureHandler = new WindowMagnificationGestureHandler(uiContext, in createMagnificationGestureHandler()
841 final Context uiContext = displayContext.createWindowContext( in createMagnificationGestureHandler() local
844 new FullScreenMagnificationVibrationHelper(uiContext); in createMagnificationGestureHandler()
845 magnificationGestureHandler = new FullScreenMagnificationGestureHandler(uiContext, in createMagnificationGestureHandler()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/dream/
DDreamBackend.java445 public void launchSettings(Context uiContext, DreamInfo dreamInfo) { in launchSettings() argument
454 uiContext.startActivity(intent); in launchSettings()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
DDefaultTransitionHandler.java439 final Context uiContext = ActivityThread.currentActivityThread() in startAnimation() local
442 uiContext.getColor(R.color.overview_background); in startAnimation()