Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/
DMeasuredText.java52 MeasuredText mt; in obtain() local
56 mt = sCached[i]; in obtain()
58 return mt; in obtain()
62 mt = new MeasuredText(); in obtain()
64 Log.v("MEAS", "new: " + mt); in obtain()
66 return mt; in obtain()
69 static MeasuredText recycle(MeasuredText mt) { in recycle() argument
70 mt.finish(); in recycle()
74 sCached[i] = mt; in recycle()
75 mt.mText = null; in recycle()
DTextUtils.java1116 MeasuredText mt = MeasuredText.obtain(); in ellipsize() local
1118 float width = setPara(mt, paint, text, 0, text.length(), textDir); in ellipsize()
1138 right = len - mt.breakText(len, false, avail); in ellipsize()
1140 left = mt.breakText(len, true, avail); in ellipsize()
1142 right = len - mt.breakText(len, false, avail / 2); in ellipsize()
1143 avail -= mt.measure(right, len); in ellipsize()
1144 left = mt.breakText(right, true, avail); in ellipsize()
1151 char[] buf = mt.mChars; in ellipsize()
1189 MeasuredText.recycle(mt); in ellipsize()
1218 MeasuredText mt = MeasuredText.obtain(); in commaEllipsize() local
[all …]
DLayout.java1684 MeasuredText mt = MeasuredText.obtain();
1687 mt.setPara(text, start, end, TextDirectionHeuristics.LTR, null);
1690 if (mt.mEasy) {
1694 directions = AndroidBidi.directions(mt.mDir, mt.mLevels,
1695 0, mt.mChars, 0, mt.mLen);
1696 dir = mt.mDir;
1698 char[] chars = mt.mChars;
1699 int len = mt.mLen;
1732 MeasuredText.recycle(mt);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DCachedPathIteratorFactory.java130 float mt = t0 + (t1 - t0) / 2; in quadCurveSegment() local
131 float mu = 1 - mt; in quadCurveSegment()
132 float mx = mu * mu * coords[0] + 2 * mu * mt * coords[2] + mt * mt * coords[4]; in quadCurveSegment()
133 float my = mu * mu * coords[1] + 2 * mu * mt * coords[3] + mt * mt * coords[5]; in quadCurveSegment()
/frameworks/base/core/jni/
Dandroid_util_EventLog.cpp286 static struct { jclass *c; const char *name, *mt; jmethodID *id; } gMethods[] = { member
304 *gMethods[i].c, gMethods[i].name, gMethods[i].mt); in register_android_util_EventLog()
Dandroid_app_admin_SecurityLog.cpp285 static struct { jclass *c; const char *name, *mt; jmethodID *id; } gMethods[] = { member
303 *gMethods[i].c, gMethods[i].name, gMethods[i].mt); in register_android_app_admin_SecurityLog()
/frameworks/av/media/libstagefright/
DMPEG4Extractor.cpp1064 int32_t mt; in parseChunk() local
1066 !mDataSource->getUInt32(entriesoffset + 4, (uint32_t*)&mt)) { in parseChunk()
1070 media_time = mt; in parseChunk()
/frameworks/base/core/res/assets/webkit/
Dhyph_en_US.dic3141 4mt