Searched refs:height (Results 176 - 200 of 1273) sorted by relevance

1234567891011>>

/frameworks/support/compat/java/android/support/v4/widget/
H A DEdgeEffectCompat.java48 public void setSize(Object edgeEffect, int width, int height); argument
68 public void setSize(Object edgeEffect, int width, int height) { argument
113 public void setSize(Object edgeEffect, int width, int height) { argument
114 EdgeEffectCompatIcs.setSize(edgeEffect, width, height);
176 * @param height Effect height in pixels
178 public void setSize(int width, int height) { argument
179 IMPL.setSize(mEdgeEffect, width, height);
267 * 1.f of height.
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
H A DLocalPlayer.java364 int height = mMediaPlayer.getVideoHeight();
365 if (width > 0 && height > 0) {
367 mVideoHeight = height;
464 int width, int height) {
466 Log.d(TAG, "surfaceChanged: " + width + "x" + height);
491 int height = getVideoHeight();
492 if (width > 0 && height > 0) {
500 if (surfaceWidth * height < surfaceHeight * width) {
502 // while height is derived from video's aspect ratio
504 lp.height
463 surfaceChanged(SurfaceHolder holder, int format, int width, int height) argument
567 updateSize(int width, int height) argument
[all...]
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
H A DLocalPlayer.java364 int height = mMediaPlayer.getVideoHeight();
365 if (width > 0 && height > 0) {
367 mVideoHeight = height;
464 int width, int height) {
466 Log.d(TAG, "surfaceChanged: " + width + "x" + height);
491 int height = getVideoHeight();
492 if (width > 0 && height > 0) {
500 if (surfaceWidth * height < surfaceHeight * width) {
502 // while height is derived from video's aspect ratio
504 lp.height
463 surfaceChanged(SurfaceHolder holder, int format, int width, int height) argument
567 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/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/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/native/android/
H A Dnative_window.cpp62 int32_t height, int32_t format) {
65 err = native_window_set_buffers_user_dimensions(window, width, height);
68 if (width && height) {
61 ANativeWindow_setBuffersGeometry(ANativeWindow* window, int32_t width, int32_t height, int32_t format) argument
/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/rs/java/tests/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/java/tests/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/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/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/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
/frameworks/av/media/libstagefright/
H A DCameraSourceTimeLapse.cpp90 mVideoHeight = videoSize.height;
92 if (OK == mInitCheck && !trySettingVideoSize(videoSize.width, videoSize.height)) {
125 int32_t width, int32_t height) {
144 int32_t pictureHeight = supportedSizes[i].height;
146 if ((pictureWidth == width) && (pictureHeight == height)) {
153 ALOGV("Video size (%d, %d) is supported", width, height);
155 params.setVideoSize(width, height);
157 params.setPreviewSize(width, height);
162 ALOGE("Failed to set preview size to %dx%d", width, height);
124 trySettingVideoSize( int32_t width, int32_t height) argument
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dfindhalfpel.cpp34 void GenerateSearchRegion(UChar *searchPadding, UChar *ref, Int width, Int height,
81 Int height = video->vol[video->currLayer]->height; local
106 else if (jmin >= height - 1)
117 else if (jmin >= height - 16)
190 Int height; local
203 height = video->vol[video->currLayer]->height;
227 else if (jmin >= height - 1)
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_util.c266 u32 width, height; local
272 height = image->height;
277 picSize = width * height;

Completed in 1017 milliseconds

1234567891011>>