Home
last modified time | relevance | path

Searched refs:codes (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/tools/stringslint/
Dstringslint.py43 codes = []
44 if reset: codes.append("0")
46 if not fg is None: codes.append("3%d" % (fg))
48 if not bright: codes.append("4%d" % (bg))
49 else: codes.append("10%d" % (bg))
50 if bold: codes.append("1")
51 elif dim: codes.append("2")
52 else: codes.append("22")
53 return "\033[%sm" % (";".join(codes))
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DEditTextTypeActivity.java75 int codes[] = { KeyEvent.KEYCODE_H, KeyEvent.KEYCODE_E, KeyEvent.KEYCODE_L, in onCreate()
86 int code = codes[i % codes.length]; in onCreate()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java722 if (label.length() > 1 && key.codes.length < 2) { in onBufferDraw()
794 && key.codes[0] > 32) { in getKeyIndices()
796 final int nCodes = key.codes.length; in getKeyIndices()
812 allKeys[j + c] = key.codes[c]; in getKeyIndices()
833 int code = key.codes[0]; in detectAndSendKey()
835 int[] codes = new int[MAX_NEARBY_KEYS]; in detectAndSendKey() local
836 Arrays.fill(codes, NOT_A_KEY); in detectAndSendKey()
837 getKeyIndices(x, y, codes); in detectAndSendKey()
845 code = key.codes[mTapCount]; in detectAndSendKey()
847 mKeyboardActionListener.onKey(code, codes); in detectAndSendKey()
[all …]
DKeyboard.java246 public int[] codes; field in Keyboard.Key
368 codes = new int[] { codesValue.data }; in Key()
370 codes = parseCSV(codesValue.string.toString()); in Key()
399 if (codes == null && !TextUtils.isEmpty(label)) { in Key()
400 codes = new int[] { label.charAt(0) }; in Key()
623 key.codes = new int[] { c }; in Keyboard()
834 if (key.codes[0] == KEYCODE_SHIFT) { in loadKeyboard()
844 } else if (key.codes[0] == KEYCODE_ALT) { in loadKeyboard()
/frameworks/base/services/core/java/com/android/server/hdmi/
Dcec_key_handling.md3 The mapping of CEC key codes to Android key codes are at
/frameworks/hardware/interfaces/bufferhub/1.0/
DIBufferClient.hal26 * error codes on failure.
45 * error codes on failure.
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/
DInteraction.java157 private Interaction(int[] codes) { in Interaction() argument
158 mKeyCodes = codes; in Interaction()
/frameworks/ml/nn/runtime/test/generated/
D.clang-format17 # Do not check format for generated codes.
/frameworks/base/core/proto/android/bluetooth/smp/
Denums.proto23 // SMP Pairing command codes
/frameworks/minikin/libs/minikin/
DHyphenator.cpp350 void Hyphenator::hyphenateFromCodes(const uint16_t* codes, size_t len, HyphenationType hyphenValue, in hyphenateFromCodes() argument
367 uint16_t c = codes[j]; in hyphenateFromCodes()
/frameworks/minikin/include/minikin/
DHyphenator.h230 void hyphenateFromCodes(const uint16_t* codes, size_t len, HyphenationType hyphenValue,
/frameworks/hardware/interfaces/cameraservice/common/2.0/
Dtypes.hal21 * status codes
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhone.java1973 String[] codes = wfcOperatorErrorCodes[i].split("\\|"); in processWfcDisconnectForNotification() local
1974 if (codes.length != 2) { in processWfcDisconnectForNotification()
1981 codes[0])) { in processWfcDisconnectForNotification()
1988 int codeStringLength = codes[0].length(); in processWfcDisconnectForNotification()
1989 char lastChar = codes[0].charAt(codeStringLength - 1); in processWfcDisconnectForNotification()
2002 int idx = Integer.parseInt(codes[1]); in processWfcDisconnectForNotification()
/frameworks/hardware/interfaces/cameraservice/device/2.0/
Dtypes.hal32 * Error codes for onDeviceError
36 * To indicate all invalid error codes.
/frameworks/base/core/proto/android/bluetooth/hci/
Denums.proto333 // HCI event codes from the Bluetooth 5.0 specification Vol 2, Part 7, Section 7
417 // Bluetooth low energy related meta event codes
/frameworks/base/core/proto/android/telecomm/
Denums.proto183 * Disconnected for reason not described by other disconnect codes.
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp1318 int32_t* codes = env->GetIntArrayElements(keyCodes, nullptr); in nativeHasKeys() local
1324 deviceId, uint32_t(sourceMask), numCodes, codes, flags)) { in nativeHasKeys()
1334 env->ReleaseIntArrayElements(keyCodes, codes, 0); in nativeHasKeys()
/frameworks/opt/net/wifi/service/proto/src/
Dmetrics.proto73 // Error codes that a scan can result in.
94 // Mapping of error codes to the number of times that scans resulted
139 // Mapping of Error/Success codes to the number of background scans that resulted in it
1999 // Status codes for overall RTT operation
2029 // Status codes for individual RTT operation
2312 // Status codes for link probe status
2880 // Counts the occurrences of error codes for failed link probes.
/frameworks/ml/nn/tools/api/
DNeuralNetworks.t175 * Result codes.
177 * <p>Any NNAPI function can return any result code, including result codes not
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGSMPhoneTest.java.broken1756 * to the "pending MMI codes" list before it returns. This seems
/frameworks/base/cmds/statsd/src/
Datoms.proto4883 // Represents UmountStat before the reboot for the current boot up. Error codes defined
4888 // Error codes defined as combination of FsStatFlags from system/core/fs_mgr/fs_mgr.cpp.
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt404 field public static final int codes = 16843330; // 0x1010242
13595 field public int[] codes;
/frameworks/base/api/
Dcurrent.txt430 field @Deprecated public static final int codes = 16843330; // 0x1010242
23323 field @Deprecated public int[] codes;