Searched refs:IsSnapped (Results 1 – 10 of 10) sorted by relevance
124 if (next_state_type == current && window_state->IsSnapped()) { in OnWMEvent()248 if (window_state->IsSnapped()) { in ProcessCompoundEvents()401 } else if (window_state->IsSnapped()) { in SetBounds()429 (window_state->IsSnapped() || in EnterToNextState()597 if (window_state->IsSnapped()) { in CenterWindow()
120 bool WindowState::IsSnapped() const { in IsSnapped() function in ash::wm::WindowState131 return IsNormalStateType() || IsSnapped(); in IsNormalOrSnapped()339 if (is_dragged() || !IsSnapped()) in AdjustSnappedBounds()
100 bool IsSnapped() const;
921 EXPECT_TRUE(window_state->IsSnapped()); in TEST_F()927 EXPECT_FALSE(window_state->IsSnapped()); in TEST_F()930 EXPECT_FALSE(window_state->IsSnapped()); in TEST_F()933 EXPECT_FALSE(window_state->IsSnapped()); in TEST_F()937 EXPECT_TRUE(window_state->IsSnapped()); in TEST_F()
1526 EXPECT_FALSE(window_state->IsSnapped()); in TEST_P()1538 EXPECT_TRUE(window_state->IsSnapped()); in TEST_P()1549 EXPECT_FALSE(window_state->IsSnapped()); in TEST_P()1562 EXPECT_TRUE(window_state->IsSnapped()); in TEST_P()
821 window_state->IsSnapped()) { in OnPreWindowStateTypeChange()
360 EXPECT_TRUE(window_state->IsSnapped()); in TEST_F()
451 if (window_state()->IsSnapped()) { in CompleteDrag()
86 return window_state->IsDocked() || window_state->IsSnapped(); in IsDockedOrSnapped()
2195 EXPECT_FALSE(window_state->IsSnapped()); in IN_PROC_BROWSER_TEST_P()