Lines Matching refs:state_
227 state_(HIDDEN),
306 if (state_ == state)
309 // Update |state_| before changing the visibility of the widgets, so that
311 HomeCard::State old_state = state_;
312 state_ = state;
316 state_ == VISIBLE_MINIMIZED) {
321 minimized_home_->layer()->SetVisible(state_ == VISIBLE_MINIMIZED);
323 state_ == VISIBLE_MINIMIZED ? 1.0f : 0.0f);
326 if (state_ == HIDDEN) {
329 if (state_ == VISIBLE_MINIMIZED)
339 return state_;
351 if (state_ == VISIBLE_MINIMIZED && !bounds.IsEmpty()) {
354 } else if (state_ == VISIBLE_BOTTOM && !bounds.IsEmpty()) {
357 } else if (state_ != original_state_ && bounds.IsEmpty()) {
370 if (state_ == VISIBLE_CENTERED && original_state_ != VISIBLE_BOTTOM)
372 else if (state_ == VISIBLE_MINIMIZED)
379 if (state_ != final_state &&
380 (state_ == VISIBLE_MINIMIZED || final_state == VISIBLE_MINIMIZED)) {
384 state_ = final_state;
390 home_card_view_->SetStateWithAnimation(state_, tween_type);
417 if (state_ == HIDDEN || state_ == VISIBLE_MINIMIZED)
433 if (state_ != HIDDEN &&