Home
last modified time | relevance | path

Searched refs:dipToPixel (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DTaskPositioner.java28 import static com.android.server.wm.WindowManagerService.dipToPixel;
312 mSideMargin = dipToPixel(SIDE_MARGIN_DIP, mDisplayMetrics); in register()
313 mMinVisibleWidth = dipToPixel(MINIMUM_VISIBLE_WIDTH_IN_DP, mDisplayMetrics); in register()
314 mMinVisibleHeight = dipToPixel(MINIMUM_VISIBLE_HEIGHT_IN_DP, mDisplayMetrics); in register()
DDockedStackDividerController.java318 mDividerWindowWidthInactive = WindowManagerService.dipToPixel( in loadDimens()
DTaskStack.java775 return (int)Math.ceil(mWmService.dipToPixel(PINNED_WINDOWING_MODE_ELEVATION_IN_DIP, in getStackOutset()
DDisplayContent.java138 import static com.android.server.wm.WindowManagerService.dipToPixel;
2465 final int delta = dipToPixel(RESIZE_HANDLE_WIDTH_IN_DP, mDisplayMetrics); in findTaskForResizePoint()
2487 final int delta = dipToPixel(RESIZE_HANDLE_WIDTH_IN_DP, mDisplayMetrics); in updateTouchExcludeRegion()
DWindowState.java2305 final int delta = WindowManagerService.dipToPixel( in getSurfaceTouchableRegion()
DWindowManagerService.java6580 static int dipToPixel(int dip, DisplayMetrics displayMetrics) { in dipToPixel() method in WindowManagerService
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskPositionerTests.java25 import static com.android.server.wm.WindowManagerService.dipToPixel;
80 mMinVisibleWidth = dipToPixel(MINIMUM_VISIBLE_WIDTH_IN_DP, dm); in setUp()
81 mMinVisibleHeight = dipToPixel(MINIMUM_VISIBLE_HEIGHT_IN_DP, dm); in setUp()