Searched defs:width (Results 26 - 50 of 710) sorted by relevance

1234567891011>>

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
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
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DPixelUtils.java38 * @param width The width of the input image.
46 int width,
57 } else if ((width * height * 4) != input.remaining()) {
60 } else if ((width * height * 4) != output.remaining()) {
64 nativeCopyPixels(input, output, width, height, offset, pixStride, rowStride);
69 int width,
44 copyPixels(ByteBuffer input, ByteBuffer output, int width, int height, int offset, int pixStride, int rowStride) argument
67 nativeCopyPixels(ByteBuffer input, ByteBuffer output, int width, int height, int offset, int pixStride, int rowStride) argument
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
H A DAvgBrightnessFilter.java69 private static native float brightnessOperator(int width, int height, ByteBuffer imageBuffer); argument
H A DContrastRatioFilter.java73 private static native float contrastOperator(int width, int height, ByteBuffer imageBuffer); argument
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DGetBitmapActivity.java81 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
94 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
H A DGlTextureViewActivity.java48 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
68 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DColorFilter_Delegate.java61 public void applyFilter(Graphics2D g, int width, int height) { argument
H A DPorterDuffColorFilter_Delegate.java68 public void applyFilter(Graphics2D g, int width, int height) { argument
71 g.fillRect(0, 0, width, height);
/frameworks/base/tools/layoutlib/bridge/src/android/text/
H A DPrimitive.java27 // Box and Glue have width only.
28 // Penalty has both width and penalty.
30 public final float width; field in class:Primitive
36 private Primitive(@NonNull PrimitiveType type, int location, float width, float penalty) { argument
39 this.width = width;
45 * Something with a constant width that is to be typeset - like a character.
49 * Blank space with fixed width.
61 * For tabs - variable width space.
83 public Primitive getNewPrimitive(int location, float width, floa argument
[all...]
/frameworks/minikin/include/minikin/
H A DMinikinFontFreeType.h33 int width; member in struct:android::GlyphBitmap
/frameworks/native/include/android/
H A Dnative_window.h62 int32_t width; member in struct:ANativeWindow_Buffer
68 // memory. This may be >= width.
93 * Return the current width in pixels of the window surface. Returns a
113 * The width and height control the number of pixels in the buffers, not the
121 * width and height must be either both zero or both non-zero.
125 int32_t width, int32_t height, int32_t format);
/frameworks/native/include/input/
H A DVirtualKeyMap.h38 int32_t width; member in struct:android::VirtualKeyDefinition
/frameworks/native/libs/gui/
H A DGraphicBufferAlloc.cpp34 sp<GraphicBuffer> GraphicBufferAlloc::createGraphicBuffer(uint32_t width, argument
37 new GraphicBuffer(width, height, format, usage));
46 width, height, strerror(-err), graphicBuffer->handle);
/frameworks/native/opengl/tests/lib/
H A DWindowSurface.cpp46 uint32_t width, height; local
50 width = mainDpyInfo.h;
53 width = mainDpyInfo.w;
58 String8("Benchmark"), width, height,
/frameworks/native/opengl/tests/testPauseResume/src/com/android/test/
H A DTestView.java75 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
/frameworks/rs/driver/
H A DrsdFrameBufferObj.cpp131 EGLint width, height; local
132 eglQuerySurface(dc->gl.egl.display, dc->gl.egl.surface, EGL_WIDTH, &width);
134 RSD_CALL_GL(glViewport, 0, 0, width, height);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DVerticalGridView.java81 * Sets the column width.
83 * @param width May be {@link android.view.ViewGroup.LayoutParams#WRAP_CONTENT}, or a size
84 * in pixels. If zero, column width will be fixed based on number of columns
85 * and view width.
87 public void setColumnWidth(int width) { argument
88 mLayoutManager.setRowHeight(width);
/frameworks/av/include/media/stagefright/
H A DYUVImage.h56 YUVImage(YUVFormat yuvFormat, int32_t width, int32_t height);
60 YUVImage(YUVFormat yuvFormat, int32_t width, int32_t height, uint8_t *buffer);
68 static size_t bufferSize(YUVFormat yuvFormat, int32_t width, int32_t height);
70 int32_t width() const {return mWidth;} function in class:android::YUVImage
73 // Returns true if pixel is the range [0, width-1] x [0, height-1]
78 // Note that the range of x is [0, width-1] and the range of y is [0, height-1].
84 // Note that the range of x is [0, width-1] and the range of y is [0, height-1].
147 // Note that the range of x is [0, width-1] and the range of y is [0, height-1].
167 // Note that the range of x is [0, width-1] and the range of y is [0, height-1].
/frameworks/av/media/libmedia/
H A DIRemoteDisplayClient.cpp41 uint32_t width, uint32_t height, uint32_t flags, uint32_t session)
46 data.writeInt32(width);
81 uint32_t width = data.readInt32(); local
85 onDisplayConnected(surfaceTexture, width, height, flags, session);
40 onDisplayConnected(const sp<IGraphicBufferProducer>& bufferProducer, uint32_t width, uint32_t height, uint32_t flags, uint32_t session) argument
/frameworks/av/media/libstagefright/
H A DSurfaceUtils.cpp29 int width, int height, int format, int rotation, int usage, bool reconnect) {
47 err = native_window_set_buffers_dimensions(nativeWindow, width, height);
117 nativeWindow, width, height, format, rotation, finalUsage);
27 setNativeWindowSizeFormatAndUsage( ANativeWindow *nativeWindow , int width, int height, int format, int rotation, int usage, bool reconnect) argument
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dget_pred_outside.cpp34 width = width of the VOP in pixels (x axis); full-pel resolution;
198 *((uint32*)(ptr+=16)) = *((uint32*)(prev+=width)); \
200 *((uint32*)(ptr+=16)) = *((uint32*)(prev+=width)); \
202 *((uint32*)(ptr+=16)) = *((uint32*)(prev+=width)); \
204 *((uint32*)(ptr+=16)) = *((uint32*)(prev+=width)); \
206 *((uint32*)(ptr+=16)) = *((uint32*)(prev+=width)); \
208 *((uint32*)(ptr+=16)) = *((uint32*)(prev+=width)); \
210 *((uint32*)(ptr+=16)) = *((uint32*)(prev+=width)); \
216 *((uint32*)(ptr+=16)) = *((uint32*)(prev+=width)); \
241 GetPredOutside( int xpos, int ypos, uint8 *c_prev, uint8 *pred_block, int width, int height, int rnd1, int pred_width ) argument
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A Drtp_test.cpp193 int32_t width, height; local
194 CHECK(decoder->getFormat()->findInt32(kKeyWidth, &width));
196 printf("INFO_FORMAT_CHANGED %d x %d\n", width, height);
/frameworks/av/media/libstagefright/webm/
H A DEbmlUtil.cpp84 // Like above but pads the input value with leading zeros up to the specified width. The length
85 // descriptor is calculated based on width.
86 uint64_t encodeUnsigned(uint64_t u, int width) { argument
87 int shiftWidth = 7 * width;
/frameworks/base/core/java/android/hardware/camera2/params/
H A DInputConfiguration.java35 * Create an input configration with the width, height, and user-defined format.
41 * @param width Width of the input buffers.
49 public InputConfiguration(int width, int height, int format) { argument
50 mWidth = width;
56 * Get the width of this input configration.
58 * @return width of this input configuration.
120 * the width, height, and format, respectively.</p>

Completed in 477 milliseconds

1234567891011>>