Searched refs:dipToPixel (Results 1 – 5 of 5) sorted by relevance
31 import static com.android.server.wm.WindowManagerService.dipToPixel;293 mSideMargin = dipToPixel(SIDE_MARGIN_DIP, mDisplayMetrics); in register()294 mMinVisibleWidth = dipToPixel(MINIMUM_VISIBLE_WIDTH_IN_DP, mDisplayMetrics); in register()295 mMinVisibleHeight = dipToPixel(MINIMUM_VISIBLE_HEIGHT_IN_DP, mDisplayMetrics); in register()
322 final int delta = mService.dipToPixel(RESIZE_HANDLE_WIDTH_IN_DP, mDisplayMetrics); in findTaskForControlPoint()359 final int delta = mService.dipToPixel(RESIZE_HANDLE_WIDTH_IN_DP, mDisplayMetrics); in setTouchExcludeRegion()
226 mDividerWindowWidthInactive = WindowManagerService.dipToPixel( in loadDimens()
815 final int minVisibleHeight = WindowManagerService.dipToPixel( in computeFrameLw()817 final int minVisibleWidth = WindowManagerService.dipToPixel( in computeFrameLw()1680 final int delta = WindowManagerService.dipToPixel( in getTouchableRegion()
10969 static int dipToPixel(int dip, DisplayMetrics displayMetrics) { in dipToPixel() method