/frameworks/native/opengl/tests/hwc/ |
H A D | hwcStress.cpp | 198 static EGLint width, height; variable 448 layer->displayFrame.top = testRandMod(height); 452 + testRandMod(height - layer->displayFrame.top) + 1; 461 // width and height will fit. 467 && ((layer->displayFrame.top + sourceHeight) <= height)) { 536 hwcTestInitDisplay(verbose, &dpy, &surface, &width, &height); 567 // dimensions. Width and height need to be >= 1. 573 // Pick width and height, which must be >= 1 and the size 576 size_t h = (height * maxSizeRatio) * testRandFract(); 586 testPrintI(" frame %u width: %u height [all...] |
H A D | hwcTestLib.cpp | 50 EGLint *width, EGLint *height) 125 eglQuerySurface(*dpy, *surface, EGL_HEIGHT, height); 129 testPrintI("Window dimensions: %d x %d", *width, *height); 176 << this->height() << ']'; 260 // Parse dimension of form [width, height] 293 // Validate width and height greater than 0 294 if ((dim.width() <= 0) || (dim.height() <= 0)) { return dim; } 695 const uint32_t height = gBuf->getHeight(); local 726 for (unsigned int y = 0; y < height; y++) { 49 hwcTestInitDisplay(bool verbose, EGLDisplay *dpy, EGLSurface *surface, EGLint *width, EGLint *height) argument
|
H A D | hwcTestLib.h | 41 uint32_t wMod, hMod; // Width/height mod this value must equal zero 86 // Dimension - width and height of a rectanguler area 92 uint32_t height(void) const { return _h; } function in class:HwcTestDim 106 EGLint *width, EGLint *height);
|
/frameworks/native/opengl/tests/lib/ |
H A D | WindowSurface.cpp | 46 uint32_t width, height; local 51 height = mainDpyInfo.w; 54 height = mainDpyInfo.h; 58 String8("Benchmark"), width, height,
|
/frameworks/native/opengl/tests/testFramerate/src/com/android/testframerate/ |
H A D | TestFramerateView.java | 83 public void onSurfaceChanged(GL10 gl, int width, int height) { argument 84 GLES20.glViewport(0, 0, width, height);
|
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/ |
H A D | TestLatencyView.java | 144 public void onSurfaceChanged(GL10 gl, int width, int height) { argument 145 GLES20.glViewport(0, 0, width, height); 147 mScaleY = 2.0f / height;
|
/frameworks/native/opengl/tests/testPauseResume/src/com/android/test/ |
H A D | TestView.java | 75 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
|
/frameworks/native/opengl/tests/testViewport/src/com/android/test/ |
H A D | TestView.java | 236 public void onSurfaceChanged(GL10 gl, int width, int height) { argument 237 gl.glViewport(0, 0, width, height); 240 gl.glOrthof(0, width, height, 0, -1, 1); 242 createGrid(gl, width, height);
|
/frameworks/native/services/inputflinger/ |
H A D | InputReader.h | 99 void setNonDisplayViewport(int32_t width, int32_t height) { argument 105 logicalBottom = height; 109 physicalBottom = height; 111 deviceHeight = height; 1537 // The surface orientation, width and height set by configureSurface(). 1538 // The width and height are derived from the viewport but are specified
|
/frameworks/native/services/inputflinger/tests/ |
H A D | InputReader_test.cpp | 139 void setDisplayInfo(int32_t displayId, int32_t width, int32_t height, int32_t orientation) { argument 148 v.logicalRight = isRotated ? height : width; 149 v.logicalBottom = isRotated ? width : height; 152 v.physicalRight = isRotated ? height : width; 153 v.physicalBottom = isRotated ? width : height; 154 v.deviceWidth = isRotated ? height : width; 155 v.deviceHeight = isRotated ? width : height; 1434 void setDisplayInfoAndReconfigure(int32_t displayId, int32_t width, int32_t height, argument 1436 mFakePolicy->setDisplayInfo(displayId, width, height, orientation);
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | HWC2.cpp | 194 Error Device::createVirtualDisplay(uint32_t width, uint32_t height, argument 201 int32_t intError = mCreateVirtualDisplay(mHwcDevice, width, height,
|
H A D | HWC2.h | 74 Error createVirtualDisplay(uint32_t width, uint32_t height, 221 Builder& setHeight(int32_t height) { argument 222 mConfig->mHeight = height;
|
H A D | HWC2On1Adapter.cpp | 352 uint32_t height, hwc2_display_t* outDisplay) 364 height > MAX_VIRTUAL_DISPLAY_DIMENSION)) { 367 MAX_VIRTUAL_DISPLAY_DIMENSION, width, height); 373 mHwc1VirtualDisplay->populateConfigs(width, height); 1231 void HWC2On1Adapter::Display::populateConfigs(uint32_t width, uint32_t height) argument 1239 config->setAttribute(Attribute::Height, static_cast<int32_t>(height)); 1931 int32_t height = mActiveConfig->getAttribute(Attribute::Height); local 1941 hwc1Target.sourceCropi = {0, 0, width, height}; 1944 static_cast<float>(height)}; 1946 hwc1Target.displayFrame = {0, 0, width, height}; 351 createVirtualDisplay(uint32_t width, uint32_t height, hwc2_display_t* outDisplay) argument [all...] |
H A D | HWC2On1Adapter.h | 77 HWC2::Error createVirtualDisplay(uint32_t width, uint32_t height, 80 uint32_t width, uint32_t height, int32_t* /*format*/, 84 auto error = getAdapter(device)->createVirtualDisplay(width, height, 231 void populateConfigs(uint32_t width, uint32_t height); 79 createVirtualDisplayHook(hwc2_device_t* device, uint32_t width, uint32_t height, int32_t* , hwc2_display_t* outDisplay) argument
|
H A D | HWComposer.cpp | 251 status_t HWComposer::allocateVirtualDisplay(uint32_t width, uint32_t height, argument 259 auto error = mHwcDevice->createVirtualDisplay(width, height, format,
|
H A D | HWComposer.h | 86 status_t allocateVirtualDisplay(uint32_t width, uint32_t height, 142 uint32_t height; member in struct:android::HWComposer::DisplayConfig
|
H A D | HWComposer_hwc1.cpp | 176 config.height = mFbDev->height; 320 static float getDefaultDensity(uint32_t width, uint32_t height) { argument 328 uint32_t h = width < height ? width : height; 397 config.height = values[i]; 416 float dpi = getDefaultDensity(config.width, config.height); 440 config.height = h; 504 return mDisplayData[disp].configs[currentConfig].height; 598 (int) currentConfig.width, (int) currentConfig.height }; [all...] |
H A D | HWComposer_hwc1.h | 256 uint32_t height; member in struct:android::HWComposer::DisplayConfig
|
/frameworks/native/services/surfaceflinger/ |
H A D | MonitoredProducer.cpp | 113 void MonitoredProducer::allocateBuffers(uint32_t width, uint32_t height, argument 115 mProducer->allocateBuffers(width, height, format, usage);
|
H A D | SurfaceFlinger.cpp | 996 const int32_t height = hw->getHeight(); local 998 engine.fillRegionWithColor(dirtyRegion, height, 1, 0, 1, 1); 1439 if (state.width != draw[i].width || state.height != draw[i].height) { 1440 disp->setDisplaySize(state.width, state.height); 1471 int height = 0; local 1473 NATIVE_WINDOW_HEIGHT, &height); 1475 "Unable to query height (%d)", status); 1484 mHwc->allocateVirtualDisplay(width, height, &format, 1991 const uint32_t height local 2057 const int32_t height = hw->getHeight(); local [all...] |
H A D | SurfaceFlinger.h | 180 uint32_t width, height; member in struct:android::SurfaceFlinger::DisplayDeviceState
|
H A D | SurfaceFlinger_hwc1.cpp | 638 info.h = hwConfig.height; 994 const int32_t height = hw->getHeight(); local 996 engine.fillRegionWithColor(dirtyRegion, height, 1, 0, 1, 1); 1452 if (state.width != draw[i].width || state.height != draw[i].height) { 1453 disp->setDisplaySize(state.width, state.height); 1484 int height = 0; local 1486 NATIVE_WINDOW_HEIGHT, &height); 1488 "Unable to query height (%d)", status); 1491 height < 2007 const uint32_t height = hw->getHeight(); local 2073 const int32_t height = hw->getHeight(); local [all...] |
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | GLES20RenderEngine.h | 50 GLuint height; member in struct:android::GLES20RenderEngine::Group
|
H A D | RenderEngine.cpp | 198 void RenderEngine::fillRegionWithColor(const Region& region, uint32_t height, argument 206 position[i*6 + 0].y = height - r->top; 208 position[i*6 + 1].y = height - r->bottom; 210 position[i*6 + 2].y = height - r->bottom; 212 position[i*6 + 3].y = height - r->top; 214 position[i*6 + 4].y = height - r->bottom; 216 position[i*6 + 5].y = height - r->top;
|
H A D | Texture.cpp | 50 void Texture::setDimensions(size_t width, size_t height) { argument 52 mHeight = height;
|