/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;
|
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | DisplayDevice.java | 201 * Populates the specified viewport object with orientation, 204 public final void populateViewportLocked(DisplayViewport viewport) { argument 205 viewport.orientation = mCurrentOrientation; 208 viewport.logicalFrame.set(mCurrentLayerStackRect); 210 viewport.logicalFrame.setEmpty(); 214 viewport.physicalFrame.set(mCurrentDisplayRect); 216 viewport.physicalFrame.setEmpty(); 222 viewport.deviceWidth = isRotated ? info.height : info.width; 223 viewport.deviceHeight = isRotated ? info.width : info.height;
|
H A D | DisplayManagerService.java | 218 // Temporary viewports, used when sending new viewport information to the 983 private static void setViewportLocked(DisplayViewport viewport, argument 985 viewport.valid = true; 986 viewport.displayId = display.getDisplayIdLocked(); 987 device.populateViewportLocked(viewport);
|
/frameworks/native/services/surfaceflinger/ |
H A D | DisplayDevice.cpp | 503 Rect viewport(newViewport); 518 if (viewport.isEmpty()) { 519 // viewport can be invalid if it has never been set, in that case 521 // it's also invalid to have an empty viewport, so we handle that 523 viewport = Rect(w, h); 525 // viewport is always specified in the logical orientation 527 swap(viewport.right, viewport.bottom); 534 float src_width = viewport.width(); 535 float src_height = viewport [all...] |
H A D | DisplayDevice.h | 128 void setProjection(int orientation, const Rect& viewport, const Rect& frame);
|
H A D | SurfaceFlinger.cpp | 1556 || (state.viewport != draw[i].viewport) 1560 state.viewport, state.frame); 1647 state.viewport, state.frame); 2361 if (disp.viewport != s.viewport) { 2362 disp.viewport = s.viewport; 2575 d.viewport.makeInvalid(); 3575 // set-up our viewport [all...] |
H A D | SurfaceFlinger_hwc1.cpp | 1472 || (state.viewport != draw[i].viewport) 1476 state.viewport, state.frame); 1551 state.viewport, state.frame); 2277 if (disp.viewport != s.viewport) { 2278 disp.viewport = s.viewport; 2491 d.viewport.makeInvalid(); 3468 // set-up our viewport [all...] |
H A D | SurfaceFlinger.h | 183 Rect viewport; member in struct:android::SurfaceFlinger::DisplayDeviceState
|
H A D | Layer.cpp | 409 // a viewport clipping and a window transform. we should use floating point to fix this. 696 // Apply this display's projection's viewport to the visible region 699 const auto& viewport = displayDevice->getViewport(); local 700 Region visible = tr.transform(visibleRegion.intersect(viewport)); 783 // Apply this display's projection's viewport to the visible region
|
/frameworks/native/libs/gui/ |
H A D | LayerState.cpp | 92 viewport(Rect::EMPTY_RECT), 104 output.write(viewport); 117 input.read(viewport);
|
H A D | SurfaceComposerClient.cpp | 511 s.viewport = layerStackRect;
|
/frameworks/native/opengl/libagl/ |
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...] |
H A D | context.h | 502 // viewport transformation 623 viewport_t viewport; member in struct:android::gl::ogles_context_t
|
/frameworks/native/include/private/gui/ |
H A D | LayerState.h | 136 Rect viewport; member in struct:android::DisplayState
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | MagnificationController.java | 278 * Returns the X offset of the magnification viewport. If an animation 290 * magnification viewport. 302 * Returns the Y offset of the magnification viewport. If an animation 313 * magnification viewport. 409 final Rect viewport = mTempRect; 410 mMagnificationRegion.getBounds(viewport); 413 final float oldCenterX = (viewport.width() / 2.0f - spec.offsetX) / oldScale; 414 final float oldCenterY = (viewport.height() / 2.0f - spec.offsetY) / oldScale; 563 * of the viewport, or {@link Float#NaN} to leave unchanged 565 * of the viewport, o [all...] |
/frameworks/base/services/core/java/com/android/server/input/ |
H A D | InputManagerService.java | 418 private void setDisplayViewport(boolean external, DisplayViewport viewport) { argument 420 viewport.displayId, viewport.orientation, 421 viewport.logicalFrame.left, viewport.logicalFrame.top, 422 viewport.logicalFrame.right, viewport.logicalFrame.bottom, 423 viewport.physicalFrame.left, viewport.physicalFrame.top, 424 viewport [all...] |
/frameworks/base/services/core/jni/ |
H A D | com_android_server_input_InputManagerService.cpp | 193 void setDisplayViewport(bool external, const DisplayViewport& viewport); 362 void NativeInputManager::setDisplayViewport(bool external, const DisplayViewport& viewport) { argument 368 if (v != viewport) { 370 v = viewport; 376 viewport.logicalRight - viewport.logicalLeft, 377 viewport.logicalBottom - viewport.logicalTop, 378 viewport.orientation);
|
/frameworks/native/services/inputflinger/ |
H A D | InputReader.cpp | 230 const DisplayViewport& viewport = external ? mExternalDisplay : mInternalDisplay; local 231 if (viewport.displayId >= 0) { 232 *outViewport = viewport; 238 void InputReaderConfiguration::setDisplayInfo(bool external, const DisplayViewport& viewport) { argument 240 v = viewport; 3307 // Convert rotated viewport to natural surface coordinates.
|
H A D | InputReader.h | 253 void setDisplayInfo(bool external, const DisplayViewport& viewport); 1533 // The current viewport. 1534 // The components of the viewport are specified in the display's rotated orientation. 1538 // The width and height are derived from the viewport but are specified 1542 // The orientation may be different from the viewport orientation as it specifies 1543 // the rotation of the surface coordinates required to produce the viewport's
|