Java Code Examples for org.chromium.chrome.browser.compositor.layouts.phone.stack.StackAnimation.OverviewAnimationType#VIEW_MORE

The following examples show how to use org.chromium.chrome.browser.compositor.layouts.phone.stack.StackAnimation.OverviewAnimationType#VIEW_MORE . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: Stack.java    From delion with Apache License 2.0 5 votes vote down vote up
private boolean allowOverscroll() {
    // All the animations that want to leave the tilt value to be set by the overscroll must
    // be added here.
    return (mOverviewAnimationType == OverviewAnimationType.NONE
                   || mOverviewAnimationType == OverviewAnimationType.VIEW_MORE
                   || mOverviewAnimationType == OverviewAnimationType.ENTER_STACK)
            && mPinch0TabIndex < 0;
}
 
Example 2
Source File: Stack.java    From AndroidChromium with Apache License 2.0 5 votes vote down vote up
private boolean allowOverscroll() {
    // All the animations that want to leave the tilt value to be set by the overscroll must
    // be added here.
    return (mOverviewAnimationType == OverviewAnimationType.NONE
                   || mOverviewAnimationType == OverviewAnimationType.VIEW_MORE
                   || mOverviewAnimationType == OverviewAnimationType.ENTER_STACK)
            && mPinch0TabIndex < 0;
}
 
Example 3
Source File: Stack.java    From 365browser with Apache License 2.0 5 votes vote down vote up
private boolean allowOverscroll() {
    // All the animations that want to leave the tilt value to be set by the overscroll must
    // be added here.
    return (mOverviewAnimationType == OverviewAnimationType.NONE
                   || mOverviewAnimationType == OverviewAnimationType.VIEW_MORE
                   || mOverviewAnimationType == OverviewAnimationType.ENTER_STACK)
            && mPinch0TabIndex < 0;
}