Searched defs:height (Results 126 - 150 of 390) sorted by relevance

1234567891011>>

/frameworks/av/libvideoeditor/vss/src/
H A DM4DECODER_Null.c199 M4OSA_UInt32 height = 0; local
224 for (height = 0; height<pStreamContext->pDecYuvWithEffect[0].u_height;
225 height++) {
238 for (height = 0; height<pStreamContext->pDecYuvWithEffect[1].u_height;
239 height++) {
252 for (height = 0; height<pStreamContext->pDecYuvWithEffect[2].u_height;
253 height
328 M4OSA_UInt32 height; local
[all...]
/frameworks/av/media/libmedia/
H A Dmediarecorder.cpp324 status_t MediaRecorder::setVideoSize(int width, int height) argument
326 ALOGV("setVideoSize(%d, %d)", width, height);
340 status_t ret = mMediaRecorder->setVideoSize(width, height);
/frameworks/av/media/libmediaplayerservice/
H A DMediaRecorderClient.cpp178 status_t MediaRecorderClient::setVideoSize(int width, int height) argument
180 ALOGV("setVideoSize(%dx%d)", width, height);
186 return mRecorder->setVideoSize(width, height);
/frameworks/av/media/libstagefright/
H A DCameraSourceTimeLapse.cpp76 mVideoHeight = videoSize.height;
78 if (!trySettingVideoSize(videoSize.width, videoSize.height)) {
110 int32_t width, int32_t height) {
129 int32_t pictureHeight = supportedSizes[i].height;
131 if ((pictureWidth == width) && (pictureHeight == height)) {
138 ALOGV("Video size (%d, %d) is supported", width, height);
140 params.setVideoSize(width, height);
142 params.setPreviewSize(width, height);
147 ALOGE("Failed to set preview size to %dx%d", width, height);
109 trySettingVideoSize( int32_t width, int32_t height) argument
H A DJPEGSource.cpp207 uint16_t width, height; local
208 if (!mSource->getUInt16(i + 1, &height)
214 mHeight = height;
H A DUtils.cpp82 int32_t width, height; local
84 CHECK(meta->findInt32(kKeyHeight, &height));
87 msg->setInt32("height", height);
368 int32_t height; local
369 if (msg->findInt32("width", &width) && msg->findInt32("height", &height)) {
371 meta->setInt32(kKeyHeight, height);
373 ALOGW("did not find width and/or height");
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/include/
H A Dmp4dec_api.h131 int16 height; /* Height */ member in struct:tagVideoRefCopyInfoData
133 int16 realHeight; /* Non-padded height, not a multiple of 16. */
150 OSCL_IMPORT_REF Bool PVInitVideoDecoder(VideoDecControls *decCtrl, uint8 *volbuf[], int32 *volbuf_size, int nLayers, int width, int height, MP4DecodingMode mode);
151 Bool PVAllocVideoData(VideoDecControls *decCtrl, int width, int height, int nLayers);
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dmb_motion_comp.cpp140 int height, width, pred_width; local
172 height = video->height;
251 video->mblock->pred_block, width, height,
272 ypred >= 0 && ypred <= ((height << 1) - (2*B_SIZE)))
285 pred, width, height, round1, pred_width);
308 ypred >= 0 && ypred <= ((height << 1) - (2*B_SIZE)))
320 pred, width, height, round1, pred_width);
344 ypred >= 0 && ypred <= ((height << 1) - (2*B_SIZE)))
356 pred, width, height, round
[all...]
/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)
H A Dme_utils.cpp222 Int pitch, width, height; local
226 height = refVop->height;
265 i = height;
/frameworks/av/media/libstagefright/codecs/on2/dec/
H A DSoftVPX.cpp270 int32_t height = img->d_h; local
272 if (width != mWidth || height != mHeight) {
274 mHeight = height;
284 outHeader->nFilledLen = (width * height * 3) / 2;
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_decoder.c662 Get height of the picture in macroblocks
833 height height of the image after cropping is stored here
841 u32 *leftOffset, u32 *width, u32 *topOffset, u32 *height)
858 *height = 16 * pStorage->activeSps->picHeightInMbs -
868 *height = 0;
884 sarWidth sample aspect ratio height
840 h264bsdCroppingParams(storage_t *pStorage, u32 *croppingFlag, u32 *leftOffset, u32 *width, u32 *topOffset, u32 *height) argument
/frameworks/base/core/java/android/view/
H A DDisplayInfo.java64 * The height of the portion of the display that is available to applications, in pixels.
78 * in pixels, excepting cases where the height may be even smaller due to the presence
92 * in pixels, excepting cases where the height may be even larger due to system decorations
105 * The logical height of the display, in pixels.
289 int width, int height) {
292 outMetrics.noncompatHeightPixels = outMetrics.heightPixels = height;
288 getMetricsWithSize(DisplayMetrics outMetrics, CompatibilityInfoHolder cih, int width, int height) argument
/frameworks/base/core/java/android/view/animation/
H A DScaleAnimation.java278 public void initialize(int width, int height, int parentWidth, int parentHeight) { argument
279 super.initialize(width, height, parentWidth, parentHeight);
283 mFromY = resolveScale(mFromY, mFromYType, mFromYData, height, parentHeight);
284 mToY = resolveScale(mToY, mToYType, mToYData, height, parentHeight);
287 mPivotY = resolveSize(mPivotYType, mPivotYValue, height, parentHeight);
/frameworks/base/core/java/com/android/internal/view/
H A DBaseSurfaceHolder.java115 public void setFixedSize(int width, int height) { argument
116 if (mRequestedWidth != width || mRequestedHeight != height) {
118 mRequestedHeight = height;
227 public void setSurfaceFrameSize(int width, int height) { argument
231 mSurfaceFrame.bottom = height;
/frameworks/base/core/java/com/android/internal/widget/
H A DAbsActionBarView.java66 // Reread the desired height from the theme-specified style.
96 public void setContentHeight(int height) { argument
97 mContentHeight = height;
H A DPasswordEntryKeyboard.java59 public PasswordEntryKeyboard(Context context, int xmlLayoutResId, int width, int height) { argument
60 this(context, xmlLayoutResId, 0, width, height);
69 int width, int height) {
70 super(context, xmlLayoutResId, mode, width, height);
259 y -= height / 10;
68 PasswordEntryKeyboard(Context context, int xmlLayoutResId, int mode, int width, int height) argument
H A DSizeAdaptiveLayout.java42 * A layout that switches between its children based on the requested layout height.
43 * Each child specifies its minimum and maximum valid height. Results are undefined
44 * if children specify overlapping ranges. A child may specify the maximum height
174 int height = Math.max(heightIn, lp.minHeight);
176 height = Math.min(height, lp.maxHeight);
179 if (REPORT_BAD_BOUNDS && heightIn != height) {
182 "clamped to " + height + "px");
185 return height;
188 //TODO extend to width and height
372 LayoutParams(int width, int height, int minHeight, int maxHeight) argument
381 LayoutParams(int width, int height) argument
[all...]
/frameworks/base/core/jni/android/graphics/
H A DBitmapRegionDecoder.cpp75 int width, height; local
85 if (!decoder->buildTileIndex(stream, &width, &height)) {
93 SkBitmapRegionDecoder *bm = new SkBitmapRegionDecoder(decoder, stream, width, height);
184 int start_x, int start_y, int width, int height, jobject options) {
223 region.fBottom = start_y + height;
243 env->SetIntField(options, gOptions_heightFieldID, bitmap->height());
183 nativeDecodeRegion(JNIEnv* env, jobject, SkBitmapRegionDecoder *brd, int start_x, int start_y, int width, int height, jobject options) argument
H A DSurfaceTexture.cpp210 JNIEnv* env, jobject thiz, jint width, jint height)
213 surfaceTexture->setDefaultBufferSize(width, height);
209 SurfaceTexture_setDefaultBufferSize( JNIEnv* env, jobject thiz, jint width, jint height) argument
H A DYuvToJpegEncoder.cpp25 int height, int* offsets, int jpegQuality) {
39 setJpegCompressStruct(&cinfo, width, height, jpegQuality);
51 int width, int height, int quality) {
53 cinfo->image_height = height;
83 int height = cinfo->image_height; local
85 uint8_t* vuPlanar = yuv + offsets[1]; //width * height;
93 deinterleave(vuPlanar, uRows, vRows, cinfo->next_scanline, width, height);
95 // Jpeg library ignores the rows whose indices are greater than height.
102 // height and width are both halved because of downsampling
116 uint8_t* vRows, int rowIndex, int width, int height) {
24 encode(SkWStream* stream, void* inYuv, int width, int height, int* offsets, int jpegQuality) argument
50 setJpegCompressStruct(jpeg_compress_struct* cinfo, int width, int height, int quality) argument
115 deinterleave(uint8_t* vuPlanar, uint8_t* uRows, uint8_t* vRows, int rowIndex, int width, int height) argument
159 int height = cinfo->image_height; local
190 deinterleave(uint8_t* yuv, uint8_t* yRows, uint8_t* uRows, uint8_t* vRows, int rowIndex, int width, int height) argument
219 YuvImage_compressToJpeg(JNIEnv* env, jobject, jbyteArray inYuv, int format, int width, int height, jintArray offsets, jintArray strides, int jpegQuality, jobject jstream, jbyteArray jstorage) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_media_RemoteDisplay.cpp64 uint32_t width, uint32_t height, uint32_t flags) {
76 surfaceObj, width, height, flags);
63 onDisplayConnected(const sp<ISurfaceTexture>& surfaceTexture, uint32_t width, uint32_t height, uint32_t flags) argument
H A Dandroid_view_TextureView.cpp68 jobject surface, jint width, jint height) {
71 surfaceTexture->setDefaultBufferSize(width, height);
148 bitmap.setConfig(convertPixelFormat(buffer.format), buffer.width, buffer.height, bytesCount);
154 if (buffer.width > 0 && buffer.height > 0) {
67 android_view_TextureView_setDefaultBufferSize(JNIEnv* env, jobject, jobject surface, jint width, jint height) argument
/frameworks/base/core/tests/coretests/src/android/text/
H A DStaticLayoutTest.java65 * Top and bottom padding are affected, as is the line descent and height.
220 public int scale(float height) { argument
221 int altVal = (int)(height * sMult + sAdd + 0.5);
222 int rndVal = Math.round(height * sMult + sAdd);
312 int top, int ascent, int descent, int height) {
317 assertEquals(info, height, l.getLineBottom(line) - top);
311 assertLineMetrics(Layout l, int line, int top, int ascent, int descent, int height) argument
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
H A DSizeAdaptiveLayoutTest.java83 int height = (int) lp.minHeight + 10;
85 measureAndLayout(height);
100 int height = (int) lp.minHeight;
102 measureAndLayout(height);
117 int height = (int) lp.minHeight - 10;
119 measureAndLayout(height);
136 int height = (int) (lp.minHeight + 10);
138 measureAndLayout(height);
153 int height = (int) lp.minHeight + 10;
156 int measureSpec = View.MeasureSpec.makeMeasureSpec(height, Vie
484 measureAndLayout(int height) argument
[all...]

Completed in 264 milliseconds

1234567891011>>