Lines Matching refs:visibility_state
244 (state_.visibility_state == SHELF_VISIBLE ||
245 (state_.visibility_state == SHELF_AUTO_HIDE &&
352 CalculateAutoHideState(state_.visibility_state);
356 SetState(state_.visibility_state);
390 if (visibility_state() == SHELF_AUTO_HIDE) {
401 gesture_drag_auto_hide_state_ = visibility_state() == SHELF_AUTO_HIDE ?
578 void ShelfLayoutManager::SetState(ShelfVisibilityState visibility_state) {
583 state.visibility_state = visibility_state;
584 state.auto_hide_state = CalculateAutoHideState(visibility_state);
598 WillChangeVisibilityState(visibility_state));
600 if (state.visibility_state == SHELF_AUTO_HIDE) {
622 if (state.visibility_state == SHELF_VISIBLE &&
624 old_state.visibility_state != SHELF_VISIBLE) {
629 if (state.visibility_state == SHELF_VISIBLE &&
630 old_state.visibility_state == SHELF_AUTO_HIDE &&
646 state.visibility_state == SHELF_VISIBLE &&
657 if ((old_state.visibility_state != state_.visibility_state &&
658 state_.visibility_state == SHELF_AUTO_HIDE) ||
774 if (state.visibility_state == SHELF_AUTO_HIDE &&
783 } else if (state.visibility_state == SHELF_HIDDEN ||
851 state.visibility_state == SHELF_VISIBLE ||
852 state.visibility_state == SHELF_AUTO_HIDE) ? 1.0f : 0.0f;
854 (state.visibility_state == SHELF_AUTO_HIDE &&
885 visibility_state() == SHELF_AUTO_HIDE &&
956 if (state_.visibility_state != SHELF_AUTO_HIDE &&
963 (state_.visibility_state == SHELF_AUTO_HIDE)) {
971 SetState(state_.visibility_state);
1003 ShelfVisibilityState visibility_state) const {
1004 if (visibility_state != SHELF_AUTO_HIDE || !shelf_)
1109 if (state.visibility_state == SHELF_VISIBLE)
1111 if (state.visibility_state == SHELF_AUTO_HIDE)