Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/
DModernMediaScannerTest.java67 private File mDir; field in ModernMediaScannerTest
76 mDir = new File(Environment.getExternalStorageDirectory(), "test_" + System.nanoTime()); in setUp()
77 mDir.mkdirs(); in setUp()
78 FileUtils.deleteContents(mDir); in setUp()
89 FileUtils.deleteContents(mDir); in tearDown()
251 final File music = new File(mDir, "Music"); in doPlaylist()
258 mModern.scanDirectory(mDir); in doPlaylist()
286 mModern.scanDirectory(mDir); in doPlaylist()
303 final File file = new File(mDir, "red.jpg"); in testScan_Common()
306 mModern.scanDirectory(mDir); in testScan_Common()
[all …]
DMediaScannerTest.java63 private final File mDir; field in MediaScannerTest.IsolatedContext
69 mDir = new File(base.getFilesDir(), tag); in IsolatedContext()
70 mDir.mkdirs(); in IsolatedContext()
71 FileUtils.deleteContents(mDir); in IsolatedContext()
91 return new File(mDir, name); in getDatabasePath()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DSingleAxisSwipeDetector.java88 private final Direction mDir; field in SingleAxisSwipeDetector
104 mDir = dir; in SingleAxisSwipeDetector()
123 return mDir.isPositive(mDir.extractDirection(mSubtractDisplacement)); in wasInitialTouchPositive()
129 if (!mDir.canScrollStart(displacement, mTouchSlop)) { in shouldScrollStart()
134 float displacementComponent = mDir.extractDirection(displacement); in shouldScrollStart()
139 return (mScrollDirections & DIRECTION_NEGATIVE) > 0 && mDir.isNegative(displacement); in canScrollNegative()
143 return (mScrollDirections & DIRECTION_POSITIVE) > 0 && mDir.isPositive(displacement); in canScrollPositive()
153 mListener.onDrag(mDir.extractDirection(displacement), event); in reportDraggingInternal()
158 float velocityComponent = mDir.extractDirection(velocity); in reportDragEndInternal()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
DRequestSetPath.java28 SetPathDir mDir; field in RequestSetPath
34 mDir = SetPathDir.DOWN; in RequestSetPath()
43 mDir = SetPathDir.ROOT; in RequestSetPath()
45 mDir = SetPathDir.UP; in RequestSetPath()
54 switch (mDir) { in execute()