Searched refs:ascent (Results 1 – 9 of 9) sorted by relevance
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
D | LabelMaker.java | 187 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/ |
D | PolyToPoly.java | 58 float y = 64/2 - (mFontMetrics.ascent + mFontMetrics.descent)/2; in doDraw()
|
D | AlphaBitmap.java | 57 c.drawText("Alpha", x/2, (y-fm.ascent)/2, p); in drawIntoBitmap()
|
D | ColorFilters.java | 91 mPaintTextOffset = (fm.descent + fm.ascent) * 0.5f; in SampleView()
|
D | TouchPaint.java | 303 ((height-size)/2) - fm.ascent, mPaint); in text()
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | LabelView.java | 168 mAscent = (int) mTextPaint.ascent(); in measureHeight()
|
D | InternalSelectionView.java | 172 rectTop + 2 - (int) mTextPaint.ascent(), in onDraw()
|
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/ |
D | CandidateView.java | 179 final int y = (int) (((height - mPaint.getTextSize()) / 2) - mPaint.ascent()); in onDraw()
|
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/ |
D | commit.csv | 5398 …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…
|