Home
last modified time | relevance | path

Searched refs:sGlobals (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/app/
DUiModeManager.java376 private static Globals sGlobals; field in UiModeManager
533 if (sGlobals == null) sGlobals = new Globals(service); in UiModeManager()
623 if (sGlobals != null) { in enableCarMode()
625 sGlobals.mService.enableCarMode(flags, priority, in enableCarMode()
675 if (sGlobals != null) { in disableCarMode()
677 sGlobals.mService.disableCarModeByCallingPackage(flags, in disableCarMode()
696 if (sGlobals != null) { in getCurrentModeType()
698 return sGlobals.mService.getCurrentModeType(); in getCurrentModeType()
743 if (sGlobals != null) { in setNightMode()
745 sGlobals.mService.setNightMode(mode); in setNightMode()
[all …]
DWallpaperManager.java401 private static Globals sGlobals; field in WallpaperManager
662 synchronized (sGlobals) { in onWallpaperColorsChanged()
901 if (sGlobals == null) { in initGlobals()
902 sGlobals = new Globals(service, looper); in initGlobals()
937 return sGlobals.mService; in getIWallpaperManager()
1046 Bitmap bm = sGlobals.peekWallpaperBitmap(mContext, returnDefault, which, cmProxy); in getDrawable()
1112 if (sGlobals.mService == null) { in getBuiltInDrawable()
1375 Bitmap bm = sGlobals.peekWallpaperBitmap(mContext, returnDefault, which, cmProxy); in getFastDrawable()
1444 Bitmap bitmap = sGlobals.peekWallpaperBitmap(mContext, false, which, cmProxy); in wallpaperSupportsWcg()
1494 return sGlobals.peekWallpaperBitmap(mContext, true, FLAG_SYSTEM, userId, hardware, cmProxy); in getBitmapAsUser()
[all …]