HomeSort by relevance Sort by last modified time
    Searched defs:mMetrics (Results 1 - 9 of 9) sorted by null

  /packages/apps/Camera/src/com/android/camera/ui/
StringTexture.java 29 private final FontMetricsInt mMetrics;
36 mMetrics = metrics;
59 canvas.translate(DEFAULT_PADDING, DEFAULT_PADDING - mMetrics.ascent);
  /frameworks/base/core/java/android/view/
Display.java 166 private final DisplayMetrics mMetrics;
170 mMetrics = metrics;
175 return mMetrics.widthPixels;
180 return mMetrics.heightPixels;
  /packages/apps/Camera/src/com/android/camera/
PreviewFrameLayout.java 41 private final DisplayMetrics mMetrics = new DisplayMetrics();
46 .getDefaultDisplay().getMetrics(mMetrics);
85 (int) (MIN_HORIZONTAL_MARGIN * mMetrics.density));
  /cts/tests/tests/content/src/android/content/res/cts/
ConfigTest.java 81 private DisplayMetrics mMetrics;
95 mMetrics = new DisplayMetrics();
96 mMetrics.widthPixels = 200;
97 mMetrics.heightPixels = 320;
98 mMetrics.density = 1;
125 mMetrics.widthPixels = value;
128 mMetrics.heightPixels = value;
133 mMetrics.density = (((float)value)/((float)DisplayMetrics.DENSITY_DEFAULT));
160 return new Resources(assmgr, mMetrics, mConfig);
  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
TextCandidatesViewManager.java 166 private final DisplayMetrics mMetrics = new DisplayMetrics();
251 mMetrics.setToDefaults();
268 mCandidateMinimumWidth = (int)(CANDIDATE_MINIMUM_WIDTH * mMetrics.density);
269 mCandidateMinimumHeight = (int)(CANDIDATE_MINIMUM_HEIGHT * mMetrics.density);
    [all...]
  /frameworks/base/core/java/android/content/res/
Resources.java 88 /*package*/ final DisplayMetrics mMetrics = new DisplayMetrics();
153 mMetrics.setToDefaults();
458 return TypedValue.complexToDimension(value.data, mMetrics);
491 value.data, mMetrics);
525 value.data, mMetrics);
    [all...]
  /packages/apps/Settings/src/com/android/settings/
ActivityPicker.java 324 private final DisplayMetrics mMetrics;
332 mMetrics = metrics;
367 bitmapDrawable.setTargetDensity(mMetrics);
401 ((BitmapDrawable) icon).setTargetDensity(mMetrics);
415 ((BitmapDrawable) icon).setTargetDensity(mMetrics);
  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
Paint.java 56 java.awt.FontMetrics mMetrics;
265 info.mMetrics = Toolkit.getDefaultToolkit().getFontMetrics(info.mFont);
356 java.awt.FontMetrics javaMetrics = mFonts.get(0).mMetrics;
374 java.awt.FontMetrics javaMetrics = mFonts.get(0).mMetrics;
764 java.awt.FontMetrics javaMetrics = mFonts.get(0).mMetrics;
782 java.awt.FontMetrics javaMetrics = mFonts.get(0).mMetrics;
811 return total + mainFont.mMetrics.charsWidth(text, i, lastIndex - i);
813 total += mainFont.mMetrics.charsWidth(text, i, upTo - i);
833 total += fontInfo.mMetrics.charsWidth(text, i, charCount);
844 total += mainFont.mMetrics.charsWidth(text, i, size)
    [all...]
  /frameworks/base/services/java/com/android/server/
PackageManagerService.java 200 final DisplayMetrics mMetrics;
719 mMetrics = new DisplayMetrics();
762 d.getMetrics(mMetrics);
    [all...]

Completed in 981 milliseconds