/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/ |
D | Charsets.java | 52 public static byte[] toAsciiBytes(char[] chars, int offset, int length) { in toAsciiBytes() argument 54 cb.put(chars, offset, length); in toAsciiBytes() 62 public static byte[] toIsoLatin1Bytes(char[] chars, int offset, int length) { in toIsoLatin1Bytes() argument 64 cb.put(chars, offset, length); in toIsoLatin1Bytes() 72 public static byte[] toUtf8Bytes(char[] chars, int offset, int length) { in toUtf8Bytes() argument 74 cb.put(chars, offset, length); in toUtf8Bytes() 82 public static byte[] toBigEndianUtf16Bytes(char[] chars, int offset, int length) { in toBigEndianUtf16Bytes() argument 87 char ch = chars[i]; in toBigEndianUtf16Bytes() 102 public static void asciiBytesToChars(byte[] bytes, int offset, int length, char[] chars) { in asciiBytesToChars() argument 103 if (bytes == null || chars == null) { in asciiBytesToChars() [all …]
|
/frameworks/base/core/java/android/net/http/ |
D | CharArrayBuffers.java | 42 char[] chars = buffer.buffer(); in containsIgnoreCaseTrimmed() local 43 while (beginIndex < len && HTTP.isWhitespace(chars[beginIndex])) { in containsIgnoreCaseTrimmed() 49 char a = chars[beginIndex+j]; in containsIgnoreCaseTrimmed() 68 char[] chars = buffer.buffer(); in setLowercaseIndexOf() local 71 char current = chars[i]; in setLowercaseIndexOf() 77 chars[i] = current; in setLowercaseIndexOf()
|
/frameworks/base/core/jni/ |
D | android_util_Log.cpp | 80 const char* chars = env->GetStringUTFChars(tag, NULL); in android_util_Log_isLoggable() local 81 if (!chars) { in android_util_Log_isLoggable() 86 if ((strlen(chars)+sizeof(LOG_NAMESPACE)) > PROPERTY_KEY_MAX) { in android_util_Log_isLoggable() 89 chars, PROPERTY_KEY_MAX - sizeof(LOG_NAMESPACE)); in android_util_Log_isLoggable() 93 result = isLoggable(chars, level); in android_util_Log_isLoggable() 96 env->ReleaseStringUTFChars(tag, chars); in android_util_Log_isLoggable()
|
D | android_view_KeyCharacterMap.cpp | 146 jchar* chars = static_cast<jchar*>(env->GetPrimitiveArrayCritical(charsArray, NULL)); in nativeGetMatch() local 147 if (!chars) { in nativeGetMatch() 151 char16_t result = map->getMap()->getMatch(keyCode, chars, size_t(numChars), metaState); in nativeGetMatch() 153 env->ReleasePrimitiveArrayCritical(charsArray, chars, JNI_ABORT); in nativeGetMatch() 171 jchar* chars = env->GetCharArrayElements(charsArray, NULL); in nativeGetEvents() local 172 if (!chars) { in nativeGetEvents() 179 if (map->getMap()->getEvents(map->getDeviceId(), chars, size_t(numChars), events)) { in nativeGetEvents() 191 env->ReleaseCharArrayElements(charsArray, chars, JNI_ABORT); in nativeGetEvents()
|
/frameworks/base/core/java/android/view/ |
D | KeyCharacterMap.java | 295 private static native char nativeGetMatch(long ptr, int keyCode, char[] chars, int metaState); in nativeGetMatch() argument 298 private static native KeyEvent[] nativeGetEvents(long ptr, char[] chars); in nativeGetEvents() argument 443 public char getMatch(int keyCode, char[] chars) { in getMatch() argument 444 return getMatch(keyCode, chars, 0); in getMatch() 457 public char getMatch(int keyCode, char[] chars, int metaState) { in getMatch() argument 458 if (chars == null) { in getMatch() 463 return nativeGetMatch(mPtr, keyCode, chars, metaState); in getMatch() 603 public KeyEvent[] getEvents(char[] chars) { in getEvents() argument 604 if (chars == null) { in getEvents() 607 return nativeGetEvents(mPtr, chars); in getEvents()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | StaticLayoutDirectionsTest.java | 98 char[] chars = src.toCharArray(); in pseudoBidiToReal() local 99 for (int j = 0; j < chars.length; ++j) { in pseudoBidiToReal() 100 char c = chars[j]; in pseudoBidiToReal() 102 chars[j] = (char)(ALEF + c - 'A'); in pseudoBidiToReal() 106 return new String(chars, 0, chars.length); in pseudoBidiToReal()
|
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
D | glGetString.cpp | 3 const char* chars = (const char*) glGetString((GLenum) name); in android_glGetString() local 4 return _env->NewStringUTF(chars); in android_glGetString()
|
/frameworks/native/opengl/tools/glgen/stubs/jsr239/ |
D | glGetString.cpp | 3 const char* chars = (const char*) glGetString((GLenum) name); in android_glGetString() local 4 return _env->NewStringUTF(chars); in android_glGetString()
|
/frameworks/base/core/java/android/util/ |
D | JsonReader.java | 1106 private JsonToken decodeNumber(char[] chars, int offset, int length) { in decodeNumber() argument 1108 int c = chars[i]; in decodeNumber() 1111 c = chars[++i]; in decodeNumber() 1115 c = chars[++i]; in decodeNumber() 1117 c = chars[++i]; in decodeNumber() 1119 c = chars[++i]; in decodeNumber() 1126 c = chars[++i]; in decodeNumber() 1128 c = chars[++i]; in decodeNumber() 1133 c = chars[++i]; in decodeNumber() 1135 c = chars[++i]; in decodeNumber() [all …]
|
/frameworks/native/opengl/tools/glgen/stubs/egl/ |
D | eglQueryString.cpp | 5 const char* chars = (const char*) eglQueryString( in android_eglQueryString__Landroind_opengl_EGLDisplay_2I() local 9 return _env->NewStringUTF(chars); in android_eglQueryString__Landroind_opengl_EGLDisplay_2I()
|
/frameworks/base/tools/layoutlib/bridge/src/android/text/ |
D | AndroidBidi_Delegate.java | 35 /*package*/ static int runBidi(int dir, char[] chars, byte[] charInfo, int count, in runBidi() argument 56 Bidi bidi = new Bidi(chars, 0, null, 0, count, dir); in runBidi()
|
/frameworks/minikin/libs/minikin/ |
D | Layout.cpp | 77 const uint16_t* chars, size_t start, size_t count, size_t nchars, bool dir) in LayoutCacheKey() argument 82 mChars(chars), mNchars(nchars) { in LayoutCacheKey() 414 static hb_codepoint_t decodeUtf16(const uint16_t* chars, size_t len, ssize_t* iter) { in decodeUtf16() argument 415 const uint16_t v = chars[(*iter)++]; in decodeUtf16() 420 const uint16_t v2 = chars[(*iter)++]; in decodeUtf16() 437 static hb_script_t getScriptRun(const uint16_t* chars, size_t len, ssize_t* iter) { in getScriptRun() argument 441 uint32_t cp = decodeUtf16(chars, len, iter); in getScriptRun() 447 cp = decodeUtf16(chars, len, iter); in getScriptRun() 490 static size_t getPrevWordBreak(const uint16_t* chars, size_t offset) { in getPrevWordBreak() argument 492 if (isWordBreak(chars[offset - 1])) { in getPrevWordBreak() [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeXmlBlockParser.java | 218 char[] chars = null; in getTextCharacters() local 222 chars = new char[txt.length()]; in getTextCharacters() 223 txt.getChars(0, txt.length(), chars, 0); in getTextCharacters() 225 return chars; in getTextCharacters()
|
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
D | WifiP2pServiceRequest.java | 173 char[] chars = query.toCharArray(); in validateQuery() local 174 for (char c: chars) { in validateQuery()
|
/frameworks/base/core/java/android/text/ |
D | AndroidBidi.java | 62 char[] chars, int cstart, int len) { in directions() argument 84 char ch = chars[cstart + visLen]; in directions()
|
D | TextLine.java | 165 char[] chars = mChars; in set() local 170 chars[i - start] = '\ufffc'; in set() 172 chars[j] = '\ufeff'; // used as ZWNBS, marks positions to skip in set() 300 char[] chars = mChars; in measure() local 316 codept = chars[j]; in measure() 318 codept = Character.codePointAt(chars, j); in measure()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_connectivity_Vpn.cpp | 133 int chars; in set_addresses() local 136 while (sscanf(addresses, " %64[^/]/%d %n", address, &prefix, &chars) == 2) { in set_addresses() 137 addresses += chars; in set_addresses()
|
/frameworks/base/core/java/android/content/res/ |
D | XmlBlock.java | 160 char[] chars = null; in getTextCharacters() local 164 chars = new char[txt.length()]; in getTextCharacters() 165 txt.getChars(0, txt.length(), chars, 0); in getTextCharacters() 167 return chars; in getTextCharacters()
|
/frameworks/native/libs/input/ |
D | KeyCharacterMap.cpp | 76 static String8 toString(const char16_t* chars, size_t numChars) { in toString() argument 79 result.appendFormat(i == 0 ? "%d" : ", %d", chars[i]); in toString() 268 char16_t KeyCharacterMap::getMatch(int32_t keyCode, const char16_t* chars, size_t numChars, in getMatch() argument 279 if (behavior->character == chars[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 304 char16_t ch = chars[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 | 114 char16_t getMatch(int32_t keyCode, const char16_t* chars, 120 bool getEvents(int32_t deviceId, const char16_t* chars, size_t numChars,
|
/frameworks/base/graphics/java/android/graphics/ |
D | Paint.java | 1842 public float getTextRunAdvances(char[] chars, int index, int count, in getTextRunAdvances() argument 1846 if (chars == null) { in getTextRunAdvances() 1852 | (chars.length - (contextIndex + contextCount)) in getTextRunAdvances() 1858 if (chars.length == 0 || count == 0){ in getTextRunAdvances() 1862 return native_getTextRunAdvances(mNativePaint, mNativeTypeface, chars, index, count, in getTextRunAdvances() 1868 float res = native_getTextRunAdvances(mNativePaint, mNativeTypeface, chars, index, count, in getTextRunAdvances()
|
/frameworks/base/cmds/input/src/com/android/commands/input/ |
D | Input.java | 169 char[] chars = buff.toString().toCharArray(); in sendText() local 172 KeyEvent[] events = kcm.getEvents(chars); in sendText()
|
/frameworks/ex/camera2/portability/tests/src/com/android/ex/camera2/portability/ |
D | Camera2PortabilityTest.java | 193 CameraCharacteristics chars = buildFrameworkCharacteristics(); in camera2CapabilitiesFocusModeFromInt() local 194 AndroidCamera2Capabilities intstr = new AndroidCamera2Capabilities(chars); in camera2CapabilitiesFocusModeFromInt()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | FastPrintWriter.java | 530 public void println(char[] chars) { 531 print(chars);
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | BaseInputConnection.java | 559 char[] chars = new char[1]; in sendCurrentText() local 560 content.getChars(0, 1, chars, 0); in sendCurrentText() 561 KeyEvent[] events = mKeyCharacterMap.getEvents(chars); in sendCurrentText()
|