Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/text/
DTextLineTest.java48 final TextLine tl = TextLine.obtain(); in stretchesToFullWidth() local
49 tl.set(paint, line, 0, line.length(), Layout.DIR_LEFT_TO_RIGHT, in stretchesToFullWidth()
52 final float originalWidth = tl.metrics(null); in stretchesToFullWidth()
55 tl.justify(expandedWidth); in stretchesToFullWidth()
56 final float newWidth = tl.metrics(null); in stretchesToFullWidth()
57 TextLine.recycle(tl); in stretchesToFullWidth()
104 TextLine tl = TextLine.obtain(); in getTextLine() local
105 tl.set(paint, str, 0, str.length(), in getTextLine()
109 return tl; in getTextLine()
116 private void assertMeasurements(final TextLine tl, final int length, boolean trailing, in assertMeasurements() argument
[all …]
/frameworks/base/core/java/android/text/
DLayout.java431 TextLine tl = TextLine.obtain(); in drawText() local
570 tl.set(paint, buf, start, end, dir, directions, hasTab, tabStops, in drawText()
574 tl.justify(right - left - indentWidth); in drawText()
576 tl.draw(canvas, x, ltop, lbaseline, lbottom); in drawText()
580 TextLine.recycle(tl); in drawText()
1210 TextLine tl = TextLine.obtain(); in getHorizontal() local
1211 tl.set(mPaint, mText, start, end, dir, directions, hasTab, tabStops, in getHorizontal()
1213 float wid = tl.measure(offset - start, trailing, null); in getHorizontal()
1214 TextLine.recycle(tl); in getHorizontal()
1250 TextLine tl = TextLine.obtain(); in getLineHorizontals() local
[all …]
DTextLine.java109 TextLine tl; in obtain() local
113 tl = sCached[i]; in obtain()
115 return tl; in obtain()
119 tl = new TextLine(); in obtain()
121 Log.v("TLINE", "new: " + tl); in obtain()
123 return tl; in obtain()
134 public static TextLine recycle(TextLine tl) { in recycle() argument
135 tl.mText = null; in recycle()
136 tl.mPaint = null; in recycle()
137 tl.mDirections = null; in recycle()
[all …]
/frameworks/av/media/libaudioclient/
DTrackPlayerBase.cpp99 float tl = mPlayerVolumeL * mPanMultiplierL * mVolumeMultiplierL; in doSetVolume() local
101 mAudioTrack->setVolume(tl, tr); in doSetVolume()
/frameworks/base/core/java/com/android/internal/app/
DPlatLogoActivity.java99 View.OnTouchListener tl = new View.OnTouchListener() { in onCreate() local
141 findViewById(R.id.one).setOnTouchListener(tl); in onCreate()
142 findViewById(R.id.zero).setOnTouchListener(tl); in onCreate()
143 findViewById(R.id.text).setOnTouchListener(tl); in onCreate()
/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/services/tests/servicestests/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/base/cmds/statsd/src/
Datoms.proto1421 // than normal, whether the screen layout is right-tl-left or left-to-right,