/frameworks/base/core/tests/coretests/src/android/text/ |
D | TextLineTest.java | 49 final TextLine tl = TextLine.obtain(); in stretchesToFullWidth() local 50 tl.set(paint, line, 0, line.length(), Layout.DIR_LEFT_TO_RIGHT, in stretchesToFullWidth() 53 final float originalWidth = tl.metrics(null, null, false, null); in stretchesToFullWidth() 56 tl.justify(Layout.JUSTIFICATION_MODE_INTER_WORD, expandedWidth); in stretchesToFullWidth() 57 final float newWidth = tl.metrics(null, null, false, null); in stretchesToFullWidth() 58 TextLine.recycle(tl); in stretchesToFullWidth() 116 TextLine tl = TextLine.obtain(); in getTextLine() local 117 tl.set(paint, str, 0, str.length(), in getTextLine() 121 return tl; in getTextLine() 128 private void assertMeasurements(final TextLine tl, final int length, boolean trailing, in assertMeasurements() argument [all …]
|
D | TextLineJustificationTest.kt | 53 val tl = makeTextLine(line, PAINT) in justifyTest_WithoutJustify() constant 57 assertThat(tl.isJustifying).isFalse() in justifyTest_WithoutJustify() 58 assertThat(tl.addedWordSpacingInPx).isEqualTo(0) in justifyTest_WithoutJustify() 59 assertThat(tl.addedLetterSpacingInPx).isEqualTo(0) in justifyTest_WithoutJustify() 69 val tl = makeTextLine(line, PAINT) in justifyTest_IntrCharacter_Latin() constant 70 tl.justify(Layout.JUSTIFICATION_MODE_INTER_CHARACTER, originalWidth + extraWidth) in justifyTest_IntrCharacter_Latin() 72 assertThat(tl.isJustifying).isTrue() in justifyTest_IntrCharacter_Latin() 73 assertThat(tl.addedWordSpacingInPx).isEqualTo(0) in justifyTest_IntrCharacter_Latin() 74 assertThat(tl.addedLetterSpacingInPx).isEqualTo(extraWidth / (clusterCount - 1)) in justifyTest_IntrCharacter_Latin() 76 TextLine.recycle(tl) in justifyTest_IntrCharacter_Latin() [all …]
|
/frameworks/base/core/java/android/text/ |
D | TextShaper.java | 218 TextLine tl = TextLine.obtain(); in shapeText() local 220 tl.set(paint, text, start, start + count, in shapeText() 228 tl.shape(consumer); in shapeText() 230 TextLine.recycle(tl); in shapeText()
|
D | Layout.java | 785 TextLine tl = TextLine.obtain(); in drawText() local 925 tl.set(paint, buf, start, end, dir, directions, hasTab, tabStops, in drawText() 930 tl.justify(mJustificationMode, right - left - indentWidth); in drawText() 932 tl.draw(canvas, x, ltop, lbaseline, lbottom); in drawText() 936 TextLine.recycle(tl); in drawText() 1256 TextLine tl = TextLine.obtain(); in computeDrawingBoundingBox() local 1284 tl.set(paint, mText, start, end, dir, directions, hasTabs, tabStops, in computeDrawingBoundingBox() 1288 tl.justify(mJustificationMode, getJustifyWidth(line)); in computeDrawingBoundingBox() 1290 tl.metrics(null, rectF, false, null); in computeDrawingBoundingBox() 1313 TextLine.recycle(tl); in computeDrawingBoundingBox() [all …]
|
D | TextLine.java | 149 TextLine tl; in obtain() local 153 tl = sCached[i]; in obtain() 155 return tl; in obtain() 159 tl = new TextLine(); in obtain() 161 Log.v("TLINE", "new: " + tl); in obtain() 163 return tl; in obtain() 174 public static TextLine recycle(TextLine tl) { in recycle() argument 175 tl.mText = null; in recycle() 176 tl.mPaint = null; in recycle() 177 tl.mDirections = null; in recycle() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/ |
D | PrivacyDotViewController.kt | 78 private lateinit var tl: View in <lambda>() variable 100 get() = if (!this::tl.isInitialized) sequenceOf() else sequenceOf(tl, tr, br, bl) in <lambda>() 265 tl.context.display?.getRealSize(size) in <lambda>() 266 val currentRotation = RotationUtils.getExactRotation(tl.context) in <lambda>() 278 var rot = activeRotationForCorner(tl, rtl) in <lambda>() 280 tl.setPadding(0, state.paddingTop, 0, 0) in <lambda>() 281 (tl.layoutParams as FrameLayout.LayoutParams).apply { in <lambda>() 334 if (!this::tl.isInitialized) { in <lambda>() 339 0 -> if (isRtl) tl else tr in <lambda>() 342 3 -> if (isRtl) bl else tl in <lambda>() [all …]
|
/frameworks/av/media/libaudioclient/ |
D | TrackPlayerBase.cpp | 122 float tl = mPlayerVolumeL * mPanMultiplierL * mVolumeMultiplierL; in doSetVolume() local 124 mAudioTrack->setVolume(tl, tr); in doSetVolume()
|
/frameworks/base/tools/aapt2/integration-tests/DumpTest/ |
D | minimal_expected.txt | 62 application-label-tl:'Bubble Girl' 91 …l' 'pt-BR' 'pt-PT' 'ro' 'ru' 'sk' 'sl' 'sq' 'sr' 'su' 'sv' 'ta' 'te' 'th' 'tl' 'tr' 'tt' 'uk' 'vi'…
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosink/ |
D | MediaEncoderFilter.java | 187 Point tl = new Point(0, 1); in MediaEncoderFilter() local 189 mSourceRegion = new Quad(bl, br, tl, tr); in MediaEncoderFilter()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/ |
D | TvPipKeepClearAlgorithm.kt | 634 val tl = Point(r.left, r.top) in <lambda>() constant 638 val corners = arrayOf(tl, tr, br, bl) in <lambda>() 678 val tl = Point(r.left, r.top) in <lambda>() constant 682 val corners = arrayOf(tl, tr, br, bl) in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | ScreenDecorationsTest.java | 357 View tl = findViewFromOverlays(R.id.privacy_dot_top_left_container); in verifyTopDotViewsNullable() local 360 assertNull(tl); in verifyTopDotViewsNullable() 363 assertNotNull(tl); in verifyTopDotViewsNullable() 387 View tl = findViewFromOverlays(R.id.privacy_dot_top_left_container); in verifyTopDotViewsVisibility() local 389 assertThat(tl.getVisibility()).isEqualTo(visibility); in verifyTopDotViewsVisibility()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ScreenDecorations.java | 674 final View tl, tr, bl, br; in setupDecorationsInner() local 675 if ((tl = getOverlayView(R.id.privacy_dot_top_left_container)) != null in setupDecorationsInner() 681 mDotViewController.initialize(tl, tr, bl, br); in setupDecorationsInner()
|
/frameworks/base/services/tests/mockingservicestests/res/raw/ |
D | backup_telephony_no_password | 27 …�V���c��h¾��9f+�R��&rs/�l5\����w��=�A|j�6t��y��c+ w{� ���t�7�=�&tl���5x���#������O"jL)…
|
/frameworks/av/media/libstagefright/httplive/fuzzer/corpus/ |
D | audio | 312 …b�e��D�C�eb���%�I�P�Q�^Y$�*���RS��`ˋ7�R��je�����{tl��W~�p��=�)�l�ià����~dp��aA`/Ĩg,yR��2��檔ޅ… 568 …b�e��D�C�eb���%�I�P�Q�^Y$�*���RS��`ˋ7�R��je�����{tl��W~�p��=�)�l�ià����~dp��aA`/Ĩg,yR��2��檔ޅ…
|
D | master_playlist | 604 …b�e��D�C�eb���%�I�P�Q�^Y$�*���RS��`ˋ7�R��je�����{tl��W~�p��=�)�l�ià����~dp��aA`/Ĩg,yR��2��檔ޅ…
|
/frameworks/proto_logging/stats/ |
D | atoms.proto | 3232 // than normal, whether the screen layout is right-tl-left or left-to-right,
|