Searched defs:animView (Results 1 - 2 of 2) sorted by relevance
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | SwipeHelper.java | 267 final View animView = mCurrView.getSwipeableView().getView(); 269 float newPos = determinePos(animView, velocity); 270 int duration = determineDuration(animView, newPos, velocity); 272 Utils.enableHardwareLayer(animView); 273 ObjectAnimator anim = createDismissAnimation(animView, newPos, duration); 278 animView.setLayerType(View.LAYER_TYPE_NONE, null); 285 animView.setAlpha(getAlphaForOffset(animView)); 287 invalidateGlobalRegion(animView); 293 private static int determineDuration(View animView, floa argument 306 determinePos(View animView, float velocity) argument [all...] |
/packages/apps/Dialer/src/com/android/dialer/list/ |
H A D | SwipeHelper.java | 274 final View animView = mCallback.getChildContentView(view); 276 float newPos = determinePos(animView, velocity); 277 int duration = determineDuration(animView, newPos, velocity); 279 animView.setLayerType(View.LAYER_TYPE_HARDWARE, null); 280 ObjectAnimator anim = createDismissAnimation(animView, newPos, duration); 285 animView.setLayerType(View.LAYER_TYPE_NONE, null); 292 animView.setAlpha(getAlphaForOffset(animView)); 294 invalidateGlobalRegion(animView); 300 private int determineDuration(View animView, floa argument 313 determinePos(View animView, float velocity) argument [all...] |
Completed in 54 milliseconds