Searched refs:drawBounds (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/android/text/ |
D | TextLine.java | 469 public float metrics(FontMetricsInt fmi, @Nullable RectF drawBounds, boolean returnDrawWidth, in metrics() argument 472 if (drawBounds == null) { in metrics() 476 drawBounds = mTmpRectForMeasure; in metrics() 478 drawBounds.setEmpty(); in metrics() 479 float w = measure(mLen, false, fmi, drawBounds, lineInfo); in metrics() 482 boundsWidth = Math.max(drawBounds.right, w) - Math.min(0, drawBounds.left); in metrics() 484 boundsWidth = Math.max(drawBounds.right, 0) - Math.min(w, drawBounds.left); in metrics() 494 return measure(mLen, false, fmi, drawBounds, lineInfo); in metrics() 571 @NonNull FontMetricsInt fmi, @Nullable RectF drawBounds, @Nullable LineInfo lineInfo) { in measure() argument 600 return h + measureRun(segStart, offset, j, runIsRtl, fmi, drawBounds, null, in measure() [all …]
|
/frameworks/base/libs/hwui/jni/ |
D | Paint.cpp | 511 jint advancesIndex, SkRect* drawBounds, uint32_t* clusterCount) { in doRunAdvance() argument 524 drawBounds ? &bounds : nullptr, clusterCount); in doRunAdvance() 525 if (drawBounds) { in doRunAdvance() 526 copyMinikinRectToSkRect(bounds, drawBounds); in doRunAdvance() 532 advancesArray.get(), drawBounds ? &bounds : nullptr, in doRunAdvance() 535 if (drawBounds) { in doRunAdvance() 536 copyMinikinRectToSkRect(bounds, drawBounds); in doRunAdvance() 562 jobject drawBounds, jobject runInfo) { in getRunCharacterAdvance___CIIIIZI_FI_F() argument 571 drawBounds ? &skDrawBounds : nullptr, &clusterCount); in getRunCharacterAdvance___CIIIIZI_FI_F() 572 if (drawBounds != nullptr) { in getRunCharacterAdvance___CIIIIZI_FI_F() [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | Paint.java | 3450 @Nullable float[] advances, int advancesIndex, @Nullable RectF drawBounds, in getRunCharacterAdvance() argument 3484 isRtl, offset, advances, advancesIndex, drawBounds, runInfo); in getRunCharacterAdvance() 3534 @Nullable float[] advances, int advancesIndex, @Nullable RectF drawBounds, in getRunCharacterAdvance() argument 3568 advances, advancesIndex, drawBounds, runInfo); in getRunCharacterAdvance()
|
/frameworks/base/core/java/android/view/ |
D | View.java | 22007 private void getHorizontalScrollBarBounds(@Nullable Rect drawBounds, in getHorizontalScrollBarBounds() argument 22009 final Rect bounds = drawBounds != null ? drawBounds : touchBounds; in getHorizontalScrollBarBounds() 22054 private void getStraightVerticalScrollBarBounds(@Nullable Rect drawBounds, in getStraightVerticalScrollBarBounds() argument 22056 final Rect bounds = drawBounds != null ? drawBounds : touchBounds; in getStraightVerticalScrollBarBounds()
|