Searched refs:symbolicName (Results 1 – 2 of 2) sorted by relevance
3236 String symbolicName = nativeAxisToString(axis); in axisToString() local3237 return symbolicName != null ? LABEL_PREFIX + symbolicName : Integer.toString(axis); in axisToString()3248 public static int axisFromString(String symbolicName) { in axisFromString() argument3249 if (symbolicName.startsWith(LABEL_PREFIX)) { in axisFromString()3250 symbolicName = symbolicName.substring(LABEL_PREFIX.length()); in axisFromString()3251 int axis = nativeAxisFromString(symbolicName); in axisFromString()3257 return Integer.parseInt(symbolicName, 10); in axisFromString()3308 String symbolicName = TOOL_TYPE_SYMBOLIC_NAMES.get(toolType); in toolTypeToString() local3309 return symbolicName != null ? symbolicName : Integer.toString(toolType); in toolTypeToString()
2880 String symbolicName = nativeKeyCodeToString(keyCode); in keyCodeToString() local2881 return symbolicName != null ? LABEL_PREFIX + symbolicName : Integer.toString(keyCode); in keyCodeToString()2892 public static int keyCodeFromString(String symbolicName) { in keyCodeFromString() argument2893 if (symbolicName.startsWith(LABEL_PREFIX)) { in keyCodeFromString()2894 symbolicName = symbolicName.substring(LABEL_PREFIX.length()); in keyCodeFromString()2895 int keyCode = nativeKeyCodeFromString(symbolicName); in keyCodeFromString()2901 return Integer.parseInt(symbolicName, 10); in keyCodeFromString()