/external/chromium_org/extensions/browser/app_window/ |
D | app_window_interactive_uitest.cc | 14 void CheckAlwaysOnTopToFullscreen(AppWindow* window) { in CheckAlwaysOnTopToFullscreen() argument 15 ASSERT_TRUE(window->GetBaseWindow()->IsAlwaysOnTop()); in CheckAlwaysOnTopToFullscreen() 19 window->Fullscreen(); in CheckAlwaysOnTopToFullscreen() 20 EXPECT_FALSE(window->GetBaseWindow()->IsAlwaysOnTop()); in CheckAlwaysOnTopToFullscreen() 23 EXPECT_TRUE(window->IsAlwaysOnTop()); in CheckAlwaysOnTopToFullscreen() 26 window->Restore(); in CheckAlwaysOnTopToFullscreen() 27 EXPECT_TRUE(window->GetBaseWindow()->IsAlwaysOnTop()); in CheckAlwaysOnTopToFullscreen() 30 void CheckNormalToFullscreen(AppWindow* window) { in CheckNormalToFullscreen() argument 33 ASSERT_FALSE(window->GetBaseWindow()->IsAlwaysOnTop()); in CheckNormalToFullscreen() 34 window->Fullscreen(); in CheckNormalToFullscreen() [all …]
|
/external/chromium_org/chrome/browser/ui/ash/multi_user/ |
D | multi_user_window_manager_chromeos_unittest.cc | 62 aura::Window* window(size_t index) { in window() function in ash::test::MultiUserWindowManagerChromeOSTest 93 void MakeWindowSystemModal(aura::Window* window) { in MakeWindowSystemModal() argument 95 window->GetRootWindow()->GetChildById( in MakeWindowSystemModal() 97 system_modal_container->AddChild(window); in MakeWindowSystemModal() 100 void ShowWindowForUserNoUserTransition(aura::Window* window, in ShowWindowForUserNoUserTransition() argument 102 multi_user_window_manager_->ShowWindowForUserIntern(window, user_id); in ShowWindowForUserNoUserTransition() 132 bool CoversScreen(aura::Window* window) { in CoversScreen() argument 134 window); in CoversScreen() 207 if (!window(i)) { in GetStatus() 211 s += window(i)->IsVisible() ? "S[" : "H["; in GetStatus() [all …]
|
D | multi_user_window_manager_chromeos.cc | 101 void RecordUMAForTransferredWindowType(aura::Window* window) { in RecordUMAForTransferredWindowType() argument 103 Browser* browser = chrome::FindBrowserWithWindow(window); in RecordUMAForTransferredWindowType() 129 ->GetAppWindowForNativeWindow(window); in RecordUMAForTransferredWindowType() 152 AnimationSetter(aura::Window* window, int animation_time_in_ms) in AnimationSetter() argument 153 : window_(window), in AnimationSetter() 198 aura::Window* window = app_window->GetNativeWindow(); in OnAppWindowAdded() local 199 DCHECK(window); in OnAppWindowAdded() 200 MultiUserWindowManagerChromeOS::GetInstance()->SetWindowOwner(window, in OnAppWindowAdded() 241 WindowToEntryMap::iterator window = window_to_entry_.begin(); in ~MultiUserWindowManagerChromeOS() local 242 while (window != window_to_entry_.end()) { in ~MultiUserWindowManagerChromeOS() [all …]
|
/external/chromium_org/ui/wm/core/ |
D | window_animations.cc | 62 explicit HidingWindowAnimationObserverBase(aura::Window* window) in HidingWindowAnimationObserverBase() argument 63 : window_(window) { in HidingWindowAnimationObserverBase() 72 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE { in OnWindowDestroying() argument 73 DCHECK_EQ(window, window_); in OnWindowDestroying() 77 virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE { in OnWindowDestroyed() argument 78 DCHECK_EQ(window, window_); in OnWindowDestroyed() 166 aura::Window* window, 198 const aura::Window& window) { in GetWindowVisibilityAnimationDuration() argument 200 window.GetProperty(kWindowVisibilityAnimationDurationKey); in GetWindowVisibilityAnimationDuration() 201 if (duration == 0 && window.type() == ui::wm::WINDOW_TYPE_MENU) { in GetWindowVisibilityAnimationDuration() [all …]
|
D | base_focus_rules.cc | 34 aura::Window* window) const { in IsWindowConsideredVisibleForActivation() 35 return window->IsVisible(); in IsWindowConsideredVisibleForActivation() 41 bool BaseFocusRules::IsToplevelWindow(aura::Window* window) const { in IsToplevelWindow() 43 if (!window->GetRootWindow()) in IsToplevelWindow() 48 return SupportsChildActivation(window->parent()); in IsToplevelWindow() 51 bool BaseFocusRules::CanActivateWindow(aura::Window* window) const { in CanActivateWindow() 54 if (!window) in CanActivateWindow() 58 if (!IsToplevelWindow(window)) in CanActivateWindow() 62 if (!IsWindowConsideredVisibleForActivation(window)) in CanActivateWindow() 66 if (aura::client::GetActivationDelegate(window) && in CanActivateWindow() [all …]
|
D | focus_controller.cc | 25 void StackTransientParentsBelowModalWindow(aura::Window* window) { in StackTransientParentsBelowModalWindow() argument 26 if (window->GetProperty(aura::client::kModalKey) != ui::MODAL_TYPE_WINDOW) in StackTransientParentsBelowModalWindow() 29 aura::Window* transient_parent = wm::GetTransientParent(window); in StackTransientParentsBelowModalWindow() 67 void FocusController::ActivateWindow(aura::Window* window) { in ActivateWindow() argument 68 FocusWindow(window); in ActivateWindow() 71 void FocusController::DeactivateWindow(aura::Window* window) { in DeactivateWindow() argument 72 if (window) in DeactivateWindow() 73 FocusWindow(rules_->GetNextActivatableWindow(window)); in DeactivateWindow() 80 aura::Window* FocusController::GetActivatableWindow(aura::Window* window) { in GetActivatableWindow() argument 81 return rules_->GetActivatableWindow(window); in GetActivatableWindow() [all …]
|
D | shadow_controller.cc | 29 ShadowType GetShadowTypeFromWindow(aura::Window* window) { in GetShadowTypeFromWindow() argument 30 switch (window->type()) { in GetShadowTypeFromWindow() 42 bool ShouldUseSmallShadowForWindow(aura::Window* window) { in ShouldUseSmallShadowForWindow() argument 43 switch (window->type()) { in ShouldUseSmallShadowForWindow() 53 bool IsShadowAlwaysActive(aura::Window* window) { in IsShadowAlwaysActive() argument 54 return GetShadowType(window) == SHADOW_TYPE_RECTANGULAR_ALWAYS_ACTIVE; in IsShadowAlwaysActive() 57 Shadow::Style GetShadowStyleForWindow(aura::Window* window) { in GetShadowStyleForWindow() argument 58 return ShouldUseSmallShadowForWindow(window) ? Shadow::STYLE_SMALL : in GetShadowStyleForWindow() 59 ((IsActiveWindow(window) || IsShadowAlwaysActive(window)) ? in GetShadowStyleForWindow() 100 virtual void OnWindowInitialized(aura::Window* window) OVERRIDE; [all …]
|
D | window_util.cc | 39 void ActivateWindow(aura::Window* window) { in ActivateWindow() argument 40 DCHECK(window); in ActivateWindow() 41 DCHECK(window->GetRootWindow()); in ActivateWindow() 42 aura::client::GetActivationClient(window->GetRootWindow())->ActivateWindow( in ActivateWindow() 43 window); in ActivateWindow() 46 void DeactivateWindow(aura::Window* window) { in DeactivateWindow() argument 47 DCHECK(window); in DeactivateWindow() 48 DCHECK(window->GetRootWindow()); in DeactivateWindow() 49 aura::client::GetActivationClient(window->GetRootWindow())->DeactivateWindow( in DeactivateWindow() 50 window); in DeactivateWindow() [all …]
|
/external/chromium_org/ash/wm/panels/ |
D | panel_window_resizer_unittest.cc | 64 aura::Window* window = CreateTestWindowInShellWithDelegateAndType( in CreatePanelWindow() local 66 shelf_delegate_->AddShelfItem(window); in CreatePanelWindow() 67 return window; in CreatePanelWindow() 70 void DragStart(aura::Window* window) { in DragStart() argument 72 window, in DragStart() 73 window->bounds().origin(), in DragStart() 95 void DetachReattachTest(aura::Window* window, int dx, int dy) { in DetachReattachTest() argument 96 wm::WindowState* window_state = wm::GetWindowState(window); in DetachReattachTest() 98 aura::Window* root_window = window->GetRootWindow(); in DetachReattachTest() 99 EXPECT_EQ(kShellWindowId_PanelContainer, window->parent()->id()); in DetachReattachTest() [all …]
|
/external/chromium_org/third_party/hwcplus/include/system/ |
D | window.h | 386 int (*setSwapInterval)(struct ANativeWindow* window, 406 int (*dequeueBuffer_DEPRECATED)(struct ANativeWindow* window, 420 int (*lockBuffer_DEPRECATED)(struct ANativeWindow* window, 442 int (*queueBuffer_DEPRECATED)(struct ANativeWindow* window, 450 int (*query)(const struct ANativeWindow* window, 485 int (*perform)(struct ANativeWindow* window, 505 int (*cancelBuffer_DEPRECATED)(struct ANativeWindow* window, 527 int (*dequeueBuffer)(struct ANativeWindow* window, 549 int (*queueBuffer)(struct ANativeWindow* window, 577 int (*cancelBuffer)(struct ANativeWindow* window, [all …]
|
/external/chromium_org/ash/shelf/ |
D | shelf_window_watcher.cc | 37 bool HasShelfItemForWindow(aura::Window* window) { in HasShelfItemForWindow() argument 38 if (ash::GetShelfItemDetailsForWindow(window) != NULL && in HasShelfItemForWindow() 39 ash::GetShelfIDForWindow(window) != ash::kInvalidShelfID) in HasShelfItemForWindow() 45 bool IsDragging(aura::Window* window) { in IsDragging() argument 46 return ash::wm::GetWindowState(window)->is_dragged(); in IsDragging() 62 aura::Window* window) { in OnWindowDestroying() argument 63 window_watcher_->OnRootWindowRemoved(window); in OnWindowDestroying() 75 aura::Window* window, in OnWindowParentChanged() argument 88 if (IsDragging(window) && parent->id() == kShellWindowId_DockedContainer) in OnWindowParentChanged() 94 window_watcher_->FinishObservingRemovedWindow(window); in OnWindowParentChanged() [all …]
|
/external/chromium_org/ash/wm/ |
D | window_animations_unittest.cc | 71 scoped_ptr<aura::Window> window(CreateTestWindowInShellWithId(0)); in TEST_F() local 72 window->Show(); in TEST_F() 73 EXPECT_TRUE(window->layer()->visible()); in TEST_F() 77 window.get(), in TEST_F() 79 AnimateOnChildWindowVisibilityChanged(window.get(), false); in TEST_F() 80 EXPECT_EQ(0.0f, window->layer()->GetTargetOpacity()); in TEST_F() 81 EXPECT_FALSE(window->layer()->GetTargetVisibility()); in TEST_F() 82 EXPECT_FALSE(window->layer()->visible()); in TEST_F() 86 window.get(), in TEST_F() 88 AnimateOnChildWindowVisibilityChanged(window.get(), true); in TEST_F() [all …]
|
D | ash_focus_rules.cc | 36 bool BelongsToContainerWithEqualOrGreaterId(const aura::Window* window, in BelongsToContainerWithEqualOrGreaterId() argument 38 for (; window; window = window->parent()) { in BelongsToContainerWithEqualOrGreaterId() 39 if (window->id() >= container_id) in BelongsToContainerWithEqualOrGreaterId() 59 bool AshFocusRules::SupportsChildActivation(aura::Window* window) const { in SupportsChildActivation() 60 if (window->id() == kShellWindowId_DefaultContainer) in SupportsChildActivation() 64 if (window->id() == kWindowContainerIds[i]) in SupportsChildActivation() 71 aura::Window* window) const { in IsWindowConsideredVisibleForActivation() 72 if (BaseFocusRules::IsWindowConsideredVisibleForActivation(window)) in IsWindowConsideredVisibleForActivation() 77 if (wm::GetWindowState(window)->IsMinimized()) in IsWindowConsideredVisibleForActivation() 80 return window->TargetVisibility() && in IsWindowConsideredVisibleForActivation() [all …]
|
D | window_animations.cc | 69 base::TimeDelta GetCrossFadeDuration(aura::Window* window, in GetCrossFadeDuration() argument 72 if (::wm::WindowAnimationsDisabled(window)) in GetCrossFadeDuration() 98 void AddLayerAnimationsForMinimize(aura::Window* window, bool show) { in AddLayerAnimationsForMinimize() argument 101 gfx::Rect bounds = window->bounds(); in AddLayerAnimationsForMinimize() 102 gfx::Rect target_bounds = GetMinimizeAnimationTargetBoundsInScreen(window); in AddLayerAnimationsForMinimize() 104 ScreenUtil::ConvertRectFromScreen(window->parent(), target_bounds); in AddLayerAnimationsForMinimize() 122 base::TimeDelta duration = window->layer()->GetAnimator()-> in AddLayerAnimationsForMinimize() 132 window->layer()->GetAnimator()->ScheduleAnimation( in AddLayerAnimationsForMinimize() 138 window->layer()->GetAnimator()->SchedulePauseForProperties( in AddLayerAnimationsForMinimize() 144 window->layer()->GetAnimator()->ScheduleAnimation( in AddLayerAnimationsForMinimize() [all …]
|
D | default_state.cc | 33 bool IsPanel(aura::Window* window) { in IsPanel() argument 34 return window->parent() && in IsPanel() 35 window->parent()->id() == kShellWindowId_PanelContainer; in IsPanel() 50 window_state->window()).bounds(); in MoveToDisplayForRestore() 59 if (new_root != window_state->window()->GetRootWindow()) { in MoveToDisplayForRestore() 61 Shell::GetContainer(new_root, window_state->window()->parent()->id()); in MoveToDisplayForRestore() 62 new_container->AddChild(window_state->window()); in MoveToDisplayForRestore() 126 GetDefaultLeftSnappedWindowBoundsInParent(window_state->window()) : in OnWMEvent() 127 GetDefaultRightSnappedWindowBoundsInParent(window_state->window()); in OnWMEvent() 149 GetDisplayNearestWindow(window_state->window()); in AttachState() [all …]
|
/external/flac/libFLAC/ |
D | window.c | 46 void FLAC__window_bartlett(FLAC__real *window, const FLAC__int32 L) in FLAC__window_bartlett() argument 53 window[n] = 2.0f * n / (float)N; in FLAC__window_bartlett() 55 window[n] = 2.0f - 2.0f * n / (float)N; in FLAC__window_bartlett() 59 window[n] = 2.0f * n / (float)N; in FLAC__window_bartlett() 61 window[n] = 2.0f - 2.0f * n / (float)N; in FLAC__window_bartlett() 65 void FLAC__window_bartlett_hann(FLAC__real *window, const FLAC__int32 L) in FLAC__window_bartlett_hann() argument 71 …window[n] = (FLAC__real)(0.62f - 0.48f * fabs((float)n/(float)N-0.5f) - 0.38f * cos(2.0f * M_PI * … in FLAC__window_bartlett_hann() 74 void FLAC__window_blackman(FLAC__real *window, const FLAC__int32 L) in FLAC__window_blackman() argument 80 …window[n] = (FLAC__real)(0.42f - 0.5f * cos(2.0f * M_PI * n / N) + 0.08f * cos(4.0f * M_PI * n / N… in FLAC__window_blackman() 84 void FLAC__window_blackman_harris_4term_92db_sidelobe(FLAC__real *window, const FLAC__int32 L) in FLAC__window_blackman_harris_4term_92db_sidelobe() argument [all …]
|
/external/chromium_org/ash/wm/workspace/ |
D | workspace_event_handler_unittest.cc | 40 aura::Window* window = new aura::Window(delegate); in CreateTestWindow() local 41 window->SetType(ui::wm::WINDOW_TYPE_NORMAL); in CreateTestWindow() 42 window->Init(aura::WINDOW_LAYER_TEXTURED); in CreateTestWindow() 43 ParentWindowInPrimaryRootWindow(window); in CreateTestWindow() 44 window->SetBounds(bounds); in CreateTestWindow() 45 window->Show(); in CreateTestWindow() 46 return window; in CreateTestWindow() 56 explicit WindowPropertyObserver(aura::Window* window) in WindowPropertyObserver() argument 57 : window_(window) { in WindowPropertyObserver() 58 window->AddObserver(this); in WindowPropertyObserver() [all …]
|
D | workspace_layout_manager_unittest.cc | 106 scoped_ptr<aura::Window> window( in TEST_F() local 109 window->SetBounds(bounds); in TEST_F() 111 wm::WindowState* window_state = wm::GetWindowState(window.get()); in TEST_F() 118 EXPECT_EQ("10,15 25x35", window.get()->bounds().ToString()); in TEST_F() 124 window->SetBoundsInScreen(gfx::Rect(600, 0, 100, 100), in TEST_F() 126 EXPECT_EQ(Shell::GetAllRootWindows()[1], window->GetRootWindow()); in TEST_F() 131 EXPECT_EQ("600,0 100x100", window->GetBoundsInScreen().ToString()); in TEST_F() 138 EXPECT_EQ(Shell::GetPrimaryRootWindow(), window->GetRootWindow()); in TEST_F() 140 Shell::GetPrimaryRootWindow()->bounds().Intersects(window->bounds())); in TEST_F() 170 scoped_ptr<aura::Window> window( in TEST_F() local [all …]
|
/external/chromium_org/ui/base/win/ |
D | hwnd_subclass_unittest.cc | 24 virtual BOOL ProcessWindowMessage(HWND window, in ProcessWindowMessage() argument 71 TestWindow window; in TEST() local 72 window.Init(NULL, gfx::Rect(0, 0, 100, 100)); in TEST() 73 EXPECT_TRUE(window.hwnd() != NULL); in TEST() 77 HWNDSubclass::AddFilterToTarget(window.hwnd(), &mf); in TEST() 81 ::SendMessage(window.hwnd(), WM_NCHITTEST, 0, 0); in TEST() 84 EXPECT_TRUE(window.saw_message); in TEST() 87 window.saw_message = false; in TEST() 92 ::SendMessage(window.hwnd(), WM_NCHITTEST, 0, 0); in TEST() 95 EXPECT_FALSE(window.saw_message); in TEST() [all …]
|
/external/chromium_org/ash/wm/maximize_mode/ |
D | maximize_mode_window_manager.cc | 57 void MaximizeModeWindowManager::AddWindow(aura::Window* window) { in AddWindow() argument 60 if (!ShouldHandleWindow(window) || in AddWindow() 61 window_state_map_.find(window) != window_state_map_.end() || in AddWindow() 62 !IsContainerWindow(window->parent())) { in AddWindow() 66 MaximizeAndTrackWindow(window); in AddWindow() 69 void MaximizeModeWindowManager::WindowStateDestroyed(aura::Window* window) { in WindowStateDestroyed() argument 72 DCHECK(!window->HasObserver(this)); in WindowStateDestroyed() 74 WindowToState::iterator it = window_state_map_.find(window); in WindowStateDestroyed() 95 void MaximizeModeWindowManager::OnWindowDestroying(aura::Window* window) { in OnWindowDestroying() argument 97 if (!IsContainerWindow(window)) in OnWindowDestroying() [all …]
|
/external/chromium_org/tools/telemetry/telemetry/core/ |
D | network_quiescence.js | 15 if (window.__telemetry_testHasReachedNetworkQuiescence) { 22 window.performance.clearResourceTimings = 23 (window.performance.clearResourceTimings || 24 window.performance.mozClearResourceTimings || 25 window.performance.msClearResourceTimings || 26 window.performance.oClearResourceTimings || 27 window.performance.webkitClearResourceTimings); 29 window.performance.getEntriesByType = 30 (window.performance.getEntriesByType || 31 window.performance.mozGetEntriesByType || [all …]
|
/external/qemu/android/skin/ |
D | window.c | 734 SkinWindow* window; member 738 ball_state_reset( BallState* state, SkinWindow* window ) in ball_state_reset() argument 747 state->window = window; in ball_state_reset() 768 skin_window_redraw( state->window, &state->rect ); in ball_state_show() 775 skin_window_redraw( state->window, &state->rect ); in ball_state_show() 984 skin_window_find_finger( SkinWindow* window, in skin_window_find_finger() argument 988 FingerState* finger = &window->finger; in skin_window_find_finger() 994 if (!window->enable_touch) in skin_window_find_finger() 997 LAYOUT_LOOP_DISPLAYS(&window->layout,disp) in skin_window_find_finger() 1011 skin_window_move_mouse( SkinWindow* window, in skin_window_move_mouse() argument [all …]
|
/external/chromium_org/athena/wm/ |
D | window_list_provider_impl.cc | 59 bool WindowListProviderImpl::IsWindowInList(aura::Window* window) const { in IsWindowInList() 60 return window->parent() == container_ && IsValidWindow(window); in IsWindowInList() 63 bool WindowListProviderImpl::IsValidWindow(aura::Window* window) const { in IsValidWindow() 65 return window->type() == ui::wm::WINDOW_TYPE_NORMAL || in IsValidWindow() 66 window->type() == ui::wm::WINDOW_TYPE_PANEL; in IsValidWindow() 70 aura::Window* window, in StackWindowFrontOf() argument 72 DCHECK_NE(window, reference_window); in StackWindowFrontOf() 73 DCHECK(IsWindowInList(window)); in StackWindowFrontOf() 75 container_->StackChildAbove(window, reference_window); in StackWindowFrontOf() 79 aura::Window* window, in StackWindowBehindTo() argument [all …]
|
D | title_drag_controller.cc | 45 void TitleDragController::EndTransition(aura::Window* window, bool complete) { in EndTransition() argument 46 ui::ScopedLayerAnimationSettings settings(window->layer()->GetAnimator()); in EndTransition() 52 window, in EndTransition() 55 transform.Translate(0, complete ? window->bounds().height() : 0); in EndTransition() 56 window->SetTransform(transform); in EndTransition() 59 void TitleDragController::OnTransitionEnd(aura::Window* window, bool complete) { in OnTransitionEnd() argument 61 if (!tracker_.Contains(window)) in OnTransitionEnd() 62 window = NULL; in OnTransitionEnd() 64 if (window) { in OnTransitionEnd() 65 window->SetTransform(gfx::Transform()); in OnTransitionEnd() [all …]
|
/external/chromium_org/chrome/browser/devtools/ |
D | devtools_window_testing.cc | 25 DevToolsWindowTesting::DevToolsWindowTesting(DevToolsWindow* window) in DevToolsWindowTesting() argument 26 : devtools_window_(window) { in DevToolsWindowTesting() 27 DCHECK(window); in DevToolsWindowTesting() 28 window->close_callback_ = in DevToolsWindowTesting() 29 base::Bind(&DevToolsWindowTesting::WindowClosed, window); in DevToolsWindowTesting() 46 DevToolsWindowTesting* DevToolsWindowTesting::Get(DevToolsWindow* window) { in Get() argument 47 DevToolsWindowTesting* testing = DevToolsWindowTesting::Find(window); in Get() 49 testing = new DevToolsWindowTesting(window); in Get() 54 DevToolsWindowTesting* DevToolsWindowTesting::Find(DevToolsWindow* window) { in Find() argument 61 if ((*it)->devtools_window_ == window) in Find() [all …]
|