Searched defs:height (Results 476 - 500 of 674) sorted by relevance

<<11121314151617181920>>

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DBaseWrapContentTest.java204 int width, int height) throws Throwable {
230 assertThat(recyclerView.getHeight(), is(height + padding.top + padding.bottom));
491 int expectedH = mRawChildrenBox.height() + mRvPadding.top + mRvPadding.bottom;
492 assertTrue(mRvSize.height() + "<=" + expectedH, mRvSize.height() <= expectedH);
202 layoutAndCheck(TestedFrameLayout.FullControlLayoutParams lp, BaseWrapContentWithAspectRatioTest.WrapContentAdapter adapter, Rect[] expected, int width, int height) argument
/frameworks/av/include/camera/
H A DCameraParameters.h27 int height; member in struct:android::Size
31 height = 0;
36 height = h;
59 void setPreviewSize(int width, int height);
60 void getPreviewSize(int *width, int *height) const;
63 // Set the dimensions in pixels to the given width and height
64 // for video frames. The given width and height must be one
68 void setVideoSize(int width, int height);
69 // Retrieve the current dimensions (width and height)
74 void getVideoSize(int *width, int *height) cons
[all...]
/frameworks/av/media/libstagefright/
H A DAVIExtractor.cpp699 uint32_t height = U32LE_AT(&data[8]); local
702 track->mMeta->setInt32(kKeyHeight, height);
1088 int32_t width, height; local
1090 CHECK(meta->findInt32(kKeyHeight, &height));
1098 track->mMeta->setInt32(kKeyHeight, height);
H A DCameraSource.cpp152 size.height = -1;
205 mVideoSize.height = -1;
247 * Check to see whether the requested video width and height is one
250 * @param height the video frame height in pixels
252 * @return true if the dimension (width and height) is supported.
255 int32_t width, int32_t height,
261 height == supportedSizes[i].height) {
318 * (width and height) an
254 isVideoSizeSupported( int32_t width, int32_t height, const Vector<Size>& supportedSizes) argument
331 configureCamera( CameraParameters* params, int32_t width, int32_t height, int32_t frameRate) argument
407 checkVideoSize( const CameraParameters& params, int32_t width, int32_t height) argument
530 initBufferQueue(uint32_t width, uint32_t height, uint32_t format, android_dataspace dataSpace, uint32_t bufferCount) argument
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dmotion_est.cpp778 Int height = video->currVop->height; local
819 if (jhigh > height - 1)
820 jhigh = height - 1;
834 if (jhigh > height - 16)
835 jhigh = height - 16;
1067 if (jhigh > height - 1)
1068 jhigh = height - 1;
1133 if (j <= height - 1 && j > 0) cand -= lx;
H A Dmp4enc_api.cpp609 /* Find the maximum width*height for memory allocation of the VOPs */
913 pVol->height = pEncParams->LayerHeight[idx]; /* Layer Height */
945 pVol->nMBPerCol = (pVol->height + 15) / 16;
990 if (pVol->height == 96) /* source_format = 1 */
1000 if (pVol->height == 144) /* source_format = 2 */
1009 if (pVol->height == 288) /* source_format = 2 */
1019 if (pVol->height == 576) /* source_format = 2 */
1028 if (pVol->height == 1152) /* source_format = 2 */
1398 Int width, height; local
1489 height
1689 Int width, height; local
2012 Int width, height; local
[all...]
/frameworks/av/media/libstagefright/httplive/
H A DM3UParser.cpp868 unsigned long height = strtoul(s, &end, 10); local
879 (*meta)->setInt32("height", height);
/frameworks/av/media/libstagefright/mpeg2ts/
H A DESQueue.cpp1093 unsigned height = local
1099 mFormat->setInt32(kKeyHeight, height);
1101 ALOGI("found MPEG2 video codec config (%d x %d)", width, height);
1240 int32_t width = -1, height = -1; local
1292 &width, &height)) {
1311 mFormat->setInt32(kKeyHeight, height);
1314 width, height);
/frameworks/av/media/libstagefright/wifi-display/source/
H A DPlaybackSession.cpp1031 size_t width, height, framesPerSecond; local
1037 &height,
1049 sp<SurfaceMediaSource> source = new SurfaceMediaSource(width, height);
H A DWifiDisplaySource.cpp413 0, // height,
419 size_t width, height; local
425 &height,
433 height,
876 size_t width, height, framesPerSecond; local
882 &height,
887 width, height, interlaced ? 'i' : 'p', framesPerSecond);
/frameworks/av/services/camera/libcameraservice/api1/
H A DCamera2Client.cpp2003 size_t Camera2Client::calculateBufferSize(int width, int height, argument
2007 return width * height * 2;
2009 return width * height * 3 / 2;
2011 return width * height * 2;
2013 size_t ySize = stride * height;
2015 size_t uvSize = uvStride * height / 2;
2019 return width * height * 2;
2021 return width * height * 4;
2023 return width * height * 2;
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DParameters.h115 int32_t height; member in struct:android::camera2::Parameters::Size
282 float height; member in struct:android::camera2::Parameters::CropRegion
328 // API to HAL3 (0,0)-(activePixelArray.width/height) coordinates
332 // Transform from HAL3 (0,0)-(activePixelArray.width/height) coordinates to
377 int32_t height; member in struct:android::camera2::Parameters::StreamConfiguration
395 // The maximum size is defined by comparing width first, when width ties comparing height.
/frameworks/av/services/camera/libcameraservice/api2/
H A DCameraDeviceClient.cpp470 int width, height, format; local
479 if ((err = anw->query(anw, NATIVE_WINDOW_HEIGHT, &height)) != OK) {
480 String8 msg = String8::format("Camera %d: Failed to query Surface height: %s (%d)",
509 if (flexibleConsumer && !CameraDeviceClient::roundBufferDimensionNearest(width, height,
510 format, dataSpace, mDevice->info(), /*out*/&width, /*out*/&height)) {
518 err = mDevice->createStream(surface, width, height, format, dataSpace,
525 mCameraId, width, height, format, dataSpace, strerror(-err), err);
561 int width, int height, int format,
566 ALOGV("%s (w = %d, h = %d, f = 0x%x)", __FUNCTION__, width, height, format);
585 status_t err = mDevice->createInputStream(width, height, forma
560 createInputStream( int width, int height, int format, int32_t* newStreamId) argument
632 roundBufferDimensionNearest(int32_t width, int32_t height, int32_t format, android_dataspace dataSpace, const CameraMetadata& info, int32_t* outWidth, int32_t* outHeight) argument
[all...]
/frameworks/av/services/camera/libcameraservice/device1/
H A DCameraHardwareInterface.h702 int width, int height, int format)
708 hw->mPreviewHeight = height;
710 rc = native_window_set_buffers_dimensions(a, width, height);
701 __set_buffers_geometry(struct preview_stream_ops* w, int width, int height, int format) argument
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Device.h100 uint32_t width, uint32_t height, int format,
104 uint32_t width, uint32_t height, int format,
107 uint32_t width, uint32_t height,
115 uint32_t *width, uint32_t *height,
156 virtual ssize_t getJpegBufferSize(uint32_t width, uint32_t height) const;
158 ssize_t getRawOpaqueBufferSize(int32_t width, int32_t height) const;
212 uint32_t height; member in struct:android::Camera3Device::Size
213 Size(uint32_t w = 0, uint32_t h = 0) : width(w), height(h){}
405 bool isOpaqueInputSizeSupported(uint32_t width, uint32_t height);
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp121 const int h = bitmap.height();
185 const int h = bitmap.height();
342 updateRect.height());
446 // The time glyphs are stored in a single image of height 64 pixels. Each digit is 40 pixels wide,
536 int height = 0; local
544 if (sscanf(l, "%d %d %d", &width, &height, &fps) == 3) {
545 // ALOGD("> w=%d, h=%d, fps=%d", width, height, fps);
547 animation.height = height;
681 const int yc = ((mHeight - animation.height) /
[all...]
/frameworks/base/core/java/android/app/
H A DActionBar.java770 * Retrieve the current height of the ActionBar.
772 * @return The ActionBar's height
974 * current measured {@link #getHeight() height} (fully invisible).</p>
987 * current measured {@link #getHeight() height} (fully invisible).</p>
1411 public LayoutParams(int width, int height) { argument
1412 super(width, height);
1416 public LayoutParams(int width, int height, int gravity) { argument
1417 super(width, height);
H A DActivityOptions.java128 * Initial height of the animation.
383 * @param height The initial height of the new activity.
388 int startX, int startY, int width, int height) {
397 opts.mHeight = height;
411 * @param height The initial height of the new activity.
416 int startX, int startY, int width, int height) {
424 opts.mHeight = height;
387 makeScaleUpAnimation(View source, int startX, int startY, int width, int height) argument
415 makeClipRevealAnimation(View source, int startX, int startY, int width, int height) argument
/frameworks/base/core/java/android/content/pm/
H A DActivityInfo.java903 + windowLayout.widthFraction + ", " + windowLayout.height + "|"
944 dest.writeInt(windowLayout.height);
994 * It describes how big the activity wants to be in both width and height,
1004 public WindowLayout(int width, float widthFraction, int height, float heightFraction, int gravity, argument
1008 this.height = height;
1018 height = source.readInt();
1045 public final int height; field in class:ActivityInfo.WindowLayout
1048 * Height of activity as a fraction of available display height.
1049 * If both {@link #height} an
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboard.java91 /** Default key height */
109 /** Current key height, while loading the keyboard */
112 /** Total height of the keyboard, including the padding and keys */
164 /** Default height of a key in this row. */
248 public int height; field in class:Keyboard.Key
316 height = parent.defaultHeight;
343 height = getDimensionOrFraction(a,
465 && (y >= this.y || (topEdge && y <= this.y + this.height))
466 && (y < this.y + this.height || (bottomEdge && y >= this.y))) {
481 int yDist = this.y + height /
534 Keyboard(Context context, @XmlRes int xmlLayoutResId, int modeId, int width, int height) argument
685 setKeyHeight(int height) argument
[all...]
/frameworks/base/core/java/android/view/
H A DDisplay.java84 // We cache the app width and height properties briefly between calls
513 * screen, so it will reduce the height both in landscape and portrait, and
514 * the smallest height returned here will be the smaller of the two.
524 * @param outSmallestSize Filled in with the smallest width and height
532 * @param outLargestSize Filled in with the largest width and height
998 public Mode(int modeId, int width, int height, float refreshRate) { argument
1001 mHeight = height;
1029 * Returns the physical height of the display in pixels when configured in this mode's
1056 public boolean matches(int width, int height, float refreshRate) { argument
1058 mHeight == height
[all...]
/frameworks/base/core/java/android/view/animation/
H A DAnimation.java68 * height or width of the object being animated.
74 * height or width of the parent of the object being animated.
348 * @param height Height of the object being animated
352 public void initialize(int width, int height, int parentWidth, int parentHeight) { argument
/frameworks/base/core/java/android/widget/
H A DAutoCompleteTextView.java388 * <p>Returns the current height for the auto-complete drop down list. This can
389 * be a fixed height, or {@link ViewGroup.LayoutParams#MATCH_PARENT} to fill
390 * the screen, or {@link ViewGroup.LayoutParams#WRAP_CONTENT} to fit the height
393 * @return the height for the drop down list
402 * <p>Sets the current height for the auto-complete drop down list. This can
403 * be a fixed height, or {@link ViewGroup.LayoutParams#MATCH_PARENT} to fill
404 * the screen, or {@link ViewGroup.LayoutParams#WRAP_CONTENT} to fit the height
407 * @param height the height to use
411 public void setDropDownHeight(int height) { argument
[all...]
H A DLinearLayout.java735 final boolean useExcessSpace = lp.height == 0 && lp.weight > 0;
748 // optimal height. We'll restore the original height of 0
750 lp.height = LayoutParams.WRAP_CONTENT;
763 // Restore the original height and record how much space
766 lp.height = 0;
862 // Check against our minimum height
895 } else if (lp.height == 0 && (!mAllowInconsistentMeasurement
901 // This child had some intrinsic height to which we
994 // Temporarily force children to reuse their old measured height
1740 setChildFrame(View child, int left, int top, int width, int height) argument
1938 LayoutParams(int width, int height) argument
1953 LayoutParams(int width, int height, float weight) argument
[all...]
H A DListPopupWindow.java138 * If used to specify a popup height, the popup will fill available space.
516 * @return The height of the popup window in pixels.
523 * Sets the height of the popup window in pixels. Can also be {@link #MATCH_PARENT}.
525 * @param height Height of the popup window.
527 public void setHeight(int height) { argument
528 mDropDownHeight = height;
596 int height = buildDropDown();
618 heightSpec = noInputMethod ? height : ViewGroup.LayoutParams.MATCH_PARENT;
629 heightSpec = height;
656 heightSpec = height;
[all...]

Completed in 6869 milliseconds

<<11121314151617181920>>