Searched defs:viewport (Results 1 - 10 of 10) sorted by relevance

/frameworks/base/core/java/android/hardware/display/
H A DDisplayViewport.java32 // 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 DDisplayDevice.java189 * 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 DDisplayManagerService.java213 // 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/native/include/private/gui/
H A DLayerState.h125 Rect viewport; member in struct:android::DisplayState
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_context.cpp208 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/surfaceflinger/
H A DSurfaceFlinger.h170 Rect viewport; member in struct:android::SurfaceFlinger::DisplayDeviceState
/frameworks/base/services/core/jni/
H A Dcom_android_server_input_InputManagerService.cpp180 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/services/core/java/com/android/server/input/
H A DInputManagerService.java368 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/native/opengl/libagl/
H A Dcontext.h501 // viewport transformation
622 viewport_t viewport; member in struct:android::gl::ogles_context_t
/frameworks/native/services/inputflinger/
H A DInputReader.cpp207 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.

Completed in 239 milliseconds