Searched refs:precomputed (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | TextViewTest.java | 256 PrecomputedText precomputed = in testUseDynamicLayout() local 268 mTextView.setText(precomputed); in testUseDynamicLayout() 272 mTextView.setText(precomputed); in testUseDynamicLayout() 281 PrecomputedText precomputed = in testUseDynamicLayout_SPANNABLE() local 294 mTextView.setText(precomputed, BufferType.SPANNABLE); in testUseDynamicLayout_SPANNABLE() 298 mTextView.setText(precomputed, BufferType.SPANNABLE); in testUseDynamicLayout_SPANNABLE() 307 PrecomputedText precomputed = in testUseDynamicLayout_EDITABLE() local 319 mTextView.setText(precomputed, BufferType.EDITABLE); in testUseDynamicLayout_EDITABLE() 323 mTextView.setText(precomputed, BufferType.EDITABLE); in testUseDynamicLayout_EDITABLE()
|
/frameworks/minikin/libs/minikin/ |
D | MeasuredText.cpp | 57 LayoutPieces* precomputed, LayoutPieces* outPieces) const { in getMetrics() argument 61 (precomputed == nullptr) ? LayoutPieces::kNoPaintId : precomputed->findPaintId(mPaint); in getMetrics() 70 precomputed->getOrCreate(textBuf, piece, context, mPaint, info.isRtl, in getMetrics()
|
/frameworks/minikin/include/minikin/ |
D | MeasuredText.h | 49 LayoutPieces* precomputed, LayoutPieces* outPieces) const = 0; 94 LayoutPieces* precomputed, LayoutPieces* outPieces) const override;
|
/frameworks/base/core/java/android/text/ |
D | StaticLayout.java | 656 PrecomputedText precomputed = (PrecomputedText) source; in generate() 658 precomputed.checkResultUsable(bufStart, bufEnd, textDir, paint, in generate() 670 precomputed = PrecomputedText.create(precomputed, newParams); in generate() 671 paragraphInfo = precomputed.getParagraphInfo(); in generate() 675 paragraphInfo = precomputed.getParagraphInfo(); in generate()
|
D | DynamicLayout.java | 712 PrecomputedText precomputed = (PrecomputedText) text; in contentMayProtrudeFromLineTopOrBottom() local 713 precomputed.getBounds(start, end, mTempRect); in contentMayProtrudeFromLineTopOrBottom()
|
/frameworks/base/core/java/android/widget/ |
D | TextView.java | 6196 PrecomputedText precomputed = in setText() local 6207 } else if (precomputed != null) { in setText() 6212 precomputed.getParams().checkResultUsable(getPaint(), mTextDir, mBreakStrategy, in setText() 6220 + "PrecomputedText: " + precomputed.getParams() in setText() 6223 precomputed = PrecomputedText.create(precomputed, getTextMetricsParams()); in setText()
|