Home
last modified time | relevance | path

Searched refs:numChars (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DGlyphCacheActivity.java61 int numChars = 5 + (int) (Math.random() * 10); in createTextView() local
62 mTotalChars += numChars; in createTextView()
63 textview.setText(createString(numChars)); in createTextView()
/frameworks/base/media/tests/omxjpegdecoder/
Domx_jpeg_decoder.cpp53 int numChars = fwrite(data, sizeof(char), 1024, pFile); in getJpegOutput() local
54 int numBytes = numChars * sizeof(char); in getJpegOutput()
74 int numChars = fwrite(data, sizeof(char), 1024, fp); in storeBitmapToFile() local
75 int numBytes = numChars * sizeof(char); in storeBitmapToFile()
/frameworks/base/core/jni/
Dandroid_view_KeyCharacterMap.cpp145 jsize numChars = env->GetArrayLength(charsArray); in nativeGetMatch() local
151 char16_t result = map->getMap()->getMatch(keyCode, chars, size_t(numChars), metaState); in nativeGetMatch()
175 jsize numChars = env->GetArrayLength(charsArray); in nativeGetEvents() local
179 if (map->getMap()->getEvents(map->getDeviceId(), chars, size_t(numChars), events)) { in nativeGetEvents()
/frameworks/native/libs/input/
DKeyCharacterMap.cpp75 static String8 toString(const char16_t* chars, size_t numChars) { in toString() argument
77 for (size_t i = 0; i < numChars; i++) { in toString()
267 char16_t KeyCharacterMap::getMatch(int32_t keyCode, const char16_t* chars, size_t numChars, in getMatch() argument
277 for (size_t i = 0; i < numChars; i++) { in getMatch()
292 keyCode, toString(chars, numChars).string(), metaState, result); in getMatch()
297 bool KeyCharacterMap::getEvents(int32_t deviceId, const char16_t* chars, size_t numChars, in getEvents() argument
301 for (size_t i = 0; i < numChars; i++) { in getEvents()
307 deviceId, toString(chars, numChars).string(), ch); in getEvents()
320 deviceId, toString(chars, numChars).string(), int32_t(outEvents.size())); in getEvents()
/frameworks/native/include/input/
DKeyCharacterMap.h115 size_t numChars, int32_t metaState) const;
120 bool getEvents(int32_t deviceId, const char16_t* chars, size_t numChars,
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmSmsTest.java471 int numChars = 128 - tableIndex.length; in testDecodeExtendedFallback() local
472 int numSeptets = numChars * 2; // two septets per extended char in testDecodeExtendedFallback()