Searched refs:mDir (Results 1 – 4 of 4) sorted by relevance
67 private File mDir; field in ModernMediaScannerTest76 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 …]
63 private final File mDir; field in MediaScannerTest.IsolatedContext69 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()
88 private final Direction mDir; field in SingleAxisSwipeDetector104 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()
28 SetPathDir mDir; field in RequestSetPath34 mDir = SetPathDir.DOWN; in RequestSetPath()43 mDir = SetPathDir.ROOT; in RequestSetPath()45 mDir = SetPathDir.UP; in RequestSetPath()54 switch (mDir) { in execute()