/frameworks/base/services/core/java/com/android/server/display/ |
H A D | OverlayDisplayWindow.java | 96 int width, int height, int densityDpi, int gravity, boolean secure, 101 mHeight = height; 192 mTextureView.getLayoutParams().height = mHeight; 239 int height = (int)(mHeight * scale); 241 int y = (int)(mWindowY + mLiveTranslationY - height * offsetScale); 243 y = Math.max(0, Math.min(y, mDefaultDisplayInfo.logicalHeight - height)); 249 + ", width=" + width + ", height=" + height); 258 mWindowParams.height = height; 95 OverlayDisplayWindow(Context context, String name, int width, int height, int densityDpi, int gravity, boolean secure, Listener listener) argument [all...] |
H A D | VirtualDisplayAdapter.java | 65 String name, int width, int height, int densityDpi, Surface surface, int flags) { 73 ownerUid, ownerPackageName, name, width, height, densityDpi, surface, flags, 95 int width, int height, int densityDpi) { 98 device.resizeLocked(width, height, densityDpi); 187 String name, int width, int height, int densityDpi, Surface surface, int flags, 195 mHeight = height; 259 public void resizeLocked(int width, int height, int densityDpi) { argument 260 if (mWidth != width || mHeight != height || mDensityDpi != densityDpi) { 264 mHeight = height; 292 mInfo.height 63 createVirtualDisplayLocked(IVirtualDisplayCallback callback, IMediaProjection projection, int ownerUid, String ownerPackageName, String name, int width, int height, int densityDpi, Surface surface, int flags) argument 94 resizeVirtualDisplayLocked(IBinder appToken, int width, int height, int densityDpi) argument 185 VirtualDisplayDevice(IBinder displayToken, IBinder appToken, int ownerUid, String ownerPackageName, String name, int width, int height, int densityDpi, Surface surface, int flags, Callback callback, String uniqueId, int uniqueIndex) argument [all...] |
H A D | WifiDisplayAdapter.java | 361 Surface surface, int width, int height, int flags) { 384 mDisplayDevice = new WifiDisplayDevice(displayToken, name, width, height, 526 int width, int height, int flags) { 529 addDisplayDeviceLocked(display, surface, width, height, flags); 591 int width, int height, float refreshRate, int flags, String address, 596 mHeight = height; 630 mInfo.height = mHeight; 360 addDisplayDeviceLocked(WifiDisplay display, Surface surface, int width, int height, int flags) argument 590 WifiDisplayDevice(IBinder displayToken, String name, int width, int height, float refreshRate, int flags, String address, Surface surface) argument
|
H A D | WifiDisplayController.java | 742 int width, int height, int flags, int session) { 755 advertiseDisplay(display, surface, width, height, flags); 946 final Surface surface, final int width, final int height, final int flags) { 950 || mAdvertisedDisplayHeight != height 958 mAdvertisedDisplayHeight = height; 979 mListener.onDisplayConnected(display, surface, width, height, flags); 1109 Surface surface, int width, int height, int flags); 945 advertiseDisplay(final WifiDisplay display, final Surface surface, final int width, final int height, final int flags) argument 1108 onDisplayConnected(WifiDisplay display, Surface surface, int width, int height, int flags) argument
|
/frameworks/base/services/core/java/com/android/server/tv/ |
H A D | TvInputManagerService.java | 1107 int height, int userId) { 1118 height); 1121 resolvedUserId).dispatchSurfaceChanged(format, width, height); 1106 dispatchSurfaceChanged(IBinder sessionToken, int format, int width, int height, int userId) argument
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
H A D | WallpaperManagerService.java | 217 int height = -1; field in class:WallpaperManagerService.WallpaperData 297 mEngine.setDesiredSize(mWallpaper.width, mWallpaper.height); 693 public void setDimensionHints(int width, int height) throws RemoteException { argument 701 if (width <= 0 || height <= 0) { 702 throw new IllegalArgumentException("width and height must be > 0"); 707 height = Math.max(height, displaySize.y); 709 if (width != wallpaper.width || height != wallpaper.height) { 711 wallpaper.height [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | AppWindowAnimator.java | 91 public void setAnimation(Animation anim, int width, int height) { argument 93 + ": " + anim + " wxh=" + width + "x" + height 98 anim.initialize(width, height, width, height);
|
H A D | ScreenRotationAnimation.java | 327 public static void createRotationMatrix(int rotation, int width, int height, argument 335 outMatrix.postTranslate(height, 0); 339 outMatrix.postTranslate(width, height);
|
H A D | Session.java | 262 int width, int height, Surface outSurface) { 264 width, height, outSurface); 261 prepareDrag(IWindow window, int flags, int width, int height, Surface outSurface) argument
|
H A D | WindowManagerService.java | 3077 // attrs.{width|height} Size on screen 3080 win.mVScale = (attrs.height != requestedHeight) ? 3081 (attrs.height / (float)requestedHeight) : 1.0f; 3379 final int height = displayInfo.appHeight; 3385 Rect containingFrame = new Rect(0, 0, width, height); 3407 Animation a = mAppTransition.loadAnimation(lp, transit, enter, width, height, 3419 atoken.mAppAnimator.setAnimation(a, width, height); 6061 * @param height the height of the target bitmap 6067 int height, boolea 6066 screenshotApplications(IBinder appToken, int displayId, int width, int height, boolean force565) argument 7369 prepareDragSurface(IWindow window, SurfaceSession session, int flags, int width, int height, Surface outSurface) argument 8245 setForcedDisplaySize(int displayId, int width, int height) argument 8325 setForcedDisplaySizeLocked(DisplayContent displayContent, int width, int height) argument [all...] |
/frameworks/base/services/core/jni/ |
H A D | com_android_server_AssetAtlasService.cpp | 61 jobject canvas, jint width, jint height) { 64 bitmap->allocN32Pixels(width, height); 186 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, bitmap->width(), bitmap->height(), 60 com_android_server_AssetAtlasService_acquireCanvas(JNIEnv* env, jobject, jobject canvas, jint width, jint height) argument
|
/frameworks/base/telecomm/java/android/telecom/ |
H A D | CameraCapabilities.java | 44 * The height of the camera video in pixels. 54 * @param height The height of the camera video (in pixels). 56 public CameraCapabilities(boolean zoomSupported, float maxZoom, int width, int height) { argument 60 mHeight = height; 79 int height = source.readInt(); 81 return new CameraCapabilities(supportsZoom, maxZoom, width, height); 139 * The height of the camera video in pixels.
|
H A D | Connection.java | 591 * @param height The updated peer video height. 593 public void changePeerDimensions(int width, int height) { argument 596 mVideoCallback.changePeerDimensions(width, height);
|
H A D | InCallService.java | 359 * @param height The updated peer video height. 361 public abstract void onPeerDimensionsChanged(int width, int height); argument
|
H A D | RemoteConnection.java | 224 public void onPeerDimensionsChanged(VideoProvider videoProvider, int width, int height) {} argument 261 public void changePeerDimensions(int width, int height) { 263 l.onPeerDimensionsChanged(VideoProvider.this, width, height);
|
H A D | VideoCallImpl.java | 83 public void changePeerDimensions(int width, int height) { argument 86 args.arg2 = height; 135 int height = (int) args.arg2; 136 mVideoCallListener.onPeerDimensionsChanged(width, height);
|
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
H A D | DisplaySinkService.java | 112 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument 123 int width = 0, height = 0; 129 height = frame.height(); 136 if (mSurface == surface && mSurfaceWidth == width && mSurfaceHeight == height) { 142 mSurfaceHeight = height;
|
H A D | UsbHid.java | 38 public Multitouch(int reportId, int maxContacts, int width, int height) { argument 42 mHeight = height;
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/ |
H A D | DisplaySourceService.java | 88 final int height = content.getInt(); 91 && height >= 0 && height <= 4096 93 handleSinkAvailable(width, height, densityDpi); 109 private void handleSinkAvailable(int width, int height, int densityDpi) { argument 110 if (mSinkAvailable && mSinkWidth == width && mSinkHeight == height 116 + "width=" + width + ", height=" + height 120 mSinkHeight = height; 181 public VirtualDisplayThread(int width, int height, in argument [all...] |
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/ |
H A D | CubeRenderer.java | 85 public void onSurfaceChanged(GL10 gl, int width, int height) { argument 86 gl.glViewport(0, 0, width, height); 94 float ratio = (float) width / height;
|
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/ |
H A D | CameraTooActivity.java | 84 * width and height are at least as large as the respective requested values. 87 * @param height The minimum desired height 90 static Size chooseBigEnoughSize(Size[] choices, int width, int height) { argument 94 if (option.getWidth() >= width && option.getHeight() >= height) { 153 mSurfaceView.getHolder().setFixedSize(/*width*/0, /*height*/0); 232 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { 233 // On the first invocation, width and height were automatically set to the view's size 264 info.getOutputSizes(SurfaceHolder.class), width, height);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
H A D | brightness.cpp | 29 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer) { 35 const int numPixels = width * height; 28 Java_androidx_media_filterfw_samples_simplecamera_AvgBrightnessFilter_brightnessOperator( JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer) argument
|
H A D | colorspace.cpp | 57 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) { 61 const int size = width * height; 71 for (int y = 0; y < height; y += 2) { 99 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) { 103 for (int i = 0; i < width * height; ++i) { 114 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) { 120 for (int i = 0; i < width * height; ++i) { 157 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) { 162 for (int i = 0; i < width * height; ++i) { 56 nativeYuv420pToRgba8888( JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) argument 98 nativeArgb8888ToRgba8888( JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) argument 113 nativeRgba8888ToHsva8888( JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) argument 156 nativeRgba8888ToYcbcra8888( JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) argument
|
H A D | contrast.cpp | 29 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer) { 35 const int numPixels = width * height; 28 Java_androidx_media_filterfw_samples_simplecamera_ContrastRatioFilter_contrastOperator( JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer) argument
|
H A D | exposure.cpp | 30 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer) { 34 const int numPixels = width * height; 52 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer) { 56 const int numPixels = width * height; 29 Java_androidx_media_filterfw_samples_simplecamera_ExposureFilter_overExposureOperator( JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer) argument 51 Java_androidx_media_filterfw_samples_simplecamera_ExposureFilter_underExposureOperator( JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer) argument
|