Home
last modified time | relevance | path

Searched refs:tl (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/text/
DTextLineTest.java49 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 …]
DTextLineJustificationTest.kt53 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/
DTextShaper.java218 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()
DLayout.java785 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 …]
DTextLine.java149 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/
DPrivacyDotViewController.kt78 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/
DTrackPlayerBase.cpp122 float tl = mPlayerVolumeL * mPanMultiplierL * mVolumeMultiplierL; in doSetVolume() local
124 mAudioTrack->setVolume(tl, tr); in doSetVolume()
/frameworks/base/tools/aapt2/integration-tests/DumpTest/
Dminimal_expected.txt62 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/
DMediaEncoderFilter.java187 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/
DTvPipKeepClearAlgorithm.kt634 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/
DScreenDecorationsTest.java357 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/
DScreenDecorations.java674 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/
Dbackup_telephony_no_password27 …�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/
Daudio312 …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��‰檔ޅ…
Dmaster_playlist604 …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/
Datoms.proto3232 // than normal, whether the screen layout is right-tl-left or left-to-right,