Home
last modified time | relevance | path

Searched refs:dpi (Results 1 – 19 of 19) sorted by relevance

/device/generic/goldfish/MultiDisplayProvider/src/com/android/emulator/multidisplay/
DMultiDisplayService.java78 public int dpi; field in MultiDisplayService.MultiDisplay
91 dpi = 0; in clear()
101 dpi = d; in set()
107 return (w == width && h == height && d == dpi && f == flag); in match()
121 writer.printf("%sDPI: %d\n", prefix, dpi); in dump()
130 + ", dpi=" + dpi in toString()
272 int dpi = getIntArg(writer, args, 4); in runCmdAdd() local
275 addVirtualDisplay(displayId, width, height, dpi, flags); in runCmdAdd()
326 private void createVirtualDisplay(int displayId, int w, int h, int dpi, int flag) { in createVirtualDisplay() argument
330 DISPLAY_NAME, w, h, dpi, in createVirtualDisplay()
[all …]
/device/generic/goldfish-opengl/system/hwc3/
DDrmConnector.cpp147 const uint32_t dpi = static_cast<uint32_t>( in getDpiX() local
150 DEBUG_LOG("%s: connector:%" PRIu32 " has dpi-x:%" PRIu32, __FUNCTION__, mId, dpi); in getDpiX()
151 return dpi; in getDpiX()
166 const uint32_t dpi = static_cast<uint32_t>( in getDpiY() local
169 DEBUG_LOG("%s: connector:%" PRIu32 " has dpi-x:%" PRIu32, __FUNCTION__, mId, dpi); in getDpiY()
170 return dpi; in getDpiY()
DDisplayConfig.h60 void setDpiX(int32_t dpi) { mDpiX = dpi; } in setDpiX() argument
63 void setDpiY(int32_t dpi) { mDpiY = dpi; } in setDpiY() argument
DDisplay.cpp279 displayConfiguration.dpi = {static_cast<float>(displayConfig.getDpiX()), in getDisplayConfigurations()
/device/google/cuttlefish/guest/monitoring/cuttlefish_service/java/com/android/google/gce/gceservice/
DGceService.java153 int dpi = config.densityDpi; in onConfigurationChanged() local
159 dpi == mPreviousDpi) { in onConfigurationChanged()
165 mEventReporter.reportScreenChanged(width, height, dpi, rotation); in onConfigurationChanged()
169 mPreviousDpi = dpi; in onConfigurationChanged()
DEventReporter.java125 public void reportScreenChanged(int width, int height, int dpi, int rotation) { in reportScreenChanged() argument
128 width, height, dpi, rotation)); in reportScreenChanged()
/device/google/cuttlefish/host/commands/display/
Dmain.cpp143 const std::string dpi = std::to_string(display_config.dpi); in DoAdd() local
150 "dpi=[" + dpi + "," + dpi + "]", in DoAdd()
/device/google/cuttlefish/host/frontend/webrtc/libdevice/
Dstreamer.cpp91 int dpi; member
245 int width, int height, int dpi, in AddDisplay() argument
249 [this, &label, width, height, dpi, in AddDisplay()
257 impl_->displays_[label] = {width, height, dpi, touch_enabled, source}; in AddDisplay()
424 display[kDpiField] = entry.second.dpi; in OnOpen()
Dstreamer.h86 int height, int dpi,
/device/google/cuttlefish/host/commands/assemble_cvd/
Ddisplay.cpp105 display_config_json[kDpi] = display_configs.dpi; in Serialize()
125 display_config.dpi = display_config_json[kDpi].asInt(); in Deserialize()
Dflags.cc113 DEFINE_string(dpi, "0", "Pixels per inch for the screen");
736 if (display.dpi() != 0) { in ParseDisplaysProto()
737 display_dpi = display.dpi(); in ParseDisplaysProto()
748 .dpi = display_dpi, in ParseDisplaysProto()
1098 std::vector<int> dpi_vec = CF_EXPECT(GET_FLAG_INT_VALUE(dpi)); in InitializeCuttlefishConfiguration()
1504 .dpi = dpi_vec[instance_index], in InitializeCuttlefishConfiguration()
Dbootconfig_args.cpp97 std::to_string(display_configs[0].dpi); in BootconfigArgsFromConfig()
/device/google/cuttlefish/host/libs/vm_manager/
Dcrosvm_manager.cpp306 display_dpi[0] = display_config.dpi; in BuildVhostUserGpu()
307 display_dpi[1] = display_config.dpi; in BuildVhostUserGpu()
412 const auto display_dpi = std::to_string(display_config.dpi); in ConfigureGpu()
/device/google/cuttlefish/host/commands/assemble_cvd/proto/
Dlaunch_cvd.proto24 int32 dpi = 3; field
/device/google/cuttlefish/host/libs/config/
Ddisplay.cpp90 .dpi = display_dpi, in ParseDisplayConfig()
Dcuttlefish_config_instance.cpp1154 display_config.dpi = display_config_json[kDpi].asInt(); in display_configs()
1169 display_config_json[kDpi] = display_configs.dpi; in set_display_configs()
Dcuttlefish_config.h123 int dpi; member
/device/google/cuttlefish/host/commands/status/
Dmain.cc107 std::to_string(instance_config.display_configs()[i].dpi) + " )"; in PopulateDevicesInfoFromInstance()
/device/google/trout/tools/tracing/proto/
Dperfetto_trace.proto6849 optional uint32 dpi = 1; field