Searched refs:mMetrics (Results 1 – 6 of 6) sorted by relevance
79 private DisplayMetrics mMetrics; field in PlayerActivity93 mMetrics = new DisplayMetrics(); in onCreate()94 getWindowManager().getDefaultDisplay().getMetrics(mMetrics); in onCreate()269 int w = (int) (mMetrics.widthPixels * MEDIA_BAR_WIDTH); in setupController()270 int h = (int) (mMetrics.heightPixels * MEDIA_BAR_HEIGHT); in setupController()271 int marginLeft = (int) (mMetrics.widthPixels * MEDIA_BAR_LEFT_MARGIN); in setupController()272 int marginTop = (int) (mMetrics.heightPixels * MEDIA_BAR_TOP_MARGIN); in setupController()273 int marginRight = (int) (mMetrics.widthPixels * MEDIA_BAR_RIGHT_MARGIN); in setupController()274 int marginBottom = (int) (mMetrics.heightPixels * MEDIA_BAR_BOTTOM_MARGIN); in setupController()
66 private DisplayMetrics mMetrics; field in LeanbackDetailsFragment79 mMetrics = new DisplayMetrics(); in onCreate()80 getActivity().getWindowManager().getDefaultDisplay().getMetrics(mMetrics); in onCreate()189 .resize(mMetrics.widthPixels, mMetrics.heightPixels)
62 private DisplayMetrics mMetrics; field in MainFragment85 mMetrics = new DisplayMetrics(); in prepareBackgroundManager()86 getActivity().getWindowManager().getDefaultDisplay().getMetrics(mMetrics); in prepareBackgroundManager()227 .resize(mMetrics.widthPixels, mMetrics.heightPixels)
73 private DisplayMetrics mMetrics; field in RichSetupFragment112 mMetrics = new DisplayMetrics(); in updateBackground()113 getActivity().getWindowManager().getDefaultDisplay().getMetrics(mMetrics); in updateBackground()117 .resize(mMetrics.widthPixels, mMetrics.heightPixels) in updateBackground()
74 private DisplayMetrics mMetrics; field in MainFragment104 mMetrics = new DisplayMetrics(); in prepareBackgroundManager()105 getActivity().getWindowManager().getDefaultDisplay().getMetrics(mMetrics); in prepareBackgroundManager()204 int width = mMetrics.widthPixels; in updateBackground()205 int height = mMetrics.heightPixels; in updateBackground()
83 private DisplayMetrics mMetrics; field in MovieDetailsFragment157 mMetrics = new DisplayMetrics(); in prepareBackgroundManager()158 getActivity().getWindowManager().getDefaultDisplay().getMetrics(mMetrics); in prepareBackgroundManager()166 .into(new SimpleTarget<GlideDrawable>(mMetrics.widthPixels, mMetrics.heightPixels) { in updateBackground()