/frameworks/base/services/java/com/android/server/display/ |
H A D | DisplayViewport.java | 30 // True if this viewport is valid. 53 public void copyFrom(DisplayViewport viewport) { argument 54 valid = viewport.valid; 55 displayId = viewport.displayId; 56 orientation = viewport.orientation; 57 logicalFrame.set(viewport.logicalFrame); 58 physicalFrame.set(viewport.physicalFrame); 59 deviceWidth = viewport.deviceWidth; 60 deviceHeight = viewport.deviceHeight;
|
H A D | DisplayDevice.java | 174 * Populates the specified viewport object with orientation, 177 public final void populateViewportLocked(DisplayViewport viewport) { argument 178 viewport.orientation = mCurrentOrientation; 181 viewport.logicalFrame.set(mCurrentLayerStackRect); 183 viewport.logicalFrame.setEmpty(); 187 viewport.physicalFrame.set(mCurrentDisplayRect); 189 viewport.physicalFrame.setEmpty(); 195 viewport.deviceWidth = isRotated ? info.height : info.width; 196 viewport.deviceHeight = isRotated ? info.width : info.height;
|
H A D | DisplayManagerService.java | 180 // Temporary viewports, used when sending new viewport information to the 793 private static void setViewportLocked(DisplayViewport viewport, argument 795 viewport.valid = true; 796 viewport.displayId = display.getDisplayIdLocked(); 797 device.populateViewportLocked(viewport);
|
/frameworks/base/libs/hwui/ |
H A D | Snapshot.h | 165 * Current viewport. 167 Rect viewport; member in class:android::uirenderer::Snapshot
|
/frameworks/native/include/private/gui/ |
H A D | LayerState.h | 120 Rect viewport; member in struct:android::DisplayState
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
H A D | gltrace_context.cpp | 175 int viewport[4] = {}; local 176 hooks->gl.glGetIntegerv(GL_VIEWPORT, viewport); 177 unsigned fbContentsSize = viewport[2] * viewport[3] * 4; 193 hooks->gl.glReadPixels(viewport[0], viewport[1], viewport[2], viewport[3], 203 *fbwidth = viewport[2]; 204 *fbheight = viewport[ [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | DisplayDevice.cpp | 367 const Rect& viewport, const Rect& frame) { 369 mViewport = viewport; 382 Rect viewport(mViewport); 391 if (viewport.isEmpty()) { 392 // viewport can be invalid if it has never been set, in that case 394 // it's also invalid to have an empty viewport, so we handle that 396 viewport = Rect(w, h); 398 // viewport is always specified in the logical orientation 400 swap(viewport.right, viewport 366 setProjection(int orientation, const Rect& viewport, const Rect& frame) argument [all...] |
H A D | SurfaceFlinger.h | 168 Rect viewport; member in struct:android::SurfaceFlinger::DisplayDeviceState
|
H A D | SurfaceFlinger.cpp | 1139 || (state.viewport != draw[i].viewport) 1143 state.viewport, state.frame); 1201 state.viewport, state.frame); 1784 if (disp.viewport != s.viewport) { 1785 disp.viewport = s.viewport; 2008 d.viewport.makeInvalid(); 2661 GLint viewport[ local [all...] |
/frameworks/base/services/java/com/android/server/accessibility/ |
H A D | ScreenMagnifier.java | 83 * location of the triple tap as the center of the magnified viewport. 89 * viewport dragging mode until the finger goes up. One can think of this 90 * mode as a way to move the magnified viewport since the area around the 93 * would magnify and the viewport will follow the user's finger. When the 95 * is performed when the screen is magnified, the viewport movement will 99 * 3. Pinching with any number of additional fingers when viewport dragging 106 * to pan the viewport. Note that in this mode the content is panned as 107 * opposed to the viewport dragging mode in which the viewport is moved. 860 public ScreenStateObserver(Context context, Viewport viewport, argument 910 DisplayContentObserver(Context context, Viewport viewport, MagnificationController magnificationController, IWindowManager windowManagerService, DisplayProvider displayProvider, long longAnimationDuration, float windowAnimationScale) argument [all...] |
/frameworks/base/services/jni/ |
H A D | com_android_server_input_InputManagerService.cpp | 167 void setDisplayViewport(bool external, const DisplayViewport& viewport); 308 void NativeInputManager::setDisplayViewport(bool external, const DisplayViewport& viewport) { argument 314 if (v != viewport) { 316 v = viewport; 322 viewport.logicalRight - viewport.logicalLeft, 323 viewport.logicalBottom - viewport.logicalTop, 324 viewport.orientation);
|
/frameworks/base/services/java/com/android/server/input/ |
H A D | InputManagerService.java | 345 private void setDisplayViewport(boolean external, DisplayViewport viewport) { argument 347 viewport.displayId, viewport.orientation, 348 viewport.logicalFrame.left, viewport.logicalFrame.top, 349 viewport.logicalFrame.right, viewport.logicalFrame.bottom, 350 viewport.physicalFrame.left, viewport.physicalFrame.top, 351 viewport [all...] |
/frameworks/native/opengl/libagl/ |
H A D | context.h | 497 // viewport transformation 618 viewport_t viewport; member in struct:android::gl::ogles_context_t
|
/frameworks/base/services/input/ |
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; 2925 // Convert rotated viewport to natural surface coordinates.
|