/frameworks/support/samples/SupportLeanbackJank/src/com/google/android/leanbackjank/data/ |
H A D | VideoProvider.java | 63 int width, int height, Context context, boolean useSingleBitmap) { 68 height); 93 makeIcon(width, height, "Jank", file); 106 public static void makeIcon(int width, int height, String string, File file) { argument 107 Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); 117 Shader shader = new LinearGradient(0, 0, width - 1, height - 1, COLORS.get(0), 120 canvas.drawRect(0, 0, width - 1, height - 1, paint); 122 paint.setTextSize(height * 0.5f); 126 int hOffset = (height - rect.height()) / 62 buildMedia(int categoryCount, int entriesPerCat, int width, int height, Context context, boolean useSingleBitmap) 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 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/hardware/camera2/params/ |
H A D | InputConfiguration.java | 35 * Create an input configration with the width, height, and user-defined format. 42 * @param height Height of the input buffers. 49 public InputConfiguration(int width, int height, int format) { argument 51 mHeight = height; 65 * Get the height of this input configration. 67 * @return height 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); 62 canvas.mHeight = height; 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 | 47 * @param stdHeight the standard height for the shape. Any changes to the 48 * height with resize() will result in a height scaled based 49 * on the new height divided by this height. 66 protected void onResize(float width, float height) { argument 68 mScaleY = height / mStdHeight;
|
H A D | RectShape.java | 49 protected void onResize(float width, float height) { argument 50 mRect.set(0, 0, width, height);
|
/frameworks/base/libs/hwui/ |
H A D | VkLayer.h | 47 void setSize(uint32_t width, uint32_t height) override { 49 mHeight = height;
|
H A D | LayerBuilder.h | 75 LayerBuilder(uint32_t width, uint32_t height, const Rect& repaintRect) argument 76 : LayerBuilder(width, height, repaintRect, nullptr, nullptr) {}; 80 LayerBuilder(uint32_t width, uint32_t height, 108 const uint32_t height; member in class:android::uirenderer::LayerBuilder
|
/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 | QuickTileLayout.java | 23 // Make everything square at the height of this view. 24 params = new LayoutParams(params.height, params.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, 29 for (int y = 0; y < height; ++y) { 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 52 mHeight = height;
|
/frameworks/rs/driver/ |
H A D | rsdFrameBufferObj.h | 38 void setDimensions(uint32_t width, uint32_t height) { argument 40 mHeight = height;
|
/frameworks/base/core/java/android/widget/ |
H A D | PopupWindow.java | 361 * @param height the popup's height 363 public PopupWindow(int width, int height) { argument 364 this(null, width, height); 377 * @param height the popup's height 379 public PopupWindow(View contentView, int width, int height) { argument 380 this(contentView, width, height, false); 392 * @param height the popup's height 395 PopupWindow(View contentView, int width, int height, boolean focusable) argument 1061 setHeight(int height) argument 1581 findDropDownPosition(View anchor, WindowManager.LayoutParams outParams, int xOffset, int yOffset, int width, int height, int gravity, boolean allowScroll) argument 1666 tryFitVertical(@onNull LayoutParams outParams, int yOffset, int height, int anchorHeight, int drawingLocationY, int screenLocationY, int displayFrameTop, int displayFrameBottom, boolean allowResize) argument 1695 positionInDisplayVertical(@onNull LayoutParams outParams, int height, int drawingLocationY, int screenLocationY, int displayFrameTop, int displayFrameBottom, boolean canResize) argument 2071 update(int width, int height) argument 2088 update(int x, int y, int width, int height) argument 2107 update(int x, int y, int width, int height, boolean force) argument 2209 update(View anchor, int width, int height) argument 2229 update(View anchor, int xoff, int yoff, int width, int height) argument 2233 update(View anchor, boolean updateLocation, int xoff, int yoff, int width, int height) argument [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaMetadataRetriever.cpp | 193 static void rotate0(T* dst, const T* src, size_t width, size_t height) argument 195 memcpy(dst, src, width * height * sizeof(T)); 199 static void rotate90(T* dst, const T* src, size_t width, size_t height) argument 201 for (size_t i = 0; i < height; ++i) { 203 dst[j * height + height - 1 - i] = src[i * width + j]; 209 static void rotate180(T* dst, const T* src, size_t width, size_t height) argument 211 for (size_t i = 0; i < height; ++i) { 213 dst[(height - 1 - i) * width + width - 1 - j] = src[i * width + j]; 219 static void rotate270(T* dst, const T* src, size_t width, size_t height) argument 229 rotate(T *dst, const T *src, size_t width, size_t height, int angle) argument 277 uint32_t width, height; local [all...] |
/frameworks/base/libs/hwui/tests/common/ |
H A D | TestListViewSceneBase.cpp | 28 void TestListViewSceneBase::createContent(int width, int height, Canvas& canvas) { argument 32 mItemWidth = std::min((height - mItemSpacing * 2), (int)dp(300)); 35 for (int y = 0; y < height + (heightWithSpacing - 1); y += heightWithSpacing) { 43 mListView = TestUtils::createNode(0, 0, width, height,
|