Bug 868460 - Move all animation-related classes to the animation directory (r=mfinkle)

--HG--
rename : mobile/android/base/AnimatorProxy.java => mobile/android/base/animation/AnimatorProxy.java
rename : mobile/android/base/HeightChangeAnimation.java => mobile/android/base/animation/HeightChangeAnimation.java
rename : mobile/android/base/PropertyAnimator.java => mobile/android/base/animation/PropertyAnimator.java
rename : mobile/android/base/Rotate3DAnimation.java => mobile/android/base/animation/Rotate3DAnimation.java
rename : mobile/android/base/ViewHelper.java => mobile/android/base/animation/ViewHelper.java
This commit is contained in:
Lucas Rocha 2013-05-07 18:04:11 +01:00
Родитель 8bbad08286
Коммит 8f492a6463
12 изменённых файлов: 23 добавлений и 12 удалений

Просмотреть файл

@ -4,6 +4,8 @@
package org.mozilla.gecko;
import org.mozilla.gecko.animation.HeightChangeAnimation;
import android.content.Context;
import android.util.AttributeSet;
import android.view.animation.Animation;

Просмотреть файл

@ -5,6 +5,7 @@
package org.mozilla.gecko;
import org.mozilla.gecko.animation.PropertyAnimator;
import org.mozilla.gecko.db.BrowserContract.Combined;
import org.mozilla.gecko.db.BrowserDB;
import org.mozilla.gecko.gfx.BitmapUtils;

Просмотреть файл

@ -5,6 +5,8 @@
package org.mozilla.gecko;
import org.mozilla.gecko.animation.PropertyAnimator;
import org.mozilla.gecko.animation.ViewHelper;
import org.mozilla.gecko.gfx.ImmutableViewportMetrics;
import org.mozilla.gecko.gfx.LayerView;
import org.mozilla.gecko.util.StringUtils;

Просмотреть файл

@ -50,12 +50,16 @@ FENNEC_JAVA_FILES = \
AllCapsTextView.java \
AndroidImport.java \
AndroidImportPreference.java \
AnimatorProxy.java \
AnimatedHeightLayout.java \
AppNotificationClient.java \
AwesomeBar.java \
AwesomebarResultHandler.java \
AwesomeBarTabs.java \
animation/AnimatorProxy.java \
animation/HeightChangeAnimation.java \
animation/PropertyAnimator.java \
animation/Rotate3DAnimation.java \
animation/ViewHelper.java \
awesomebar/AwesomeBarTab.java \
awesomebar/AllPagesTab.java \
awesomebar/BookmarksTab.java \
@ -111,7 +115,6 @@ FENNEC_JAVA_FILES = \
GeckoJavaSampler.java \
GlobalHistory.java \
GeckoViewsFactory.java \
HeightChangeAnimation.java \
InputMethods.java \
JavaAddonManager.java \
LightweightTheme.java \
@ -132,7 +135,6 @@ FENNEC_JAVA_FILES = \
PrefsHelper.java \
PrivateDataPreference.java \
PrivateTab.java \
PropertyAnimator.java \
ProfileMigrator.java \
PromptService.java \
Restarter.java \
@ -143,7 +145,6 @@ FENNEC_JAVA_FILES = \
ReaderModeUtils.java \
RemoteTabs.java \
RobocopAPI.java \
Rotate3DAnimation.java \
ServiceNotificationClient.java \
SessionParser.java \
SetupScreen.java \
@ -166,7 +167,6 @@ FENNEC_JAVA_FILES = \
TouchEventInterceptor.java \
UpdateServiceHelper.java \
VideoPlayer.java \
ViewHelper.java \
WebAppAllocator.java \
WebAppImpl.java \
ZoomConstraints.java \

Просмотреть файл

@ -5,6 +5,8 @@
package org.mozilla.gecko;
import org.mozilla.gecko.animation.Rotate3DAnimation;
import android.content.Context;
import android.os.Build;
import android.view.accessibility.AccessibilityNodeInfo;

Просмотреть файл

@ -5,6 +5,8 @@
package org.mozilla.gecko;
import org.mozilla.gecko.animation.PropertyAnimator;
import org.mozilla.gecko.animation.ViewHelper;
import org.mozilla.gecko.widget.IconTabWidget;
import android.content.Context;

Просмотреть файл

@ -5,7 +5,9 @@
package org.mozilla.gecko;
import org.mozilla.gecko.PropertyAnimator.Property;
import org.mozilla.gecko.animation.PropertyAnimator;
import org.mozilla.gecko.animation.PropertyAnimator.Property;
import org.mozilla.gecko.animation.ViewHelper;
import org.mozilla.gecko.widget.TwoWayView;
import android.content.Context;

Просмотреть файл

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.mozilla.gecko;
package org.mozilla.gecko.animation;
import android.graphics.Matrix;
import android.graphics.RectF;
@ -17,7 +17,7 @@ import android.view.animation.Transformation;
import java.lang.ref.WeakReference;
import java.util.WeakHashMap;
public class AnimatorProxy {
class AnimatorProxy {
private static final WeakHashMap<View, AnimatorProxy> PROXIES =
new WeakHashMap<View, AnimatorProxy>();

Просмотреть файл

@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.mozilla.gecko;
package org.mozilla.gecko.animation;
import android.view.View;
import android.view.animation.Animation;

Просмотреть файл

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.mozilla.gecko;
package org.mozilla.gecko.animation;
import android.support.v4.view.ViewCompat;
import android.os.Build;

Просмотреть файл

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.mozilla.gecko;
package org.mozilla.gecko.animation;
import android.view.animation.Animation;
import android.view.animation.Transformation;

Просмотреть файл

@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.mozilla.gecko;
package org.mozilla.gecko.animation;
import android.view.View;