Searched defs:height (Results 376 - 400 of 763) sorted by relevance

<<11121314151617181920>>

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DThumbsBar.java66 public void setThumbSize(int width, int height) { argument
67 mThumbHeight = height;
75 if (lp.height != height) {
76 lp.height = height;
93 public void setHeroThumbSize(int width, int height) { argument
94 mHeroThumbHeight = height;
102 if (lp.height != height) {
[all...]
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/
H A DBackgroundManagerTest.java207 Bitmap createBitmap(int width, int height, int color) { argument
208 final Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
212 canvas.drawRect(0, 0, width, height, paint);
216 Drawable createDrawable(int width, int height, int color) { argument
217 final Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
221 canvas.drawRect(0, 0, width, height, paint);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DAbsActionBarView.java75 // Reread the desired height from the theme-specified style.
137 public void setContentHeight(int height) { argument
138 mContentHeight = height;
H A DActionBarContextView.java95 public void setContentHeight(int height) { argument
96 mContentHeight = height;
261 final int height = maxHeight - verticalPadding;
262 final int childSpecHeight = MeasureSpec.makeMeasureSpec(height, MeasureSpec.AT_MOST);
296 final int customHeightMode = lp.height != LayoutParams.WRAP_CONTENT ?
298 final int customHeight = lp.height >= 0 ?
299 Math.min(lp.height, height) : height;
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DTestedFrameLayout.java64 } else if (lp.height == LayoutParams.MATCH_PARENT) {
65 final int height = Math.max(0, getMeasuredHeight()
67 childHeightMeasureSpec = MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY);
70 lp.topMargin + lp.bottomMargin, lp.height);
231 public FullControlLayoutParams(int width, int height) { argument
232 super(width, height);
/frameworks/support/wear/src/android/support/wear/widget/
H A DBoxInsetLayout.java207 // Check against our minimum height and width
211 // Check against our foreground's minimum height and width
246 final int height = child.getMeasuredHeight();
283 // If the child's height is match_parent then we can ignore gravity.
287 if (lp.height == LayoutParams.MATCH_PARENT) {
292 childTop = parentTop + (parentBottom - parentTop - height) / 2
296 childTop = parentBottom - height - bottomChildMargin;
303 child.layout(childLeft, childTop, childLeft + width, childTop + height);
343 // adjust height
351 childLayoutParams.height);
462 LayoutParams(int width, int height) argument
478 LayoutParams(int width, int height, int gravity) argument
483 LayoutParams(int width, int height, int gravity, @BoxedEdges int boxed) argument
[all...]
/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/drm/libmediadrm/
H A DCryptoHal.cpp370 void CryptoHal::notifyResolution(uint32_t width, uint32_t height) { argument
377 mPlugin->notifyResolution(width, height);
/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.cpp196 status_t setVideoSize(int width, int height) argument
198 ALOGV("setVideoSize(%dx%d)", width, height);
202 data.writeInt32(height);
475 int height = data.readInt32(); local
476 reply->writeInt32(setVideoSize(width, height));
/frameworks/av/media/libmediaplayerservice/
H A DMediaRecorderClient.cpp186 status_t MediaRecorderClient::setVideoSize(int width, int height) argument
188 ALOGV("setVideoSize(%dx%d)", width, height);
194 return mRecorder->setVideoSize(width, height);
/frameworks/av/media/libstagefright/
H A DMediaCodecListOverrides.cpp52 static bool getMeasureSize(const 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:__anon623
206 OMX_INT height; /** Height of the rectangle, in the y-direction */ member in struct:__anon625
/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:__anon667
206 OMX_INT height; /** Height of the rectangle, in the y-direction */ member in struct:__anon669
/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:__anon711
206 OMX_INT height; /** Height of the rectangle, in the y-direction */ member in struct:__anon713
/frameworks/av/media/libstagefright/colorconversion/
H A DColorConverter.cpp63 size_t width, size_t height,
68 mHeight(height),
61 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/1.0/
H A DWGraphicBufferProducer.cpp59 uint32_t width, uint32_t height,
67 width, height,
255 uint32_t width, uint32_t height, PixelFormat format, uint32_t usage) {
257 width, height,
58 dequeueBuffer( uint32_t width, uint32_t height, PixelFormat format, uint32_t usage, bool getFrameTimestamps, dequeueBuffer_cb _hidl_cb) argument
254 allocateBuffers( uint32_t width, uint32_t height, PixelFormat format, uint32_t usage) argument
/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.cpp180 int width, height, mbs; local
182 || !mOutputFormat->findInt32("height", &height)) {
191 mbs = (((width + 15) / 16) * ((height + 15) / 16) * 10) / 100;
/frameworks/av/media/ndk/
H A DNdkImage.cpp35 int64_t timestamp, int32_t width, int32_t height, int32_t numPlanes) :
37 mTimestamp(timestamp), mWidth(width), mHeight(height), mNumPlanes(numPlanes) {
118 AImage::getHeight(int32_t* height) const {
119 if (height == nullptr) {
122 *height = -1;
127 *height = mHeight;
349 // Single plane 16bpp bayer data. even width/height,
448 dataSize = mLockedBuffer->stride * (mLockedBuffer->height - 1) +
453 (mLockedBuffer->height / 2 - 1) +
461 (mLockedBuffer->stride * mLockedBuffer->height);
34 AImage(AImageReader* reader, int32_t format, uint64_t usage, BufferItem* buffer, int64_t timestamp, int32_t width, int32_t height, int32_t numPlanes) argument
644 AImage_getHeight(const AImage* image, int32_t* height) argument
679 int32_t height = -1; local
[all...]
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3OutputStream.cpp36 uint32_t width, uint32_t height, int format,
39 Camera3IOStreamBase(id, CAMERA3_STREAM_OUTPUT, width, height,
61 uint32_t width, uint32_t height, size_t maxSize, int format,
64 Camera3IOStreamBase(id, CAMERA3_STREAM_OUTPUT, width, height, maxSize,
92 uint32_t width, uint32_t height, int format,
95 Camera3IOStreamBase(id, CAMERA3_STREAM_OUTPUT, width, height,
126 uint32_t width, uint32_t height,
132 Camera3IOStreamBase(id, type, width, height,
386 camera3_stream::width, camera3_stream::height);
395 __FUNCTION__, camera3_stream::width, camera3_stream::height,
34 Camera3OutputStream(int id, sp<Surface> consumer, uint32_t width, uint32_t height, int format, android_dataspace dataSpace, camera3_stream_rotation_t rotation, nsecs_t timestampOffset, int setId) argument
59 Camera3OutputStream(int id, sp<Surface> consumer, uint32_t width, uint32_t height, size_t maxSize, int format, android_dataspace dataSpace, camera3_stream_rotation_t rotation, nsecs_t timestampOffset, int setId) argument
91 Camera3OutputStream(int id, uint32_t width, uint32_t height, int format, uint32_t consumerUsage, android_dataspace dataSpace, camera3_stream_rotation_t rotation, nsecs_t timestampOffset, int setId) argument
125 Camera3OutputStream(int id, camera3_stream_type_t type, uint32_t width, uint32_t height, int format, android_dataspace dataSpace, camera3_stream_rotation_t rotation, uint32_t consumerUsage, nsecs_t timestampOffset, int setId) argument
[all...]
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.h126 int height; member in struct:android::BootAnimation::Animation
135 status_t initTexture(FileMap* map, int* width, int* height);
/frameworks/base/core/java/android/hardware/camera2/
H A DDngCreator.java193 int height = pixels.getHeight();
195 if (width > MAX_THUMBNAIL_DIMENSION || height > MAX_THUMBNAIL_DIMENSION) {
196 throw new IllegalArgumentException("Thumbnail dimensions width,height (" + width +
197 "," + height + ") too large, dimensions must be smaller than " +
202 nativeSetThumbnail(rgbBuffer, width, height);
234 int height = pixels.getHeight();
236 if (width > MAX_THUMBNAIL_DIMENSION || height > MAX_THUMBNAIL_DIMENSION) {
237 throw new IllegalArgumentException("Thumbnail dimensions width,height (" + width +
238 "," + height + ") too large, dimensions must be smaller than " +
243 nativeSetThumbnail(rgbBuffer, width, height);
492 writeByteBuffer(int width, int height, ByteBuffer pixels, OutputStream dngOutput, int pixelStride, int rowStride, long offset) argument
664 nativeSetThumbnail(ByteBuffer buffer, int width, int height) argument
666 nativeWriteImage(OutputStream out, int width, int height, ByteBuffer rawBuffer, int rowStride, int pixStride, long offset, boolean isDirect) argument
671 nativeWriteInputStream(OutputStream out, InputStream rawStream, int width, int height, long offset) argument
[all...]

Completed in 392 milliseconds

<<11121314151617181920>>