Searched defs:width (Results 201 - 225 of 602) sorted by last modified time

1234567891011>>

/frameworks/base/services/core/java/com/android/server/display/
H A DWifiDisplayAdapter.java361 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,
595 mWidth = width;
629 mInfo.width = mWidth;
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 DWifiDisplayController.java742 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) {
949 || mAdvertisedDisplayWidth != width
957 mAdvertisedDisplayWidth = width;
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 DTvInputManagerService.java1106 public void dispatchSurfaceChanged(IBinder sessionToken, int format, int width, argument
1117 getSessionLocked(sessionState).dispatchSurfaceChanged(format, width,
1121 resolvedUserId).dispatchSurfaceChanged(format, width, height);
/frameworks/base/services/core/java/com/android/server/wallpaper/
H A DWallpaperManagerService.java216 int width = -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");
706 width = Math.max(width, displaySize.x);
709 if (width != wallpaper.width || height != wallpaper.height) {
710 wallpaper.width
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DAppWindowAnimator.java91 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 DScreenRotationAnimation.java327 public static void createRotationMatrix(int rotation, int width, int height, argument
339 outMatrix.postTranslate(width, height);
343 outMatrix.postTranslate(0, width);
H A DSession.java262 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 DWindowManagerService.java3077 // attrs.{width|height} Size on screen
3078 win.mHScale = (attrs.width != requestedWidth) ?
3079 (attrs.width / (float)requestedWidth) : 1.0f;
3378 final int width = displayInfo.appWidth;
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);
6060 * @param width the width of the target bitmap
6066 public Bitmap screenshotApplications(IBinder appToken, int displayId, int width, 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 Dcom_android_server_AssetAtlasService.cpp61 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 DCameraCapabilities.java39 * The width of the camera video in pixels.
53 * @param width The width of the camera video (in pixels).
56 public CameraCapabilities(boolean zoomSupported, float maxZoom, int width, int height) { argument
59 mWidth = width;
78 int width = source.readInt();
81 return new CameraCapabilities(supportsZoom, maxZoom, width, height);
132 * The width of the camera video in pixels.
H A DConnection.java590 * @param width The updated peer video width.
593 public void changePeerDimensions(int width, int height) { argument
596 mVideoCallback.changePeerDimensions(width, height);
H A DInCallService.java358 * @param width The updated peer video width.
361 public abstract void onPeerDimensionsChanged(int width, int height); argument
H A DRemoteConnection.java224 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 DVideoCallImpl.java83 public void changePeerDimensions(int width, int height) { argument
85 args.arg1 = width;
134 int width = (int) args.arg1;
136 mVideoCallListener.onPeerDimensionsChanged(width, height);
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
H A DDisplaySinkService.java112 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument
123 int width = 0, height = 0;
128 width = frame.width();
136 if (mSurface == surface && mSurfaceWidth == width && mSurfaceHeight == height) {
141 mSurfaceWidth = width;
H A DUsbHid.java38 public Multitouch(int reportId, int maxContacts, int width, int height) { argument
41 mWidth = width;
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
H A DDisplaySourceService.java87 final int width = content.getInt();
90 if (width >= 0 && width <= 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
119 mSinkWidth = width;
181 public VirtualDisplayThread(int width, in argument
[all...]
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/
H A DCubeRenderer.java85 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 DCameraTooActivity.java84 * width and height are at least as large as the respective requested values.
86 * @param width The minimum desired width
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 Dbrightness.cpp29 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 Dcolorspace.cpp57 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) {
61 const int size = width * height;
72 for (int x = 0; x < width; x += 2) {
77 y3 = pInY[width];
78 y4 = pInY[width + 1];
85 pOutColor[width] = convertYuvToRgba(y3, u, v);
86 pOutColor[width + 1] = convertYuvToRgba(y4, u, v);
93 pInY += width;
94 pOutColor += width;
99 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jin
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
[all...]
H A Dcontrast.cpp29 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 Dexposure.cpp30 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
H A Dpixelutils.cpp24 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height, jint offset,
31 for (int x = 0; x < width; ++x) {
23 nativeCopyPixels( JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height, jint offset, jint pixStride, jint rowStride) argument
H A Dsobeloperator.cpp42 void computeGradient(unsigned char* dataPtr, int width, int height, short* gxPtr, short* gyPtr) { argument
44 for (int j = 0; j < width; j++) {
46 const int right = (j < width - 1) ? 4 : 0;
47 const int curr = (i * width + j) * 4;
48 const int above = (i > 0) ? curr - 4 * width : curr;
49 const int below = (i < height - 1) ? curr + 4 * width : curr;
50 const int offset = (i * width + j) * 3;
66 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer,
78 int numPixels = width * height;
82 computeGradient(srcPtr, width, heigh
65 Java_androidx_media_filterpacks_image_SobelFilter_sobelOperator( JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer, jobject magBuffer, jobject dirBuffer) argument
[all...]

Completed in 913 milliseconds

1234567891011>>