Home
last modified time | relevance | path

Searched refs:ascent (Results 1 – 9 of 9) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
DLabelMaker.java187 int ascent = 0; in add() local
192 ascent = (int) Math.ceil(-textPaint.ascent()); in add()
196 int textHeight = ascent + descent; in add()
234 int vBase = v + ascent; in add()
253 mLabels.add(new Label(width, height, ascent, in add()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DPolyToPoly.java58 float y = 64/2 - (mFontMetrics.ascent + mFontMetrics.descent)/2; in doDraw()
DAlphaBitmap.java57 c.drawText("Alpha", x/2, (y-fm.ascent)/2, p); in drawIntoBitmap()
DColorFilters.java91 mPaintTextOffset = (fm.descent + fm.ascent) * 0.5f; in SampleView()
DTouchPaint.java303 ((height-size)/2) - fm.ascent, mPaint); in text()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DLabelView.java168 mAscent = (int) mTextPaint.ascent(); in measureHeight()
DInternalSelectionView.java172 rectTop + 2 - (int) mTextPaint.ascent(), in onDraw()
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
DCandidateView.java179 final int y = (int) (((height - mPaint.getTextSize()) / 2) - mPaint.ascent()); in onDraw()
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/
Dcommit.csv5398 …nal/harfbuzz_ng,fake_GXODyrWJQQ29rUizEM8-6A@fakeemail.com,Use horizontal ascent as fallback vertic…
28393 …orm/external/noto-fonts,fake_9lVTMhJRSeODW5sBb8OEqw@fakeemail.com,Change ascent and descent of Not…
104518 …m/frameworks/base,fake_9lVTMhJRSeODW5sBb8OEqw@fakeemail.com,Add test for ascent and descent of ser…