/device/generic/goldfish/MultiDisplayProvider/src/com/android/emulator/multidisplay/ |
D | MultiDisplayService.java | 59 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/ |
D | base_composer.h | 42 int32_t dpi() { return screen_view_->dpi(); } in dpi() function
|
D | hwcomposer.cpp | 83 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()
|
D | screen_view.h | 50 virtual int32_t dpi() const = 0;
|
D | stats_keeper.h | 172 int32_t dpi() const override { return screen_view_->dpi(); } in dpi() function
|
/device/google/cuttlefish/common/libs/device_config/ |
D | device_config.h | 53 int32_t dpi; member 72 int32_t screen_dpi() { return data_.screen.dpi; } in screen_dpi()
|
D | host_device_config.cpp | 188 data_.screen.dpi = config.dpi(); in InitializeScreenConfiguration()
|
/device/google/cuttlefish/guest/hals/hwcomposer/cutf_cvm/ |
D | vsocket_screen_view.h | 40 int32_t dpi() const override;
|
D | vsocket_screen_view.cpp | 132 int32_t VsocketScreenView::dpi() const { return dpi_; } in dpi() function in cvd::VsocketScreenView
|
/device/google/cuttlefish/host/frontend/gcastv2/webrtc/ |
D | ServerState.cpp | 58 screenParams[2] = config->dpi(); in ServerState()
|
/device/google/cuttlefish/host/commands/run_cvd/ |
D | kernel_args.cc | 61 kernel_cmdline.push_back(concat("androidboot.lcd_density=", config.dpi())); in KernelCommandLineFromConfig()
|
/device/google/cuttlefish/host/libs/config/ |
D | cuttlefish_config.h | 92 int dpi() const; 93 void set_dpi(int dpi);
|
D | cuttlefish_config.cpp | 256 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/ |
D | EmuHWC2.cpp | 1328 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()
|
D | EmuHWC2.h | 263 uint32_t dpi, uint32_t idx);
|
/device/google/cuttlefish/host/commands/assemble_cvd/ |
D | flags.cc | 58 DEFINE_int32(dpi, 160, "Pixels per inch for the screen");
|