Searched refs:width (Results 126 - 150 of 1122) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/hardware/display/
H A DVirtualDisplay.java89 public void resize(int width, int height, int densityDpi) { argument
90 mGlobal.resizeVirtualDisplay(mToken, width, height, densityDpi);
/frameworks/base/core/java/android/service/wallpaper/
H A DIWallpaperEngine.aidl27 void setDesiredSize(int width, int height);
/frameworks/base/core/java/android/view/
H A DGraphicBuffer.java72 * @param width The width in pixels of the buffer
79 public static GraphicBuffer create(int width, int height, int format, int usage) { argument
80 long nativeObject = nCreateGraphicBuffer(width, height, format, usage);
82 return new GraphicBuffer(width, height, format, usage, nativeObject);
90 private GraphicBuffer(int width, int height, int format, int usage, long nativeObject) { argument
91 mWidth = width;
99 * Returns the width of this buffer in pixels.
270 int width = in.readInt();
276 return new GraphicBuffer(width, heigh
286 nCreateGraphicBuffer(int width, int height, int format, int usage) argument
[all...]
H A DSurfaceHolder.java89 * @param width The new width of the surface.
92 public void surfaceChanged(SurfaceHolder holder, int format, int width, argument
161 * @param width The surface's width.
164 public void setFixedSize(int width, int height); argument
H A DSurfaceControl.java41 Rect sourceCrop, int width, int height, int minLayer, int maxLayer,
44 Rect sourceCrop, int width, int height, int minLayer, int maxLayer,
77 private static native void nativeSetDisplaySize(IBinder displayToken, int width, int height); argument
260 * @param w The surface initial width.
478 public int width; field in class:SurfaceControl.PhysicalDisplayInfo
502 && width == other.width
519 width = other.width;
533 return "PhysicalDisplayInfo{" + width
40 nativeScreenshot(IBinder displayToken, Rect sourceCrop, int width, int height, int minLayer, int maxLayer, boolean allLayers, boolean useIdentityTransform, int rotation) argument
43 nativeScreenshot(IBinder displayToken, Surface consumer, Rect sourceCrop, int width, int height, int minLayer, int maxLayer, boolean allLayers, boolean useIdentityTransform) argument
605 setDisplaySize(IBinder displayToken, int width, int height) argument
651 screenshot(IBinder display, Surface consumer, int width, int height, int minLayer, int maxLayer, boolean useIdentityTransform) argument
668 screenshot(IBinder display, Surface consumer, int width, int height) argument
713 screenshot(Rect sourceCrop, int width, int height, int minLayer, int maxLayer, boolean useIdentityTransform, int rotation) argument
735 screenshot(int width, int height) argument
743 screenshot(IBinder display, Surface consumer, Rect sourceCrop, int width, int height, int minLayer, int maxLayer, boolean allLayers, boolean useIdentityTransform) argument
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
H A DPathShape.java41 * @param stdWidth the standard width for the shape. Any changes to the
42 * width with resize() will result in a width scaled based
43 * on the new width divided by this width.
63 protected void onResize(float width, float height) { argument
64 mScaleX = width / mStdWidth;
H A DRectShape.java48 protected void onResize(float width, float height) { argument
49 mRect.set(0, 0, width, height);
/frameworks/base/libs/hwui/
H A DAssetAtlas.cpp44 mTexture->width = buffer->getWidth();
116 const float width = float(mTexture->width); local
133 x / width, (x + pixelRef->info().width()) / width,
138 texture->width = pixelRef->info().width();
/frameworks/base/media/mca/effect/java/android/media/effect/
H A DSizeChangeEffect.java41 public void apply(int inputTexId, int width, int height, int outputTexId) { argument
44 Frame inputFrame = frameFromTexture(inputTexId, width, height);
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DRawTexture.java29 public RawTexture(int width, int height, boolean opaque) { argument
31 setSize(width, height);
/frameworks/base/telecomm/java/com/android/internal/telecom/
H A DIVideoCallback.aidl39 void changePeerDimensions(int width, int height);
/frameworks/base/telephony/java/com/android/ims/internal/
H A DIImsVideoCallCallback.aidl41 void changePeerDimensions(int width, int 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 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 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 Dstats_scorer.cpp44 JNIEnv* env, jobject thiz, jobject imageBuffer, jint width, jint height,
48 int xStart = static_cast<int>(width * left);
49 int xEnd = static_cast<int>(width * right);
57 int disp = width * y;
43 Java_androidx_media_filterpacks_numeric_StatsFilter_regionscore( JNIEnv* env, jobject thiz, jobject imageBuffer, jint width, jint height, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloatArray statsArray) argument
/frameworks/native/include/android/
H A Dnative_window.h40 int32_t width; member in struct:ANativeWindow_Buffer
46 // memory. This may be >= width.
71 * Return the current width in pixels of the window surface. Returns a
91 * The width and height control the number of pixels in the buffers, not the
99 * width and height must be either both zero or both non-zero.
103 int32_t width, int32_t height, int32_t format);
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DTexture.cpp50 void Texture::setDimensions(size_t width, size_t height) { argument
51 mWidth = width;
/frameworks/rs/driver/
H A DrsdFrameBufferObj.h38 void setDimensions(uint32_t width, uint32_t height) { argument
39 mWidth = width;
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
H A DUT_alloc_copy.java59 int width = random.nextInt(512);
60 int arr_len = width;
67 typeBuilder.setX(width);
98 int width = random.nextInt(512);
99 int arr_len = width;
109 typeBuilder.setX(width);
140 int width = random.nextInt(512);
141 int arr_len = width;
151 typeBuilder.setX(width);
182 int width
[all...]
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/
H A DUT_alloc_copy.java59 int width = random.nextInt(512);
60 int arr_len = width;
67 typeBuilder.setX(width);
98 int width = random.nextInt(512);
99 int arr_len = width;
109 typeBuilder.setX(width);
140 int width = random.nextInt(512);
141 int arr_len = width;
151 typeBuilder.setX(width);
182 int width
[all...]
/frameworks/support/v4/ics/android/support/v4/widget/
H A DEdgeEffectCompatIcs.java33 public static void setSize(Object edgeEffect, int width, int height) { argument
34 ((EdgeEffect) edgeEffect).setSize(width, height);
/frameworks/base/core/java/com/android/internal/widget/
H A DWeightedLinearLayout.java66 int width = getMeasuredWidth();
69 widthMeasureSpec = MeasureSpec.makeMeasureSpec(width, EXACTLY);
76 if (widthWeightMin > 0.0f && width < weightedMin) {
79 } else if (widthWeightMax > 0.0f && width > weightedMax) {
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL11Ext.java50 float width,
67 int width,
84 short width,
101 int width,
46 glDrawTexfOES( float x, float y, float z, float width, float height ) argument
63 glDrawTexiOES( int x, int y, int z, int width, int height ) argument
80 glDrawTexsOES( short x, short y, short z, short width, short height ) argument
97 glDrawTexxOES( int x, int y, int z, int width, int height ) argument
/frameworks/base/rs/java/android/renderscript/
H A DRSTextureView.java68 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
73 mRS.setSurfaceTexture(mSurfaceTexture, width, height);
81 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
86 mRS.setSurfaceTexture(mSurfaceTexture, width, height);

Completed in 1576 milliseconds

1234567891011>>