Home
last modified time | relevance | path

Searched refs:symbolicName (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/view/
DMotionEvent.java2954 String symbolicName = AXIS_SYMBOLIC_NAMES.get(axis); in axisToString() local
2955 return symbolicName != null ? symbolicName : Integer.toString(axis); in axisToString()
2966 public static int axisFromString(String symbolicName) { in axisFromString() argument
2967 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() local
3031 return symbolicName != null ? symbolicName : Integer.toString(toolType); in toolTypeToString()
DKeyEvent.java2725 String symbolicName = KEYCODE_SYMBOLIC_NAMES.get(keyCode); in keyCodeToString() local
2726 return symbolicName != null ? symbolicName : Integer.toString(keyCode); in keyCodeToString()
2737 public static int keyCodeFromString(String symbolicName) { in keyCodeFromString() argument
2738 if (symbolicName == null) { in keyCodeFromString()
2744 if (symbolicName.equals(KEYCODE_SYMBOLIC_NAMES.valueAt(i))) { in keyCodeFromString()
2750 return Integer.parseInt(symbolicName, 10); in keyCodeFromString()