Searched refs:symbolicName (Results 1 – 2 of 2) sorted by relevance
2954 String symbolicName = AXIS_SYMBOLIC_NAMES.get(axis); in axisToString() local2955 return symbolicName != null ? symbolicName : Integer.toString(axis); in axisToString()2966 public static int axisFromString(String symbolicName) { in axisFromString() argument2967 if (symbolicName == null) { in axisFromString()2973 if (symbolicName.equals(AXIS_SYMBOLIC_NAMES.valueAt(i))) { in axisFromString()2979 return Integer.parseInt(symbolicName, 10); in axisFromString()3030 String symbolicName = TOOL_TYPE_SYMBOLIC_NAMES.get(toolType); in toolTypeToString() local3031 return symbolicName != null ? symbolicName : Integer.toString(toolType); in toolTypeToString()
2725 String symbolicName = KEYCODE_SYMBOLIC_NAMES.get(keyCode); in keyCodeToString() local2726 return symbolicName != null ? symbolicName : Integer.toString(keyCode); in keyCodeToString()2737 public static int keyCodeFromString(String symbolicName) { in keyCodeFromString() argument2738 if (symbolicName == null) { in keyCodeFromString()2744 if (symbolicName.equals(KEYCODE_SYMBOLIC_NAMES.valueAt(i))) { in keyCodeFromString()2750 return Integer.parseInt(symbolicName, 10); in keyCodeFromString()