Lines Matching refs:metrics
91 final DisplayMetrics metrics = getContext().getResources().getDisplayMetrics();
92 final boolean isPortrait = metrics.widthPixels < metrics.heightPixels;
103 w = (int) tvw.getDimension(metrics);
105 w = (int) tvw.getFraction(metrics.widthPixels, metrics.widthPixels);
122 h = (int) tvh.getDimension(metrics);
124 h = (int) tvh.getFraction(metrics.heightPixels, metrics.heightPixels);
147 min = (int) tv.getDimension(metrics);
149 min = (int) tv.getFraction(metrics.widthPixels, metrics.widthPixels);