Searched refs:chars (Results 1 - 25 of 38) sorted by relevance

12

/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DglGetString.cpp3 const char* chars = (const char*) glGetString((GLenum) name); local
4 return _env->NewStringUTF(chars);
/frameworks/native/opengl/tools/glgen/stubs/jsr239/
H A DglGetString.cpp3 const char* chars = (const char*) glGetString((GLenum) name); local
4 return _env->NewStringUTF(chars);
/frameworks/native/opengl/tools/glgen/stubs/egl/
H A DeglQueryString.cpp5 const char* chars = (const char*) eglQueryString( local
9 return _env->NewStringUTF(chars);
/frameworks/base/core/java/android/net/http/
H A DCharArrayBuffers.java42 char[] chars = buffer.buffer();
43 while (beginIndex < len && HTTP.isWhitespace(chars[beginIndex])) {
49 char a = chars[beginIndex+j];
68 char[] chars = buffer.buffer();
71 char current = chars[i];
77 chars[i] = current;
/frameworks/base/core/java/android/text/
H A DTextDirectionHeuristics.java39 * including bidi format chars, falling back to left to right if it
48 * including bidi format chars, falling back to right to left if it
90 public boolean isRtl(char[] chars, int start, int count) { argument
91 if (chars == null || start < 0 || count < 0 || chars.length - count < start) {
97 return doCheck(chars, start, count);
100 private boolean doCheck(char[] chars, int start, int count) { argument
101 switch(mAlgorithm.checkRtl(chars, start, count)) {
H A DAndroidBidi.java56 * @param chars the character array (used to determine whitespace)
57 * @param cstart the start of the line in the chars array
62 char[] chars, int cstart, int len) {
81 char ch = chars[cstart + visLen];
61 directions(int dir, byte[] levels, int lstart, char[] chars, int cstart, int len) argument
H A DTextLine.java165 char[] chars = mChars;
170 chars[i - start] = '\ufffc';
172 chars[j] = '\ufeff'; // used as ZWNBS, marks positions to skip
300 char[] chars = mChars;
316 codept = chars[j];
318 codept = Character.codePointAt(chars, j);
/frameworks/base/core/jni/
H A Dandroid_util_Log.cpp80 const char* chars = env->GetStringUTFChars(tag, NULL); local
81 if (!chars) {
86 if ((strlen(chars)+sizeof(LOG_NAMESPACE)) > PROPERTY_KEY_MAX) {
89 chars, PROPERTY_KEY_MAX - sizeof(LOG_NAMESPACE));
93 result = isLoggable(chars, level);
96 env->ReleaseStringUTFChars(tag, chars);
H A Dandroid_view_KeyCharacterMap.cpp146 jchar* chars = static_cast<jchar*>(env->GetPrimitiveArrayCritical(charsArray, NULL)); local
147 if (!chars) {
151 char16_t result = map->getMap()->getMatch(keyCode, chars, size_t(numChars), metaState);
153 env->ReleasePrimitiveArrayCritical(charsArray, chars, JNI_ABORT);
171 jchar* chars = env->GetCharArrayElements(charsArray, NULL); local
172 if (!chars) {
179 if (map->getMap()->getEvents(map->getDeviceId(), chars, size_t(numChars), events)) {
191 env->ReleaseCharArrayElements(charsArray, chars, JNI_ABORT);
/frameworks/base/core/jni/android/graphics/
H A DTextLayout.h65 static void getTextRunAdvances(SkPaint* paint, const jchar* chars, jint start,
69 static void getTextRunAdvancesICU(SkPaint* paint, const jchar* chars, jint start,
86 static void computeAdvancesWithICU(SkPaint* paint, const UChar* chars,
H A DTextLayout.cpp67 void TextLayout::getTextRunAdvances(SkPaint* paint, const jchar* chars, jint start, argument
71 chars, start, count, contextCount, dirFlags);
83 void TextLayout::getTextRunAdvancesICU(SkPaint* paint, const jchar* chars, jint start, argument
87 computeAdvancesWithICU(paint, chars, start, count, contextCount, dirFlags,
114 void TextLayout::computeAdvancesWithICU(SkPaint* paint, const UChar* chars, argument
128 u_shapeArabic(chars, contextCount, buffer, contextCount,
142 text = chars + start;
H A DTextLayoutCache.cpp358 void TextLayoutShaper::computeValues(TextLayoutValue* value, const SkPaint* paint, const UChar* chars, argument
361 computeValues(paint, chars, start, count, contextCount, dirFlags,
369 void TextLayoutShaper::computeValues(const SkPaint* paint, const UChar* chars, argument
401 ALOGD(" -- string = '%s'", String8(chars + start, count).string());
407 ubidi_setPara(bidi, chars, contextCount, bidiReq, NULL, &status);
423 String8(chars + start, count).string(), status, int(rc));
466 computeRunValues(paint, chars + startRun, lengthRun, isRTL,
490 computeRunValues(paint, chars + start, count, isRTL,
510 void TextLayoutShaper::computeRunValues(const SkPaint* paint, const UChar* chars, argument
526 UChar ch1 = chars[
[all...]
H A DTextLayoutCache.h172 void computeValues(TextLayoutValue* value, const SkPaint* paint, const UChar* chars,
226 void computeValues(const SkPaint* paint, const UChar* chars,
231 void computeRunValues(const SkPaint* paint, const UChar* chars,
/frameworks/base/core/tests/coretests/src/android/text/
H A DStaticLayoutDirectionsTest.java98 char[] chars = src.toCharArray();
99 for (int j = 0; j < chars.length; ++j) {
100 char c = chars[j];
102 chars[j] = (char)(ALEF + c - 'A');
106 return new String(chars, 0, chars.length);
/frameworks/base/services/jni/
H A Dcom_android_server_connectivity_Vpn.cpp132 int chars; local
135 while (sscanf(addresses, " %64[^/]/%d %n", address, &prefix, &chars) == 2) {
136 addresses += chars;
211 int chars; local
214 while (sscanf(routes, " %64[^/]/%d %n", address, &prefix, &chars) == 2) {
215 routes += chars;
H A Dcom_android_server_power_PowerManagerService.cpp200 const char *chars = env->GetStringUTFChars(reason, NULL); local
201 android_reboot(ANDROID_RB_RESTART2, 0, (char *) chars);
202 env->ReleaseStringUTFChars(reason, chars); // In case it fails.
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
H A DWifiP2pServiceRequest.java171 char[] chars = query.toCharArray();
172 for (char c: chars) {
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeXmlBlockParser.java218 char[] chars = null;
222 chars = new char[txt.length()];
223 txt.getChars(0, txt.length(), chars, 0);
225 return chars;
/frameworks/base/core/java/android/content/res/
H A DXmlBlock.java160 char[] chars = null;
164 chars = new char[txt.length()];
165 txt.getChars(0, txt.length(), chars, 0);
167 return chars;
/frameworks/base/libs/androidfw/
H A DKeyCharacterMap.cpp74 static String8 toString(const char16_t* chars, size_t numChars) { argument
77 result.appendFormat(i == 0 ? "%d" : ", %d", chars[i]);
266 char16_t KeyCharacterMap::getMatch(int32_t keyCode, const char16_t* chars, size_t numChars, argument
277 if (behavior->character == chars[i]) {
290 ALOGD("getMatch: keyCode=%d, chars=[%s], metaState=0x%08x ~ Result %d.",
291 keyCode, toString(chars, numChars).string(), metaState, result);
296 bool KeyCharacterMap::getEvents(int32_t deviceId, const char16_t* chars, size_t numChars, argument
302 char16_t ch = chars[i];
305 ALOGD("getEvents: deviceId=%d, chars=[%s] ~ Failed to find mapping for character %d.",
306 deviceId, toString(chars, numChar
[all...]
/frameworks/base/cmds/input/src/com/android/commands/input/
H A DInput.java152 char[] chars = buff.toString().toCharArray();
155 KeyEvent[] events = kcm.getEvents(chars);
/frameworks/base/graphics/java/android/graphics/
H A DPaint.java1408 * Return the number of chars that were measured, and if measuredWidth is
1418 * @return The number of chars that were measured. Will always be <=
1451 * Return the number of chars that were measured, and if measuredWidth is
1462 * @return The number of chars that were measured. Will always be <=
1500 * Return the number of chars that were measured, and if measuredWidth is
1511 * @return The number of chars that were measured. Will always be <=
1544 * @param count The number of chars starting with index to measure
1717 public float getTextRunAdvances(char[] chars, int index, int count, argument
1720 return getTextRunAdvances(chars, index, count, contextIndex, contextCount, flags,
1731 public float getTextRunAdvances(char[] chars, in argument
[all...]
/frameworks/base/include/androidfw/
H A DKeyCharacterMap.h114 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/core/java/com/android/internal/widget/
H A DPointerLocationView.java764 final char[] chars = mChars;
767 chars[index++] = '0';
773 chars[index++] = '-';
782 chars[index++] = '0';
790 chars[index++] = (char) (digit + '0');
/frameworks/base/core/java/android/view/inputmethod/
H A DBaseInputConnection.java546 char[] chars = new char[1];
547 content.getChars(0, 1, chars, 0);
548 KeyEvent[] events = mKeyCharacterMap.getEvents(chars);

Completed in 867 milliseconds

12