Remove all the extra accessor methods added by javac in support-transition.

Change private methods to be package protected to avoid extra methods
that get added to be able to access them from inner classes.

This CL saves 9 methods in our jar.

Bug: 31075707
Change-Id: I0dfd80ddc98ff43535feed2c5c31dffcd3aa53ce
diff --git a/transition/ics/android/support/transition/TransitionIcs.java b/transition/ics/android/support/transition/TransitionIcs.java
index 6a78a18..8cd5fae 100644
--- a/transition/ics/android/support/transition/TransitionIcs.java
+++ b/transition/ics/android/support/transition/TransitionIcs.java
@@ -234,6 +234,9 @@
 
         private final ArrayList<TransitionInterfaceListener> mListeners = new ArrayList<>();
 
+        CompatListener() {
+        }
+
         public void addListener(TransitionInterfaceListener listener) {
             mListeners.add(listener);
         }
diff --git a/transition/ics/android/support/transition/TransitionManagerPort.java b/transition/ics/android/support/transition/TransitionManagerPort.java
index 7857f57..3c65dd7 100644
--- a/transition/ics/android/support/transition/TransitionManagerPort.java
+++ b/transition/ics/android/support/transition/TransitionManagerPort.java
@@ -38,7 +38,7 @@
     private static ThreadLocal<WeakReference<ArrayMap<ViewGroup, ArrayList<TransitionPort>>>>
             sRunningTransitions = new ThreadLocal<>();
 
-    private static ArrayList<ViewGroup> sPendingTransitions = new ArrayList<>();
+    static ArrayList<ViewGroup> sPendingTransitions = new ArrayList<>();
 
     ArrayMap<ScenePort, TransitionPort> mSceneTransitions = new ArrayMap<>();
 
@@ -105,7 +105,7 @@
         sceneChangeRunTransition(sceneRoot, transitionClone);
     }
 
-    private static ArrayMap<ViewGroup, ArrayList<TransitionPort>> getRunningTransitions() {
+    static ArrayMap<ViewGroup, ArrayList<TransitionPort>> getRunningTransitions() {
         WeakReference<ArrayMap<ViewGroup, ArrayList<TransitionPort>>> runningTransitions =
                 sRunningTransitions.get();
         if (runningTransitions == null || runningTransitions.get() == null) {
diff --git a/transition/ics/android/support/transition/TransitionPort.java b/transition/ics/android/support/transition/TransitionPort.java
index 31b4221..052a64b 100644
--- a/transition/ics/android/support/transition/TransitionPort.java
+++ b/transition/ics/android/support/transition/TransitionPort.java
@@ -99,7 +99,7 @@
 
     // Track all animators in use in case the transition gets canceled and needs to
     // cancel running animators
-    private ArrayList<Animator> mCurrentAnimators = new ArrayList<>();
+    ArrayList<Animator> mCurrentAnimators = new ArrayList<>();
 
     // Whether this transition has ended. Used to avoid pause/resume on transitions
     // that have completed
diff --git a/transition/ics/android/support/transition/VisibilityPort.java b/transition/ics/android/support/transition/VisibilityPort.java
index afbf6fe..ebe5cb8 100644
--- a/transition/ics/android/support/transition/VisibilityPort.java
+++ b/transition/ics/android/support/transition/VisibilityPort.java
@@ -226,5 +226,8 @@
         ViewGroup startParent;
 
         ViewGroup endParent;
+
+        VisibilityInfo() {
+        }
     }
 }
diff --git a/transition/kitkat/android/support/transition/TransitionKitKat.java b/transition/kitkat/android/support/transition/TransitionKitKat.java
index 78e4b76..e9e60e5 100644
--- a/transition/kitkat/android/support/transition/TransitionKitKat.java
+++ b/transition/kitkat/android/support/transition/TransitionKitKat.java
@@ -325,15 +325,18 @@
 
         private final ArrayList<TransitionInterfaceListener> mListeners = new ArrayList<>();
 
-        private void addListener(TransitionInterfaceListener listener) {
+        CompatListener() {
+        }
+
+        void addListener(TransitionInterfaceListener listener) {
             mListeners.add(listener);
         }
 
-        private void removeListener(TransitionInterfaceListener listener) {
+        void removeListener(TransitionInterfaceListener listener) {
             mListeners.remove(listener);
         }
 
-        private boolean isEmpty() {
+        boolean isEmpty() {
             return mListeners.isEmpty();
         }