Searched refs:dipToPixel (Results 1 – 7 of 7) sorted by relevance
28 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()
318 mDividerWindowWidthInactive = WindowManagerService.dipToPixel( in loadDimens()
775 return (int)Math.ceil(mWmService.dipToPixel(PINNED_WINDOWING_MODE_ELEVATION_IN_DIP, in getStackOutset()
138 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()
2305 final int delta = WindowManagerService.dipToPixel( in getSurfaceTouchableRegion()
6580 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()