Searched refs:dipToPixel (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskPositioner.java | 31 import static com.android.server.wm.WindowManagerService.dipToPixel; 310 mSideMargin = dipToPixel(SIDE_MARGIN_DIP, mDisplayMetrics); in register() 311 mMinVisibleWidth = dipToPixel(MINIMUM_VISIBLE_WIDTH_IN_DP, mDisplayMetrics); in register() 312 mMinVisibleHeight = dipToPixel(MINIMUM_VISIBLE_HEIGHT_IN_DP, mDisplayMetrics); in register()
|
D | DockedStackDividerController.java | 264 mDividerWindowWidthInactive = WindowManagerService.dipToPixel( in loadDimens()
|
D | DisplayContent.java | 94 import static com.android.server.wm.WindowManagerService.dipToPixel; 1780 final int delta = dipToPixel(RESIZE_HANDLE_WIDTH_IN_DP, mDisplayMetrics); in findTaskForResizePoint() 1803 final int delta = dipToPixel(RESIZE_HANDLE_WIDTH_IN_DP, mDisplayMetrics); in setTouchExcludeRegion()
|
D | WindowState.java | 856 final int minVisibleHeight = Math.min(height, WindowManagerService.dipToPixel( in computeFrameLw() 858 final int minVisibleWidth = Math.min(width, WindowManagerService.dipToPixel( in computeFrameLw() 2167 final int delta = WindowManagerService.dipToPixel( in getTouchableRegion()
|
D | WindowManagerService.java | 7001 static int dipToPixel(int dip, DisplayMetrics displayMetrics) { in dipToPixel() method in WindowManagerService
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
D | TaskPositionerTests.java | 32 import static com.android.server.wm.WindowManagerService.dipToPixel; 65 mMinVisibleWidth = dipToPixel(MINIMUM_VISIBLE_WIDTH_IN_DP, dm); in setUp() 66 mMinVisibleHeight = dipToPixel(MINIMUM_VISIBLE_HEIGHT_IN_DP, dm); in setUp()
|