Home
last modified time | relevance | path

Searched refs:fbDev (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/ui/
DFramebufferNativeWindow.cpp80 : BASE(), fbDev(0), grDev(0), mUpdateOnDemand(false) in FramebufferNativeWindow()
87 err = framebuffer_open(module, &fbDev); in FramebufferNativeWindow()
94 if (!fbDev || !grDev) in FramebufferNativeWindow()
97 mUpdateOnDemand = (fbDev->setUpdateRect != 0); in FramebufferNativeWindow()
107 fbDev->width, fbDev->height, fbDev->format, GRALLOC_USAGE_HW_FB); in FramebufferNativeWindow()
113 fbDev->width, fbDev->height, fbDev->format, in FramebufferNativeWindow()
117 i, fbDev->width, fbDev->height, strerror(-err)); in FramebufferNativeWindow()
128 const_cast<uint32_t&>(ANativeWindow::flags) = fbDev->flags; in FramebufferNativeWindow()
129 const_cast<float&>(ANativeWindow::xdpi) = fbDev->xdpi; in FramebufferNativeWindow()
130 const_cast<float&>(ANativeWindow::ydpi) = fbDev->ydpi; in FramebufferNativeWindow()
[all …]
/frameworks/base/include/ui/
DFramebufferNativeWindow.h55 framebuffer_device_t const * getDevice() const { return fbDev; } in getDevice()
76 framebuffer_device_t* fbDev; variable
/frameworks/base/services/surfaceflinger/DisplayHardware/
DDisplayHardware.cpp131 framebuffer_device_t const * fbDev = mNativeWindow->getDevice(); in init() local
132 if (!fbDev) { in init()
142 mRefreshRate = fbDev->fps; in init()
250 mFormat = fbDev->format; in init()