Home
last modified time | relevance | path

Searched refs:display_frame (Results 1 – 25 of 47) sorted by relevance

12

/aosp12/hardware/qcom/display/msm8996/sdm/libs/hwc2/
H A Dhwc_display_external.cpp141 void HWCDisplayExternal::ApplyScanAdjustment(hwc_rect_t *display_frame) { in ApplyScanAdjustment() argument
164 display_frame->left = (display_frame->left * INT32(new_mixer_width) / INT32(mixer_width)) in ApplyScanAdjustment()
166 display_frame->top = (display_frame->top * INT32(new_mixer_height) / INT32(mixer_height)) + in ApplyScanAdjustment()
168 display_frame->right = ((display_frame->right * INT32(new_mixer_width)) / INT32(mixer_width)) + in ApplyScanAdjustment()
170 display_frame->bottom = ((display_frame->bottom * INT32(new_mixer_height)) / INT32(mixer_height)) in ApplyScanAdjustment()
H A Dhwc_display_external.h54 void ApplyScanAdjustment(hwc_rect_t *display_frame);
/aosp12/hardware/qcom/display/msm8998/sdm/libs/hwc2/
H A Dhwc_display_external.cpp140 void HWCDisplayExternal::ApplyScanAdjustment(hwc_rect_t *display_frame) { in ApplyScanAdjustment() argument
163 display_frame->left = (display_frame->left * INT32(new_mixer_width) / INT32(mixer_width)) in ApplyScanAdjustment()
165 display_frame->top = (display_frame->top * INT32(new_mixer_height) / INT32(mixer_height)) + in ApplyScanAdjustment()
167 display_frame->right = ((display_frame->right * INT32(new_mixer_width)) / INT32(mixer_width)) + in ApplyScanAdjustment()
169 display_frame->bottom = ((display_frame->bottom * INT32(new_mixer_height)) / INT32(mixer_height)) in ApplyScanAdjustment()
H A Dhwc_display_external.h54 void ApplyScanAdjustment(hwc_rect_t *display_frame);
/aosp12/frameworks/native/services/vr/hardware_composer/tests/
H A Dvr_composer_test.cpp134 .display_frame = {0, 0, 600, 400}, in TEST_F()
153 ASSERT_EQ(frame.layers[0].display_frame.left, in TEST_F()
154 received_frame.layers[0].display_frame.left); in TEST_F()
155 ASSERT_EQ(frame.layers[0].display_frame.top, in TEST_F()
156 received_frame.layers[0].display_frame.top); in TEST_F()
157 ASSERT_EQ(frame.layers[0].display_frame.right, in TEST_F()
158 received_frame.layers[0].display_frame.right); in TEST_F()
159 ASSERT_EQ(frame.layers[0].display_frame.bottom, in TEST_F()
160 received_frame.layers[0].display_frame.bottom); in TEST_F()
/aosp12/hardware/qcom/display/msm8996/sdm/libs/hwc/
H A Dhwc_display_external.cpp172 void HWCDisplayExternal::ApplyScanAdjustment(hwc_rect_t *display_frame) { in ApplyScanAdjustment() argument
203 display_frame->left = (display_frame->left * INT32(new_mixer_width) / INT32(mixer_width)) in ApplyScanAdjustment()
205 display_frame->top = (display_frame->top * INT32(new_mixer_height) / INT32(mixer_height)) + in ApplyScanAdjustment()
207 display_frame->right = ((display_frame->right * INT32(new_mixer_width)) / INT32(mixer_width)) + in ApplyScanAdjustment()
209 display_frame->bottom = ((display_frame->bottom * INT32(new_mixer_height)) / INT32(mixer_height)) in ApplyScanAdjustment()
H A Dhwc_display_external.h52 void ApplyScanAdjustment(hwc_rect_t *display_frame);
/aosp12/hardware/qcom/display/msm8909/sdm/libs/hwc2/
H A Dhwc_display_external.cpp142 void HWCDisplayExternal::ApplyScanAdjustment(hwc_rect_t *display_frame) { in ApplyScanAdjustment() argument
165 display_frame->left = (display_frame->left * INT32(new_mixer_width) / INT32(mixer_width)) in ApplyScanAdjustment()
167 display_frame->top = (display_frame->top * INT32(new_mixer_height) / INT32(mixer_height)) + in ApplyScanAdjustment()
169 display_frame->right = ((display_frame->right * INT32(new_mixer_width)) / INT32(mixer_width)) + in ApplyScanAdjustment()
171 display_frame->bottom = ((display_frame->bottom * INT32(new_mixer_height)) / INT32(mixer_height)) in ApplyScanAdjustment()
H A Dhwc_display_external.h56 void ApplyScanAdjustment(hwc_rect_t *display_frame);
/aosp12/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
H A Dhwc_display_external.cpp142 void HWCDisplayExternal::ApplyScanAdjustment(hwc_rect_t *display_frame) { in ApplyScanAdjustment() argument
165 display_frame->left = (display_frame->left * INT32(new_mixer_width) / INT32(mixer_width)) in ApplyScanAdjustment()
167 display_frame->top = (display_frame->top * INT32(new_mixer_height) / INT32(mixer_height)) + in ApplyScanAdjustment()
169 display_frame->right = ((display_frame->right * INT32(new_mixer_width)) / INT32(mixer_width)) + in ApplyScanAdjustment()
171 display_frame->bottom = ((display_frame->bottom * INT32(new_mixer_height)) / INT32(mixer_height)) in ApplyScanAdjustment()
H A Dhwc_display_external.h56 void ApplyScanAdjustment(hwc_rect_t *display_frame);
/aosp12/hardware/qcom/sdm845/display/sdm/libs/hwc2/
H A Dhwc_display_external.cpp152 void HWCDisplayExternal::ApplyScanAdjustment(hwc_rect_t *display_frame) { in ApplyScanAdjustment() argument
175 display_frame->left = (display_frame->left * INT32(new_mixer_width) / INT32(mixer_width)) in ApplyScanAdjustment()
177 display_frame->top = (display_frame->top * INT32(new_mixer_height) / INT32(mixer_height)) + in ApplyScanAdjustment()
179 display_frame->right = ((display_frame->right * INT32(new_mixer_width)) / INT32(mixer_width)) + in ApplyScanAdjustment()
181 display_frame->bottom = ((display_frame->bottom * INT32(new_mixer_height)) / INT32(mixer_height)) in ApplyScanAdjustment()
H A Dhwc_display_external.h57 void ApplyScanAdjustment(hwc_rect_t *display_frame);
/aosp12/hardware/qcom/display/msm8909/sdm/libs/hwc/
H A Dhwc_display_external.cpp176 void HWCDisplayExternal::ApplyScanAdjustment(hwc_rect_t *display_frame) { in ApplyScanAdjustment() argument
207 display_frame->left = (display_frame->left * INT32(new_mixer_width) / INT32(mixer_width)) in ApplyScanAdjustment()
209 display_frame->top = (display_frame->top * INT32(new_mixer_height) / INT32(mixer_height)) + in ApplyScanAdjustment()
211 display_frame->right = ((display_frame->right * INT32(new_mixer_width)) / INT32(mixer_width)) + in ApplyScanAdjustment()
213 display_frame->bottom = ((display_frame->bottom * INT32(new_mixer_height)) / INT32(mixer_height)) in ApplyScanAdjustment()
H A Dhwc_display_external.h54 void ApplyScanAdjustment(hwc_rect_t *display_frame);
/aosp12/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
H A Dhwc_display_external.cpp176 void HWCDisplayExternal::ApplyScanAdjustment(hwc_rect_t *display_frame) { in ApplyScanAdjustment() argument
207 display_frame->left = (display_frame->left * INT32(new_mixer_width) / INT32(mixer_width)) in ApplyScanAdjustment()
209 display_frame->top = (display_frame->top * INT32(new_mixer_height) / INT32(mixer_height)) + in ApplyScanAdjustment()
211 display_frame->right = ((display_frame->right * INT32(new_mixer_width)) / INT32(mixer_width)) + in ApplyScanAdjustment()
213 display_frame->bottom = ((display_frame->bottom * INT32(new_mixer_height)) / INT32(mixer_height)) in ApplyScanAdjustment()
H A Dhwc_display_external.h54 void ApplyScanAdjustment(hwc_rect_t *display_frame);
/aosp12/hardware/qcom/sm7250/display/composer/
H A Dhwc_display_pluggable.cpp163 void HWCDisplayPluggable::ApplyScanAdjustment(hwc_rect_t *display_frame) { in ApplyScanAdjustment() argument
186 display_frame->left = (display_frame->left * INT32(new_mixer_width) / INT32(mixer_width)) in ApplyScanAdjustment()
188 display_frame->top = (display_frame->top * INT32(new_mixer_height) / INT32(mixer_height)) + in ApplyScanAdjustment()
190 display_frame->right = ((display_frame->right * INT32(new_mixer_width)) / INT32(mixer_width)) + in ApplyScanAdjustment()
192 display_frame->bottom = ((display_frame->bottom * INT32(new_mixer_height)) / INT32(mixer_height)) in ApplyScanAdjustment()
H A Dhwc_display_pluggable.h64 void ApplyScanAdjustment(hwc_rect_t *display_frame);
/aosp12/hardware/qcom/sm8150/display/sdm/libs/hwc2/
H A Dhwc_display_pluggable.cpp161 void HWCDisplayPluggable::ApplyScanAdjustment(hwc_rect_t *display_frame) { in ApplyScanAdjustment() argument
184 display_frame->left = (display_frame->left * INT32(new_mixer_width) / INT32(mixer_width)) in ApplyScanAdjustment()
186 display_frame->top = (display_frame->top * INT32(new_mixer_height) / INT32(mixer_height)) + in ApplyScanAdjustment()
188 display_frame->right = ((display_frame->right * INT32(new_mixer_width)) / INT32(mixer_width)) + in ApplyScanAdjustment()
190 display_frame->bottom = ((display_frame->bottom * INT32(new_mixer_height)) / INT32(mixer_height)) in ApplyScanAdjustment()
H A Dhwc_display_pluggable.h63 void ApplyScanAdjustment(hwc_rect_t *display_frame);
/aosp12/frameworks/native/services/vr/hardware_composer/aidl/android/dvr/
H A Dparcelable_composer_layer.cpp33 ret = parcel->writeInt32(layer_.display_frame.left); in writeToParcel()
36 ret = parcel->writeInt32(layer_.display_frame.top); in writeToParcel()
39 ret = parcel->writeInt32(layer_.display_frame.right); in writeToParcel()
42 ret = parcel->writeInt32(layer_.display_frame.bottom); in writeToParcel()
136 ret = parcel->readInt32(&layer_.display_frame.left); in readFromParcel()
139 ret = parcel->readInt32(&layer_.display_frame.top); in readFromParcel()
142 ret = parcel->readInt32(&layer_.display_frame.right); in readFromParcel()
145 ret = parcel->readInt32(&layer_.display_frame.bottom); in readFromParcel()
/aosp12/frameworks/native/libs/vr/libdvr/
H A Ddvr_hardware_composer_client.cpp179 frame->frame.layers[layer_index].display_frame.left, in dvrHwcFrameGetLayerDisplayFrame()
180 frame->frame.layers[layer_index].display_frame.top, in dvrHwcFrameGetLayerDisplayFrame()
181 frame->frame.layers[layer_index].display_frame.right, in dvrHwcFrameGetLayerDisplayFrame()
182 frame->frame.layers[layer_index].display_frame.bottom, in dvrHwcFrameGetLayerDisplayFrame()
/aosp12/frameworks/base/core/proto/android/view/
H A Dinsetsstate.proto32 optional .android.graphics.RectProto display_frame = 2; field
/aosp12/frameworks/native/services/vr/hardware_composer/impl/
H A Dvr_hwc.cpp193 .display_frame = {0, 0, static_cast<int32_t>(buffer_->getWidth()), in GetFrame()
706 hwc_layer->info.display_frame = in setLayerDisplayFrame()
965 info.display_frame.left, info.display_frame.top, info.display_frame.right, in dumpDebugInfo()
966 info.display_frame.bottom, info.crop.left, info.crop.top, info.crop.right, in dumpDebugInfo()

12