Searched refs:numChars (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | GlyphCacheActivity.java | 61 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/ |
D | omx_jpeg_decoder.cpp | 52 int numChars = fwrite(data, sizeof(char), 1024, pFile); in getJpegOutput() local 53 int numBytes = numChars * sizeof(char); in getJpegOutput() 73 int numChars = fwrite(data, sizeof(char), 1024, fp); in storeBitmapToFile() local 74 int numBytes = numChars * sizeof(char); in storeBitmapToFile()
|
/frameworks/base/cmds/app_process/ |
D | app_main.cpp | 158 const int numChars = snprintf(dalvikCacheDir, PATH_MAX, in maybeCreateDalvikCache() local 160 LOG_ALWAYS_FATAL_IF((numChars >= PATH_MAX || numChars < 0), in maybeCreateDalvikCache()
|
/frameworks/base/core/jni/ |
D | android_view_KeyCharacterMap.cpp | 145 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/ |
D | KeyCharacterMap.cpp | 76 static String8 toString(const char16_t* chars, size_t numChars) { in toString() argument 78 for (size_t i = 0; i < numChars; i++) { in toString() 268 char16_t KeyCharacterMap::getMatch(int32_t keyCode, const char16_t* chars, size_t numChars, in getMatch() argument 278 for (size_t i = 0; i < numChars; i++) { in getMatch() 293 keyCode, toString(chars, numChars).string(), metaState, result); in getMatch() 298 bool KeyCharacterMap::getEvents(int32_t deviceId, const char16_t* chars, size_t numChars, in getEvents() argument 302 for (size_t i = 0; i < numChars; i++) { in getEvents() 308 deviceId, toString(chars, numChars).string(), ch); in getEvents() 321 deviceId, toString(chars, numChars).string(), int32_t(outEvents.size())); in getEvents()
|
/frameworks/native/include/input/ |
D | KeyCharacterMap.h | 115 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/ |
D | GsmSmsTest.java | 471 int numChars = 128 - tableIndex.length; in testDecodeExtendedFallback() local 472 int numSeptets = numChars * 2; // two septets per extended char in testDecodeExtendedFallback()
|