Searched defs:chars (Results 1 - 25 of 27) 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/tools/layoutlib/bridge/src/android/text/
H A DAndroidBidi_Delegate.java35 /*package*/ static int runBidi(int dir, char[] chars, byte[] charInfo, int count, argument
56 Bidi bidi = new Bidi(chars, 0, null, 0, count, dir);
/frameworks/base/core/java/android/text/
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) {
84 char ch = chars[cstart + visLen];
61 directions(int dir, byte[] levels, int lstart, char[] chars, int cstart, int len) argument
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/
H A DCharsets.java52 public static byte[] toAsciiBytes(char[] chars, int offset, int length) { argument
54 cb.put(chars, offset, length);
62 public static byte[] toIsoLatin1Bytes(char[] chars, int offset, int length) { argument
64 cb.put(chars, offset, length);
72 public static byte[] toUtf8Bytes(char[] chars, int offset, int length) { argument
74 cb.put(chars, offset, length);
82 public static byte[] toBigEndianUtf16Bytes(char[] chars, int offset, int length) { argument
87 char ch = chars[i];
102 public static void asciiBytesToChars(byte[] bytes, int offset, int length, char[] chars) { argument
103 if (bytes == null || chars
121 isoLatin1BytesToChars(byte[] bytes, int offset, int length, char[] chars) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_util_Log.cpp54 const char* chars = env->GetStringUTFChars(tag, NULL); local
55 if (!chars) {
60 if ((strlen(chars)+sizeof(LOG_NAMESPACE)) > PROPERTY_KEY_MAX) {
63 chars, PROPERTY_KEY_MAX - sizeof(LOG_NAMESPACE));
67 result = isLoggable(chars, level);
70 env->ReleaseStringUTFChars(tag, chars);
H A Dandroid_view_KeyCharacterMap.cpp148 jchar* chars = static_cast<jchar*>(env->GetPrimitiveArrayCritical(charsArray, NULL)); local
149 if (!chars) {
154 keyCode, reinterpret_cast<char16_t*>(chars), size_t(numChars),
157 env->ReleasePrimitiveArrayCritical(charsArray, chars, JNI_ABORT);
175 jchar* chars = env->GetCharArrayElements(charsArray, NULL); local
176 if (!chars) {
184 reinterpret_cast<char16_t*>(chars),
197 env->ReleaseCharArrayElements(charsArray, chars, JNI_ABORT);
H A Dcom_google_android_gles_jni_EGLImpl.cpp484 const char* chars = eglQueryString(dpy, name); local
485 return _env->NewStringUTF(chars);
H A Dandroid_opengl_EGL14.cpp271 const char* chars = (const char*) eglQueryString( local
275 return _env->NewStringUTF(chars);
H A Dandroid_opengl_GLES10.cpp1332 const char* chars = (const char*) glGetString((GLenum) name); local
1333 return _env->NewStringUTF(chars);
H A Dandroid_opengl_GLES20.cpp3364 const char* chars = (const char*) glGetString((GLenum) name); local
3365 return _env->NewStringUTF(chars);
H A Dcom_google_android_gles_jni_GLImpl.cpp1941 const char* chars = (const char*) glGetString((GLenum) name); local
1942 return _env->NewStringUTF(chars);
/frameworks/av/services/camera/libcameraservice/common/
H A DCameraModule.cpp25 uint32_t deviceVersion, CameraMetadata &chars) {
37 chars.update(ANDROID_CONTROL_AE_LOCK_AVAILABLE, &data, /*count*/1);
39 chars.update(ANDROID_CONTROL_AWB_LOCK_AVAILABLE, &data, /*count*/1);
41 camera_metadata_entry entry = chars.find(ANDROID_CONTROL_AVAILABLE_SCENE_MODES);
50 entry = chars.find(ANDROID_CONTROL_AE_AVAILABLE_MODES);
59 entry = chars.find(ANDROID_CONTROL_AF_AVAILABLE_MODES);
68 entry = chars.find(ANDROID_CONTROL_AWB_AVAILABLE_MODES);
81 chars.update(ANDROID_CONTROL_AVAILABLE_MODES, controlModes);
83 entry = chars.find(ANDROID_REQUEST_AVAILABLE_REQUEST_KEYS);
103 chars
24 deriveCameraCharacteristicsKeys( uint32_t deviceVersion, CameraMetadata &chars) argument
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DFastPrintWriter.java527 * Prints the string representation of the character array {@code chars} followed by a newline.
530 public void println(char[] chars) { argument
531 print(chars);
/frameworks/base/services/core/jni/
H A Dcom_android_server_connectivity_Vpn.cpp133 int chars; local
136 while (sscanf(addresses, " %64[^/]/%d %n", address, &prefix, &chars) == 2) {
137 addresses += chars;
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/
H A DArraysCheckWidget.class ... .Context, android.util.AttributeSet, int, int) CharSequence chars CharSequence[] arr$ int len$ int i$ int ...
/frameworks/base/core/java/android/util/
H A DJsonReader.java1106 private JsonToken decodeNumber(char[] chars, int offset, int length) { argument
1108 int c = chars[i];
1111 c = chars[++i];
1115 c = chars[++i];
1117 c = chars[++i];
1119 c = chars[++i];
1126 c = chars[++i];
1128 c = chars[++i];
1133 c = chars[++i];
1135 c = chars[
[all...]
/frameworks/base/core/java/android/view/
H A DKeyCharacterMap.java295 private static native char nativeGetMatch(long ptr, int keyCode, char[] chars, int metaState); argument
298 private static native KeyEvent[] nativeGetEvents(long ptr, char[] chars); argument
436 * {@link #getMatch(int,char[],int) getMatch(keyCode, chars, 0)}.
440 * @param chars The array of matching characters to consider.
443 public char getMatch(int keyCode, char[] chars) { argument
444 return getMatch(keyCode, chars, 0);
453 * @param chars The array of matching characters to consider.
457 public char getMatch(int keyCode, char[] chars, int metaState) { argument
458 if (chars == null) {
459 throw new IllegalArgumentException("chars mus
603 getEvents(char[] chars) argument
[all...]
H A DKeyEvent.java2558 * {@link #getMatch(char[],int) getMatch(chars, 0)}.
2561 * @param chars The array of matching characters to consider.
2564 public char getMatch(char[] chars) { argument
2565 return getMatch(chars, 0);
2573 * @param chars The array of matching characters to consider.
2577 public char getMatch(char[] chars, int metaState) { argument
2578 return getKeyCharacterMap().getMatch(mKeyCode, chars, metaState);
/frameworks/av/media/libstagefright/
H A DUtils.cpp905 const char *chars = uri.c_str(); local
907 const char c = chars[i];
/frameworks/native/libs/input/
H A DKeyCharacterMap.cpp76 static String8 toString(const char16_t* chars, size_t numChars) { argument
79 result.appendFormat(i == 0 ? "%d" : ", %d", chars[i]);
268 char16_t KeyCharacterMap::getMatch(int32_t keyCode, const char16_t* chars, size_t numChars, argument
279 if (behavior->character == chars[i]) {
292 ALOGD("getMatch: keyCode=%d, chars=[%s], metaState=0x%08x ~ Result %d.",
293 keyCode, toString(chars, numChars).string(), metaState, result);
298 bool KeyCharacterMap::getEvents(int32_t deviceId, const char16_t* chars, size_t numChars, argument
304 char16_t ch = chars[i];
307 ALOGD("getEvents: deviceId=%d, chars=[%s] ~ Failed to find mapping for character %d.",
308 deviceId, toString(chars, numChar
[all...]
/frameworks/minikin/libs/minikin/
H A DLayout.cpp108 const uint16_t* chars, size_t start, size_t count, size_t nchars, bool dir)
109 : mChars(chars), mNchars(nchars),
415 static hb_codepoint_t decodeUtf16(const uint16_t* chars, size_t len, ssize_t* iter) { argument
416 const uint16_t v = chars[(*iter)++];
421 const uint16_t v2 = chars[(*iter)++];
438 static hb_script_t getScriptRun(const uint16_t* chars, size_t len, ssize_t* iter) { argument
442 uint32_t cp = decodeUtf16(chars, len, iter);
448 cp = decodeUtf16(chars, len, iter);
491 static size_t getPrevWordBreak(const uint16_t* chars, size_t offset) { argument
493 if (isWordBreak(chars[offse
107 LayoutCacheKey(const FontCollection* collection, const MinikinPaint& paint, FontStyle style, const uint16_t* chars, size_t start, size_t count, size_t nchars, bool dir) argument
507 getNextWordBreak(const uint16_t* chars, size_t offset, size_t len) argument
[all...]
/frameworks/base/core/jni/android/graphics/
H A DPaint.cpp1003 const jchar* chars, size_t size) {
1002 hasGlyphVariation(const Paint* paint, TypefaceImpl* typeface, jint bidiFlags, const jchar* chars, size_t size) argument
/frameworks/base/graphics/java/android/graphics/
H A DPaint.java1603 * Return the number of chars that were measured, and if measuredWidth is
1613 * @return The number of chars that were measured. Will always be <=
1648 * Return the number of chars that were measured, and if measuredWidth is
1659 * @return The number of chars that were measured. Will always be <=
1697 * Return the number of chars that were measured, and if measuredWidth is
1708 * @return The number of chars that were measured. Will always be <=
1743 * @param count The number of chars starting with index to measure
1876 public float getTextRunAdvances(char[] chars, int index, int count, argument
1880 if (chars == null) {
1886 | (chars
[all...]

Completed in 1261 milliseconds

12