Searched defs:height (Results 326 - 350 of 674) sorted by relevance

<<11121314151617181920>>

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DTestedFrameLayout.java68 } else if (lp.height == LayoutParams.MATCH_PARENT) {
69 final int height = Math.max(0, getMeasuredHeight()
71 childHeightMeasureSpec = MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY);
74 lp.topMargin + lp.bottomMargin, lp.height);
210 public FullControlLayoutParams(int width, int height) { argument
211 super(width, height);
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/
H A DMyGLSurfaceView.java138 public void onSurfaceChanged(GL10 glUnused, int width, int height) { argument
141 GLES20.glViewport(0, 0, width, height);
142 mRatio = (float) width / height;
H A DNativeMedia.java86 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {
87 Log.v(TAG, "surfaceChanged format=" + format + ", width=" + width + ", height=" +
88 height);
108 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {
109 Log.v(TAG, "surfaceChanged format=" + format + ", width=" + width + ", height=" +
110 height);
132 int height = mediaPlayer.getVideoHeight();
133 Log.v(TAG, "onPrepared width=" + width + ", height=" + height);
134 if (width != 0 && height !
345 setFixedSize(int width, int height) argument
359 setFixedSize(int width, int height) argument
381 setFixedSize(int width, int height) argument
[all...]
/frameworks/av/media/img_utils/src/
H A DTiffIfd.cpp197 uint32_t height = *(heightEntry->getData<uint32_t>()); local
217 const uint32_t lastChunkRows = height % rowsPerChunk;
225 size_t numStrips = height / rowsPerChunk;
/frameworks/av/media/libmedia/
H A DIMediaRecorder.cpp185 status_t setVideoSize(int width, int height) argument
187 ALOGV("setVideoSize(%dx%d)", width, height);
191 data.writeInt32(height);
441 int height = data.readInt32(); local
442 reply->writeInt32(setVideoSize(width, height));
/frameworks/av/media/libstagefright/
H A DMediaCodecListOverrides.cpp52 static bool getMeasureSize(sp<MediaCodecInfo::Capabilities> caps, int32_t *width, int32_t *height) { argument
71 *height = strtol(sHeight.c_str(), NULL, 10);
72 return (*width > 0) && (*height > 0);
106 int32_t height = 0; local
107 if (!getMeasureSize(caps, &width, &height)) {
111 format->setInt32("height", height);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/api/
H A Domxtypes.h184 * and height in the y-direction */
189 OMX_INT height; /** Height in the y-direction. */ member in struct:__anon525
206 OMX_INT height; /** Height of the rectangle, in the y-direction */ member in struct:__anon527
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/api/
H A Domxtypes.h184 * and height in the y-direction */
189 OMX_INT height; /** Height in the y-direction. */ member in struct:__anon569
206 OMX_INT height; /** Height of the rectangle, in the y-direction */ member in struct:__anon571
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/api/
H A Domxtypes.h184 * and height in the y-direction */
189 OMX_INT height; /** Height in the y-direction. */ member in struct:__anon613
206 OMX_INT height; /** Height of the rectangle, in the y-direction */ member in struct:__anon615
/frameworks/av/media/libstagefright/colorconversion/
H A DColorConverter.cpp59 size_t width, size_t height,
64 mHeight(height),
57 BitmapParams( void *bits, size_t width, size_t height, size_t cropLeft, size_t cropTop, size_t cropRight, size_t cropBottom) argument
/frameworks/av/media/libstagefright/omx/
H A DSoftVideoDecoderOMXComponent.cpp50 int32_t height,
59 mHeight(height),
63 mCropHeight(height),
175 bool *portWillReset, uint32_t width, uint32_t height,
178 bool sizeChanged = (width != mWidth || height != mHeight);
185 || def->format.video.nSliceHeight != (OMX_U32)height) {
192 mHeight = height;
196 || height > mAdaptiveMaxHeight) {
201 if (height > mAdaptiveMaxHeight) {
202 mAdaptiveMaxHeight = height;
43 SoftVideoDecoderOMXComponent( const char *name, const char *componentRole, OMX_VIDEO_CODINGTYPE codingType, const CodecProfileLevel *profileLevels, size_t numProfileLevels, int32_t width, int32_t height, const OMX_CALLBACKTYPE *callbacks, OMX_PTR appData, OMX_COMPONENTTYPE **component) argument
174 handlePortSettingsChange( bool *portWillReset, uint32_t width, uint32_t height, CropSettingsMode cropSettingsMode, bool fakeStride) argument
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DAPacketSource.cpp108 const char *params, int32_t *width, int32_t *height) {
110 *height = 0;
200 FindAVCDimensions(nal, width, height);
201 ALOGI("dimensions %dx%d", *width, *height);
336 const sp<ABuffer> &config, int32_t *width, int32_t *height) {
338 *height = 0;
359 &ptr[offset], config->size() - offset, width, height);
363 const char *params, int32_t *width, int32_t *height) {
365 *height = 0;
373 if (!ExtractDimensionsMPEG4Config(config, width, height)) {
107 MakeAVCCodecSpecificData( const char *params, int32_t *width, int32_t *height) argument
335 ExtractDimensionsMPEG4Config( const sp<ABuffer> &config, int32_t *width, int32_t *height) argument
362 MakeMPEG4VideoCodecSpecificData( const char *params, int32_t *width, int32_t *height) argument
428 int32_t width, height; local
460 int32_t width, height; local
513 int32_t width, height; local
[all...]
H A DARTPWriter.cpp491 int32_t width, height; local
493 CHECK(meta->findInt32(kKeyHeight, &height));
496 sdp.append(height);
505 sdp.append(height);
/frameworks/av/media/libstagefright/wifi-display/source/
H A DConverter.cpp179 int width, height, mbs; local
181 || !mOutputFormat->findInt32("height", &height)) {
190 mbs = (((width + 15) / 16) * ((height + 15) / 16) * 10) / 100;
/frameworks/av/media/ndk/
H A DNdkImageReader.cpp143 AImageReader::AImageReader(int32_t width, int32_t height, int32_t format, int32_t maxImages) : argument
144 mWidth(width), mHeight(height), mFormat(format), mMaxImages(maxImages),
403 return buffer->height;
440 int32_t width, int32_t height, int32_t format, int32_t maxImages,
444 if (width < 1 || height < 1) {
446 __FUNCTION__, width, height);
467 //*reader = new AImageReader(width, height, format, maxImages);
468 AImageReader* tmpReader = new AImageReader(width, height, format, maxImages);
518 media_status_t AImageReader_getHeight(const AImageReader* reader, /*out*/int32_t* height) { argument
520 if (reader == nullptr || height
439 AImageReader_new( int32_t width, int32_t height, int32_t format, int32_t maxImages, AImageReader** reader) argument
[all...]
/frameworks/av/services/camera/libcameraservice/common/
H A DCameraModule.cpp120 highSpeedConfig.add(entry.data.i32[i + 1]); // height
146 int32_t height = entry.data.i32[i + STREAM_HEIGHT_OFFSET]; local
152 rawOpaqueSizes.push(height);
155 rawOpaqueSizes.push(width * height *2);
/frameworks/base/core/java/android/hardware/camera2/
H A DDngCreator.java170 int height = pixels.getHeight();
172 if (width > MAX_THUMBNAIL_DIMENSION || height > MAX_THUMBNAIL_DIMENSION) {
173 throw new IllegalArgumentException("Thumbnail dimensions width,height (" + width +
174 "," + height + ") too large, dimensions must be smaller than " +
179 nativeSetThumbnail(rgbBuffer, width, height);
211 int height = pixels.getHeight();
213 if (width > MAX_THUMBNAIL_DIMENSION || height > MAX_THUMBNAIL_DIMENSION) {
214 throw new IllegalArgumentException("Thumbnail dimensions width,height (" + width +
215 "," + height + ") too large, dimensions must be smaller than " +
220 nativeSetThumbnail(rgbBuffer, width, height);
472 writeByteBuffer(int width, int height, ByteBuffer pixels, OutputStream dngOutput, int pixelStride, int rowStride, long offset) argument
644 nativeSetThumbnail(ByteBuffer buffer, int width, int height) argument
646 nativeWriteImage(OutputStream out, int width, int height, ByteBuffer rawBuffer, int rowStride, int pixStride, long offset, boolean isDirect) argument
651 nativeWriteInputStream(OutputStream out, InputStream rawStream, int width, int height, long offset) argument
[all...]
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DParameterUtils.java156 int h = clipLower(rect.height(), /*lo*/0, rect, "height");
239 return new Size(size.width, size.height);
250 sizes.add(new Size(s.width, s.height));
264 array[ctr++] = new Size(s.width, s.height);
272 public static boolean containsSize(List<Camera.Size> sizeList, int width, int height) { argument
275 if (s.height == height && s.width == width) {
442 currentPreviewCropRegion.height() >= cropRegionAsPreview.height()) {
[all...]
/frameworks/base/core/java/android/hardware/display/
H A DDisplayManagerGlobal.java366 String name, int width, int height, int densityDpi, Surface surface, int flags,
371 if (width <= 0 || height <= 0 || densityDpi <= 0) {
372 throw new IllegalArgumentException("width, height, and densityDpi must be "
381 context.getPackageName(), name, width, height, densityDpi, surface, flags);
412 int width, int height, int densityDpi) {
414 mDm.resizeVirtualDisplay(token, width, height, densityDpi);
365 createVirtualDisplay(Context context, MediaProjection projection, String name, int width, int height, int densityDpi, Surface surface, int flags, VirtualDisplay.Callback callback, Handler handler) argument
411 resizeVirtualDisplay(IVirtualDisplayCallback token, int width, int height, int densityDpi) argument
/frameworks/base/core/java/android/view/
H A DDisplayInfo.java73 * The height of the portion of the display that is available to applications, in pixels.
87 * in pixels, excepting cases where the height may be even smaller due to the presence
101 * in pixels, excepting cases where the height may be even larger due to system decorations
114 * The logical height of the display, in pixels.
554 Configuration configuration, int width, int height) {
565 height = (configuration != null
567 ? (int)((configuration.screenHeightDp * outMetrics.density) + 0.5f) : height;
570 outMetrics.noncompatHeightPixels = outMetrics.heightPixels = height;
553 getMetricsWithSize(DisplayMetrics outMetrics, CompatibilityInfo compatInfo, Configuration configuration, int width, int height) argument
H A DDisplayListCanvas.java49 static DisplayListCanvas obtain(@NonNull RenderNode node, int width, int height) { argument
53 canvas = new DisplayListCanvas(width, height);
55 nResetDisplayListCanvas(canvas.mNativeCanvasWrapper, width, height);
59 canvas.mHeight = height;
92 private DisplayListCanvas(int width, int height) { argument
93 super(nCreateDisplayListCanvas(width, height));
97 private static native long nCreateDisplayListCanvas(int width, int height); argument
98 private static native void nResetDisplayListCanvas(long canvas, int width, int height); argument
H A DViewStructure.java47 * @param height The view's visible height, in pixels. This is the height visible on
48 * screen, not the total data height of a scrollable view.
51 int height);
50 setDimens(int left, int top, int scrollX, int scrollY, int width, int height) argument
/frameworks/base/core/java/android/view/animation/
H A DAnimationSet.java424 public void initialize(int width, int height, int parentWidth, int parentHeight) { argument
425 super.initialize(width, height, parentWidth, parentHeight);
482 a.initialize(width, height, parentWidth, parentHeight);
/frameworks/base/core/java/com/android/internal/policy/
H A DBackdropFrameRenderer.java264 * @param ySize The height of the content.
314 // The caption height will probably never dynamically change while we are resizing.
317 // Remember the height of the caption.
333 final int height = newBounds.height();
335 mFrameAndBackdropNode.setLeftTopRightBottom(left, top, left + width, top + height);
338 DisplayListCanvas canvas = mFrameAndBackdropNode.start(width, height);
349 mResizingBackgroundDrawable.setBounds(0, mLastCaptionHeight, left + width, top + height);
354 drawColorViews(left, top, width, height, fullscreen, systemInsets, stableInsets);
362 private void drawColorViews(int left, int top, int width, int height, argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DAbsActionBarView.java90 // Reread the desired height from the theme-specified style.
171 public void setContentHeight(int height) { argument
172 mContentHeight = height;

Completed in 469 milliseconds

<<11121314151617181920>>