Searched refs:mt (Results 1 - 10 of 10) sorted by relevance

/frameworks/minikin/tests/stresstest/
H A DMultithreadTest.cpp45 std::mt19937* mt, int lettersInWord, int wordsInText) {
55 text.emplace_back(dist(*mt));
68 std::mt19937 mt(tid);
78 std::vector<uint16_t> text = generateTestText(&mt, 3, 10);
44 generateTestText( std::mt19937* mt, int lettersInWord, int wordsInText) argument
/frameworks/minikin/tests/unittest/
H A DSparseBitSetTest.cpp27 std::mt19937 mt; // Fix seeds to be able to reproduce the result. local
30 std::vector<uint32_t> range { distribution(mt) };
32 range.push_back((range.back() - 1) + distribution(mt));
/frameworks/base/core/java/android/text/
H A DMeasuredText.java52 MeasuredText mt;
56 mt = sCached[i];
58 return mt;
62 mt = new MeasuredText();
64 Log.v("MEAS", "new: " + mt);
66 return mt;
69 static MeasuredText recycle(MeasuredText mt) { argument
70 mt.finish();
74 sCached[i] = mt;
75 mt
[all...]
H A DTextUtils.java1150 MeasuredText mt = MeasuredText.obtain();
1152 float width = setPara(mt, paint, text, 0, text.length(), textDir);
1172 right = len - mt.breakText(len, false, avail);
1174 left = mt.breakText(len, true, avail);
1176 right = len - mt.breakText(len, false, avail / 2);
1177 avail -= mt.measure(right, len);
1178 left = mt.breakText(right, true, avail);
1185 char[] buf = mt.mChars;
1223 MeasuredText.recycle(mt);
1340 MeasuredText mt
1402 setPara(MeasuredText mt, TextPaint paint, CharSequence text, int start, int end, TextDirectionHeuristic textDir) argument
[all...]
H A DLayout.java1844 MeasuredText mt = MeasuredText.obtain();
1847 mt.setPara(text, start, end, textDir, null);
1850 if (mt.mEasy) {
1854 directions = AndroidBidi.directions(mt.mDir, mt.mLevels,
1855 0, mt.mChars, 0, mt.mLen);
1856 dir = mt.mDir;
1858 char[] chars = mt.mChars;
1859 int len = mt
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
H A DCachedPathIteratorFactory.java130 float mt = t0 + (t1 - t0) / 2;
131 float mu = 1 - mt;
132 float mx = mu * mu * coords[0] + 2 * mu * mt * coords[2] + mt * mt * coords[4];
133 float my = mu * mu * coords[1] + 2 * mu * mt * coords[3] + mt * mt * coords[5];
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
H A DViewfinderProcessor.java210 long mt = System.nanoTime();
214 mt = System.nanoTime() - mt;
215 Log.v(TAG, " hough = " + df.format(mt * 1E-6) + "ms");
/frameworks/base/core/jni/
H A Dandroid_util_EventLog.cpp302 static struct { jclass *c; const char *name, *mt; jmethodID *id; } gMethods[] = { member in struct:android::__anon1118
320 *gMethods[i].c, gMethods[i].name, gMethods[i].mt);
H A Dandroid_app_admin_SecurityLog.cpp285 static struct { jclass *c; const char *name, *mt; jmethodID *id; } gMethods[] = { member in struct:android::__anon1047
303 *gMethods[i].c, gMethods[i].name, gMethods[i].mt);
/frameworks/av/media/libstagefright/
H A DMPEG4Extractor.cpp1085 int32_t mt; local
1087 !mDataSource->getUInt32(entriesoffset + 4, (uint32_t*)&mt)) {
1091 media_time = mt;

Completed in 332 milliseconds