Lines Matching defs:kShelfSize
21 const int kShelfSize = 30;
26 // A cursor position that is within the shelf. This must be < kShelfSize.
27 const int kCursorOnShelf = kShelfSize / 2;
67 positioner_->WorkAreaInset(kShelfSize, 0, 0, 0);
70 positioner_->WorkAreaInset(0, 0, kShelfSize, 0);
73 positioner_->WorkAreaInset(0, kShelfSize, 0, 0);
76 positioner_->WorkAreaInset(0, 0, 0, kShelfSize);
156 gfx::Point(kShelfSize + kWindowWidth / 2 + kMinDistanceFromEdge,
164 kScreenWidth - kShelfSize - kWindowWidth / 2 - kMinDistanceFromEdge,
171 kMenuBarSize + kShelfSize + kWindowHeight / 2 +
179 kScreenHeight - kShelfSize - kWindowHeight / 2 -
189 gfx::Point(kShelfSize + kWindowWidth / 2 + kMinDistanceFromEdge,
197 kScreenWidth - kShelfSize - kWindowWidth / 2 - kMinDistanceFromEdge,
204 kMenuBarSize + kShelfSize + kWindowHeight / 2 +
212 kScreenHeight - kShelfSize - kWindowHeight / 2 -
224 gfx::Point(kShelfSize + kWindowWidth / 2 + kMinDistanceFromEdge,
233 kScreenWidth - kShelfSize - kWindowWidth / 2 - kMinDistanceFromEdge,
241 kMenuBarSize + kShelfSize + kWindowHeight / 2 +
250 kScreenHeight - kShelfSize - kWindowHeight / 2 -
259 kScreenHeight - kShelfSize - kWindowHeight / 2 -
268 kScreenHeight - kShelfSize - kWindowHeight / 2 -
277 gfx::Rect(0, kMenuBarSize, kShelfSize, kScreenHeight - kMenuBarSize);
281 shelf_rect = gfx::Rect(kScreenWidth - kShelfSize,
283 kShelfSize,
288 shelf_rect = gfx::Rect(0, 0, kScreenWidth, kShelfSize);
293 gfx::Rect(0, kScreenHeight - kShelfSize, kScreenWidth, kShelfSize);
299 shelf_rect = gfx::Rect(-10, 0, kScreenWidth, kShelfSize);
301 shelf_rect = gfx::Rect(10, 0, kScreenWidth - 20, kShelfSize);
303 shelf_rect = gfx::Rect(0, kShelfSize, kScreenWidth, 60);
311 EXPECT_EQ(kWindowAwayFromEdge - kShelfSize,
317 EXPECT_EQ(kWindowAwayFromEdge - kShelfSize,
323 EXPECT_EQ(kWindowAwayFromEdge - kShelfSize,
330 kWindowAwayFromEdge - kShelfSize,