Searched defs:toolType (Results 1 - 4 of 4) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/selection/
H A DToolHandlerRegistry.java53 * @param toolType
57 void set(int toolType, @Nullable T delegate) { argument
58 checkArgument(toolType >= 0 && toolType <= MotionEvent.TOOL_TYPE_ERASER);
59 checkState(mHandlers.get(toolType) == null);
61 mHandlers.set(toolType, delegate);
H A DTouchEventRouter.java69 * @param toolType See MotionEvent for details on available types.
71 * of {@code toolType}.
73 public void register(int toolType, OnItemTouchListener delegate) { argument
75 mDelegates.set(toolType, delegate);
H A DGestureRouter.java47 * @param toolType
50 public void register(int toolType, @Nullable T delegate) { argument
51 mDelegates.set(toolType, delegate);
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
H A DDirectoryListBot.java169 int toolType = Configurator.getInstance().getToolType();
173 Configurator.getInstance().setToolType(toolType);
330 int action, int buttonState, int toolType, int source, int x, int y) {
336 pp[0].toolType = toolType;
329 getTestMotionEvent( int action, int buttonState, int toolType, int source, int x, int y) argument

Completed in 62 milliseconds