/frameworks/rs/rsov/tests/RSoVTest/src/com/android/rs/rsov/test/ |
H A D | UT_multi_kernel.java | 31 private boolean Test(int width, int height, int depth) { argument 36 typeBuilder.setX(width); 55 float a[] = new float[width * height * depth * 4]; 56 float b[] = new float[width * height * depth * 4]; 60 for (int i = 0; i < width * height * depth * 4; i++) { 79 for (int i = 0; i < width * height * depth * 4; i++) {
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | DetailsOverviewLogoPresenter.java | 13 * Default implementation assumes no scaleType on ImageView and uses intrinsic width and height of 80 * both width and size, the ViewHolder would be using intrinsic size of Drawable in 96 vh.setSizeFromDrawableIntrinsic(lp.width == ViewGroup.LayoutParams.WRAP_CONTENT 143 lp.width = row.getImageDrawable().getIntrinsicWidth(); 148 if (lp.width > imageView.getMaxWidth()) { 149 maxScaleWidth = imageView.getMaxWidth() / (float) lp.width; 159 lp.width = (int) (lp.width * scale);
|
/frameworks/av/media/ndk/ |
H A D | NdkImage.cpp | 35 int64_t timestamp, int32_t width, int32_t height, int32_t numPlanes) : 37 mTimestamp(timestamp), mWidth(width), mHeight(height), mNumPlanes(numPlanes) { 104 AImage::getWidth(int32_t* width) const { 105 if (width == nullptr) { 108 *width = -1; 113 *width = mWidth; 323 *rowStride = mLockedBuffer->width; 349 // Single plane 16bpp bayer data. even width/height, 387 uint32_t width = mLockedBuffer->width; local 34 AImage(AImageReader* reader, int32_t format, uint64_t usage, BufferItem* buffer, int64_t timestamp, int32_t width, int32_t height, int32_t numPlanes) argument 633 AImage_getWidth(const AImage* image, int32_t* width) argument 674 int32_t width = -1; local [all...] |
/frameworks/base/libs/hwui/ |
H A D | GradientCache.cpp | 126 uint32_t width = 256 * (count - 1); local 130 // unless width is already a power of 2 131 if (!mHasNpot && (width & (width - 1)) != 0) { 132 width = 1 << (32 - __builtin_clz(width)); 143 info.width = min(width, uint32_t(mMaxTextureSize)); 158 const uint32_t size = info.width * 2 * bytesPerPixel(); 162 ", size = %" PRIu32 ", mMaxSize = %" PRIu32 ", width 217 generateTexture(uint32_t* colors, float* positions, const uint32_t width, const uint32_t height, Texture* texture) argument [all...] |
H A D | VkLayer.h | 47 void setSize(uint32_t width, uint32_t height) override { 48 mWidth = width;
|
/frameworks/ex/framesequence/jni/ |
H A D | FrameSequence_gif.cpp | 149 int transparent, int width) { 150 for (; width > 0; width--, src++, dst++) { 157 static void setLineColor(Color8888* dst, Color8888 color, int width) { argument 158 for (; width > 0; width--, dst++) { 191 const int width = mFrameSequence.getWidth(); local 194 mPreserveBuffer = new Color8888[width * height]; 197 memcpy(mPreserveBuffer + width * y, 199 width * 148 copyLine(Color8888* dst, const unsigned char* src, const ColorMapObject* cmap, int transparent, int width) argument 204 const int width = mFrameSequence.getWidth(); local 232 const int width = mFrameSequence.getWidth(); local [all...] |
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
H A D | ResourceModifiers.java | 108 final float width = mBitmap.getWidth() / 8.0f; 112 0.0f, 0.0f, width, 0.0f, width * 2, 0.0f, width * 3, 0.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 * [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/ |
H A D | h264bsd_interpolate_chroma_hor_ver.s | 47 width RN 4 label 83 ;// u32 width, : 0xf8 96 LDR width, [sp, #0xf8] ;// width 102 CMP tmp1, width ;// x0+chromaPartWidth+1 > width 120 STMIA sp,{width,height,tmp1,tmp2,tmp3} 127 STMIA sp,{width,height,tmp1,tmp2,tmp3} 129 MLA ref, height, width, ref ;// ref += width * heigh [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | Bitmap.cpp | 191 info.width(), info.height(), isPremultiplied); 209 reinterpret_cast<jlong>(bitmapWrapper), bitmap->width(), bitmap->height(), density, 248 info->width = imageInfo.width(); 317 typedef void (*FromColorProc)(void* dst, const SkColor src[], int width, 320 static void FromColor_F16(void* dst, const SkColor src[], int width, argument 324 for (int i = 0; i < width; i++) { 329 static void FromColor_F16_Raw(void* dst, const SkColor src[], int width, argument 333 for (int i = 0; i < width; i++) { 342 static void FromColor_D32(void* dst, const SkColor src[], int width, argument 351 FromColor_D32_Raw(void* dst, const SkColor src[], int width, int, int) argument 371 FromColor_D565(void* dst, const SkColor src[], int width, int x, int y) argument 383 FromColor_D4444(void* dst, const SkColor src[], int width, int x, int y) argument 395 FromColor_D4444_Raw(void* dst, const SkColor src[], int width, int x, int y) argument 411 FromColor_DA8(void* dst, const SkColor src[], int width, int x, int y) argument 439 SetPixels(JNIEnv* env, jintArray srcColors, int srcOffset, int srcStride, int x, int y, int width, int height, const SkBitmap& dstBitmap) argument 494 ToColor_F16_Alpha(SkColor dst[], const void* src, int width, SkColorTable*) argument 503 ToColor_F16_Raw(SkColor dst[], const void* src, int width, SkColorTable*) argument 512 ToColor_S32_Alpha(SkColor dst[], const void* src, int width, SkColorTable*) argument 521 ToColor_S32_Raw(SkColor dst[], const void* src, int width, SkColorTable*) argument 532 ToColor_S32_Opaque(SkColor dst[], const void* src, int width, SkColorTable*) argument 543 ToColor_S4444_Alpha(SkColor dst[], const void* src, int width, SkColorTable*) argument 552 ToColor_S4444_Raw(SkColor dst[], const void* src, int width, SkColorTable*) argument 563 ToColor_S4444_Opaque(SkColor dst[], const void* src, int width, SkColorTable*) argument 574 ToColor_S565(SkColor dst[], const void* src, int width, SkColorTable*) argument 585 ToColor_SI8_Alpha(SkColor dst[], const void* src, int width, SkColorTable* ctable) argument 595 ToColor_SI8_Raw(SkColor dst[], const void* src, int width, SkColorTable* ctable) argument 607 ToColor_SI8_Opaque(SkColor dst[], const void* src, int width, SkColorTable* ctable) argument 619 ToColor_SA8(SkColor dst[], const void* src, int width, SkColorTable*) argument 688 ToF16_SA8(void* dst, const void* src, int width) argument 713 Bitmap_creator(JNIEnv* env, jobject, jintArray jColors, jint offset, jint stride, jint width, jint height, jint configHandle, jboolean isMutable, jfloatArray xyzD50, jobject transferParameters) argument 878 Bitmap_reconfigure(JNIEnv* env, jobject clazz, jlong bitmapHandle, jint width, jint height, jint configHandle, jboolean requestPremul) argument 1056 const int width = p->readInt32(); local 1385 Bitmap_getPixels(JNIEnv* env, jobject, jlong bitmapHandle, jintArray pixelArray, jint offset, jint stride, jint x, jint y, jint width, jint height) argument 1463 Bitmap_setPixels(JNIEnv* env, jobject, jlong bitmapHandle, jintArray pixelArray, jint offset, jint stride, jint x, jint y, jint width, jint height) argument [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 84 armRetArgErrIf((pRectVOPRef->width < (2* size)), OMX_Sts_BadArgErr); 88 (2*pRectVOPRef->x + pRectVOPRef->width - Xcoord - size));
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | InputConfiguration.java | 35 * 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>
|
/frameworks/base/core/java/android/hardware/display/ |
H A D | VirtualDisplay.java | 89 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 D | IWallpaperEngine.aidl | 27 void setDesiredSize(int width, int height);
|
/frameworks/base/core/java/android/view/ |
H A D | DisplayListCanvas.java | 51 static DisplayListCanvas obtain(@NonNull RenderNode node, int width, int height) { argument 55 canvas = new DisplayListCanvas(node, width, height); 58 width, height); 61 canvas.mWidth = width; 84 private DisplayListCanvas(@NonNull RenderNode node, int width, int height) { argument 85 super(nCreateDisplayListCanvas(node.mNativeRenderNode, width, height)); 245 private static native long nCreateDisplayListCanvas(long node, int width, int height); argument 248 int width, int height); 247 nResetDisplayListCanvas(long canvas, long node, int width, int height) argument
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
H A D | PathShape.java | 44 * @param stdWidth the standard width for the shape. Any changes to the 45 * width with resize() will result in a width scaled based 46 * on the new width divided by this width. 66 protected void onResize(float width, float height) { argument 67 mScaleX = width / mStdWidth;
|
H A D | RectShape.java | 49 protected void onResize(float width, float height) { argument 50 mRect.set(0, 0, width, height);
|
/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/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/telecomm/java/com/android/internal/telecom/ |
H A D | IVideoCallback.aidl | 39 void changePeerDimensions(int width, int height);
|
/frameworks/base/telephony/java/com/android/ims/internal/ |
H A D | IImsVideoCallCallback.aidl | 41 void changePeerDimensions(int width, int height);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
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
|
H A D | contrast.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_ContrastRatioFilter_contrastOperator( JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer) argument
|
H A D | pixelutils.cpp | 24 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/native/services/surfaceflinger/RenderEngine/ |
H A D | Texture.cpp | 50 void Texture::setDimensions(size_t width, size_t height) { argument 51 mWidth = width;
|
/frameworks/rs/driver/ |
H A D | rsdFrameBufferObj.h | 38 void setDimensions(uint32_t width, uint32_t height) { argument 39 mWidth = width;
|