Searched refs:symbolicName (Results 1 – 2 of 2) sorted by relevance
3548 String symbolicName = nativeAxisToString(axis); in axisToString() local3549 return symbolicName != null ? LABEL_PREFIX + symbolicName : Integer.toString(axis); in axisToString()3560 public static int axisFromString(String symbolicName) { in axisFromString() argument3561 if (symbolicName.startsWith(LABEL_PREFIX)) { in axisFromString()3562 symbolicName = symbolicName.substring(LABEL_PREFIX.length()); in axisFromString()3563 int axis = nativeAxisFromString(symbolicName); in axisFromString()3569 return Integer.parseInt(symbolicName, 10); in axisFromString()3640 String symbolicName = TOOL_TYPE_SYMBOLIC_NAMES.get(toolType); in toolTypeToString() local3641 return symbolicName != null ? symbolicName : Integer.toString(toolType); in toolTypeToString()
2999 String symbolicName = nativeKeyCodeToString(keyCode); in keyCodeToString() local3000 return symbolicName != null ? LABEL_PREFIX + symbolicName : Integer.toString(keyCode); in keyCodeToString()3012 public static int keyCodeFromString(@NonNull String symbolicName) { in keyCodeFromString() argument3014 int keyCode = Integer.parseInt(symbolicName); in keyCodeFromString()3021 if (symbolicName.startsWith(LABEL_PREFIX)) { in keyCodeFromString()3022 symbolicName = symbolicName.substring(LABEL_PREFIX.length()); in keyCodeFromString()3024 int keyCode = nativeKeyCodeFromString(symbolicName); in keyCodeFromString()