Home
last modified time | relevance | path

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

/external/chromium_org/ash/shelf/
Dshelf_layout_manager.cc848 int resistance_free_region = 0; in UpdateTargetBoundsForGesture() local
857 resistance_free_region = GetPreferredShelfSize() - kAutoHideSize; in UpdateTargetBoundsForGesture()
861 gesture_drag_amount_ < -resistance_free_region, in UpdateTargetBoundsForGesture()
862 gesture_drag_amount_ > resistance_free_region, in UpdateTargetBoundsForGesture()
863 gesture_drag_amount_ < -resistance_free_region, in UpdateTargetBoundsForGesture()
864 gesture_drag_amount_ > resistance_free_region); in UpdateTargetBoundsForGesture()
868 float diff = fabsf(gesture_drag_amount_) - resistance_free_region; in UpdateTargetBoundsForGesture()
871 translate = -resistance_free_region - diff; in UpdateTargetBoundsForGesture()
873 translate = resistance_free_region + diff; in UpdateTargetBoundsForGesture()