Searched refs:mDefaultDisplayMetrics (Results 1 – 1 of 1) sorted by relevance
182 private final DisplayMetrics mDefaultDisplayMetrics = new DisplayMetrics(); field in OverlayDisplayWindow.JellybeanMr1Impl261 mDefaultDisplay.getMetrics(mDefaultDisplayMetrics); in updateDefaultDisplayInfo()305 0 : mDefaultDisplayMetrics.widthPixels; in createWindow()307 0 : mDefaultDisplayMetrics.heightPixels; in createWindow()308 Log.d(TAG, mDefaultDisplayMetrics.toString()); in createWindow()318 scale = Math.min(scale, (float)mDefaultDisplayMetrics.widthPixels / mWidth); in updateWindowParams()319 scale = Math.min(scale, (float)mDefaultDisplayMetrics.heightPixels / mHeight); in updateWindowParams()327 x = Math.max(0, Math.min(x, mDefaultDisplayMetrics.widthPixels - width)); in updateWindowParams()328 y = Math.max(0, Math.min(y, mDefaultDisplayMetrics.heightPixels - height)); in updateWindowParams()