Searched refs:mWidthPx (Results 1 – 1 of 1) sorted by relevance
103 private int mWidthPx; field in BackgroundManager566 mWidthPx = mContext.getResources().getDisplayMetrics().widthPixels; in BackgroundManager()912 if ((bitmap.getWidth() != mWidthPx || bitmap.getHeight() != mHeightPx)) { in setBitmap()918 if (dwidth * mHeightPx > mWidthPx * dheight) { in setBitmap()921 scale = (float) mWidthPx / (float) dwidth; in setBitmap()924 int subX = Math.min((int) (mWidthPx / scale), dwidth); in setBitmap()