/frameworks/native/include/private/gui/ |
H A D | LayerState.h | 125 Rect viewport; member in struct:android::DisplayState
|
/frameworks/native/libs/gui/ |
H A D | LayerState.cpp | 86 output.write(viewport); 99 input.read(viewport);
|
H A D | SurfaceComposerClient.cpp | 424 s.viewport = layerStackRect;
|
/frameworks/native/opengl/libagl/ |
H A D | context.h | 501 // viewport transformation 622 viewport_t viewport; member in struct:android::gl::ogles_context_t
|
H A D | matrix.cpp | 132 // Validate the viewport transformation 515 // premultiply it with the viewport transformation. In addition to 643 c->viewport.surfaceport.x = x; 644 c->viewport.surfaceport.y = y; 647 c->viewport.x, 648 c->viewport.y, 649 c->viewport.w, 650 c->viewport.h); 653 c->viewport.scissor.x, 654 c->viewport [all...] |
/frameworks/native/opengl/libs/GLES_trace/src/ |
H A D | gltrace_context.cpp | 208 int viewport[4] = {}; local 209 hooks->gl.glGetIntegerv(GL_VIEWPORT, viewport); 210 unsigned fbContentsSize = viewport[2] * viewport[3] * 4; 226 hooks->gl.glReadPixels(viewport[0], viewport[1], viewport[2], viewport[3], 236 *fbwidth = viewport[2]; 237 *fbheight = viewport[ [all...] |
/frameworks/native/services/inputflinger/ |
H A D | InputReader.cpp | 207 const DisplayViewport& viewport = external ? mExternalDisplay : mInternalDisplay; local 208 if (viewport.displayId >= 0) { 209 *outViewport = viewport; 215 void InputReaderConfiguration::setDisplayInfo(bool external, const DisplayViewport& viewport) { argument 217 v = viewport; 2991 // Convert rotated viewport to natural surface coordinates.
|
H A D | InputReader.h | 250 void setDisplayInfo(bool external, const DisplayViewport& viewport); 1390 // The current viewport. 1391 // The components of the viewport are specified in the display's rotated orientation. 1395 // The width and height are derived from the viewport but are specified 1399 // The orientation may be different from the viewport orientation as it specifies 1400 // the rotation of the surface coordinates required to produce the viewport's
|
/frameworks/native/services/surfaceflinger/ |
H A D | DisplayDevice.cpp | 426 Rect viewport(newViewport); 441 if (viewport.isEmpty()) { 442 // viewport can be invalid if it has never been set, in that case 444 // it's also invalid to have an empty viewport, so we handle that 446 viewport = Rect(w, h); 448 // viewport is always specified in the logical orientation 450 swap(viewport.right, viewport.bottom); 457 float src_width = viewport.width(); 458 float src_height = viewport [all...] |
H A D | DisplayDevice.h | 114 void setProjection(int orientation, const Rect& viewport, const Rect& frame);
|
H A D | SurfaceFlinger.cpp | 1312 || (state.viewport != draw[i].viewport) 1316 state.viewport, state.frame); 1390 state.viewport, state.frame); 2094 if (disp.viewport != s.viewport) { 2095 disp.viewport = s.viewport; 2294 d.viewport.makeInvalid(); 3149 // set-up our viewport [all...] |
H A D | SurfaceFlinger.h | 170 Rect viewport; member in struct:android::SurfaceFlinger::DisplayDeviceState
|
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | DisplayDevice.java | 189 * Populates the specified viewport object with orientation, 192 public final void populateViewportLocked(DisplayViewport viewport) { argument 193 viewport.orientation = mCurrentOrientation; 196 viewport.logicalFrame.set(mCurrentLayerStackRect); 198 viewport.logicalFrame.setEmpty(); 202 viewport.physicalFrame.set(mCurrentDisplayRect); 204 viewport.physicalFrame.setEmpty(); 210 viewport.deviceWidth = isRotated ? info.height : info.width; 211 viewport.deviceHeight = isRotated ? info.width : info.height;
|
H A D | DisplayManagerService.java | 213 // Temporary viewports, used when sending new viewport information to the 878 private static void setViewportLocked(DisplayViewport viewport, argument 880 viewport.valid = true; 881 viewport.displayId = display.getDisplayIdLocked(); 882 device.populateViewportLocked(viewport);
|
/frameworks/base/services/core/java/com/android/server/input/ |
H A D | InputManagerService.java | 368 private void setDisplayViewport(boolean external, DisplayViewport viewport) { argument 370 viewport.displayId, viewport.orientation, 371 viewport.logicalFrame.left, viewport.logicalFrame.top, 372 viewport.logicalFrame.right, viewport.logicalFrame.bottom, 373 viewport.physicalFrame.left, viewport.physicalFrame.top, 374 viewport [all...] |
/frameworks/base/services/core/jni/ |
H A D | com_android_server_input_InputManagerService.cpp | 180 void setDisplayViewport(bool external, const DisplayViewport& viewport); 325 void NativeInputManager::setDisplayViewport(bool external, const DisplayViewport& viewport) { argument 331 if (v != viewport) { 333 v = viewport; 339 viewport.logicalRight - viewport.logicalLeft, 340 viewport.logicalBottom - viewport.logicalTop, 341 viewport.orientation);
|
/frameworks/base/core/java/android/hardware/display/ |
H A D | DisplayViewport.java | 32 // True if this viewport is valid. 55 public void copyFrom(DisplayViewport viewport) { argument 56 valid = viewport.valid; 57 displayId = viewport.displayId; 58 orientation = viewport.orientation; 59 logicalFrame.set(viewport.logicalFrame); 60 physicalFrame.set(viewport.physicalFrame); 61 deviceWidth = viewport.deviceWidth; 62 deviceHeight = viewport.deviceHeight;
|