Lines Matching refs:id2
106 int64 id2,
110 base::Int64ToString(id1) + "," + base::Int64ToString(id2),
135 std::string GetRegisteredDisplayLayoutStr(int64 id1, int64 id2) {
138 pair.second = id2;
159 int64 id2 = ash::ScreenAsh::GetSecondaryDisplay().id();
160 int64 dummy_id = id2 + 1;
163 StoreDisplayLayoutPrefForPair(id1, id2, ash::DisplayLayout::TOP, 20);
179 // Inverted one of for specified pair (id1, id2). Not used for the pair
183 EXPECT_EQ("top, 20", GetRegisteredDisplayLayoutStr(id1, id2));
196 int64 id2 = ash::ScreenAsh::GetSecondaryDisplay().id();
197 int64 dummy_id = id2 + 1;
212 display_manager->SetDisplayUIScale(id2, 1.25f);
217 std::string key = base::Int64ToString(id1) + "," + base::Int64ToString(id2);
256 EXPECT_TRUE(properties->GetDictionary(base::Int64ToString(id2), &property));
274 display_manager->SetDisplayResolution(id2, gfx::Size(400, 300));
276 display_controller->SetPrimaryDisplayId(id2);
286 EXPECT_TRUE(properties->GetDictionary(base::Int64ToString(id2), &property));
298 EXPECT_EQ(id2, stored_layout.primary_id);
305 EXPECT_EQ(base::Int64ToString(id2), primary_id_str);
323 EXPECT_EQ(base::Int64ToString(id2), primary_id_str);
331 EXPECT_TRUE(properties->GetDictionary(base::Int64ToString(id2), &property));
338 display_manager->SetDisplayResolution(id2 + 1, gfx::Size(500, 400));
341 id2 = ash::ScreenAsh::GetSecondaryDisplay().id();
342 key = base::Int64ToString(id1) + "," + base::Int64ToString(id2);
355 EXPECT_TRUE(properties->GetDictionary(base::Int64ToString(id2), &property));
406 int64 id2 = ash::ScreenAsh::GetSecondaryDisplay().id();
421 std::string key = base::Int64ToString(id1) + "," + base::Int64ToString(id2);
428 EXPECT_EQ(id2, stored_layout.primary_id);
449 int64 id2 = ash::ScreenAsh::GetSecondaryDisplay().id();
453 display_controller->SetPrimaryDisplayId(id2);
469 EXPECT_EQ(id2, screen->GetPrimaryDisplay().id());