Searched refs:shelf_view_ (Results 1 – 14 of 14) sorted by relevance
/external/chromium_org/ash/test/ |
D | shelf_view_test_api.cc | 41 : shelf_view_(shelf_view) {} in ShelfViewTestAPI() 47 return shelf_view_->view_model_->view_size(); in GetButtonCount() 52 if (shelf_view_->model_->items()[index].type == ash::TYPE_APP_LIST) in GetButton() 55 return static_cast<ShelfButton*>(shelf_view_->view_model_->view_at(index)); in GetButton() 59 return shelf_view_->first_visible_index_; in GetFirstVisibleIndex() 63 return shelf_view_->last_visible_index_; in GetLastVisibleIndex() 67 return shelf_view_->overflow_button_->visible(); in IsOverflowButtonVisible() 71 if (!shelf_view_->IsShowingOverflowBubble()) in ShowOverflowBubble() 72 shelf_view_->ToggleOverflowBubble(); in ShowOverflowBubble() 76 return shelf_view_->view_model_->view_at(index)->bounds(); in GetBoundsByIndex() [all …]
|
D | shelf_view_test_api.h | 59 ShelfView* shelf_view() { return shelf_view_; } in shelf_view() 89 ShelfView* shelf_view_;
|
D | shelf_test_api.cc | 19 ShelfView* ShelfTestAPI::shelf_view() { return shelf_->shelf_view_; } in shelf_view()
|
/external/chromium_org/ash/shelf/ |
D | shelf.cc | 48 : shelf_view_(NULL), in Shelf() 52 shelf_view_ = new ShelfView( in Shelf() 54 shelf_view_->Init(); in Shelf() 55 shelf_widget_->GetContentsView()->AddChildView(shelf_view_); in Shelf() 79 shelf_view_->OnShelfAlignmentChanged(); in SetAlignment() 86 gfx::Rect bounds(shelf_view_->GetIdealBoundsOfItemIcon(id)); in GetScreenBoundsOfItemIconForWindow() 88 views::View::ConvertPointToScreen(shelf_view_, &screen_origin); in GetScreenBoundsOfItemIconForWindow() 96 shelf_view_->UpdatePanelIconPosition( in UpdateIconPositionForWindow() 111 const ShelfItem& item = shelf_view_->model()->items()[index]; in ActivateShelfItem() 120 *(shelf_view_->model()), direction); in CycleWindowLinear() [all …]
|
D | shelf_view_unittest.cc | 288 ShelfViewTest() : model_(NULL), shelf_view_(NULL), browser_index_(1) {} in ShelfViewTest() 296 shelf_view_ = ShelfTestAPI(shelf).shelf_view(); in SetUp() 299 shelf_view_->SetBounds(0, 0, 500, kShelfSize); in SetUp() 301 test_api_.reset(new ShelfViewTestAPI(shelf_view_)); in SetUp() 412 gfx::Rect shelf_view_bounds = shelf_view_->GetLocalBounds(); in VerifyShelfItemBoundsAreValid() 424 ShelfButtonHost* button_host = shelf_view_; in SimulateButtonPressed() 435 ShelfButtonHost* button_host = shelf_view_; in SimulateClick() 444 ShelfButtonHost* button_host = shelf_view_; in SimulateDrag() 478 return shelf_view_->tooltip_manager()->anchor_; in GetTooltipAnchorView() 491 shelf_view_->tooltip_manager()->ShowInternal(); in ShowTooltip() [all …]
|
D | shelf_unittest.cc | 36 shelf_view_(NULL), in ShelfTest() 49 shelf_view_ = test.shelf_view(); in SetUp() 50 shelf_model_ = shelf_view_->model(); in SetUp() 54 test_.reset(new ash::test::ShelfViewTestAPI(shelf_view_)); in SetUp() 66 return shelf_view_; in shelf_view() 83 ShelfView* shelf_view_; member in ash::ShelfTest
|
D | overflow_bubble.cc | 25 shelf_view_(NULL) { in OverflowBubble() 37 shelf_view_ = shelf_view; in Show() 57 shelf_view_ = NULL; in Hide() 76 if (!shelf_view_->IsShowingMenu() && in ProcessPressedEvent() 97 shelf_view_ = NULL; in OnWidgetDestroying()
|
D | overflow_bubble_view.cc | 36 : shelf_view_(NULL) { in OverflowBubbleView() 60 shelf_view_ = shelf_view; in InitOverflowBubble() 61 AddChildView(shelf_view_); in InitOverflowBubble() 76 return static_cast<views::View*>(shelf_view_)->GetPreferredSize(); in GetContentsSize() 134 shelf_view_->SetBoundsRect(gfx::Rect( in Layout()
|
D | overflow_bubble.h | 43 ShelfView* shelf_view() { return shelf_view_; } in shelf_view() 58 ShelfView* shelf_view_; // Owned by |bubble_|. variable
|
D | shelf_tooltip_manager.cc | 143 shelf_view_(shelf_view), in ShelfTooltipManager() 253 DCHECK(shelf_view_); in OnMouseEvent() 269 target, shelf_view_->GetWidget()->GetNativeWindow(), in OnMouseEvent() 272 if (shelf_view_->ShouldHideTooltip(location_in_shelf_view)) { in OnMouseEvent()
|
D | overflow_bubble_view.h | 57 ShelfView* shelf_view_; // Owned by views hierarchy. variable
|
D | shelf.h | 115 ShelfView* shelf_view_; variable
|
D | shelf_tooltip_manager.h | 110 ShelfView* shelf_view_; variable
|
D | shelf_view.cc | 319 : shelf_view_(host), in FadeOutAnimationDelegate() 329 shelf_view_->OnFadeOutAnimationEnded(); in AnimationEnded() 335 ShelfView* shelf_view_; member in ash::ShelfView::FadeOutAnimationDelegate 348 : shelf_view_(host), in StartFadeAnimationDelegate() 354 shelf_view_->FadeIn(view_); in AnimationEnded() 361 ShelfView* shelf_view_; member in ash::ShelfView::StartFadeAnimationDelegate
|