Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DTaskPositioner.java31 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()
DDockedStackDividerController.java264 mDividerWindowWidthInactive = WindowManagerService.dipToPixel( in loadDimens()
DDisplayContent.java94 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()
DWindowState.java856 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()
DWindowManagerService.java7001 static int dipToPixel(int dip, DisplayMetrics displayMetrics) { in dipToPixel() method in WindowManagerService
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DTaskPositionerTests.java32 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()