Home
last modified time | relevance | path

Searched refs:FLAG_LOCK (Results 1 – 14 of 14) 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()
88 mLockColors = wallpaperManager.getWallpaperColors(WallpaperManager.FLAG_LOCK); in initExtractColors()
102 mLockColors = params[0].getWallpaperColors(WallpaperManager.FLAG_LOCK); in doInBackground()
110 triggerColorsChanged(WallpaperManager.FLAG_SYSTEM | WallpaperManager.FLAG_LOCK); in onPostExecute()
116 GradientColors[] lockColors = mGradientColors.get(WallpaperManager.FLAG_LOCK); in extractWallpaperColors()
151 if (which != WallpaperManager.FLAG_LOCK && which != WallpaperManager.FLAG_SYSTEM) { in getColors()
165 if (which == WallpaperManager.FLAG_LOCK) { in getWallpaperColors()
180 if ((which & WallpaperManager.FLAG_LOCK) != 0) { in onColorsChanged()
182 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.java112 WallpaperManager.FLAG_LOCK); in addOnColorsChangedListener_invokesListener()
114 eq(WallpaperManager.FLAG_LOCK)); in addOnColorsChangedListener_invokesListener()
118 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()
617 if (which != FLAG_SYSTEM && which != FLAG_LOCK) { in getBuiltInDrawable()
973 if (which != FLAG_SYSTEM && which != FLAG_LOCK) { in getWallpaperFile()
1148 setResource(resid, FLAG_SYSTEM | FLAG_LOCK); in setResource()
1257 return setBitmap(fullImage, visibleCropHint, allowBackup, FLAG_SYSTEM | FLAG_LOCK); in setBitmap()
1395 return setStream(bitmapData, visibleCropHint, allowBackup, FLAG_SYSTEM | FLAG_LOCK); in setStream()
1640 clearWallpaper(FLAG_LOCK, mContext.getUserId()); in clearWallpaper()
1852 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;
267 notifyWallpaperColorsChanged(wallpaper, FLAG_LOCK); in onEvent()
307 || (wallpaper.whichPending & FLAG_LOCK) != 0) { in onEvent()
319 notifyColorsWhich |= FLAG_LOCK; in onEvent()
1351 which |= FLAG_LOCK; in onWallpaperColorsChanged()
1793 notifyWallpaperColorsChanged(lockWallpaper, FLAG_LOCK); in switchUser()
1846 if (which == FLAG_LOCK) { in clearWallpaper()
1862 if (which != FLAG_SYSTEM && which != FLAG_LOCK) { in clearWallpaperLocked()
1867 if (which == FLAG_LOCK) { in clearWallpaperLocked()
1893 if (which == FLAG_LOCK) { in clearWallpaperLocked()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/
DDefaultClockController.java127 WallpaperManager.FLAG_LOCK); in getPreview()
DAnalogClockController.java133 WallpaperManager.FLAG_LOCK); in getPreview()
DBubbleClockController.java133 WallpaperManager.FLAG_LOCK); in getPreview()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardClockSwitch.java148 if ((which & WallpaperManager.FLAG_LOCK) != 0) {
382 WallpaperManager.FLAG_LOCK); in updateColors()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLockscreenWallpaper.java116 WallpaperManager.FLAG_LOCK, lockWallpaperUserId); in loadBitmap()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialog.java1781 if ((WallpaperManager.FLAG_LOCK & which) != 0) {
1782 updateColors(extractor.getColors(WallpaperManager.FLAG_LOCK),
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...