/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | GLToolbox.java | 70 public static void readFbo(int fboId, ByteBuffer pixels, int width, int height) { argument 72 GLES20.glReadPixels(0, 0, width, height, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, pixels); 76 public static void readTarget(RenderTarget target, ByteBuffer pixels, int width, int height) { argument 78 GLES20.glReadPixels(0, 0, width, height, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, pixels); 103 public static void allocateTexturePixels(int texId, int target, int width, int height) { argument 104 setTexturePixels(texId, target, (ByteBuffer)null, width, height); 115 int width, int height) { 120 pixels = ByteBuffer.allocateDirect(width * height * 4); 122 GLES20.glTexImage2D(target, 0, GLES20.GL_RGBA, width, height, 0, 114 setTexturePixels(int texId, int target, ByteBuffer pixels, int width, int height) argument
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | pp_semaphore_luma.cpp | 37 height = luminance VOP height in pixels (int) 123 int height /* i */ 140 ypred <= ((height << 1) - (2*MB_SIZE))) 277 else if (nmvy > (height >> 3) - 1) 279 nmvy = (height >> 3) - 1; 300 if (((dy&0xF) != 0) && (mmvy + 1 < (height >> 3) - 1)) 332 if (((dy&0xF) != 0) && (mmvy + 1 < (height >> 3) - 1))
|
/frameworks/base/libs/hwui/ |
H A D | TextureCache.cpp | 140 if (bitmap->width() > mMaxTextureSize || bitmap->height() > mMaxTextureSize) { 142 bitmap->width(), bitmap->height(), mMaxTextureSize, mMaxTextureSize); 165 const uint32_t size = bitmap->rowBytes() * bitmap->height(); 215 const uint32_t size = bitmap->rowBytes() * bitmap->height(); 227 texture->bitmapSize = bitmap->rowBytes() * bitmap->height(); 280 ATRACE_FORMAT("Upload %ux%u Texture", bitmap->width(), bitmap->height()); 289 bitmap->height() != int(texture->height) || 298 texture->height = bitmap->height(); 347 uploadLoFiTexture(bool resize, const SkBitmap* bitmap, uint32_t width, uint32_t height) argument 360 uploadToTexture(bool resize, GLenum format, GLsizei stride, GLsizei bpp, GLsizei width, GLsizei height, GLenum type, const GLvoid * data) argument [all...] |
H A D | AssetAtlas.cpp | 44 mTexture->height = buffer->getHeight(); 119 const float height = float(mTexture->height); local 137 y / height, (y + bitmap->height()) / height); 142 texture->height = bitmap->height();
|
H A D | LayerRenderer.cpp | 54 const float height = mLayer->layer.getHeight(); local 58 dirty.right >= width && dirty.bottom >= height)) { 60 dirty.set(0.0f, 0.0f, width, height); 62 dirty.intersect(0.0f, 0.0f, width, height); 165 const float height = mLayer->layer.getHeight(); local 173 const float v1 = (height - r->top) * texY; 175 const float v2 = (height - r->bottom) * texY; 188 Layer* LayerRenderer::createRenderLayer(RenderState& renderState, uint32_t width, uint32_t height) { argument 189 ATRACE_FORMAT("Allocate %ux%u HW Layer", width, height); 190 LAYER_RENDERER_LOGD("Requesting new render layer %dx%d", width, height); 257 resizeLayer(Layer* layer, uint32_t width, uint32_t height) argument 292 updateTextureLayer(Layer* layer, uint32_t width, uint32_t height, bool isOpaque, bool forceFilter, GLenum renderTarget, float* textureTransform) argument [all...] |
/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 43 for (int i = 0; i < height; i++) { 49 const int below = (i < height - 1) ? curr + 4 * width : curr; 66 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer, 78 int numPixels = width * height; 82 computeGradient(srcPtr, width, height, gxPtr, gyPtr); 65 Java_androidx_media_filterpacks_image_SobelFilter_sobelOperator( JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer, jobject magBuffer, jobject dirBuffer) argument
|
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
|
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | EdgeEffectCompat.java | 46 public void setSize(Object edgeEffect, int width, int height); argument 63 public void setSize(Object edgeEffect, int width, int height) { argument 95 public void setSize(Object edgeEffect, int width, int height) { argument 96 EdgeEffectCompatIcs.setSize(edgeEffect, width, height); 140 * @param height Effect height in pixels 142 public void setSize(int width, int height) { argument 143 IMPL.setSize(mEdgeEffect, width, height); 211 * 1.f of height.
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
H A D | ResourceModifiers.java | 109 final float height = mBitmap.getHeight() / 8.0f; 113 0.0f, height, width, height, width * 2, height, width * 4, height, 114 0.0f, height * 2, width, height * 2, width * 2, height * 2, width * 3, height * 2, 115 0.0f, height * [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/comm/src/ |
H A D | omxVCCOMM_LimitMVToRect.c | 67 * - the width or height of the bounding rectangle is less than 85 armRetArgErrIf((pRectVOPRef->height < (2* size)), OMX_Sts_BadArgErr); 90 (2*pRectVOPRef->y + pRectVOPRef->height - Ycoord - size));
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | SizeAreaComparator.java | 48 long area = width * size.height; 49 long area2 = width2 * size2.height;
|
/frameworks/base/core/java/android/service/wallpaper/ |
H A D | IWallpaperEngine.aidl | 27 void setDesiredSize(int width, int height);
|
/frameworks/base/core/java/android/view/ |
H A D | GraphicBuffer.java | 73 * @param height The height 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 92 mHeight = height; 106 * Returns the height of this buffer in pixels. 271 int height = in.readInt(); 276 return new GraphicBuffer(width, height, forma 286 nCreateGraphicBuffer(int width, int height, int format, int usage) argument [all...] |
H A D | SurfaceHolder.java | 90 * @param height The new height of the surface. 93 int height); 162 * @param height The surface's height. 164 public void setFixedSize(int width, int height); argument 92 surfaceChanged(SurfaceHolder holder, int format, int width, int height) argument
|
/frameworks/base/core/java/com/android/internal/policy/ |
H A D | IFaceLockInterface.aidl | 23 void startUi(IBinder containingWindowToken, int x, int y, int width, int height,
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
H A D | PathShape.java | 44 * @param stdHeight the standard height for the shape. Any changes to the 45 * height with resize() will result in a height scaled based 46 * on the new height divided by this height. 63 protected void onResize(float width, float height) { argument 65 mScaleY = height / mStdHeight;
|
H A D | RectShape.java | 48 protected void onResize(float width, float height) { argument 49 mRect.set(0, 0, width, height);
|
/frameworks/base/libs/hwui/tests/ |
H A D | main.cpp | 54 sp<RenderNode> createCard(int x, int y, int width, int height) { argument 56 node->mutateStagingProperties().setLeftTopRightBottom(x, y, x + width, y + height); 58 node->mutateStagingProperties().mutableOutline().setRoundRect(0, 0, width, height, dp(10), 1); 74 const int height = gDisplay.h; local 75 sp<SurfaceControl> control = createWindow(width, height); 80 rootNode->mutateStagingProperties().setLeftTopRightBottom(0, 0, width, height); 90 proxy->setup(width, height, (Vector3){lightX, dp(-200.0f), dp(800.0f)}, 102 for (int y = dp(16); y < (height - dp(116)); y += dp(116)) {
|
/frameworks/base/media/mca/effect/java/android/media/effect/ |
H A D | SizeChangeEffect.java | 41 public void apply(int inputTexId, int width, int height, int outputTexId) { argument 44 Frame inputFrame = frameFromTexture(inputTexId, width, height);
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
H A D | PrintOptionsLayout.java | 61 int height = 0; 97 getPaddingTop() + getPaddingBottom() + height, childParams.height); 111 height += rowHeight; 117 height += getPaddingTop() + getPaddingBottom(); 118 height = Math.max(height, getMinimumHeight()); 121 resolveSizeAndState(height, heightMeasureSpec,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | QSContainer.java | 50 * Overrides the height of this view (post-layout), so that the content is clipped to that 51 * height and the background is set to that height. 53 * @param heightOverride the overridden height 61 * The height this view wants to be. This is different from {@link #getMeasuredHeight} such that 62 * during closing the detail panel, this already returns the smaller height. 73 int height = mHeightOverride != -1 ? mHeightOverride : getMeasuredHeight(); 74 setBottom(getTop() + height);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
H A D | RawTexture.java | 29 public RawTexture(int width, int height, boolean opaque) { argument 31 setSize(width, height);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | AssetAtlasService.java | 156 // The comparator will sort the bitmap by width first, then by height 230 mBuffer = GraphicBuffer.create(config.width, config.height, 234 Atlas atlas = new Atlas(config.type, config.width, config.height, config.flags); 327 * @param height 329 private Canvas acquireCanvas(int width, int height) { argument 331 mAtlasBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); 335 mNativeBitmap = nAcquireAtlasCanvas(canvas, width, height); 371 private static native long nAcquireAtlasCanvas(Canvas canvas, int width, int height); argument 433 return r1.width * r1.height - r2.width * r2.height; 605 final int height; field in class:AssetAtlasService.Configuration 609 Configuration(Atlas.Type type, int width, int height, int count) argument 613 Configuration(Atlas.Type type, int width, int height, int count, int flags) argument 635 int height; field in class:AssetAtlasService.WorkerResult 638 WorkerResult(Atlas.Type type, int width, int height, int count) argument 723 packBitmaps(Atlas.Type type, int width, int height, Atlas.Entry entry) argument [all...] |
/frameworks/base/telecomm/java/com/android/internal/telecom/ |
H A D | IVideoCallback.aidl | 40 void changePeerDimensions(int width, int height);
|
/frameworks/base/telephony/java/com/android/ims/internal/ |
H A D | IImsVideoCallCallback.aidl | 42 void changePeerDimensions(int width, int height);
|