Home
last modified time | relevance | path

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

/device/generic/goldfish/MultiDisplayProvider/src/com/android/emulator/multidisplay/
DMultiDisplayService.java59 public int dpi; field in MultiDisplayService.MultiDisplay
70 dpi = 0; in clear()
79 dpi = d; in set()
84 return (w == width && h == height && d == dpi && f == flag); in match()
141 private void createVirtualDisplay(int displayId, int w, int h, int dpi, int flag) { in createVirtualDisplay() argument
145 DISPLAY_NAME, w, h, dpi, in createVirtualDisplay()
150 mMultiDisplay[displayId].set(w, h, dpi, flag); in createVirtualDisplay()
153 private void addVirtualDisplay(int displayId, int w, int h, int dpi, int flag) { in addVirtualDisplay() argument
154 if (mMultiDisplay[displayId].match(w, h, dpi, flag)) { in addVirtualDisplay()
158 createVirtualDisplay(displayId, w, h, dpi, flag); in addVirtualDisplay()
[all …]
/device/google/cuttlefish/guest/hals/hwcomposer/common/
Dbase_composer.h42 int32_t dpi() { return screen_view_->dpi(); } in dpi() function
Dhwcomposer.cpp83 uint32_t dpi; member
319 config.dpi = values[3]; in GetExternalDisplayConfigs()
467 ALOGI("Reporting DPI_X of %d", pdev->composer->dpi()); in cvd_hwc_attribute()
469 return pdev->composer->dpi() * 1000; in cvd_hwc_attribute()
471 ALOGI("Reporting DPI_Y of %d", pdev->composer->dpi()); in cvd_hwc_attribute()
473 return pdev->composer->dpi() * 1000; in cvd_hwc_attribute()
Dscreen_view.h50 virtual int32_t dpi() const = 0;
Dstats_keeper.h172 int32_t dpi() const override { return screen_view_->dpi(); } in dpi() function
/device/google/cuttlefish/common/libs/device_config/
Ddevice_config.h53 int32_t dpi; member
72 int32_t screen_dpi() { return data_.screen.dpi; } in screen_dpi()
Dhost_device_config.cpp188 data_.screen.dpi = config.dpi(); in InitializeScreenConfiguration()
/device/google/cuttlefish/guest/hals/hwcomposer/cutf_cvm/
Dvsocket_screen_view.h40 int32_t dpi() const override;
Dvsocket_screen_view.cpp132 int32_t VsocketScreenView::dpi() const { return dpi_; } in dpi() function in cvd::VsocketScreenView
/device/google/cuttlefish/host/frontend/gcastv2/webrtc/
DServerState.cpp58 screenParams[2] = config->dpi(); in ServerState()
/device/google/cuttlefish/host/commands/run_cvd/
Dkernel_args.cc61 kernel_cmdline.push_back(concat("androidboot.lcd_density=", config.dpi())); in KernelCommandLineFromConfig()
/device/google/cuttlefish/host/libs/config/
Dcuttlefish_config.h92 int dpi() const;
93 void set_dpi(int dpi);
Dcuttlefish_config.cpp256 int CuttlefishConfig::dpi() const { return (*dictionary_)[kDpi].asInt(); } in dpi() function in vsoc::CuttlefishConfig
257 void CuttlefishConfig::set_dpi(int dpi) { (*dictionary_)[kDpi] = dpi; } in set_dpi() argument
/device/generic/goldfish-opengl/system/hwc2/
DEmuHWC2.cpp1328 uint32_t dpi, uint32_t idx) { in populateSecondaryConfigs() argument
1330 __FUNCTION__, (uint32_t)mId, width, height, dpi); in populateSecondaryConfigs()
1338 newConfig->setAttribute(Attribute::DpiX, dpi*1000); in populateSecondaryConfigs()
1339 newConfig->setAttribute(Attribute::DpiY, dpi*1000); in populateSecondaryConfigs()
1691 uint32_t dpi = values[3]; in populateSecondaryDisplays() local
1697 ret = display->populateSecondaryConfigs(width, height, dpi, idx++); in populateSecondaryDisplays()
DEmuHWC2.h263 uint32_t dpi, uint32_t idx);
/device/google/cuttlefish/host/commands/assemble_cvd/
Dflags.cc58 DEFINE_int32(dpi, 160, "Pixels per inch for the screen");