Home
last modified time | relevance | path

Searched refs:mTable (Results 1 – 4 of 4) sorted by relevance

/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DKeyboardInterpreter.java29 private final PhotoTable mTable; field in KeyboardInterpreter
35 mTable = table; in KeyboardInterpreter()
38 final View focus = mTable.getFocus(); in onKeyDown()
40 if (mTable.hasSelection()) { in onKeyDown()
45 mTable.setFocus(mTable.getSelection()); in onKeyDown()
46 mTable.clearSelection(); in onKeyDown()
53 mTable.selectPrevious(); in onKeyDown()
61 mTable.selectNext(); in onKeyDown()
69 mTable.refreshSelection(); in onKeyDown()
76 if (mTable.hasFocus()) { in onKeyDown()
[all …]
DPhotoTouchListener.java35 private final PhotoTable mTable; field in PhotoTouchListener
56 mTable = table; in PhotoTouchListener()
118 mTable.fling(target, x1 - x0, y1 - y0, (int) (1000f * n / 60f), false); in onFling()
134 mTable.moveToTopOfPile(target); in onTouch()
184 if (!mTable.hasSelection()) { in onTouch()
190 mTable.move(target, in onTouch()
210 if (mTable.hasSelection()) { in onTouch()
212 mTable.clearSelection(); in onTouch()
215 mTable.selectPrevious(); in onTouch()
217 mTable.selectNext(); in onTouch()
[all …]
DEdgeSwipeDetector.java32 private final PhotoTable mTable; field in EdgeSwipeDetector
35 mTable = table; in EdgeSwipeDetector()
64 if (mTable.hasFocus()) { in onTouchEvent()
65 mTable.fling(mTable.getFocus()); in onTouchEvent()
66 } else if (mTable.hasSelection()) { in onTouchEvent()
67 mTable.clearSelection(); in onTouchEvent()
DDragGestureDetector.java29 private final PhotoTable mTable; field in DragGestureDetector
39 mTable = table; in DragGestureDetector()
73 mDrag = mTable.hasFocus(); in onTouchEvent()
98 mTable.refreshFocus(); in onTouchEvent()
105 mTable.move(mTable.getFocus(), in move()