/packages/apps/DeskClock/src/com/android/alarmclock/ |
D | DigitalAppWidgetProvider.java | 132 final AppWidgetManager wm = AppWidgetManager.getInstance(context); in onReceive() local 133 if (wm == null) { in onReceive() 138 final int[] widgetIds = wm.getAppWidgetIds(provider); in onReceive() 152 relayoutWidget(context, wm, widgetId, wm.getAppWidgetOptions(widgetId)); in onReceive() 168 public void onUpdate(Context context, AppWidgetManager wm, int[] widgetIds) { in onUpdate() argument 169 super.onUpdate(context, wm, widgetIds); in onUpdate() 172 relayoutWidget(context, wm, widgetId, wm.getAppWidgetOptions(widgetId)); in onUpdate() 180 public void onAppWidgetOptionsChanged(Context context, AppWidgetManager wm, int widgetId, in onAppWidgetOptionsChanged() argument 182 super.onAppWidgetOptionsChanged(context, wm, widgetId, options); in onAppWidgetOptionsChanged() 192 private static void relayoutWidget(Context context, AppWidgetManager wm, int widgetId, in relayoutWidget() argument [all …]
|
D | DigitalAppWidgetProvider.kt | 108 val wm: AppWidgetManager = AppWidgetManager.getInstance(context) ?: return in <lambda>() constant 111 val widgetIds: IntArray = wm.getAppWidgetIds(provider) in <lambda>() 124 relayoutWidget(context, wm, widgetId, wm.getAppWidgetOptions(widgetId)) in <lambda>() 139 override fun onUpdate(context: Context, wm: AppWidgetManager, widgetIds: IntArray) { in <lambda>() 140 super.onUpdate(context, wm, widgetIds) in <lambda>() 143 relayoutWidget(context, wm, widgetId, wm.getAppWidgetOptions(widgetId)) in <lambda>() 152 wm: AppWidgetManager?, in <lambda>() 156 super.onAppWidgetOptionsChanged(context, wm, widgetId, options) in <lambda>() 300 wm: AppWidgetManager, in <lambda>() 304 val portrait: RemoteViews = relayoutWidget(context, wm, widgetId, options, true) in <lambda>() [all …]
|
D | AnalogAppWidgetProvider.java | 41 final AppWidgetManager wm = AppWidgetManager.getInstance(context); in onReceive() local 42 if (wm == null) { in onReceive() 48 final int widgetCount = wm.getAppWidgetIds(provider).length; in onReceive() 58 public void onUpdate(Context context, AppWidgetManager wm, int[] widgetIds) { in onUpdate() argument 59 super.onUpdate(context, wm, widgetIds); in onUpdate() 66 if (Utils.isWidgetClickable(wm, widgetId)) { in onUpdate() 72 wm.updateAppWidget(widgetId, widget); in onUpdate()
|
D | AnalogAppWidgetProvider.kt | 37 val wm: AppWidgetManager = AppWidgetManager.getInstance(context) ?: return in <lambda>() constant 41 val widgetCount: Int = wm.getAppWidgetIds(provider).size in <lambda>() 49 override fun onUpdate(context: Context, wm: AppWidgetManager, widgetIds: IntArray) { in <lambda>() 50 super.onUpdate(context, wm, widgetIds) in <lambda>() 56 if (Utils.isWidgetClickable(wm, widgetId)) { in <lambda>() 61 wm.updateAppWidget(widgetId, widget) in <lambda>()
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/ |
D | WallpaperUtils.java | 83 WallpaperManager wm = WallpaperManager.getInstance(activity); in suggestWallpaperDimensionPreK() local 84 if (width != wm.getDesiredMinimumWidth() || height != wm.getDesiredMinimumHeight()) { in suggestWallpaperDimensionPreK() 85 wm.suggestDesiredDimensions(width, height); in suggestWallpaperDimensionPreK() 93 WallpaperManager wm = WallpaperManager.getInstance(activity); in suggestWallpaperDimension() local 94 if (size.x != wm.getDesiredMinimumWidth() || size.y != wm.getDesiredMinimumHeight()) { in suggestWallpaperDimension() 95 wm.suggestDesiredDimensions(size.x, size.y); in suggestWallpaperDimension()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/qstile/ |
D | DevelopmentTiles.java | 159 IWindowManager wm = WindowManagerGlobal.getWindowManagerService(); in isEnabled() local 161 return wm.getAnimationScale(0) != 1; in isEnabled() 169 IWindowManager wm = WindowManagerGlobal.getWindowManagerService(); in setIsEnabled() local 172 wm.setAnimationScale(0, scale); in setIsEnabled() 173 wm.setAnimationScale(1, scale); in setIsEnabled() 174 wm.setAnimationScale(2, scale); in setIsEnabled()
|
/packages/apps/Settings/src/com/android/settings/development/qstile/ |
D | DevelopmentTiles.java | 159 IWindowManager wm = WindowManagerGlobal.getWindowManagerService(); in isEnabled() local 161 return wm.getAnimationScale(0) != 1; in isEnabled() 169 IWindowManager wm = WindowManagerGlobal.getWindowManagerService(); in setIsEnabled() local 172 wm.setAnimationScale(0, scale); in setIsEnabled() 173 wm.setAnimationScale(1, scale); in setIsEnabled() 174 wm.setAnimationScale(2, scale); in setIsEnabled()
|
/packages/services/Car/service/src/com/android/car/systeminterface/ |
D | DisplayInterface.java | 244 IWindowManager wm = IWindowManager.Stub in reconfigureSecondaryDisplays() local 246 if (wm == null) { in reconfigureSecondaryDisplays() 260 int windowingMode = wm.getWindowingMode(displayId); in reconfigureSecondaryDisplays() 261 wm.setWindowingMode(displayId, windowingMode); in reconfigureSecondaryDisplays()
|
/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/dynamicui/ |
D | WallpaperManagerCompatVL.java | 210 WallpaperManager wm = WallpaperManager.getInstance(this); in run() local 211 WallpaperInfo info = wm.getWallpaperInfo(); in run() 216 try (ParcelFileDescriptor fd = wm.getWallpaperFile(FLAG_SYSTEM)) { in run() 237 drawable = wm.getDrawable(); in run()
|
/packages/services/Car/service/src/com/android/car/user/ |
D | CarUserNoticeService.java | 229 IWindowManager wm = WindowManagerGlobal.getWindowManagerService(); in checkKeyguardLockedWithPolling() local 231 if (wm != null) { in checkKeyguardLockedWithPolling() 233 locked = wm.isKeyguardLocked(); in checkKeyguardLockedWithPolling()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
D | MtpBitmapFetch.java | 109 WindowManager wm = (WindowManager) context.getSystemService(Context.WINDOW_SERVICE); in configureForContext() local 110 wm.getDefaultDisplay().getMetrics(metrics); in configureForContext()
|
/packages/apps/Camera2/src/com/android/camera/settings/ |
D | ResolutionUtil.java | 410 WindowManager wm = AndroidServices.instance().provideWindowManager(); in getDisplayMetrics() local 411 if (wm != null) { in getDisplayMetrics() 412 wm.getDefaultDisplay().getMetrics(displayMetrics); in getDisplayMetrics()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/ |
D | ColorPickerDialog.java | 49 WindowManager wm = (WindowManager) context.getSystemService(Context.WINDOW_SERVICE); in ColorPickerDialog() local 50 wm.getDefaultDisplay().getMetrics(metrics); in ColorPickerDialog()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/ |
D | ToggleScreenMagnificationPreferenceFragment.java | 238 WindowManager wm = (WindowManager) context.getSystemService(Context.WINDOW_SERVICE); in getScreenWidth() local 239 Display display = wm.getDefaultDisplay(); in getScreenWidth()
|
/packages/apps/LegacyCamera/jni/ |
D | mosaic_renderer_jni.cpp | 399 int wm = gPreviewFBOWidth; in AllocateTextureMemory() local 405 gKm[0] = wm / 2.0 - 0.5; in AllocateTextureMemory() 407 gKm[2] = wm / 2.0 - 0.5; in AllocateTextureMemory()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | ToggleScreenMagnificationPreferenceFragment.java | 278 WindowManager wm = (WindowManager) context.getSystemService(Context.WINDOW_SERVICE); in getScreenWidth() local 279 Display display = wm.getDefaultDisplay(); in getScreenWidth()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | IccLockSettings.java | 524 WindowManager wm = (WindowManager) getSystemService(Context.WINDOW_SERVICE); in createCustomTextToast() local 525 wm.addView(v, params); in createCustomTextToast() 530 wm.removeViewImmediate(v); in createCustomTextToast()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | LatinIME.java | 606 final WindowManager wm = getSystemService(WindowManager.class); in onCreate() local 607 mDisplayContext = createDisplayContext(wm.getDefaultDisplay()); in onCreate() 608 mCurDisplayId = wm.getDefaultDisplay().getDisplayId(); in onCreate() 804 final WindowManager wm = getSystemService(WindowManager.class); in onInitializeInterface() local 805 final int newDisplayId = wm.getDefaultDisplay().getDisplayId(); in onInitializeInterface() 808 mDisplayContext = createDisplayContext(wm.getDefaultDisplay()); in onInitializeInterface()
|
/packages/apps/Settings/src/com/android/settings/ |
D | IccLockSettings.java | 581 final WindowManager wm = (WindowManager) getSystemService(Context.WINDOW_SERVICE); in createCustomTextToast() local 582 wm.addView(v, params); in createCustomTextToast() 587 wm.removeViewImmediate(v); in createCustomTextToast()
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | GalleryUtils.java | 81 WindowManager wm = (WindowManager) in initialize() local 83 wm.getDefaultDisplay().getMetrics(metrics); in initialize()
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | PicasaSource.java | 97 WindowManager wm = (WindowManager) in getDisplayLongSide() local 99 wm.getDefaultDisplay().getMetrics(metrics); in getDisplayLongSide()
|
/packages/services/Car/tools/perf/janky-frame-test/ |
D | janky-frame-test.sh | 93 readonly WM_SIZE=$(adb shell wm size)
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | Util.java | 96 WindowManager wm = (WindowManager) in initialize() local 98 wm.getDefaultDisplay().getMetrics(metrics); in initialize()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | TileImageView.java | 147 WindowManager wm = (WindowManager) in isHighResolution() local 149 wm.getDefaultDisplay().getMetrics(metrics); in isHighResolution()
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
D | TiledImageRenderer.java | 167 WindowManager wm = (WindowManager) in isHighResolution() local 169 wm.getDefaultDisplay().getMetrics(metrics); in isHighResolution()
|