Home
last modified time | relevance | path

Searched refs:SwipeDismissLayout (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
DSwipeDismissLayout.java44 public class SwipeDismissLayout extends FrameLayout { class
51 void onDismissed(SwipeDismissLayout layout); in onDismissed()
63 void onSwipeProgressChanged(SwipeDismissLayout layout, float alpha, float translate); in onSwipeProgressChanged()
65 void onSwipeCancelled(SwipeDismissLayout layout); in onSwipeCancelled()
96 public SwipeDismissLayout(Context context) { in SwipeDismissLayout() method in SwipeDismissLayout
101 public SwipeDismissLayout(Context context, AttributeSet attrs) { in SwipeDismissLayout() method in SwipeDismissLayout
106 public SwipeDismissLayout(Context context, AttributeSet attrs, int defStyle) { in SwipeDismissLayout() method in SwipeDismissLayout
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java115 import com.android.internal.widget.SwipeDismissLayout;
3051 if (!(contentParent instanceof SwipeDismissLayout)) {
3055 SwipeDismissLayout swipeDismiss = (SwipeDismissLayout) contentParent;
3056 swipeDismiss.setOnDismissedListener(new SwipeDismissLayout.OnDismissedListener() {
3058 public void onDismissed(SwipeDismissLayout layout) {
3064 new SwipeDismissLayout.OnSwipeProgressChangedListener() {
3067 SwipeDismissLayout layout, float alpha, float translate) {
3083 public void onSwipeCancelled(SwipeDismissLayout layout) {
3101 && mContentParent instanceof SwipeDismissLayout) { // check casting mContentParent
3102 ((SwipeDismissLayout) mContentParent).setDismissable(closeOnSwipeEnabled);