Searched defs:height (Results 126 - 150 of 674) sorted by last modified time

1234567891011>>

/frameworks/native/opengl/tests/hwc/
H A DhwcStress.cpp198 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 DhwcTestLib.cpp50 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 DhwcTestLib.h41 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 DWindowSurface.cpp46 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 DTestFramerateView.java83 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 DTestLatencyView.java144 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 DTestView.java75 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
/frameworks/native/opengl/tests/testViewport/src/com/android/test/
H A DTestView.java236 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 DInputReader.h99 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 DInputReader_test.cpp139 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 DHWC2.cpp194 Error Device::createVirtualDisplay(uint32_t width, uint32_t height, argument
201 int32_t intError = mCreateVirtualDisplay(mHwcDevice, width, height,
H A DHWC2.h74 Error createVirtualDisplay(uint32_t width, uint32_t height,
221 Builder& setHeight(int32_t height) { argument
222 mConfig->mHeight = height;
H A DHWC2On1Adapter.cpp352 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 DHWC2On1Adapter.h77 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 DHWComposer.cpp251 status_t HWComposer::allocateVirtualDisplay(uint32_t width, uint32_t height, argument
259 auto error = mHwcDevice->createVirtualDisplay(width, height, format,
H A DHWComposer.h86 status_t allocateVirtualDisplay(uint32_t width, uint32_t height,
142 uint32_t height; member in struct:android::HWComposer::DisplayConfig
H A DHWComposer_hwc1.cpp176 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 DHWComposer_hwc1.h256 uint32_t height; member in struct:android::HWComposer::DisplayConfig
/frameworks/native/services/surfaceflinger/
H A DMonitoredProducer.cpp113 void MonitoredProducer::allocateBuffers(uint32_t width, uint32_t height, argument
115 mProducer->allocateBuffers(width, height, format, usage);
H A DSurfaceFlinger.cpp996 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 DSurfaceFlinger.h180 uint32_t width, height; member in struct:android::SurfaceFlinger::DisplayDeviceState
H A DSurfaceFlinger_hwc1.cpp638 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 DGLES20RenderEngine.h50 GLuint height; member in struct:android::GLES20RenderEngine::Group
H A DRenderEngine.cpp198 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 DTexture.cpp50 void Texture::setDimensions(size_t width, size_t height) { argument
52 mHeight = height;

Completed in 1699 milliseconds

1234567891011>>