Searched refs:dipToPixel (Results 1 – 7 of 7) sorted by relevance
28 import static com.android.server.wm.WindowManagerService.dipToPixel;314 mSideMargin = dipToPixel(SIDE_MARGIN_DIP, mDisplayMetrics); in register()315 mMinVisibleWidth = dipToPixel(MINIMUM_VISIBLE_WIDTH_IN_DP, mDisplayMetrics); in register()316 mMinVisibleHeight = dipToPixel(MINIMUM_VISIBLE_HEIGHT_IN_DP, mDisplayMetrics); in register()
318 mDividerWindowWidthInactive = WindowManagerService.dipToPixel( in loadDimens()
775 return (int)Math.ceil(mWmService.dipToPixel(PINNED_WINDOWING_MODE_ELEVATION_IN_DIP, in getStackOutset()
139 import static com.android.server.wm.WindowManagerService.dipToPixel;2472 final int delta = dipToPixel(RESIZE_HANDLE_WIDTH_IN_DP, mDisplayMetrics); in findTaskForResizePoint()2494 final int delta = dipToPixel(RESIZE_HANDLE_WIDTH_IN_DP, mDisplayMetrics); in updateTouchExcludeRegion()
2345 final int delta = WindowManagerService.dipToPixel( in getSurfaceTouchableRegion()
6612 static int dipToPixel(int dip, DisplayMetrics displayMetrics) { in dipToPixel() method in WindowManagerService
25 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()