Searched refs:symbolicName (Results 1 – 2 of 2) sorted by relevance
4013 String symbolicName = nativeAxisToString(axis); in axisToString() local4014 return symbolicName != null ? LABEL_PREFIX + symbolicName : Integer.toString(axis); in axisToString()4025 public static int axisFromString(String symbolicName) { in axisFromString() argument4026 if (symbolicName.startsWith(LABEL_PREFIX)) { in axisFromString()4027 symbolicName = symbolicName.substring(LABEL_PREFIX.length()); in axisFromString()4028 int axis = nativeAxisFromString(symbolicName); in axisFromString()4034 return Integer.parseInt(symbolicName, 10); in axisFromString()4108 String symbolicName = TOOL_TYPE_SYMBOLIC_NAMES.get(toolType); in toolTypeToString() local4109 return symbolicName != null ? symbolicName : Integer.toString(toolType); in toolTypeToString()
3226 String symbolicName = nativeKeyCodeToString(keyCode); in keyCodeToString() local3227 return symbolicName != null ? LABEL_PREFIX + symbolicName : Integer.toString(keyCode); in keyCodeToString()3239 public static int keyCodeFromString(@NonNull String symbolicName) { in keyCodeFromString() argument3241 int keyCode = Integer.parseInt(symbolicName); in keyCodeFromString()3248 if (symbolicName.startsWith(LABEL_PREFIX)) { in keyCodeFromString()3249 symbolicName = symbolicName.substring(LABEL_PREFIX.length()); in keyCodeFromString()3251 int keyCode = nativeKeyCodeFromString(symbolicName); in keyCodeFromString()