Home
last modified time | relevance | path

Searched refs:FLAG_LOCK (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/java/com/android/internal/colorextraction/
DColorExtractor.java67 for (int which : new int[] { WallpaperManager.FLAG_LOCK, WallpaperManager.FLAG_SYSTEM}) { in ColorExtractor()
85 mLockColors = wallpaperManager.getWallpaperColors(WallpaperManager.FLAG_LOCK); in initExtractColors()
99 mLockColors = params[0].getWallpaperColors(WallpaperManager.FLAG_LOCK); in doInBackground()
107 triggerColorsChanged(WallpaperManager.FLAG_SYSTEM | WallpaperManager.FLAG_LOCK); in onPostExecute()
113 GradientColors[] lockColors = mGradientColors.get(WallpaperManager.FLAG_LOCK); in extractWallpaperColors()
148 if (which != WallpaperManager.FLAG_LOCK && which != WallpaperManager.FLAG_SYSTEM) { in getColors()
162 if (which == WallpaperManager.FLAG_LOCK) { in getWallpaperColors()
177 if ((which & WallpaperManager.FLAG_LOCK) != 0) { in onColorsChanged()
179 GradientColors[] lockColors = mGradientColors.get(WallpaperManager.FLAG_LOCK); in onColorsChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/colorextraction/
DSysuiColorExtractor.java94 if ((which & WallpaperManager.FLAG_LOCK) != 0) { in onColorsChanged()
103 triggerColorsChanged(WallpaperManager.FLAG_SYSTEM | WallpaperManager.FLAG_LOCK); in onUiModeChanged()
108 if (mHasMediaArtwork && (which & WallpaperManager.FLAG_LOCK) != 0) { in getColors()
129 triggerColorsChanged(WallpaperManager.FLAG_LOCK); in setHasMediaArtwork()
142 GradientColors[] lock = mGradientColors.get(WallpaperManager.FLAG_LOCK); in dump()
/frameworks/base/packages/WallpaperBackup/src/com/android/wallpaperbackup/
DWallpaperBackupAgent.java19 import static android.app.WallpaperManager.FLAG_LOCK;
131 mWm.getWallpaperIdForUser(FLAG_LOCK, UserHandle.USER_SYSTEM); in onFullBackup()
136 final boolean lockEligible = mWm.isWallpaperBackupEligible(FLAG_LOCK); in onFullBackup()
140 … ParcelFileDescriptor lockFd = mWm.getWallpaperFile(FLAG_LOCK, UserHandle.USER_SYSTEM); in onFullBackup()
219 final int sysWhich = FLAG_SYSTEM | (lockImageStage.exists() ? 0 : FLAG_LOCK); in onRestoreFinished()
226 restoreFromStage(lockImageStage, infoStage, "kwp", FLAG_LOCK); in onRestoreFinished()
238 mWm.clear(FLAG_LOCK); in onRestoreFinished()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/colorextraction/
DSysuiColorExtractorTests.java55 WallpaperManager.FLAG_LOCK};
104 mColorExtractor.getColors(WallpaperManager.FLAG_LOCK, type), fallbackColors); in getColors_fallbackWhenMediaIsVisible()
135 WallpaperManager.FLAG_SYSTEM | WallpaperManager.FLAG_LOCK); in simulateEvent()
/frameworks/base/tests/Internal/src/com/android/internal/colorextraction/
DColorExtractorTest.java109 WallpaperManager.FLAG_LOCK); in addOnColorsChangedListener_invokesListener()
111 eq(WallpaperManager.FLAG_LOCK)); in addOnColorsChangedListener_invokesListener()
115 WallpaperManager.FLAG_LOCK); in addOnColorsChangedListener_invokesListener()
/frameworks/base/core/java/android/app/
DWallpaperManager.java181 FLAG_LOCK
194 public static final int FLAG_LOCK = 1 << 1; field in WallpaperManager
377 if (which != FLAG_LOCK && which != FLAG_SYSTEM) { in getWallpaperColors()
619 if (which != FLAG_SYSTEM && which != FLAG_LOCK) { in getBuiltInDrawable()
975 if (which != FLAG_SYSTEM && which != FLAG_LOCK) { in getWallpaperFile()
1150 setResource(resid, FLAG_SYSTEM | FLAG_LOCK); in setResource()
1259 return setBitmap(fullImage, visibleCropHint, allowBackup, FLAG_SYSTEM | FLAG_LOCK); in setBitmap()
1397 return setStream(bitmapData, visibleCropHint, allowBackup, FLAG_SYSTEM | FLAG_LOCK); in setStream()
1642 clearWallpaper(FLAG_LOCK, mContext.getUserId()); in clearWallpaper()
1854 if ((which & FLAG_LOCK) != 0) { in clear()
[all …]
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java19 import static android.app.WallpaperManager.FLAG_LOCK;
270 notifyWallpaperColorsChanged(wallpaper, FLAG_LOCK); in onEvent()
310 || (wallpaper.whichPending & FLAG_LOCK) != 0) { in onEvent()
322 notifyColorsWhich |= FLAG_LOCK; in onEvent()
1421 which |= FLAG_LOCK; in onWallpaperColorsChanged()
1863 notifyWallpaperColorsChanged(lockWallpaper, FLAG_LOCK); in switchUser()
1916 if (which == FLAG_LOCK) { in clearWallpaper()
1932 if (which != FLAG_SYSTEM && which != FLAG_LOCK) { in clearWallpaperLocked()
1937 if (which == FLAG_LOCK) { in clearWallpaperLocked()
1963 if (which == FLAG_LOCK) { in clearWallpaperLocked()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/
DDefaultClockController.java127 WallpaperManager.FLAG_LOCK); in getPreview()
DAnalogClockController.java138 WallpaperManager.FLAG_LOCK); in getPreview()
DBubbleClockController.java138 WallpaperManager.FLAG_LOCK); in getPreview()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardClockSwitch.java155 if ((which & WallpaperManager.FLAG_LOCK) != 0) {
412 WallpaperManager.FLAG_LOCK); in updateColors()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLockscreenWallpaper.java124 WallpaperManager.FLAG_LOCK, lockWallpaperUserId); in loadBitmap()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialog.java1782 if ((WallpaperManager.FLAG_LOCK & which) != 0) {
1783 updateColors(extractor.getColors(WallpaperManager.FLAG_LOCK),
/frameworks/base/non-updatable-api/
Dcurrent.txt6506 field public static final int FLAG_LOCK = 2; // 0x2
/frameworks/base/api/
Dcurrent.txt6506 field public static final int FLAG_LOCK = 2; // 0x2