Home
last modified time | relevance | path

Searched refs:primary_id (Results 1 – 21 of 21) sorted by relevance

/external/chromium_org/ash/display/
Ddisplay_layout_store.cc64 DCHECK_NE(layout.primary_id, gfx::Display::kInvalidDisplayID); in ComputeDisplayLayoutForDisplayIdPair()
67 return (layout.primary_id == gfx::Display::kInvalidDisplayID || in ComputeDisplayLayoutForDisplayIdPair()
68 pair.first == layout.primary_id) ? layout : layout.Invert(); in ComputeDisplayLayoutForDisplayIdPair()
82 paired_layouts_[pair].primary_id = display_id; in UpdatePrimaryDisplayId()
88 layout.primary_id = pair.first; in CreateDisplayLayout()
Ddisplay_layout.cc72 primary_id(gfx::Display::kInvalidDisplayID) { in DisplayLayout()
79 primary_id(gfx::Display::kInvalidDisplayID) { in DisplayLayout()
108 ret.primary_id = primary_id; in Invert()
130 dict_value->SetString(kPrimaryIdKey, base::Int64ToString(layout.primary_id)); in ConvertToValue()
149 kPrimaryIdKey, &DisplayLayout::primary_id, &GetDisplayIdFromString); in RegisterJSONConverter()
Ddisplay_layout.h63 int64 primary_id; member
Ddisplay_controller.cc736 int64 primary_id = layout.primary_id; in PostDisplayConfigurationChange() local
738 primary_id == gfx::Display::kInvalidDisplayID ? in PostDisplayConfigurationChange()
739 pair.first : primary_id); in PostDisplayConfigurationChange()
Ddisplay_manager.cc275 layout.primary_id = displays_[0].id(); in GetCurrentDisplayLayout()
315 to_set.primary_id = primary.id(); in SetLayoutForCurrentDisplays()
777 return GetDisplayForId(layout.primary_id); in GetPrimaryDisplayCandidate()
978 if (layout.primary_id != gfx::Display::kInvalidDisplayID) { in UpdateSecondaryDisplayBoundsForLayout()
980 if (displays->at(0).id() == layout.primary_id) { in UpdateSecondaryDisplayBoundsForLayout()
Ddisplay_controller_unittest.cc565 int64 primary_id = GetPrimaryDisplay().id(); in TEST_F() local
566 display_manager->SetDisplayRotation(primary_id, gfx::Display::ROTATE_90); in TEST_F()
570 display_manager->SetDisplayRotation(primary_id, gfx::Display::ROTATE_90); in TEST_F()
586 display_manager->SetDisplayUIScale(primary_id, 1.125f); in TEST_F()
590 display_manager->SetDisplayUIScale(primary_id, 1.125f); in TEST_F()
/external/chromium_org/content/renderer/gpu/
Dstream_texture_host_android.cc54 void StreamTextureHost::EstablishPeer(int32 primary_id, int32 secondary_id) { in EstablishPeer() argument
57 stream_id_, primary_id, secondary_id)); in EstablishPeer()
Dstream_texture_host_android.h44 void EstablishPeer(int32 primary_id, int32 secondary_id);
/external/chromium_org/chrome/browser/extensions/api/system_display/
Ddisplay_info_provider.cc77 int64 primary_id = screen->GetPrimaryDisplay().id(); in GetAllDisplaysInfo() local
82 CreateDisplayUnitInfo(displays[i], primary_id)); in GetAllDisplaysInfo()
/external/chromium_org/chrome/browser/chromeos/display/
Ddisplay_preferences_unittest.cc81 int64 primary_id) { in StoreDisplayLayoutPrefForName() argument
84 display_layout.primary_id = primary_id; in StoreDisplayLayoutPrefForName()
111 int64 primary_id) { in StoreDisplayLayoutPrefForSecondary() argument
113 base::Int64ToString(id), layout, offset, primary_id); in StoreDisplayLayoutPrefForSecondary()
292 EXPECT_EQ(id2, stored_layout.primary_id); in TEST_F()
428 EXPECT_EQ(id2, stored_layout.primary_id); in TEST_F()
435 EXPECT_EQ(id1, stored_layout.primary_id); in TEST_F()
/external/chromium_org/content/app/android/
Dchild_process_service.cc49 int primary_id, in EstablishSurfaceTexturePeer() argument
54 surface_texture->j_surface_texture().obj(), primary_id, in EstablishSurfaceTexturePeer()
/external/chromium_org/content/common/gpu/
Dstream_texture_manager_android.cc126 int32 stream_id, int32 primary_id, int32 secondary_id) { in EstablishStreamTexture() argument
134 primary_id, in EstablishStreamTexture()
Dstream_texture_manager_android.h41 int32 stream_id, int32 primary_id, int32 secondary_id);
Dgpu_channel.h199 int32 stream_id, int32 primary_id, int32 secondary_id);
Dgpu_channel.cc929 int32 stream_id, int32 primary_id, int32 secondary_id) { in OnEstablishStreamTexture() argument
931 stream_id, primary_id, secondary_id); in OnEstablishStreamTexture()
/external/chromium_org/content/common/android/
Dsurface_texture_peer.h24 int primary_id,
/external/libsepol/tests/
Dtest-common.h53 extern void test_alias_datum(policydb_t * p, char *id, char *primary_id, char mode, unsigned int fl…
Dtest-common.c150 void test_alias_datum(policydb_t * p, char *id, char *primary_id, char mode, unsigned int flavor) in test_alias_datum() argument
156 primary = hashtab_search(p->p_types.table, primary_id); in test_alias_datum()
/external/chromium_org/content/browser/android/
Dchild_process_launcher_android.cc143 jint pid, jobject surface, jint primary_id, jint secondary_id) { in EstablishSurfacePeer() argument
151 &SetSurfacePeer, jsurface, pid, primary_id, secondary_id)); in EstablishSurfacePeer()
/external/chromium_org/ash/system/chromeos/
Dtray_display.cc243 int64 primary_id = Shell::GetScreen()->GetPrimaryDisplay().id(); in GetTrayDisplayMessage() local
245 !display_manager->IsInternalDisplayId(primary_id)) { in GetTrayDisplayMessage()
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/
Ddisplay_options_handler.cc172 int64 primary_id = ash::Shell::GetScreen()->GetPrimaryDisplay().id(); in SendDisplayInfo() local
187 js_display->SetBoolean("isPrimary", display.id() == primary_id); in SendDisplayInfo()