Searched refs:animView (Results 1 – 1 of 1) sorted by relevance
267 final View animView = view.getSwipeableView().getView(); in dismissChild() local269 float newPos = determinePos(animView, velocity); in dismissChild()270 int duration = determineDuration(animView, newPos, velocity); in dismissChild()272 Utils.enableHardwareLayer(animView); in dismissChild()273 ObjectAnimator anim = createDismissAnimation(animView, newPos, duration); in dismissChild()278 animView.setLayerType(View.LAYER_TYPE_NONE, null); in dismissChild()285 animView.setAlpha(getAlphaForOffset(animView)); in dismissChild()287 invalidateGlobalRegion(animView); in dismissChild()293 private static int determineDuration(View animView, float newPos, float velocity) { in determineDuration() argument298 (int) (Math.abs(newPos - animView.getTranslationX()) * 1000f / Math in determineDuration()[all …]