Home
last modified time | relevance | path

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

/external/chromium_org/athena/home/
Dhome_card_gesture_manager_unittest.cc156 EXPECT_EQ(HomeCard::VISIBLE_CENTERED, last_to_state_); in TEST_F()
163 EXPECT_EQ(HomeCard::VISIBLE_CENTERED, last_to_state_); in TEST_F()
168 EXPECT_EQ(HomeCard::VISIBLE_CENTERED, last_to_state_); in TEST_F()
180 HomeCard::Get()->SetState(HomeCard::VISIBLE_CENTERED); in TEST_F()
187 EXPECT_EQ(HomeCard::VISIBLE_CENTERED, last_to_state_); in TEST_F()
194 EXPECT_EQ(HomeCard::VISIBLE_CENTERED, last_to_state_); in TEST_F()
232 EXPECT_EQ(HomeCard::VISIBLE_CENTERED, final_state_); in TEST_F()
251 HomeCard::Get()->SetState(HomeCard::VISIBLE_CENTERED); in TEST_F()
Dhome_card_unittest.cc76 EXPECT_EQ(HomeCard::VISIBLE_CENTERED, HomeCard::Get()->GetState()); in TEST_F()
119 EXPECT_EQ(HomeCard::VISIBLE_CENTERED, HomeCard::Get()->GetState()); in TEST_F()
132 EXPECT_EQ(HomeCard::VISIBLE_CENTERED, HomeCard::Get()->GetState()); in TEST_F()
134 EXPECT_EQ(HomeCard::VISIBLE_CENTERED, HomeCard::Get()->GetState()); in TEST_F()
192 EXPECT_EQ(HomeCard::VISIBLE_CENTERED, HomeCard::Get()->GetState()); in TEST_F()
200 EXPECT_EQ(HomeCard::VISIBLE_CENTERED, HomeCard::Get()->GetState()); in TEST_F()
208 EXPECT_EQ(HomeCard::VISIBLE_CENTERED, HomeCard::Get()->GetState()); in TEST_F()
223 EXPECT_EQ(HomeCard::VISIBLE_CENTERED, HomeCard::Get()->GetState()); in TEST_F()
247 EXPECT_EQ(HomeCard::VISIBLE_CENTERED, HomeCard::Get()->GetState()); in TEST_F()
269 EXPECT_EQ(HomeCard::VISIBLE_CENTERED, HomeCard::Get()->GetState()); in TEST_F()
Dhome_card_gesture_manager.cc77 final_state = std::max(HomeCard::VISIBLE_CENTERED, in ProcessGestureEvent()
91 int max_height = (original_state_ == HomeCard::VISIBLE_CENTERED) in GetFinalState()
103 return HomeCard::VISIBLE_CENTERED; in GetFinalState()
120 bigger_state = HomeCard::VISIBLE_CENTERED; in UpdateScrollState()
Dhome_card_impl.cc45 case HomeCard::VISIBLE_CENTERED: in GetBoundsForState()
162 if (from_state == HomeCard::VISIBLE_CENTERED) in SetStateProgress()
164 else if (to_state == HomeCard::VISIBLE_CENTERED) in SetStateProgress()
172 if (state == HomeCard::VISIBLE_CENTERED) in SetStateWithAnimation()
178 (state == HomeCard::VISIBLE_CENTERED) ? 1.0f : 0.0f, tween_type); in SetStateWithAnimation()
355 SetState(VISIBLE_CENTERED); in UpdateVirtualKeyboardBounds()
370 if (state_ == VISIBLE_CENTERED && original_state_ != VISIBLE_BOTTOM) in OnAcceleratorFired()
373 SetState(VISIBLE_CENTERED); in OnAcceleratorFired()
/external/chromium_org/athena/home/public/
Dhome_card.h28 VISIBLE_CENTERED, enumerator