Home
last modified time | relevance | path

Searched refs:wm (Results 1 – 25 of 32) sorted by relevance

12

/packages/apps/DeskClock/src/com/android/alarmclock/
DDigitalAppWidgetProvider.java132 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 …]
DDigitalAppWidgetProvider.kt108 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 …]
DAnalogAppWidgetProvider.java41 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()
DAnalogAppWidgetProvider.kt37 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/
DWallpaperUtils.java83 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/
DDevelopmentTiles.java159 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/
DDevelopmentTiles.java159 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/
DDisplayInterface.java244 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/
DWallpaperManagerCompatVL.java210 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/
DCarUserNoticeService.java229 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/
DMtpBitmapFetch.java109 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/
DResolutionUtil.java410 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/
DColorPickerDialog.java49 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/
DToggleScreenMagnificationPreferenceFragment.java238 WindowManager wm = (WindowManager) context.getSystemService(Context.WINDOW_SERVICE); in getScreenWidth() local
239 Display display = wm.getDefaultDisplay(); in getScreenWidth()
/packages/apps/LegacyCamera/jni/
Dmosaic_renderer_jni.cpp399 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/
DToggleScreenMagnificationPreferenceFragment.java278 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/
DIccLockSettings.java524 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/
DLatinIME.java606 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/
DIccLockSettings.java581 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/
DGalleryUtils.java81 WindowManager wm = (WindowManager) in initialize() local
83 wm.getDefaultDisplay().getMetrics(metrics); in initialize()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPicasaSource.java97 WindowManager wm = (WindowManager) in getDisplayLongSide() local
99 wm.getDefaultDisplay().getMetrics(metrics); in getDisplayLongSide()
/packages/services/Car/tools/perf/janky-frame-test/
Djanky-frame-test.sh93 readonly WM_SIZE=$(adb shell wm size)
/packages/apps/LegacyCamera/src/com/android/camera/
DUtil.java96 WindowManager wm = (WindowManager) in initialize() local
98 wm.getDefaultDisplay().getMetrics(metrics); in initialize()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DTileImageView.java147 WindowManager wm = (WindowManager) in isHighResolution() local
149 wm.getDefaultDisplay().getMetrics(metrics); in isHighResolution()
/packages/apps/Gallery2/src/com/android/photos/views/
DTiledImageRenderer.java167 WindowManager wm = (WindowManager) in isHighResolution() local
169 wm.getDefaultDisplay().getMetrics(metrics); in isHighResolution()

12