summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAndy Wickham <awickham@google.com>2019-10-01 13:52:22 -0700
committerAndy Wickham <awickham@google.com>2019-10-01 14:38:56 -0700
commit769c795edfe77fe2a3f6472a5b60fd1a73618a13 (patch)
tree6b01c2bd66848758cc5a00e627f7e0e68f277215 /tests
parent4c420047cf268f20daf245be53f16f54b518f246 (diff)
downloadandroid_packages_apps_Trebuchet-769c795edfe77fe2a3f6472a5b60fd1a73618a13.tar.gz
android_packages_apps_Trebuchet-769c795edfe77fe2a3f6472a5b60fd1a73618a13.tar.bz2
android_packages_apps_Trebuchet-769c795edfe77fe2a3f6472a5b60fd1a73618a13.zip
Some cleanup for SwipeDetector.
It is now organized as follows: - private constants - public constants - private final fields - private variable fields - constructors - public methods - private methods - public interface/abstract class This is intended to be a functional no-op. Bug: 141939911 Change-Id: Iad5a9b3b73b35641f8a4f1d52ada6adef3825c47 Tested: Built and sanity checked manually.
Diffstat (limited to 'tests')
-rw-r--r--tests/src/com/android/launcher3/touch/SwipeDetectorTest.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/src/com/android/launcher3/touch/SwipeDetectorTest.java b/tests/src/com/android/launcher3/touch/SwipeDetectorTest.java
index e04235708..f209fae97 100644
--- a/tests/src/com/android/launcher3/touch/SwipeDetectorTest.java
+++ b/tests/src/com/android/launcher3/touch/SwipeDetectorTest.java
@@ -25,6 +25,10 @@ import static org.mockito.Mockito.verify;
import android.util.Log;
import android.view.ViewConfiguration;
+import androidx.test.InstrumentationRegistry;
+import androidx.test.filters.SmallTest;
+import androidx.test.runner.AndroidJUnit4;
+
import com.android.launcher3.testcomponent.TouchEventGenerator;
import org.junit.Before;
@@ -33,10 +37,6 @@ import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.mockito.MockitoAnnotations;
-import androidx.test.InstrumentationRegistry;
-import androidx.test.filters.SmallTest;
-import androidx.test.runner.AndroidJUnit4;
-
@SmallTest
@RunWith(AndroidJUnit4.class)
public class SwipeDetectorTest {