Searched refs:window (Results 326 - 350 of 2479) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/ui/aura/
H A Dwindow_tree_host.cc12 #include "ui/aura/window.h"
32 float GetDeviceScaleFactorFromDisplay(Window* window) { argument
33 gfx::Display display = gfx::Screen::GetScreenFor(window)->
34 GetDisplayNearestWindow(window);
43 DCHECK(!compositor_) << "compositor must be destroyed before root window";
68 window()->Show();
72 compositor_->SetScaleAndSize(GetDeviceScaleFactorFromDisplay(window()),
74 compositor_->SetRootLayer(window()->layer());
90 float scale = ui::GetDeviceScaleFactor(window()->layer());
93 transform *= window()
[all...]
H A Dwindow_event_dispatcher.cc17 #include "ui/aura/window.h"
35 // in window coordinates.
108 window()));
130 Window* focused_window = client::GetFocusClient(window())->GetFocusedWindow();
131 if (focused_window && !window()->Contains(focused_window))
134 DispatchEvent(focused_window ? focused_window : window(), &event);
145 event->ConvertLocationToTarget(window(), target);
160 Window* window,
165 ->ProcessTouchEventPreDispatch(*event, window)) {
173 *event, result, window));
159 ProcessedTouchEvent(ui::TouchEvent* event, Window* window, ui::EventResult result) argument
223 OnPostNotifiedWindowDestroying(Window* window) argument
230 Window* WindowEventDispatcher::window() { function in class:aura::WindowEventDispatcher
234 const Window* WindowEventDispatcher::window() const { function in class:aura::WindowEventDispatcher
243 DispatchMouseExitToHidingWindow(Window* window) argument
557 OnWindowDestroying(Window* window) argument
565 OnWindowDestroyed(Window* window) argument
596 OnWindowVisibilityChanging(Window* window, bool visible) argument
604 OnWindowVisibilityChanged(Window* window, bool visible) argument
618 OnWindowBoundsChanged(Window* window, const gfx::Rect& old_bounds, const gfx::Rect& new_bounds) argument
649 OnWindowTransforming(Window* window) argument
656 OnWindowTransformed(Window* window) argument
666 OnWindowInitialized(Window* window) argument
721 SynthesizeMouseMoveAfterChangeToWindow( Window* window) argument
[all...]
/external/chromium_org/ui/base/x/
H A Dx11_util.h95 // Sets whether |window| should use the OS window frame.
96 UI_BASE_EXPORT void SetUseOSWindowFrame(XID window, bool use_os_window_frame);
103 // Get the X window id for the default root window
113 // Sets _GTK_HIDE_TITLEBAR_WHEN_MAXIMIZED on |window|.
115 XID window,
118 // Clears all regions of X11's default root window by filling black pixels.
121 // Returns true if |window| is visible.
122 UI_BASE_EXPORT bool IsWindowVisible(XID window);
[all...]
/external/chromium_org/ui/views/widget/
H A Dwindow_reorderer.cc10 #include "ui/aura/window.h"
18 // Sets |hosted_windows| to a mapping of the views with an associated window to
19 // the window that they are associated to. Only views associated to a child of
33 // Sets |order| to the list of views whose layer / associated window's layer
36 // |hosts| are the views with an associated window whose layer is a child of
60 // set on the window.
66 // Start/stop observing changes in the kHostViewKey property on |window|.
67 void StartObserving(aura::Window* window);
68 void StopObserving(aura::Window* window);
72 virtual void OnWindowPropertyChanged(aura::Window* window,
95 StartObserving( aura::Window* window) argument
101 StopObserving( aura::Window* window) argument
107 OnWindowPropertyChanged( aura::Window* window, const void* key, intptr_t old) argument
115 OnWindowDestroying( aura::Window* window) argument
170 aura::Window* window = NULL; local
191 OnWillRemoveWindow(aura::Window* window) argument
195 OnWindowDestroying(aura::Window* window) argument
[all...]
/external/qemu/android/
H A Dqemulator.c36 VERBOSE_PRINT(hw_control,"%s: light='%s' value=%d window=%p", __FUNCTION__, light, value, emulator->window);
39 if (emulator->window)
40 skin_window_set_lcd_brightness( emulator->window, value );
50 if ( !emulator->window && !opts->no_window ) {
54 emulator->window = skin_window_create( layout, emulator->win_x, emulator->win_y, scale, 0);
55 if (emulator->window == NULL)
70 skin_window_set_trackball( emulator->window, ball );
73 skin_window_set_lcd_brightness( emulator->window, emulator->lcd_brightness );
77 skin_window_set_onion( emulator->window,
494 SkinWindow* window = emulator->window; local
[all...]
/external/chromium_org/tools/perf/metrics/
H A Dmedia.js71 this.id = 'media_' + window.__globalCounter++;
171 for (var i = 0; i < window.__mediaMetrics.length; i++) {
172 if (window.__mediaMetrics[i].element == element)
173 return window.__mediaMetrics[i];
183 window.__mediaMetrics.push(new MediaMetric(mediaElements[i]));
187 if (window.performance)
192 performance.webkitNow).call(window.performance);
200 for (var i = 0; i < window.__mediaMetrics.length; i++)
201 metrics.push(window.__mediaMetrics[i].getSummary());
205 window
[all...]
/external/chromium_org/ash/wm/
H A Dsystem_modal_container_layout_manager.h31 // LayoutManager for the modal window container.
52 virtual void OnWindowPropertyChanged(aura::Window* window,
55 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE;
60 // Can a given |window| receive and handle input events?
61 bool CanWindowReceiveEvents(aura::Window* window);
63 // Activates next modal window if any. Returns false if there
67 // Creates modal background window, which is a partially-opaque
68 // fullscreen window. If there is already a modal background window,
74 // Is the |window| moda
[all...]
H A Dstacking_controller_unittest.cc11 #include "ui/aura/window.h"
25 aura::Window* window = new aura::Window(NULL); local
26 window->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_NORMAL);
27 window->SetType(ui::wm::WINDOW_TYPE_NORMAL);
28 window->Init(aura::WINDOW_LAYER_TEXTURED);
29 return window;
36 // Verifies a window with a transient parent is in the same container as its
39 // Normal window .
57 // The window with the transient parent should get added to the same container
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/talking_alarm_clock/
H A Dbackground.js15 window.stopFlashingIcon = function() {
16 window.clearTimeout(iconFlashTimer);
21 window.flashIcon = function() {
35 iconFlashTimer = window.setTimeout(flash, 500);
64 return window.setTimeout(resetTimers, delta);
72 window.clearTimeout(a1Timer);
115 window.addEventListener('storage', onLocalStorageChange, false);
/external/chromium_org/extensions/renderer/resources/
H A Dplatform_app.js5 var $console = window.console;
40 * such as window.alert. disableGetters should be used when possible, because
47 * if(window.confirm) {
48 * var result = window.confirm('Are you sure you want to delete ...?');
155 Object.defineProperty(window, "history", { value: {} });
156 disableGetters(window.history, 'history', ['back', 'forward', 'go', 'length']);
159 disableMethods(Window.prototype, 'window', ['find']);
163 disableMethods(Window.prototype, 'window', ['alert', 'confirm', 'prompt']);
165 // Disable window.*bar.
166 disableGetters(window, 'windo
[all...]
/external/chromium_org/ash/shelf/
H A Dshelf_window_watcher_unittest.cc20 #include "ui/aura/window.h"
40 ShelfID CreateShelfItem(aura::Window* window) { argument
44 SetShelfItemDetailsForWindow(window, item_details);
76 // ShelfItem is removed when assoicated window is destroyed.
120 scoped_ptr<aura::Window> window(CreateTestWindowInShellWithId(0));
122 // Create a ShelfItem for |window|.
123 ShelfID id = CreateShelfItem(window.get());
129 // Update ShelfItem for |window|.
133 SetShelfItemDetailsForWindow(window.get(), details);
145 scoped_ptr<aura::Window> window(CreateTestWindowInShellWithI
[all...]
/external/chromium_org/tools/perf/page_sets/tough_canvas_cases/canvas2d_balls_common/
H A Dbouncing_balls.js37 window.requestAnimFrame = (function(){
38 return window.requestAnimationFrame ||
39 window.webkitRequestAnimationFrame ||
40 window.mozRequestAnimationFrame ||
41 window.oRequestAnimationFrame ||
42 window.msRequestAnimationFrame ||
44 window.setTimeout(callback, 1000 / 60);
48 window.onload = init;
55 window.addEventListener("resize", handleResize, false);
57 window
[all...]
/external/chromium_org/athena/screen/
H A Dscreen_accelerator_handler.cc9 #include "ui/aura/window.h"
45 void PrintWindowHierarchy(aura::Window* window, argument
50 std::string name(window->name());
53 *out << indent_str << name << " (" << window << ")"
54 << " type=" << window->type()
55 << ((window == active) ? " [active] " : " ")
56 << (window->IsVisible() ? " visible " : " ")
57 << window->bounds().ToString() << '\n';
59 for (size_t i = 0; i < window->children().size(); ++i)
60 PrintWindowHierarchy(window
[all...]
/external/chromium_org/chrome/browser/ui/ash/multi_user/
H A Dmulti_user_context_menu_chromeos.cc24 #include "ui/aura/window.h"
35 explicit MultiUserContextMenuChromeos(aura::Window* window);
53 // The window for which this menu is.
59 MultiUserContextMenuChromeos::MultiUserContextMenuChromeos(aura::Window* window) argument
61 window_(window) {
71 scoped_ptr<ui::MenuModel> CreateMultiUserContextMenu(aura::Window* window) { argument
80 // If this window is not owned, we don't show the menu addition.
83 const std::string user_id = manager->GetWindowOwner(window);
84 if (user_id.empty() || !window)
87 new chromeos::MultiUserContextMenuChromeos(window);
115 ExecuteVisitDesktopCommand(int command_id, aura::Window* window) argument
[all...]
H A Dmulti_user_window_manager_stub.h25 aura::Window* window, const std::string& user_id) OVERRIDE;
27 aura::Window* window) const OVERRIDE;
29 aura::Window* window, const std::string& user_id) OVERRIDE;
34 aura::Window* window,
37 aura::Window* window) const OVERRIDE;
/external/chromium_org/content/public/browser/
H A Ddesktop_media_id.cc13 #include "ui/aura/window.h"
27 int RegisterWindow(aura::Window* window) { argument
28 // First check if an Id is already assigned to the |window|.
29 std::map<aura::Window*, int>::iterator it = window_to_id_map_.find(window);
41 window_to_id_map_[window] = id;
42 id_to_window_map_[id] = window;
43 window->AddObserver(this);
61 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE {
62 std::map<aura::Window*, int>::iterator it = window_to_id_map_.find(window);
82 const char kWindowPrefix[] = "window";
88 RegisterAuraWindow(aura::Window* window) argument
[all...]
/external/chromium_org/ui/aura/test/
H A Dtest_windows.cc9 #include "ui/aura/window.h"
45 Window* window = new Window(delegate); local
46 window->set_id(id);
47 window->SetType(type);
48 window->Init(aura::WINDOW_LAYER_TEXTURED);
49 window->SetBounds(bounds);
50 window->Show();
52 parent->AddChild(window);
53 window->SetProperty(aura::client::kCanMaximizeKey, true);
54 return window;
[all...]
/external/chromium_org/athena/test/
H A Dathena_test_base.cc12 #include "ui/aura/window.h"
71 scoped_ptr<aura::Window> window(new aura::Window(delegate));
72 window->SetType(ui::wm::WINDOW_TYPE_NORMAL);
73 window->Init(aura::WINDOW_LAYER_SOLID_COLOR);
75 window.get(), ScreenManager::Get()->GetContext(), bounds);
76 return window.Pass();
/external/chromium_org/athena/wm/
H A Dwindow_list_provider_impl.h16 // the container window's stacking order.
30 virtual bool IsWindowInList(aura::Window* window) const OVERRIDE;
31 virtual bool IsValidWindow(aura::Window* window) const OVERRIDE;
32 virtual void StackWindowFrontOf(aura::Window* window,
34 virtual void StackWindowBehindTo(aura::Window* window,
40 virtual void OnWindowStackingChanged(aura::Window* window) OVERRIDE;
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/chromevox/injected/
H A Dconsole_tts.js6 * @fileoverview A TTS engine that writes to window.console.
31 if (this.enabled_ && window['console']) {
44 window['console']['log'](logStr);
47 window.console.log(' using startCallback');
51 window.console.log(' using endCallback');
63 window['console']['log']('Stop');
H A Dinitial_speech.js21 if (!window['INJECTED_AFTER_LOAD'])
22 window['INJECTED_AFTER_LOAD'] = false;
32 var disableSpeak = window['INJECTED_AFTER_LOAD'];
40 if (window.top == window) {
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/plugin_settings/js/
H A Dplugin_settings.js58 var length = window.localStorage.length;
68 var key = window.localStorage.key(i);
72 var setting = window.localStorage.getItem(key)
101 window.localStorage.removeItem(key);
129 window.localStorage.setItem(JSON.stringify([plugin, pattern]),
145 window.localStorage.removeItem(
193 return window.localStorage.getItem(
202 for (var i = 0; i < window.localStorage.length; i++) {
203 var key = window.localStorage.key(i);
208 'setting': window
[all...]
/external/chromium_org/chrome/test/chromedriver/extension/
H A Dbackground.js44 * Gets info about the current window.
46 * @param {function(*)} callback The callback to invoke with the window info.
51 chrome.windows.getCurrent({populate: true}, function(window) {
53 callback(window);
58 * Updates the properties of the current window.
66 chrome.windows.getCurrent({}, function(window) {
68 chrome.windows.update(window.id, updateInfo, function(window) {
/external/chromium_org/remoting/webapp/
H A Dfullscreen_v2.js23 * full-screen mode is exited and also when the window is restored from
42 chrome.app.window.current().onFullscreened.addListener(
44 chrome.app.window.current().onRestored.addListener(
65 chrome.app.window.current().fullscreen();
67 chrome.app.window.current().restore();
76 return chrome.app.window.current().isFullscreen();
/external/chromium_org/tools/telemetry/telemetry/page/actions/
H A Dtap.js26 return !!(window.chrome &&
53 if (position_left < 0 || position_left >= window.innerWidth ||
54 position_top < 0 || position_top >= window.innerHeight) {
71 window.__TapAction = TapAction;
72 window.__TapAction_SupportedByBrowser = supportedByBrowser;

Completed in 869 milliseconds

<<11121314151617181920>>