Searched defs:window (Results 226 - 250 of 941) sorted by relevance

1234567891011>>

/external/deqp/framework/platform/android/
H A DtcuAndroidTestActivity.cpp27 #include <android/window.h>
61 void TestThread::onWindowCreated (ANativeWindow* window) argument
63 m_platform.getWindowRegistry().addWindow(window);
66 void TestThread::onWindowDestroyed (ANativeWindow* window) argument
68 m_platform.getWindowRegistry().destroyWindow(window);
71 void TestThread::onWindowResized (ANativeWindow* window) argument
73 DE_UNREF(window);
74 print("Warning: Native window was resized, results may be undefined");
95 // Set up window flags.
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/gtk/
H A Dbrowser.c17 void perf_gtk__resize_window(GtkWidget *window) argument
25 screen = gtk_widget_get_screen(window);
27 monitor = gdk_screen_get_monitor_at_window(screen, window->window);
34 gtk_window_resize(GTK_WINDOW(window), width, height);
/external/mesa3d/src/gallium/tests/graw/
H A Dclear.c1 /* Display a cleared blue window. This demo has no dependencies on
25 static void *window = NULL; variable
36 screen->flush_frontbuffer(screen, tex, 0, 0, window);
46 /* It's hard to say whether window or screen should be created
55 &window);
56 if (window && screen)
59 if (!screen || !window) {
60 fprintf(stderr, "Unable to create window\n");
/external/zlib/src/contrib/infback9/
H A Dinflate9.h36 /* sliding window */
37 unsigned char FAR *window; /* allocated sliding window, if needed */ member in struct:inflate_state
/external/chromium_org/ash/display/
H A Dmirror_window_controller.cc44 // Mirror window shouldn't handle input events.
45 void DisableInput(XID window) { argument
48 XSelectInput(gfx::GetXDisplay(), window, event_mask); local
54 XISelectEvents(gfx::GetXDisplay(), window, &evmask, 1); local
64 // Does a capture on the |window|.
65 virtual void SetCapture(aura::Window* window) OVERRIDE {}
67 // Releases a capture from the |window|.
68 virtual void ReleaseCapture(aura::Window* window) OVERRIDE {}
70 // Returns the current capture window.
86 // Make sure the root window get
[all...]
H A Dshared_display_edge_indicator.cc53 // We set the context to the primary root window; this is OK because the ash
62 aura::Window* window = widget->GetNativeWindow(); local
64 aura::client::GetScreenPositionClient(window->GetRootWindow());
65 screen_position_client->SetBounds(window, bounds, display);
/external/chromium_org/ash/drag_drop/
H A Ddrag_drop_tracker.cc11 #include "ui/aura/window.h"
21 // An activation delegate which disables activating the drag and drop window.
38 // Creates a window for capturing drag events.
44 aura::Window* window = new aura::Window(delegate); local
45 // Set type of window as popup to prevent different window manager codes
46 // trying to manage this window.
47 window->SetType(ui::wm::WINDOW_TYPE_POPUP);
48 window->Init(aura::WINDOW_LAYER_NOT_DRAWN);
49 aura::client::ParentWindowWithContext(window, context_roo
[all...]
/external/chromium_org/ash/first_run/
H A Dfirst_run_helper_impl.cc13 #include "ui/aura/window.h"
30 views::Widget* window = new views::Widget; local
31 window->Init(params);
32 return window;
/external/chromium_org/ash/frame/
H A Dheader_painter_util.cc9 #include "ui/aura/window.h"
19 // Radius of the header's top corners when the window is restored.
22 // Distance between left edge of the window and the leftmost view.
28 // Space between window icon and title text.
31 // Space between window edge and title text, when there is no icon.
37 // we need to copy the theme image for the window header from a few pixels
85 aura::Window* window = widget->GetNativeWindow(); local
86 if (!window->parent())
90 window->parent()->layer()->GetAnimator();
/external/chromium_org/ash/host/
H A Dtransformer_helper.cc9 #include "ui/aura/window.h"
73 ash_host_->AsWindowTreeHost()->window(), transform));
81 aura::Window* window = host->window(); local
82 window->SetTransform(transformer_->GetTransform());
83 // If the layer is not animating, then we need to update the root window
85 if (!window->layer()->GetAnimator()->is_animating())
91 ash_host_->AsWindowTreeHost()->window()->layer());
100 ash_host_->AsWindowTreeHost()->window()->layer());
107 ash_host_->AsWindowTreeHost()->window()
[all...]
/external/chromium_org/ash/wm/
H A Dash_focus_rules.cc10 #include "ui/aura/window.h"
36 bool BelongsToContainerWithEqualOrGreaterId(const aura::Window* window, argument
38 for (; window; window = window->parent()) {
39 if (window->id() >= container_id)
59 bool AshFocusRules::SupportsChildActivation(aura::Window* window) const {
60 if (window->id() == kShellWindowId_DefaultContainer)
64 if (window->id() == kWindowContainerIds[i])
71 aura::Window* window) cons
123 aura::Window* window = NULL; local
139 aura::Window* window = NULL; local
[all...]
H A Dash_native_cursor_manager_interactive_uitest.cc13 #include "ui/aura/window.h"
61 void MoveMouseSync(aura::Window* window, int x, int y) { argument
65 window->GetHost()->GetAcceleratedWidget(),
73 window,
H A Dlock_layout_manager_unittest.cc15 #include "ui/aura/window.h"
90 aura::Window* window = widget->GetNativeView(); local
91 return window;
125 scoped_ptr<aura::Window> window(
127 EXPECT_EQ(bounds.ToString(), window->GetBoundsInScreen().ToString());
130 ScreenUtil::GetDisplayWorkAreaBoundsInParent(window.get());
131 window->SetBounds(work_area);
133 EXPECT_EQ(work_area.ToString(), window->GetBoundsInScreen().ToString());
134 EXPECT_NE(screen_bounds.ToString(), window->GetBoundsInScreen().ToString());
137 window
[all...]
H A Dlock_window_state.cc16 #include "ui/aura/window.h"
25 LockWindowState::LockWindowState(aura::Window* window) argument
26 : current_state_type_(wm::GetWindowState(window)->GetStateType()) {
34 aura::Window* window = window_state->window(); local
35 gfx::Rect bounds = window->bounds();
106 wm::WindowState* LockWindowState::SetLockWindowState(aura::Window* window) { argument
107 scoped_ptr<wm::WindowState::State> lock_state(new LockWindowState(window));
109 wm::GetWindowState(window)->SetStateObject(lock_state.Pass()));
110 return wm::GetWindowState(window);
[all...]
H A Dresize_shadow_and_cursor_unittest.cc54 // are shown when the mouse is hovered over the window edge.
69 // Add a child window to |window_| in order to properly test that the resize
109 aura::Window* window() { function in class:ash::test::ResizeShadowAndCursorTest
123 ASSERT_TRUE(ash::wm::GetWindowState(window())->IsNormalStateType());
163 // as long as a user is resizing a window.
166 ASSERT_TRUE(ash::wm::GetWindowState(window())->IsNormalStateType());
167 gfx::Size initial_size(window()->bounds().size());
182 gfx::Size new_size(window()->bounds().size());
186 // Test that the resize shadows stay visible while resizing a window via touch.
188 ASSERT_TRUE(ash::wm::GetWindowState(window())
[all...]
H A Dstacking_controller.cc15 #include "ui/aura/window.h"
23 // Find a root window that matches the |bounds|. If the virtual screen
24 // coordinates is enabled and the bounds is specified, the root window
25 // that matches the window's bound will be used. Otherwise, it'll
26 // return the active root window.
37 bool IsSystemModal(aura::Window* window) { argument
38 return window->GetProperty(aura::client::kModalKey) == ui::MODAL_TYPE_SYSTEM;
41 bool HasTransientParentWindow(const aura::Window* window) { argument
42 return ::wm::GetTransientParent(window) &&
43 ::wm::GetTransientParent(window)
65 GetDefaultParent(aura::Window* context, aura::Window* window, const gfx::Rect& bounds) argument
[all...]
H A Dvideo_detector.cc11 #include "ui/aura/window.h"
23 // Stores information about updates to a window and determines whether it's
29 // Handles an update within a window, returning true if it appears that
30 // video is currently playing in the window.
51 // |kMinFramesPerSecond|) video-sized updates to this window.
83 void VideoDetector::OnWindowInitialized(aura::Window* window) { argument
84 observer_manager_.Add(window);
88 aura::Window* window,
92 linked_ptr<WindowInfo>& info = window_infos_[window];
99 MaybeNotifyObservers(window, no
87 OnDelegatedFrameDamage( aura::Window* window, const gfx::Rect& damage_rect_in_dip) argument
102 OnWindowDestroyed(aura::Window* window) argument
113 MaybeNotifyObservers(aura::Window* window, base::TimeTicks now) argument
[all...]
H A Dwindow_cycle_list.cc12 #include "ui/aura/window.h"
16 // Returns the window immediately below |window| in the current container.
17 aura::Window* GetWindowBelow(aura::Window* window) { argument
18 aura::Window* parent = window->parent();
22 std::find(parent->children().begin(), parent->children().end(), window);
23 CHECK(*iter == window);
30 // This class restores and moves a window to the front of the stacking order for
37 // Show |window| at the top of the stacking order.
38 void Show(aura::Window* window);
43 aura::Window* window() { return window_; } function in class:ash::ScopedShowWindow
83 Show(aura::Window* window) argument
100 OnWillRemoveWindow(aura::Window* window) argument
158 OnWindowDestroyed(aura::Window* window) argument
[all...]
/external/chromium_org/ash/wm/maximize_mode/
H A Dworkspace_backdrop_delegate.cc10 #include "ui/aura/window.h"
36 // To disallow the MRU list from picking this window up it should not be
63 aura::Window* window,
84 void WorkspaceBackdropDelegate::OnWindowStackingChanged(aura::Window* window) { argument
103 aura::Window* window = GetCurrentTopWindow();
104 if (!window) {
105 // Hide backdrop since no suitable window was found.
109 if (window == background_->GetNativeWindow() &&
117 // Since the backdrop needs to be immediately behind the window and the
120 container_->StackChildAbove(background_->GetNativeView(), window);
62 OnWindowBoundsChanged( aura::Window* window, const gfx::Rect& old_bounds, const gfx::Rect& new_bounds) argument
129 aura::Window* window = *window_iter; local
[all...]
/external/chromium_org/ash/wm/overview/
H A Dwindow_selector_window.cc11 #include "ui/aura/window.h"
20 WindowSelectorWindow::WindowSelectorWindow(aura::Window* window) argument
21 : transform_window_(window) {
22 window->AddObserver(this);
26 if (transform_window_.window())
27 transform_window_.window()->RemoveObserver(this);
31 return transform_window_.window()->GetRootWindow();
34 bool WindowSelectorWindow::HasSelectableWindow(const aura::Window* window) { argument
35 return transform_window_.window() == window;
42 RestoreWindowOnExit(aura::Window* window) argument
50 RemoveWindow(const aura::Window* window) argument
[all...]
/external/chromium_org/ash/wm/panels/
H A Dpanel_layout_manager.h45 // workspace. It is associated with a specific container window (i.e.
101 virtual void OnWindowPropertyChanged(aura::Window* window,
131 PanelInfo() : window(NULL), callout_widget(NULL), slide_in(false) {}
134 return window == other_window;
137 // A weak pointer to the panel window.
138 aura::Window* window; member in struct:ash::PanelLayoutManager::PanelInfo
169 // Parent window associated with this layout manager.
/external/chromium_org/ash/wm/workspace/
H A Dmulti_window_resize_controller_unittest.cc15 #include "ui/aura/window.h"
41 aura::Window* window = new aura::Window(delegate); local
42 window->SetType(ui::wm::WINDOW_TYPE_NORMAL);
43 window->Init(aura::WINDOW_LAYER_TEXTURED);
44 ParentWindowInPrimaryRootWindow(window);
45 window->SetBounds(bounds);
46 window->Show();
47 return window;
70 bool HasTarget(aura::Window* window) { argument
73 if ((resize_controller_->windows_.window1 == window ||
[all...]
H A Dphantom_window_controller.cc13 #include "ui/aura/window.h"
27 // The size of the phantom window at the beginning of the show animation in
28 // relation to the size of the phantom window at the end of the animation.
31 // The amount of pixels that the phantom window's shadow should extend past
35 // The minimum size of a phantom window including the shadow. The minimum size
39 // Adjusts the phantom window's bounds so that the bounds:
41 // - Have a size equal to or larger than the minimum phantom window size.
76 PhantomWindowController::PhantomWindowController(aura::Window* window) argument
77 : window_(window) {
113 // launcher button. Put the phantom in the same window a
[all...]
/external/chromium_org/athena/activity/
H A Dactivity_manager_impl.cc88 Activity* ActivityManagerImpl::GetActivityForWindow(aura::Window* window) { argument
90 Matcher(aura::Window* w) : window(w) {}
92 return activity->GetWindow() == window;
94 aura::Window* window; member in struct:athena::Matcher
97 std::find_if(activities_.begin(), activities_.end(), Matcher(window));
/external/chromium_org/athena/extensions/
H A Dathena_app_delegate_base.cc14 #include "ui/aura/window.h"
66 aura::Window* window = web_contents->GetNativeView(); local
67 window->SetBounds(gfx::Rect(window->bounds().origin(), size));

Completed in 531 milliseconds

1234567891011>>