Home
last modified time | relevance | path

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

12

/frameworks/base/tools/apilint/
Ddeprecated_at_birth.py29 codes = []
30 if reset: codes.append("0")
32 if not fg is None: codes.append("3%d" % (fg))
34 if not bright: codes.append("4%d" % (bg))
35 else: codes.append("10%d" % (bg))
36 if bold: codes.append("1")
37 elif dim: codes.append("2")
38 else: codes.append("22")
39 return "\033[%sm" % (";".join(codes))
/frameworks/proto_logging/stats/atoms/statsd/
Dstatsd_extension_atoms.proto79 * initial set of errors defined based on write() API potential codes
85 // errno based error codes are negated to not overlap with internal codes
101 // internal error codes are positive
/frameworks/base/services/core/java/com/android/server/pm/
DPerPackageReadTimeouts.java91 static VersionCodes parse(String codes) { in parse() argument
92 if (TextUtils.isEmpty(codes)) { in parse()
95 String[] splits = codes.split("-", 2); in parse()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java724 if (label.length() > 1 && key.codes.length < 2) { in onBufferDraw()
796 && key.codes[0] > 32) { in getKeyIndices()
798 final int nCodes = key.codes.length; in getKeyIndices()
814 allKeys[j + c] = key.codes[c]; in getKeyIndices()
835 int code = key.codes[0]; in detectAndSendKey()
837 int[] codes = new int[MAX_NEARBY_KEYS]; in detectAndSendKey() local
838 Arrays.fill(codes, NOT_A_KEY); in detectAndSendKey()
839 getKeyIndices(x, y, codes); in detectAndSendKey()
847 code = key.codes[mTapCount]; in detectAndSendKey()
849 mKeyboardActionListener.onKey(code, codes); in detectAndSendKey()
[all …]
DKeyboard.java247 public int[] codes; field in Keyboard.Key
369 codes = new int[] { codesValue.data }; in Key()
371 codes = parseCSV(codesValue.string.toString()); in Key()
400 if (codes == null && !TextUtils.isEmpty(label)) { in Key()
401 codes = new int[] { label.charAt(0) }; in Key()
624 key.codes = new int[] { c }; in Keyboard()
835 if (key.codes[0] == KEYCODE_SHIFT) { in loadKeyboard()
845 } else if (key.codes[0] == KEYCODE_ALT) { in loadKeyboard()
/frameworks/proto_logging/stats/enums/uwb/
Denums.proto39 // UWB session status codes
52 // UWB ranging session status codes
/frameworks/proto_logging/stats/enums/bluetooth/smp/
Denums.proto23 // SMP Pairing command codes
78 // Android-defined error codes
/frameworks/proto_logging/stats/enums/stats/hdmi/
Denums.proto81 // Represents all codes that are not represented by another value.
84 // Represents all number codes (codes 0x1E through 0x29).
/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/proto_logging/stats/enums/contexthub/
Denums.proto24 * Corresponds to error codes defined in ContextHubTransaction.java.
/frameworks/proto_logging/stats/enums/telephony/satellite/
Denums.proto108 // Config update result codes.
133 // Cached country codes are used for satellite access decision
/frameworks/proto_logging/stats/enums/mms/
Denums.proto23 // MMS send/download result codes.
/frameworks/base/cmds/uinput/src/com/android/commands/uinput/
DEvemuParser.java418 final List<Integer> codes = new ArrayList<>(); in bitmapToEventCodes() local
423 codes.add(iByte * 8 + iBit); in bitmapToEventCodes()
428 return unboxIntList(codes); in bitmapToEventCodes()
/frameworks/proto_logging/stats/enums/media/
Denums.proto26 * 2) android.media.Status is based on Android status codes, not http.
/frameworks/hardware/interfaces/cameraservice/common/2.0/
Dtypes.hal21 * status codes
/frameworks/minikin/libs/minikin/
DHyphenator.cpp405 void HyphenatorCXX::hyphenateFromCodes(const uint16_t* codes, size_t len, in hyphenateFromCodes() argument
422 uint16_t c = codes[j]; in hyphenateFromCodes()
/frameworks/minikin/include/minikin/
DHyphenator.h264 void hyphenateFromCodes(const uint16_t* codes, size_t len, HyphenationType hyphenValue,
/frameworks/minikin/rust/
Dhyphenator.rs713 codes: [u16; MAX_HYPHEN_SIZE as usize], in hyphenate_from_codes()
730 let c: u32 = codes[j as usize].into();
/frameworks/opt/telephony/flags/
Ddata.aconfig90 description: "Support additional slicing error codes and functionality."
/frameworks/proto_logging/stats/atoms/threadnetwork/
Dthreadnetwork_atoms.proto249 // The counters of response codes sent by the SRP server
274 // The counters of response codes sent by the DNS server
/frameworks/hardware/interfaces/cameraservice/device/2.0/
Dtypes.hal32 * Error codes for onDeviceError
36 * To indicate all invalid error codes.
/frameworks/proto_logging/stats/enums/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/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhone.java2350 String[] codes = wfcOperatorErrorCodes[i].split("\\|"); in processWfcDisconnectForNotification() local
2351 if (codes.length != 2) { in processWfcDisconnectForNotification()
2358 codes[0])) { in processWfcDisconnectForNotification()
2365 int codeStringLength = codes[0].length(); in processWfcDisconnectForNotification()
2366 char lastChar = codes[0].charAt(codeStringLength - 1); in processWfcDisconnectForNotification()
2379 int idx = Integer.parseInt(codes[1]); in processWfcDisconnectForNotification()
/frameworks/proto_logging/stats/enums/adservices/common/
Dadservices_enums.proto83 * NOTE: AdId / AdSetId don't have a range yet (because they're just using common codes)
368 // Reporting errors should have specific error codes.
/frameworks/proto_logging/stats/enums/telecomm/
Denums.proto183 * Disconnected for reason not described by other disconnect codes.

12