/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
H A D | LocalPlayer.java | 365 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 D | jpeg.cpp | 40 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 D | NdkImageReader.h | 70 * @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 D | VideoSource.h | 32 VideoSource(int width, int height) argument 34 mHeight(height), 35 mSize((width * height * 3) / 2) {
|
/frameworks/base/core/java/android/view/ |
H A D | HardwareLayer.java | 100 * 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 D | UserIcons.java | 52 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 D | IncludeTest.java | 57 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 D | SaveLayer2Animation.cpp | 36 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 D | RemoteDisplay.java | 129 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 D | FilterSurfaceView.java | 118 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 D | GLEnvironment.java | 110 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 D | Camera2SurfaceViewActivity.java | 102 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 D | CubeRenderer.java | 85 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 D | stats_scorer.cpp | 44 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 D | TextViewWithCircularIndicator.java | 73 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 D | DrawingTestHelper.java | 66 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 D | FindRegion.java | 55 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 D | Blur25.java | 64 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 D | UT_blur_validation.java | 53 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 D | BitmapHelper.java | 66 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 D | ExploreByTouchHelperActivity.java | 150 * @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 D | BitmapHelper.java | 66 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 D | ExploreByTouchHelperActivity.java | 150 * @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 D | YUVImage.h | 56 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 D | IRemoteDisplayClient.cpp | 41 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
|