Searched refs:height (Results 126 - 150 of 1472) sorted by relevance

1234567891011>>

/frameworks/support/samples/SupportLeanbackJank/src/com/google/android/leanbackjank/data/
H A DVideoProvider.java63 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 DomxVCCOMM_LimitMVToRect.c67 * - 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 DSizeAreaComparator.java48 long area = width * size.height;
49 long area2 = width2 * size2.height;
/frameworks/base/core/java/android/hardware/camera2/params/
H A DInputConfiguration.java35 * 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 DVirtualDisplay.java89 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 DIWallpaperEngine.aidl27 void setDesiredSize(int width, int height);
/frameworks/base/core/java/android/view/
H A DDisplayListCanvas.java51 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 DPathShape.java47 * @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 DRectShape.java49 protected void onResize(float width, float height) { argument
50 mRect.set(0, 0, width, height);
/frameworks/base/libs/hwui/
H A DVkLayer.h47 void setSize(uint32_t width, uint32_t height) override {
49 mHeight = height;
H A DLayerBuilder.h75 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 DSizeChangeEffect.java41 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 DPrintOptionsLayout.java61 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 DQuickTileLayout.java23 // 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 DRawTexture.java29 public RawTexture(int width, int height, boolean opaque) { argument
31 setSize(width, height);
/frameworks/base/telecomm/java/com/android/internal/telecom/
H A DIVideoCallback.aidl39 void changePeerDimensions(int width, int height);
/frameworks/base/telephony/java/com/android/ims/internal/
H A DIImsVideoCallCallback.aidl41 void changePeerDimensions(int width, int height);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dbrightness.cpp29 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 Dcontrast.cpp29 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 Dpixelutils.cpp24 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 DTexture.cpp50 void Texture::setDimensions(size_t width, size_t height) { argument
52 mHeight = height;
/frameworks/rs/driver/
H A DrsdFrameBufferObj.h38 void setDimensions(uint32_t width, uint32_t height) { argument
40 mHeight = height;
/frameworks/base/core/java/android/widget/
H A DPopupWindow.java361 * @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 Dandroid_media_MediaMetadataRetriever.cpp193 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 DTestListViewSceneBase.cpp28 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,

Completed in 1691 milliseconds

1234567891011>>