/external/chromium_org/ash/wm/ |
ash_native_cursor_manager_unittest.cc | 58 CursorManagerTestApi test_api(cursor_manager); 64 EXPECT_EQ(ui::kCursorCopy, test_api.GetCurrentCursor().native_type()); 69 EXPECT_EQ(2.5f, test_api.GetCurrentScale()); 70 EXPECT_EQ(2.0f, test_api.GetDisplay().device_scale_factor()); 71 EXPECT_EQ(ui::CURSOR_SET_NORMAL, test_api.GetCurrentCursorSet()); 72 EXPECT_EQ(gfx::Display::ROTATE_90, test_api.GetDisplay().rotation()); 73 EXPECT_TRUE(test_api.GetCurrentCursor().platform()); 79 EXPECT_EQ(ui::CURSOR_SET_NORMAL, test_api.GetCurrentCursorSet()); 81 EXPECT_EQ(ui::CURSOR_SET_NORMAL, test_api.GetCurrentCursorSet()); 83 EXPECT_EQ(ui::CURSOR_SET_LARGE, test_api.GetCurrentCursorSet()) [all...] |
ash_native_cursor_manager_interactive_uitest.cc | 70 test::CursorManagerTestApi test_api(cursor_manager); 84 EXPECT_EQ(1.0f, test_api.GetDisplay().device_scale_factor()); 87 EXPECT_EQ(2.0f, test_api.GetDisplay().device_scale_factor());
|
resize_shadow_and_cursor_unittest.cc | 90 CursorManagerTestApi test_api(ash::Shell::GetInstance()->cursor_manager()); 91 return test_api.GetCurrentCursor().native_type();
|
/external/chromium_org/ash/display/ |
mirror_window_controller_unittest.cc | 72 test::MirrorWindowTestApi test_api; local 88 EXPECT_TRUE(test_api.GetCursorWindow()); 95 gfx::Point hot_point = test_api.GetCursorHotPoint(); 97 test_api.GetCursorWindow()->bounds().origin(); 101 EXPECT_EQ(ui::kCursorNull, test_api.GetCurrentCursorType()); 102 EXPECT_TRUE(test_api.GetCursorWindow()->IsVisible()); 106 hot_point = test_api.GetCursorHotPoint(); 107 cursor_window_origin = test_api.GetCursorWindow()->bounds().origin(); 110 EXPECT_EQ(ui::kCursorNorthResize, test_api.GetCurrentCursorType()); 116 EXPECT_FALSE(test_api.GetCursorWindow()->IsVisible()) 129 test::MirrorWindowTestApi test_api; local 196 test::MirrorWindowTestApi test_api; local 286 test::MirrorWindowTestApi test_api; local [all...] |
display_manager_unittest.cc | 970 test::MirrorWindowTestApi test_api; member in class:ash::internal::TestDisplayObserver 982 test::MirrorWindowTestApi test_api; local [all...] |
screen_position_controller_unittest.cc | 45 ShellTestApi test_api(Shell::GetInstance()); 46 return test_api.screen_position_controller();
|
root_window_transformers_unittest.cc | 398 test::MirrorWindowTestApi test_api; 403 test_api.CreateCurrentRootWindowTransformer()); 409 transformer = test_api.CreateCurrentRootWindowTransformer();
|
/external/chromium_org/ui/views/corewm/ |
image_grid_unittest.cc | 44 ImageGrid::TestAPI test_api(&grid); 60 test_api.GetTransformedLayerBounds( 67 test_api.GetTransformedLayerBounds( 72 test_api.GetTransformedLayerBounds( 79 test_api.GetTransformedLayerBounds( 86 test_api.GetTransformedLayerBounds( 94 test_api.GetTransformedLayerBounds( 100 test_api.GetTransformedLayerBounds( 108 test_api.GetTransformedLayerBounds( 116 test_api.GetTransformedLayerBounds [all...] |
/external/chromium_org/ash/launcher/ |
launcher_unittest.cc | 79 ash::test::ShelfViewTestAPI* test_api() { function in class:ash::LauncherTest 96 int button_count = test_api()->GetButtonCount(); 103 ASSERT_EQ(++button_count, test_api()->GetButtonCount()); 104 ShelfButton* button = test_api()->GetButton(index); 109 ASSERT_EQ(--button_count, test_api()->GetButtonCount()); 116 int button_count = test_api()->GetButtonCount(); 129 ASSERT_EQ(++button_count, test_api()->GetButtonCount()); 130 ShelfButton* button = test_api()->GetButton(index); 144 while (!test_api()->IsOverflowButtonVisible()) { 155 test_api()->ShowOverflowBubble() [all...] |
/external/chromium/chrome/browser/chromeos/cros/ |
cros_mock.cc | 55 chromeos::CrosLibrary::TestApi* CrosMock::test_api() { function in class:chromeos::CrosMock 73 test_api()->SetLibraryLoader(loader_, true); 81 test_api()->SetCryptohomeLibrary(mock_cryptohome_library_, true); 89 test_api()->SetInputMethodLibrary(mock_input_method_library_, true); 97 test_api()->SetNetworkLibrary(mock_network_library_, true); 105 test_api()->SetPowerLibrary(mock_power_library_, true); 113 test_api()->SetScreenLockLibrary(mock_screen_lock_library_, true); 122 test_api()->SetSpeechSynthesisLibrary(mock_speech_synthesis_library_, true); 130 test_api()->SetTouchpadLibrary(mock_touchpad_library_, true); 387 test_api()->SetLibraryLoader(NULL, false) [all...] |
cros_mock.h | 89 chromeos::CrosLibrary::TestApi* test_api();
|
/external/chromium_org/chrome/browser/chromeos/login/ |
wallpaper_manager_unittest.cc | 117 scoped_ptr<WallpaperManager::TestApi> test_api; local 118 test_api.reset(new WallpaperManager::TestApi(WallpaperManager::Get())); 123 EXPECT_TRUE(test_api->current_wallpaper_path().empty());
|
/external/chromium_org/ui/gfx/animation/ |
slide_animation_unittest.cc | 57 SlideAnimation::TestApi test_api(&animation); 72 test_api.SetStartTime(base::TimeTicks()); 73 test_api.Step(base::TimeTicks() + base::TimeDelta::FromMilliseconds(50));
|
/external/chromium_org/components/web_modal/ |
web_contents_modal_dialog_manager_unittest.cc | 91 test_api.reset(new WebContentsModalDialogManager::TestApi(manager)); 95 test_api->ResetNativeManager(native_manager); 99 test_api.reset(); 114 scoped_ptr<WebContentsModalDialogManager::TestApi> test_api; member in class:web_modal::WebContentsModalDialogManagerTest 186 test_api->WebContentsWasHidden(); 193 test_api->WebContentsWasShown(); 220 test_api->DidAttachInterstitialPage(); 293 test_api->CloseAllDialogs();
|
/external/chromium_org/tools/ |
gypv8sh.py | 10 python tools/gypv8sh.py v8_shell mock.js test_api.js js2webui.js \ 25 "%prog v8_shell mock.js axs_testing.js test_api.js js2webui.js " 34 (v8_shell, mock_js, axs_testing_js, test_api, js2webui, test_type, 38 axs_testing_js, test_api, js2webui]
|
/external/chromium/chrome/browser/chromeos/login/ |
cryptohome_op_unittest.cc | 43 CrosLibrary::TestApi* test_api = CrosLibrary::Get()->GetTestApi(); local 52 test_api->SetLibraryLoader(loader, true); 54 test_api->SetCryptohomeLibrary(mock_library_.get(), false); 62 chromeos::CrosLibrary::TestApi* test_api = local 64 test_api->SetLibraryLoader(NULL, false);
|
online_attempt_unittest.cc | 43 CrosLibrary::TestApi* test_api = CrosLibrary::Get()->GetTestApi(); local 52 test_api->SetLibraryLoader(loader, true); 61 chromeos::CrosLibrary::TestApi* test_api = local 63 test_api->SetLibraryLoader(NULL, false);
|
existing_user_controller_browsertest.cc | 126 cros_mock_->test_api()->SetLoginLibrary(mock_login_library_, true); 163 cros_mock_->test_api()->SetLoginLibrary(NULL, false);
|
parallel_authenticator_unittest.cc | 83 chromeos::CrosLibrary::TestApi* test_api = local 92 test_api->SetLibraryLoader(loader_, true); 95 test_api->SetCryptohomeLibrary(mock_library_, true); 111 chromeos::CrosLibrary::TestApi* test_api = local 113 test_api->SetLibraryLoader(NULL, false); 114 test_api->SetCryptohomeLibrary(NULL, false);
|
update_screen_browsertest.cc | 41 cros_mock_->test_api()->SetLoginLibrary(mock_login_library_, true); 46 cros_mock_->test_api()->SetUpdateLibrary(mock_update_library_, true); 74 cros_mock_->test_api()->SetUpdateLibrary(NULL, true);
|
network_screen_browsertest.cc | 58 cros_mock_->test_api()->SetLoginLibrary(mock_login_library_, true); 113 cros_mock_->test_api()->SetLoginLibrary(NULL, false);
|
google_authenticator_unittest.cc | 70 chromeos::CrosLibrary::TestApi* test_api = local 79 test_api->SetLibraryLoader(loader_, true); 82 test_api->SetCryptohomeLibrary(mock_library_, true); 88 chromeos::CrosLibrary::TestApi* test_api = local 90 test_api->SetLibraryLoader(NULL, false); 91 test_api->SetCryptohomeLibrary(NULL, false);
|
/external/chromium_org/ash/shelf/ |
shelf_tooltip_manager_unittest.cc | 235 ui::LocatedEventTestApi test_api(&mouse_event); 243 test_api.set_location(tooltip_rect.origin() + gfx::Vector2d(-1, -1)); 275 ui::LocatedEventTestApi test_api(&mouse_event); 276 test_api.set_location(tooltip_rect.origin() + gfx::Vector2d(-1, -1));
|
/external/chromium_org/ui/views/controls/combobox/ |
combobox_unittest.cc | 460 test::MenuRunnerTestAPI test_api( 462 test_api.SetMenuRunnerHandler(menu_runner_handler.Pass()); 517 scoped_ptr<test::MenuRunnerTestAPI> test_api( 519 test_api->SetMenuRunnerHandler(menu_runner_handler.Pass()); 529 test_api.reset( 531 test_api->SetMenuRunnerHandler(menu_runner_handler.Pass());
|
/external/chromium_org/ash/wm/panels/ |
panel_layout_manager_unittest.cc | 223 test::ShelfViewTestAPI test_api(shelf_view); 224 test_api.SetAnimationDuration(1); 225 test_api.RunMessageLoopUntilAnimationsDone(); 228 gfx::Rect bounds = test_api.GetButton(index)->GetBoundsInScreen(); 234 test_api.RunMessageLoopUntilAnimationsDone(); 254 test::ShelfViewTestAPI test_api(shelf_view); 255 test_api.RunMessageLoopUntilAnimationsDone();
|