Home
last modified time | relevance | path

Searched refs:mMetrics (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Terminal/src/com/android/terminal/
DTerminalLineView.java38 private final TerminalMetrics mMetrics; field in TerminalLineView
43 mMetrics = metrics; in TerminalLineView()
49 getDefaultSize(mMetrics.charHeight, heightMeasureSpec)); in onMeasure()
62 final TerminalMetrics m = mMetrics; in onDraw()
DTerminalView.java59 private final TerminalMetrics mMetrics = new TerminalMetrics(); field in TerminalView
164 view = new TerminalLineView(parent.getContext(), mTerm, mMetrics);
253 final int rows = h / mMetrics.charHeight; in onSizeChanged()
254 final int cols = w / mMetrics.charWidth; in onSizeChanged()
286 mMetrics.cursorPaint.setColor(0xfff0f0f0); in setTerminal()
301 mMetrics.setTextSize(textSize); in setTextSize()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DStringTexture.java34 private final FontMetricsInt mMetrics; field in StringTexture
41 mMetrics = metrics; in StringTexture()
84 canvas.translate(0, -mMetrics.ascent); in onDraw()
/packages/services/Car/car-support-lib/src/android/support/car/app/menu/
DCarMenu.java36 private final DisplayMetrics mMetrics; field in CarMenu
39 mMetrics = metrics; in CarMenu()
67 return Utils.snapshot(mMetrics, drawable); in snapshot()
/packages/apps/Settings/src/com/android/settings/
DActivityPicker.java328 private final DisplayMetrics mMetrics; field in ActivityPicker.IconResizer
336 mMetrics = metrics; in IconResizer()
371 bitmapDrawable.setTargetDensity(mMetrics); in createIconThumbnail()
405 ((BitmapDrawable) icon).setTargetDensity(mMetrics); in createIconThumbnail()
420 ((BitmapDrawable) icon).setTargetDensity(mMetrics); in createIconThumbnail()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DTextCandidates1LineViewManager.java120 private final DisplayMetrics mMetrics = new DisplayMetrics(); field in TextCandidates1LineViewManager
210 mMetrics.setToDefaults(); in TextCandidates1LineViewManager()
229 mCandidateMinimumWidth = (int)(CANDIDATE_MINIMUM_WIDTH * mMetrics.density); in initView()