Home
last modified time | relevance | path

Searched refs:codes (Results 1 – 25 of 25) 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/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.java2183 String[] codes = wfcOperatorErrorCodes[i].split("\\|"); in processWfcDisconnectForNotification() local
2184 if (codes.length != 2) { in processWfcDisconnectForNotification()
2191 codes[0])) { in processWfcDisconnectForNotification()
2198 int codeStringLength = codes[0].length(); in processWfcDisconnectForNotification()
2199 char lastChar = codes[0].charAt(codeStringLength - 1); in processWfcDisconnectForNotification()
2212 int idx = Integer.parseInt(codes[1]); in processWfcDisconnectForNotification()
/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/hardware/interfaces/cameraservice/device/2.0/
Dtypes.hal32 * Error codes for onDeviceError
36 * To indicate all invalid error 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.cpp1355 int32_t* codes = env->GetIntArrayElements(keyCodes, nullptr); in nativeHasKeys() local
1361 deviceId, uint32_t(sourceMask), numCodes, codes, flags)) { in nativeHasKeys()
1371 env->ReleaseIntArrayElements(keyCodes, codes, 0); in nativeHasKeys()
/frameworks/base/proto/src/
Dwifi.proto72 // Error codes that a scan can result in.
93 // Mapping of error codes to the number of times that scans resulted
138 // Mapping of Error/Success codes to the number of background scans that resulted in it
1733 // Status codes for overall RTT operation
1763 // Status codes for individual RTT operation
2014 // Status codes for link probe status
2561 // Counts the occurrences of error codes for failed link probes.
/frameworks/ml/nn/tools/api/
DNeuralNetworks.t176 * Result codes.
178 * <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/native/vulkan/api/
Dvulkan.api1911 /// Error and return codes
1913 // Return codes for successful operation execution (positive values)
1924 // Error codes (negative values)
/frameworks/base/cmds/statsd/src/
Datoms.proto4169 // Represents UmountStat before the reboot for the current boot up. Error codes defined
4174 // Error codes defined as combination of FsStatFlags from system/core/fs_mgr/fs_mgr.cpp.
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt404 field public static final int codes = 16843330; // 0x1010242
13595 field public int[] codes;
/frameworks/base/non-updatable-api/
Dcurrent.txt420 field @Deprecated public static final int codes = 16843330; // 0x1010242
22788 field @Deprecated public int[] codes;
/frameworks/base/api/
Dcurrent.txt420 field @Deprecated public static final int codes = 16843330; // 0x1010242
22788 field @Deprecated public int[] codes;
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt90037 Lcom/android/internal/R$attr;->codes:I