/external/chromium_org/chrome/browser/ui/panels/ |
panel_collection.h | 12 class Panel; 18 // Types of layout for the panel collections. 25 // Masks that control how the panel is added and positioned. 27 // The panel is added and placed at default position that is decided by the 30 // The panel is being added based on its current known position. 32 // The panel is added and placed at top position (currently only used by 35 // Do not update panel bounds. Only valid with DEFAULT_POSIITON. 38 // adding panel to the collection. If not set, the collection will refresh 43 // Collapse other inactive stacked panels such the tha new panel can fit 59 // a result of removing or resizing a panel in collection [all...] |
detached_panel_collection.cc | 18 // When the stacking mode is enabled, the detached panel will be positioned 19 // near the top of the working area such that the subsequent panel could be 20 // stacked to the bottom of the detached panel. This value is experimental 40 Panel* panel = *iter; local 42 display_settings_provider->GetWorkAreaMatching(panel->GetBounds()); 45 panel->LimitSizeToWorkArea(work_area); 47 // Update bounds to make sure the panel falls completely within the work 49 gfx::Rect bounds = panel->GetBounds(); 50 if (panel->full_size() != bounds.size()) 75 Panel* panel = *iter; local [all...] |
docked_panel_drag_handler.h | 10 class Panel; 18 static void HandleDrag(Panel* panel, const gfx::Point& target_position); 21 static void DragLeft(Panel* panel); 22 static void DragRight(Panel* panel);
|
panel_resize_controller.cc | 8 #include "chrome/browser/ui/panels/panel.h" 12 static bool ResizingLeft(panel::ResizingSides sides) { 13 return sides == panel::RESIZE_TOP_LEFT || 14 sides == panel::RESIZE_LEFT || 15 sides == panel::RESIZE_BOTTOM_LEFT; 18 static bool ResizingRight(panel::ResizingSides sides) { 19 return sides == panel::RESIZE_TOP_RIGHT || 20 sides == panel::RESIZE_RIGHT || 21 sides == panel::RESIZE_BOTTOM_RIGHT; 24 static bool ResizingTop(panel::ResizingSides sides) [all...] |
detached_panel_drag_handler.cc | 8 #include "chrome/browser/ui/panels/panel.h" 14 void DetachedPanelDragHandler::HandleDrag(Panel* panel, 16 DCHECK_EQ(PanelCollection::DETACHED, panel->collection()->type()); 18 gfx::Rect new_bounds(panel->GetBounds()); 20 panel->SetPanelBoundsInstantly(new_bounds);
|
detached_panel_collection.h | 10 #include "chrome/browser/ui/panels/panel.h" 20 typedef std::list<Panel*> Panels; 21 typedef bool (*PanelsComparer)(Panel* panel1, Panel* panel2); 29 virtual void AddPanel(Panel* panel, 31 virtual void RemovePanel(Panel* panel, RemovalReason reason) OVERRIDE; 34 Panel* panel, 80 Panel* panel; member in struct:DetachedPanelCollection::PanelPlacement [all...] |
detached_panel_browsertest.cc | 9 #include "chrome/browser/ui/panels/panel.h" 20 // Create an initially detached panel (as opposed to other tests which create 21 // a docked panel, then detaches it). 25 Panel* panel = CreatePanelWithParams(params); local 27 CreateNativePanelTesting(panel)); 30 EXPECT_TRUE(detached_collection->HasPanel(panel)); 32 EXPECT_EQ(bounds.x(), panel->GetBounds().x()); 33 // Ignore checking y position since the detached panel will be placed near 36 EXPECT_EQ(bounds.y(), panel->GetBounds().y()) 64 Panel* panel = CreateDetachedPanel("1", gfx::Rect(300, 200, 250, 200)); local 80 Panel* panel = local 102 Panel* panel = local 122 Panel* panel = CreateDetachedPanel("1", gfx::Rect(300, 200, 250, 200)); local 156 Panel* panel = CreateDetachedPanel("1", initial_bounds); local 192 Panel* panel = CreateDetachedPanel("1", initial_bounds); local [all...] |
docked_panel_collection.cc | 24 // Width of spacing around panel collection and the left/right edges of the 42 // After focus changed, one panel lost active status, another got it, 46 // As we refresh panel positions, some or all panels may move. We make sure 89 void DockedPanelCollection::AddPanel(Panel* panel, 92 DCHECK_EQ(Panel::EXPANDED, panel->expansion_state()); 94 DCHECK(panel->initialized()); 95 DCHECK_NE(this, panel->collection()); 96 panel->set_collection(this) 205 Panel* panel = saved_panel_placement_.panel; local 487 Panel* panel = *iter; local 590 Panel* panel = *iter; local 657 Panel* panel = *panel_iter; local 682 Panel* panel = *panel_iter; local 725 Panel* panel = bounds_info.first; local [all...] |
stacked_panel_drag_handler.cc | 8 #include "chrome/browser/ui/panels/panel.h" 15 void StackedPanelDragHandler::HandleDrag(Panel* panel, 18 DCHECK_EQ(PanelCollection::STACKED, panel->collection()->type()); 20 StackedPanelCollection* stack = panel->stack(); 23 // If the panel is in its original stack, only top panel is allowed to drag. 24 if (in_orginal_collection && panel != stack->top_panel()) 38 gfx::Vector2d delta_origin = target_position - panel->GetBounds().origin(); 51 void StackedPanelDragHandler::FinalizeDrag(Panel* panel) 69 Panel* panel = *iter; local [all...] |
stacked_panel_drag_handler.h | 10 class Panel; 18 static void HandleDrag(Panel* panel, 22 static void FinalizeDrag(Panel* panel);
|
stacked_panel_collection.h | 24 typedef std::list<Panel*> Panels; 32 virtual void AddPanel(Panel* panel, 34 virtual void RemovePanel(Panel* panel, RemovalReason reason) OVERRIDE; 37 Panel* panel, 39 virtual panel::Resizability GetPanelResizability( 40 const Panel* panel) const OVERRIDE 94 Panel* panel; member in struct:StackedPanelCollection::PanelPlacement [all...] |
test_panel_active_state_observer.cc | 8 #include "chrome/browser/ui/panels/panel.h" 12 Panel* panel, 16 content::Source<Panel>(panel)), 17 panel_(panel),
|
docked_panel_drag_handler.cc | 8 #include "chrome/browser/ui/panels/panel.h" 14 void DockedPanelDragHandler::HandleDrag(Panel* panel, 16 DCHECK_EQ(PanelCollection::DOCKED, panel->collection()->type()); 19 static_cast<DockedPanelCollection*>(panel->collection()); 21 // Moves this panel to the dragging position. 22 // Note that we still allow the panel to be moved vertically until it gets 24 gfx::Rect new_bounds(panel->GetBounds()); 26 int delta_x = new_bounds.x() - panel->GetBounds().x(); 28 panel->expansion_state()) [all...] |
native_panel_stack_window.h | 11 class Panel; 48 // Makes |panel| be enclosed by this stack window. 50 // Adds |panel| to the set of panels grouped and shown inside this stack 51 // Window. It does not take ownership of |panel|. 52 virtual void AddPanel(Panel* panel) = 0; 54 // Removes |panel| from the set of panels grouped and shown inside this stack 56 virtual void RemovePanel(Panel* panel) = 0; 62 // Returns true if no panel is being shown inside this stack window [all...] |
docked_panel_collection.h | 13 #include "chrome/browser/ui/panels/panel.h" 27 typedef std::list<Panel*> Panels; 38 // area being changed or a panel being closed. 41 // Adds a panel to the collection. The panel may be a newly created panel or 43 virtual void AddPanel(Panel* panel, 45 virtual void RemovePanel(Panel* pane, RemovalReason reasonl) OVERRIDE; 48 Panel* panel 122 Panel* panel; member in struct:DockedPanelCollection::PanelPlacement [all...] |
stacked_panel_collection.cc | 14 #include "chrome/browser/ui/panels/panel.h" 83 // If only one panel is left in the stack, we only need to check if it should 86 Panel* panel = panels_.front(); local 87 gfx::Rect bounds = panel->GetBounds(); 90 panel->SetPanelBounds(bounds); 105 Panel* panel = *iter; local 108 // top panel might change when a panel is being added or removed fro 450 Panel* panel = *iter; local 459 DCHECK_EQ(top_panel(), panel); local 580 Panel* panel = *iter; local 707 Panel* panel = *iter; local 776 Panel* panel = *iter; local [all...] |
detached_panel_drag_handler.h | 10 class Panel; 18 static void HandleDrag(Panel* panel, const gfx::Point& target_position);
|
panel_resize_controller.h | 14 class Panel; 25 // Resize the given panel. 27 void StartResizing(Panel* panel, 29 panel::ResizingSides sides); 32 // Returns the panel that was resized. 33 Panel* EndResizing(bool cancelled); 35 // Asynchronous confirmation of panel having been closed. 36 void OnPanelClosed(Panel* panel); [all...] |
panel_resize_browsertest.cc | 7 #include "chrome/browser/ui/panels/panel.h" 31 void ResizePanel(Panel* panel, 32 panel::ResizingSides sides, 35 gfx::Rect bounds = panel->GetBounds(); 38 case panel::RESIZE_TOP_LEFT: 41 case panel::RESIZE_TOP: 44 case panel::RESIZE_TOP_RIGHT: 47 case panel::RESIZE_LEFT: 50 case panel::RESIZE_RIGHT 83 Panel* panel = CreatePanel("Panel"); local 207 Panel* panel = CreateDetachedPanel("Panel", gfx::Rect(300, 200, 150, 100)); local 283 Panel* panel = CreateDetachedPanel("1", local 310 Panel* panel = CreateDetachedPanel("Panel", gfx::Rect(300, 200, 150, 100)); local 431 Panel* panel = CreateDetachedPanel("Panel", gfx::Rect(300, 200, 150, 100)); local 488 Panel* panel = CreateDetachedPanel("1", gfx::Rect(300, 200, 250, 200)); local [all...] |
panel_browsertest.cc | 25 #include "chrome/browser/ui/panels/panel.h" 57 const std::vector<Panel*>& panels = PanelManager::GetInstance()->panels(); 70 std::vector<Panel*> panels = PanelManager::GetInstance()->panels(); 85 std::vector<Panel::ExpansionState> GetAllPanelExpansionStates() { 86 std::vector<Panel*> panels = PanelManager::GetInstance()->panels(); 87 std::vector<Panel::ExpansionState> expansion_states; 94 std::vector<Panel*> panels = PanelManager::GetInstance()->panels(); 103 std::vector<Panel*> panels = PanelManager::GetInstance()->panels(); 113 std::vector<Panel*> panels = PanelManager::GetInstance()->panels(); 124 // top edge of the panel'. On some platforms (Mac) we extend hover are 326 Panel* panel = CreatePanel("PanelTest"); local 346 Panel* panel = CreatePanelWithBounds("BigPanel", work_area); local 421 Panel* panel = CreatePanelWithParams(params); local 477 Panel* panel = CreatePanel("TestPanel"); local 509 Panel* panel = CreateDetachedPanel("1", gfx::Rect(200, 100, 100, 100)); local 542 Panel* panel = CreatePanelWithBounds("PanelTest", gfx::Rect(0, 0, 100, 100)); local 854 Panel* panel = CreatePanel("1"); local 900 Panel* panel = CreatePanel("PanelTest"); local 997 Panel* panel = CreatePanel("PanelTest"); local 1055 Panel* panel = CreateInactivePanel("P1"); local 1200 Panel* panel = CreatePanel("P1"); local 1214 Panel* panel = CreateInactivePanel("P1"); local 1233 Panel* panel = CreateInactivePanel("P1"); local 1258 Panel* panel = CreateInactivePanel("P1"); local 1288 Panel* panel = CreatePanelWithParams(params); local 1309 Panel* panel = CreatePanelWithParams(params); local 1319 Panel* panel = CreateInactivePanel("1"); local 1399 Panel* panel = CreatePanelWithParams(params); local 1453 Panel* panel = CreatePanelWithParams(params); local 1471 Panel* panel = CreatePanelWithParams(params); local 1507 Panel* panel = CreatePanelWithParams(params); local 1543 Panel* panel = CreatePanelWithBounds("1", gfx::Rect(0, 0, 240, 220)); local 1575 Panel* panel = CreatePanelWithBounds("1", gfx::Rect(0, 0, 240, 220)); local 1617 Panel* panel = CreatePanelWithParams(params); local 1651 Panel* panel = CreatePanelWithParams(params); local 1692 Panel* panel = CreatePanelWithParams(params); local [all...] |
/external/chromium/chrome/browser/ui/panels/ |
panel_browser_view.cc | 6 #include "chrome/browser/ui/panels/panel.h" 8 BrowserWindow* Panel::CreateNativePanel(Browser* browser, Panel* panel) {
|
panel_browser_window_gtk.cc | 6 #include "chrome/browser/ui/panels/panel.h" 8 BrowserWindow* Panel::CreateNativePanel(Browser* browser, Panel* panel) {
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
MoreKeysPanel.java | 25 * @param panel the panel to be shown. 27 public void onShowMoreKeysPanel(final MoreKeysPanel panel); 31 * @param panel the panel to be dismissed. 33 public void onDismissMoreKeysPanel(final MoreKeysPanel panel); 36 * Instructs the parent to cancel the panel (e.g., when entering a different input mode). 37 * @param panel the panel to be canceled. 39 public void onCancelMoreKeysPanel(final MoreKeysPanel panel); [all...] |
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/ |
StatusBarController.java | 38 private final JPanel panel = new JPanel(); field in class:StatusBarController 57 panel.setLayout(layout); 58 panel.add(labelText); 59 panel.add(progress); 60 panel.add(labRuleHint); 61 panel.add(labelRuleName); 62 panel.setOpaque(false); 63 panel.setBorder(javax.swing.BorderFactory.createEmptyBorder()); 80 return panel;
|
/external/chromium_org/chrome/browser/ui/views/panels/ |
panel_view_browsertest.cc | 6 #include "chrome/browser/ui/panels/panel.h" 30 PanelView* GetPanelView(Panel* panel) const { 31 return static_cast<PanelView*>(panel->native_panel()); 37 Panel* panel = CreatePanelWithParams(params); local 38 EXPECT_TRUE(panel->IsActive()); 43 HWND native_window = views::HWNDForWidget(GetPanelView(panel)->window()); 60 panel->Close(); 65 Panel* panel = CreatePanelWithParams(params) local 94 Panel* panel = CreatePanelWithBounds("PanelTest", gfx::Rect(0, 0, 200, 50)); local 140 Panel* panel = CreatePanelWithBounds("PanelTest", bounds); local 157 Panel* panel = CreatePanelWithBounds("PanelTest", bounds); local [all...] |