Searched defs:character (Results 1 - 4 of 4) sorted by relevance

/frameworks/av/media/libstagefright/timedtext/
H A DTimedTextSRTSource.cpp181 char character; local
182 if ((readSize = mSource->readAt(*offset, &character, 1)) < 1) {
192 if (character == 10) {
194 } else if (character == 13) {
195 if ((readSize = mSource->readAt(*offset, &character, 1)) < 1) {
203 if (character != 10) {
208 data->append(character);
/frameworks/native/include/input/
H A DKeyCharacterMap.h71 /* Loads a key character map from a file. */
74 /* Loads a key character map from its string contents. */
78 /* Combines a base key character map and an overlay. */
82 /* Returns an empty key character map. */
88 /* Gets the primary character for this key as in the label physically printed on it.
92 /* Gets the Unicode character for the number or symbol generated by the key
98 /* Gets the Unicode character generated by the key and meta key modifiers.
99 * Returns 0 if no character is generated.
110 /* Gets the first matching Unicode character that can be generated by the key,
112 * Returns 0 if no matching character i
150 char16_t character; member in struct:android::KeyCharacterMap::Behavior
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DPasswordEntryKeyboardHelper.java175 private void sendKeyEventsToTarget(int character) { argument
178 new char[] { (char) character });
/frameworks/native/libs/input/
H A DKeyCharacterMap.cpp116 ALOGE("Error %d opening key character map file %s.", status, filename.string());
131 ALOGE("Error %d opening key character map.", status);
144 ALOGE("Error allocating key character map.");
154 ALOGD("Parsed key character map file '%s' %d lines in %0.3fms.",
236 result = behavior->character;
273 // Try to find the most general behavior that maps to this character.
277 if (behavior->character) {
279 if (behavior->character == chars[i]) {
280 result = behavior->character;
307 ALOGD("getEvents: deviceId=%d, chars=[%s] ~ Failed to find mapping for character
585 char16_t character = parcel->readInt32(); local
930 char16_t character; local
[all...]

Completed in 121 milliseconds