Searched defs:fbWidth (Results 1 - 11 of 11) sorted by relevance

/hardware/qcom/display/msm8084/libhwcomposer/
H A Dhwc_virtual.cpp102 int fbWidth = 0, fbHeight = 0; local
103 getLayerResolution(fbLayer, fbWidth, fbHeight);
104 ctx->dpyAttr[dpy].xres = fbWidth;
H A Dhwc_copybit.cpp96 int fbWidth = ctx->dpyAttr[dpy].xres; local
98 unsigned int fbArea = (fbWidth * fbHeight);
H A Dhwc_utils.cpp388 int fbWidth = ctx->dpyAttr[dpy].xres; local
393 ctx->mExtDisplay->getAttributes(fbWidth, fbHeight);
401 swap(fbWidth, fbHeight);
405 float asW = (float)fbWidth;
409 asW = ((float)fbWidth * (1.0f - (float)asWidthRatio / 100.0f));
411 asX = ((float)fbWidth - asW) / 2;
415 xRatio = (float)x/(float)fbWidth;
417 wRatio = (float)w/(float)fbWidth;
468 float fbWidth = (float)ctx->dpyAttr[dpy].xres; local
473 float width = fbWidth;
579 int fbWidth = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres; local
630 float fbWidth = (float)ctx->dpyAttr[dpy].xres; local
[all...]
/hardware/qcom/display/msm8226/libhwcomposer/
H A Dhwc_virtual.cpp113 int fbWidth = 0, fbHeight = 0; local
114 getLayerResolution(fbLayer, fbWidth, fbHeight);
115 ctx->dpyAttr[dpy].xres = fbWidth;
H A Dhwc_copybit.cpp96 int fbWidth = ctx->dpyAttr[dpy].xres; local
98 unsigned int fbArea = (fbWidth * fbHeight);
H A Dhwc_utils.cpp403 int fbWidth = ctx->dpyAttr[dpy].xres; local
408 ctx->mExtDisplay->getAttributes(fbWidth, fbHeight);
416 swap(fbWidth, fbHeight);
420 float asW = (float)fbWidth;
424 asW = ((float)fbWidth * (1.0f - (float)asWidthRatio / 100.0f));
426 asX = ((float)fbWidth - asW) / 2;
430 xRatio = (float)x/(float)fbWidth;
432 wRatio = (float)w/(float)fbWidth;
455 float fbWidth = (float)ctx->dpyAttr[dpy].xres; local
460 float width = fbWidth;
566 int fbWidth = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres; local
617 float fbWidth = (float)ctx->dpyAttr[dpy].xres; local
[all...]
/hardware/qcom/display/msm8974/libhwcomposer/
H A Dhwc.cpp220 int fbWidth = 0, fbHeight = 0; local
221 getLayerResolution(fbLayer, fbWidth, fbHeight);
222 ctx->dpyAttr[dpy].xres = fbWidth;
H A Dhwc_copybit.cpp93 int fbWidth = ctx->dpyAttr[dpy].xres; local
95 unsigned int fbArea = (fbWidth * fbHeight);
H A Dhwc_utils.cpp274 float fbWidth = ctx->dpyAttr[dpy].xres; local
279 float asW = fbWidth;
283 asW = fbWidth * (1.0f - asWidthRatio / 100.0f);
285 asX = (fbWidth - asW) / 2;
289 xRatio = (float)x/fbWidth;
291 wRatio = (float)w/fbWidth;
/hardware/qcom/display/msm8960/libhwcomposer/
H A Dhwc_copybit.cpp100 int fbWidth = ctx->dpyAttr[dpy].xres; local
102 unsigned int fbArea = (fbWidth * fbHeight);
H A Dhwc_utils.cpp326 float fbWidth = ctx->dpyAttr[dpy].xres; local
331 float asW = fbWidth;
341 asW = fbWidth * (1.0f - asWidthRatio / 100.0f);
343 asX = (fbWidth - asW) / 2;
347 xRatio = (float)x/fbWidth;
349 wRatio = (float)w/fbWidth;

Completed in 117 milliseconds