Searched refs:height (Results 201 - 225 of 1472) sorted by relevance

1234567891011>>

/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
H A DLocalPlayer.java365 int height = mMediaPlayer.getVideoHeight();
366 if (width > 0 && height > 0) {
368 mVideoHeight = height;
463 int width, int height) {
465 Log.d(TAG, "surfaceChanged: " + width + "x" + height);
490 int height = getVideoHeight();
491 if (width > 0 && height > 0) {
494 mPresentation.updateSize(width, height);
502 if (surfaceWidth * height < surfaceHeight * width) {
504 // while height i
462 surfaceChanged(SurfaceHolder holder, int format, int width, int height) argument
577 updateSize(int width, int height) argument
[all...]
/frameworks/av/cmds/stagefright/
H A Djpeg.cpp40 int writeJpegFile(const char *filename, uint8_t *frame, int width, int height) { argument
64 cinfo.image_height = height;
73 for (int row = 0; row < height; row++) {
/frameworks/av/include/ndk/
H A DNdkImageReader.h70 * @param height The default height in pixels of the Images that this reader will produce.
84 * height, format, maxImages arguments is not supported.</li>
90 int32_t width, int32_t height, int32_t format, int32_t maxImages,
136 * Query the default height of the {@link AImage} generated by this reader, in pixels.
138 * <p>The height may be overridden by the producer sending buffers to this reader's
139 * {@link ANativeWindow}. If so, the actual height of the images can be found using
143 * @param height the default height of the reader will be filled here if the method call succeeeds.
147 * <li>{@link AMEDIA_ERROR_INVALID_PARAMETER} if reader or height i
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DVideoSource.h32 VideoSource(int width, int height) argument
34 mHeight(height),
35 mSize((width * height * 3) / 2) {
/frameworks/base/core/java/android/view/
H A DHardwareLayer.java100 * return false if the requested width/height cannot be satisfied
103 * @param height The new height of this layer
109 public boolean prepare(int width, int height, boolean isOpaque) { argument
110 return nPrepare(mFinalizer.get(), width, height, isOpaque);
148 private static native boolean nPrepare(long layerUpdater, int width, int height, boolean isOpaque); argument
/frameworks/base/core/java/com/android/internal/util/
H A DUserIcons.java52 final int height = icon.getIntrinsicHeight();
53 Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
55 icon.setBounds(0, 0, width, height);
/frameworks/base/core/tests/coretests/src/android/view/
H A DIncludeTest.java57 assertTrue("Both buttons should have different height",
58 button1.getLayoutParams().height != button2.getLayoutParams().height);
77 assertEquals("Included button should be 23dip x 23dip", 23, lp.height);
/frameworks/base/libs/hwui/tests/common/scenes/
H A DSaveLayer2Animation.cpp36 void createContent(int width, int height, Canvas& canvas) override {
38 SkIRect bounds = SkIRect::MakeWH(width, height);
40 int smallRectHeight = (bounds.height()/regions);
/frameworks/base/media/java/android/media/
H A DRemoteDisplay.java129 final int width, final int height, final int flags, final int session) {
133 mListener.onDisplayConnected(surface, width, height, flags, session);
163 int width, int height, int flags, int session);
128 notifyDisplayConnected(final Surface surface, final int width, final int height, final int flags, final int session) argument
162 onDisplayConnected(Surface surface, int width, int height, int flags, int session) argument
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DFilterSurfaceView.java118 int height) {
122 mHeight = height;
127 mListener.surfaceChanged(holder, format, width, height);
115 surfaceChanged(SurfaceHolder holder, int format, int width, int height) argument
H A DGLEnvironment.java110 public int registerSurfaceTexture(SurfaceTexture surfaceTexture, int width, int height) { argument
112 int result = nativeAddSurfaceWidthHeight(surface, width, height);
173 private native int nativeAddSurfaceWidthHeight(Surface surface, int width, int height); argument
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DCamera2SurfaceViewActivity.java102 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument
103 Log.i(TAG, "Surface Changed to: " + width + "x" + height);
106 currentHeight = height;
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/
H A DCubeRenderer.java85 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
86 gl.glViewport(0, 0, width, height);
94 float ratio = (float) width / height;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dstats_scorer.cpp44 JNIEnv* env, jobject thiz, jobject imageBuffer, jint width, jint height,
50 int yStart = static_cast<int>(height * top);
51 int yEnd = static_cast<int>(height * bottom);
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/opt/datetimepicker/src/com/android/datetimepicker/date/
H A DTextViewWithCircularIndicator.java73 final int height = getHeight();
74 int radius = Math.min(width, height) / 2;
75 canvas.drawCircle(width / 2, height / 2, radius, mCirclePaint);
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/util/
H A DDrawingTestHelper.java66 public DrawingTestHelper(int width, int height) { argument
68 mHeight = height;
70 mBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
H A DFindRegion.java55 if (mRoiBounds.height() <= 2 ||
64 mPaste = new int[this.mRoiBounds.width() * this.mRoiBounds.height()];
66 mRoiBounds.left, mRoiBounds.top, mRoiBounds.width(), mRoiBounds.height());
109 builderF32.setY(mSearchRange.height());
119 options.setY(0, mSearchRange.height() - mRoiBounds.height());
124 Log.v(TAG, "noSearch " + mRoiBounds.width() + ", " + mRoiBounds.height());
129 mRoiBounds.width(), mRoiBounds.height());
151 int mHeight = (((int) (8 + mRect.height())) & ~3);
172 Bitmap bitmap = Bitmap.createBitmap(rec.width(), rec.height(), Bitma
[all...]
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
H A DBlur25.java64 int height = mInPixelsAllocation.getType().getY();
74 tb.setY(height);
80 mScript.set_height(height);
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/
H A DUT_blur_validation.java53 final int height = 100;
57 width * height,
64 typeBuilder.setY(height);
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/utils/
H A DBitmapHelper.java66 public static Bitmap fetchAndRescaleBitmap(String uri, int width, int height) argument
74 int scaleFactor = findScaleFactor(width, height, is);
76 + width + "x" + height + "requested dimension");
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/widget/
H A DExploreByTouchHelperActivity.java150 * @param top Top coordinate as a fraction of the parent height, range
154 * @param bottom Bottom coordinate as a fraction of the parent height,
196 parent.mBounds.top + bounds.top * parent.mBounds.height(),
198 parent.mBounds.top + bounds.bottom * parent.mBounds.height());
209 final int height = getHeight();
219 scaleRectF(item.mBoundsInRoot, bounds, width, height);
274 protected static void scaleRectF(RectF in, Rect out, int width, int height) { argument
275 out.top = (int) (in.top * height);
276 out.bottom = (int) (in.bottom * height);
347 int height
[all...]
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/utils/
H A DBitmapHelper.java66 public static Bitmap fetchAndRescaleBitmap(String uri, int width, int height) argument
74 int scaleFactor = findScaleFactor(width, height, is);
76 + width + "x" + height + "requested dimension");
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/widget/
H A DExploreByTouchHelperActivity.java150 * @param top Top coordinate as a fraction of the parent height, range
154 * @param bottom Bottom coordinate as a fraction of the parent height,
196 parent.mBounds.top + bounds.top * parent.mBounds.height(),
198 parent.mBounds.top + bounds.bottom * parent.mBounds.height());
209 final int height = getHeight();
219 scaleRectF(item.mBoundsInRoot, bounds, width, height);
274 protected static void scaleRectF(RectF in, Rect out, int width, int height) { argument
275 out.top = (int) (in.top * height);
276 out.bottom = (int) (in.bottom * height);
347 int height
[all...]
/frameworks/av/include/media/stagefright/
H A DYUVImage.h56 YUVImage(YUVFormat yuvFormat, int32_t width, int32_t height);
60 YUVImage(YUVFormat yuvFormat, int32_t width, int32_t height, uint8_t *buffer);
68 static size_t bufferSize(YUVFormat yuvFormat, int32_t width, int32_t height);
71 int32_t height() const {return mHeight;} function in class:android::YUVImage
73 // Returns true if pixel is the range [0, width-1] x [0, height-1]
78 // Note that the range of x is [0, width-1] and the range of y is [0, height-1].
84 // Note that the range of x is [0, width-1] and the range of y is [0, height-1].
147 // Note that the range of x is [0, width-1] and the range of y is [0, height-1].
167 // Note that the range of x is [0, width-1] and the range of y is [0, height-1].
/frameworks/av/media/libmedia/
H A DIRemoteDisplayClient.cpp41 uint32_t width, uint32_t height, uint32_t flags, uint32_t session)
47 data.writeInt32(height);
82 uint32_t height = data.readInt32(); local
85 onDisplayConnected(surfaceTexture, width, height, flags, session);
40 onDisplayConnected(const sp<IGraphicBufferProducer>& bufferProducer, uint32_t width, uint32_t height, uint32_t flags, uint32_t session) argument

Completed in 3931 milliseconds

1234567891011>>