/frameworks/base/rs/java/android/renderscript/ |
H A D | RSTextureView.java | 68 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);
|
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
H A D | UsbHid.java | 38 public Multitouch(int reportId, int maxContacts, int width, int height) { argument 41 mWidth = width;
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
H A D | sobeloperator.cpp | 42 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...] |
H A D | stats_scorer.cpp | 44 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/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | SobelFilter.java | 168 private static native boolean sobelOperator(int width, int height, argument
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | CanvasTextureViewActivity.java | 50 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument 56 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
|
H A D | HardwareCanvasSurfaceViewActivity.java | 96 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument 97 mThread.setSize(width, height); 114 void setSize(int width, int height) { argument 115 mWidth = width;
|
H A D | HardwareCanvasTextureViewActivity.java | 51 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument 57 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
|
H A D | MovingSurfaceViewActivity.java | 107 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
H A D | Size.java | 70 flatSizes.add(s.width()); 86 int width = Integer.parseInt(flatSizes[i]); 88 list.add(new Size(width,height)); 98 public Size(int width, int height) { argument 99 val = new Point(width, height); 109 val = new Point(other.width(), other.height()); 122 val = new Point(other.width, other.height); 152 public int width() { method in class:Size 176 return "Size: (" + this.width() + " x " + this.height() + ")";
|
/frameworks/minikin/include/minikin/ |
H A D | Layout.h | 34 Bitmap(int width, int height); 39 int width; member in class:minikin::Bitmap
|
/frameworks/minikin/libs/minikin/ |
H A D | Measurement.cpp | 45 // In the middle of a cluster, distribute width of cluster so that each grapheme cluster 92 float width = advances[i - start]; local 93 if (width != 0.0f) { 96 x += width;
|
/frameworks/native/include/gui/ |
H A D | CpuConsumer.h | 48 uint32_t width; member in struct:android::CpuConsumer::LockedBuffer 73 width(0),
|
/frameworks/native/include/ui/ |
H A D | ANativeObjectBase.h | 32 int32_t width; member in struct:egl_native_pixmap_t
|
H A D | GraphicBufferAllocator.h | 74 uint32_t width; member in struct:android::GraphicBufferAllocator::alloc_rec_t
|
/frameworks/native/libs/gui/ |
H A D | IGraphicBufferAlloc.cpp | 47 virtual sp<GraphicBuffer> createGraphicBuffer(uint32_t width, argument 52 data.writeUint32(width); 100 uint32_t width = data.readUint32(); local 106 createGraphicBuffer(width, height, format, usage, &error);
|
/frameworks/native/libs/ui/ |
H A D | Rect.cpp | 93 Rect Rect::transform(uint32_t xform, int32_t width, int32_t height) const { argument 96 result = Rect(width - result.right, result.top, width - result.left,
|
/frameworks/native/opengl/tests/gl2_java/src/com/android/gl2java/ |
H A D | GL2JavaView.java | 79 public void onSurfaceChanged(GL10 gl, int width, int height) { argument 80 GLES20.glViewport(0, 0, width, height);
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | Texture.cpp | 50 void Texture::setDimensions(size_t width, size_t height) { argument 51 mWidth = width;
|
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | EdgeEffectCompat.java | 48 public void setSize(Object edgeEffect, int width, int height); argument 66 public void setSize(Object edgeEffect, int width, int height) { argument 102 public void setSize(Object edgeEffect, int width, int height) { argument 103 EdgeEffectCompatIcs.setSize(edgeEffect, width, height); 156 * @param width Effect width in pixels 159 public void setSize(int width, int height) { argument 160 IMPL.setSize(mEdgeEffect, width, height); 247 * width of X=0 to X=width, beginnin [all...] |
/frameworks/support/v4/tests/java/android/support/v4/widget/ |
H A D | TextViewCompatTest.java | 49 public TestDrawable(@ColorInt int color, int width, int height) { argument 51 mWidth = width; 150 assertEquals("Compound drawable: left width", 151 drawablesAbsolute[0].getBounds().width(), 20); 156 assertEquals("Compound drawable: top width", 157 drawablesAbsolute[1].getBounds().width(), 30); 162 assertEquals("Compound drawable: right width", 163 drawablesAbsolute[2].getBounds().width(), 25); 196 assertEquals("Compound drawable: left width", 197 drawablesAbsolute[0].getBounds().width(), 2 [all...] |
/frameworks/av/camera/ndk/impl/ |
H A D | ACameraMetadata.cpp | 103 int32_t width = entry.data.i32[i + STREAM_WIDTH_OFFSET]; local 115 filteredStreamConfigs.push_back(width); 128 int32_t width = entry.data.i32[i + STREAM_WIDTH_OFFSET]; local 143 filteredDepthStreamConfigs.push_back(width);
|
/frameworks/av/cmds/screenrecord/ |
H A D | FrameOutput.cpp | 43 status_t FrameOutput::createInputSurface(int width, int height, argument 47 err = mEglWindow.createPbuffer(width, height); 53 glViewport(0, 0, width, height); 76 mGlConsumer->setDefaultBufferSize(width, height); 82 mPixelBuf = new uint8_t[width * height * kGlBytesPerPixel]; 123 int width = mEglWindow.getWidth(); local 126 width, height, true); 139 glReadPixels(0, 0, width, height, GL_RGBA, GL_UNSIGNED_BYTE, mPixelBuf); 147 reduceRgbaToRgb(mPixelBuf, width * height); 155 size_t rgbDataLen = width * heigh [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | chvr_filter.cpp | 25 int width, 51 /* Calculate the width and height of the area in blocks (divide by 8) */ 52 pp_w = (width >> 3); 56 w1 = width; /* Offset to next row in pixels */ 57 w2 = width << 1; /* Offset to two rows in pixels */ 60 incr = width - BLKSIZE; /* Offset to next row after processing block */ 458 DeringAdaptiveSmoothMMX(ptr, width, thres, max_diff); 467 AdaptiveSmooth_NoMMX(rec, v0, h0, v0 + 1, h0 + 1, thres, width, max_diff); 546 AdaptiveSmooth_NoMMX(rec, v0, h0, v0 - 3, h0 - 3, thres, width, max_diff); 23 CombinedHorzVertRingFilter( uint8 *rec, int width, int height, int16 *QP_store, int chr, uint8 *pp_mod) argument
|
H A D | get_pred_adv_b_add.cpp | 33 width = width of the VOP in pixels (x axis); full-pel resolution 85 int width, /* i */ 96 offset = width - B_SIZE; /* offset for prev */ 108 prev += width; 185 int width, /* i */ 198 offset = width - B_SIZE; /* offset for prev */ 514 int width, /* i */ 527 offset = width - B_SIZE; /* offset for prev */ 548 word2 = *((uint32*)(prev + width)); 82 GetPredAdvancedBy0x0( uint8 *prev, uint8 *pred_block, int width, int pred_width_rnd ) argument 182 GetPredAdvancedBy0x1( uint8 *prev, uint8 *pred_block, int width, int pred_width_rnd ) argument 511 GetPredAdvancedBy1x0( uint8 *prev, uint8 *pred_block, int width, int pred_width_rnd ) argument 858 GetPredAdvancedBy1x1( uint8 *prev, uint8 *pred_block, int width, int pred_width_rnd ) argument [all...] |