/frameworks/av/include/camera/ |
H A D | CameraParameters.h | 27 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/libvideoeditor/lvpp/ |
H A D | VideoEditorPlayer.cpp | 290 uint32_t width, uint32_t height) { 291 return mPlayer->setImageClipProperties(width, height); 289 setImageClipProperties( uint32_t width, uint32_t height) argument
|
/frameworks/av/libvideoeditor/vss/inc/ |
H A D | M4xVSS_Internal.h | 111 /*To support ARGB8888 : get the width and height in case of file ARGB888 used in framing 115 M4OSA_UInt32 height; /*height of the ARGB8888 clip . member in struct:__anon270 152 M4OSA_UInt32 height; /**<GIF height, fill during the member in struct:__anon271 164 M4OSA_UInt32 last_height; /**<Last frame height*/ 211 /*To support ARGB8888:width and height */ 213 M4OSA_UInt32 height; member in struct:__anon272 499 M4OSA_UInt32 width,M4OSA_UInt32 height); 506 M4OSA_UInt32 width,M4OSA_UInt32 height); [all...] |
/frameworks/av/libvideoeditor/vss/src/ |
H A D | M4VSS3GPP_EditVideo.c | 91 M4OSA_UInt32 width,M4OSA_UInt32 height); 114 M4OSA_UInt32 width, M4OSA_UInt32 height); 1357 // Save width and height of un-rotated frame 1463 // Reset original width and height for resize frame plane 2884 * @param uiHeight(IN) Image height 2981 * M4OSA_UInt32 height); 2990 * @param height (IN) height of the ARGB8888 3000 M4OSA_UInt32 width,M4OSA_UInt32 height) { 3003 M4OSA_UInt32 frameSize_argb = width * height * 2997 M4VSS3GPP_internalConvertAndResizeARGB8888toYUV420(M4OSA_Void* pFileIn, M4OSA_FileReadPointer* pFileReadPtr, M4VIFI_ImagePlane* pImagePlanes, M4OSA_UInt32 width,M4OSA_UInt32 height) argument 3230 M4OSA_UInt32 height = local 3932 M4VSS3GPP_intSetYUV420Plane(M4VIFI_ImagePlane* planeIn, M4OSA_UInt32 width, M4OSA_UInt32 height) argument [all...] |
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/ |
H A D | VideoEditorVideoEncoder.cpp | 310 int32_t height = 0; local 349 metaData->findInt32(kKeyHeight, &height); 351 size = (size_t)(stride*height*3)/2;
|
/frameworks/av/media/libstagefright/ |
H A D | AVIExtractor.cpp | 699 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);
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | motion_est.cpp | 778 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 D | mp4enc_api.cpp | 602 /* Find the maximum width*height for memory allocation of the VOPs */ 880 pVol->height = pEncParams->LayerHeight[idx]; /* Layer Height */ 912 pVol->nMBPerCol = (pVol->height + 15) / 16; 957 if (pVol->height == 96) /* source_format = 1 */ 967 if (pVol->height == 144) /* source_format = 2 */ 976 if (pVol->height == 288) /* source_format = 2 */ 986 if (pVol->height == 576) /* source_format = 2 */ 995 if (pVol->height == 1152) /* source_format = 2 */ 1365 Int width, height; local 1456 height 1656 Int width, height; local 1979 Int width, height; local [all...] |
/frameworks/av/services/camera/libcameraservice/ |
H A D | Camera2Client.cpp | 1589 size_t Camera2Client::calculateBufferSize(int width, int height, argument 1593 return width * height * 2; 1595 return width * height * 3 / 2; 1597 return width * height * 2; 1599 size_t ySize = stride * height; 1601 size_t uvSize = uvStride * height / 2; 1605 return width * height * 2; 1607 return width * height * 4; 1609 return width * height * 2;
|
H A D | CameraHardwareInterface.h | 616 int width, int height, int format) 620 width, height, format); 615 __set_buffers_geometry(struct preview_stream_ops* w, int width, int height, int format) argument
|
/frameworks/av/services/camera/libcameraservice/camera2/ |
H A D | Parameters.h | 236 float height; member in struct:android::camera2::Parameters::CropRegion 285 // API and HAL2 (0,0)-(activePixelArray.width/height) coordinates 287 int arrayYToNormalized(int height) const;
|
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | Keyboard.java | 90 /** Default key height */ 108 /** Current key height, while loading the keyboard */ 111 /** Total height of the keyboard, including the padding and keys */ 163 /** Default height of a key in this row. */ 247 public int height; field in class:Keyboard.Key 315 height = parent.defaultHeight; 342 height = getDimensionOrFraction(a, 453 && (y >= this.y || (topEdge && y <= this.y + this.height)) 454 && (y < this.y + this.height || (bottomEdge && y >= this.y))) { 469 int yDist = this.y + height / 522 Keyboard(Context context, int xmlLayoutResId, int modeId, int width, int height) argument 672 setKeyHeight(int height) argument [all...] |
/frameworks/base/core/java/android/service/wallpaper/ |
H A D | WallpaperService.java | 214 public void setFixedSize(int width, int height) { 222 super.setFixedSize(width, height); 337 * WallpaperManager.getDesiredMinimumHeight()}, returning the height 479 public void onSurfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument 592 mLayout.height = myHeight; 642 int h = mWinFrame.height(); 749 " w=" + mLayout.width + " h=" + mLayout.height); 982 public void setDesiredSize(int width, int height) { argument 983 Message msg = mCaller.obtainMessageII(DO_SET_DESIRED_SIZE, width, height);
|
/frameworks/base/core/java/android/view/ |
H A D | Surface.java | 247 int width, int height, int minLayer, int maxLayer, boolean allLayers); 309 * @param h The surface initial height. 474 * Sets the translator used to scale canvas's width/height in compatibility 491 public static Bitmap screenshot(int width, int height) { argument 494 return nativeScreenshot(displayToken, width, height, 0, 0, true); 502 * @param height The desired height of the returned bitmap; the raw 513 public static Bitmap screenshot(int width, int height, int minLayer, int maxLayer) { argument 516 return nativeScreenshot(displayToken, width, height, minLayer, maxLayer, false); 773 public int height; field in class:Surface.PhysicalDisplayInfo 246 nativeScreenshot(IBinder displayToken, int width, int height, int minLayer, int maxLayer, boolean allLayers) argument [all...] |
/frameworks/base/core/java/android/view/animation/ |
H A D | Animation.java | 65 * height or width of the object being animated. 71 * height or width of the parent of the object being animated. 341 * @param height Height of the object being animated 345 public void initialize(int width, int height, int parentWidth, int parentHeight) { argument
|
/frameworks/base/core/java/android/webkit/ |
H A D | HTML5VideoViewProxy.java | 312 map.put("height", new Integer(mp.getVideoHeight())); 622 Integer height = (Integer) map.get("height"); 624 height.intValue(), mNativePointer); 787 private native void nativeOnPrepared(int duration, int width, int height, int nativePointer); argument
|
/frameworks/base/core/java/android/widget/ |
H A D | AutoCompleteTextView.java | 283 * <p>Returns the current height for the auto-complete drop down list. This can 284 * be a fixed height, or {@link ViewGroup.LayoutParams#MATCH_PARENT} to fill 285 * the screen, or {@link ViewGroup.LayoutParams#WRAP_CONTENT} to fit the height 288 * @return the height for the drop down list 297 * <p>Sets the current height for the auto-complete drop down list. This can 298 * be a fixed height, or {@link ViewGroup.LayoutParams#MATCH_PARENT} to fill 299 * the screen, or {@link ViewGroup.LayoutParams#WRAP_CONTENT} to fit the height 302 * @param height the height to use 306 public void setDropDownHeight(int height) { argument [all...] |
H A D | LinearLayout.java | 673 if (heightMode == MeasureSpec.EXACTLY && lp.height == 0 && lp.weight > 0) { 682 if (lp.height == 0 && lp.weight > 0) { 686 // with a height of 0 688 lp.height = LayoutParams.WRAP_CONTENT; 700 lp.height = oldHeight; 797 // Check against our minimum height 834 if ((lp.height != 0) || (heightMode != MeasureSpec.EXACTLY)) { 934 // Temporarily force children to reuse their old measured height 936 int oldHeight = lp.height; 937 lp.height 1662 setChildFrame(View child, int left, int top, int width, int height) argument 1836 LayoutParams(int width, int height) argument 1851 LayoutParams(int width, int height, float weight) argument [all...] |
H A D | ListPopupWindow.java | 121 * If used to specify a popup height, the popup will fill available space. 466 * @return The height of the popup window in pixels. 473 * Sets the height of the popup window in pixels. Can also be {@link #MATCH_PARENT}. 475 * @param height Height of the popup window. 477 public void setHeight(int height) { argument 478 mDropDownHeight = height; 532 int height = buildDropDown(); 554 heightSpec = noInputMethod ? height : ViewGroup.LayoutParams.MATCH_PARENT; 566 heightSpec = height; 590 mPopup.setHeight(height); [all...] |
H A D | PopupWindow.java | 264 * @param height the popup's height 266 public PopupWindow(int width, int height) { argument 267 this(null, width, height); 280 * @param height the popup's height 282 public PopupWindow(View contentView, int width, int height) { argument 283 this(contentView, width, height, false); 295 * @param height the popup's height 298 PopupWindow(View contentView, int width, int height, boolean focusable) argument 757 setHeight(int height) argument 1336 update(int width, int height) argument 1353 update(int x, int y, int width, int height) argument 1370 update(int x, int y, int width, int height, boolean force) argument 1438 update(View anchor, int width, int height) argument 1457 update(View anchor, int xoff, int yoff, int width, int height) argument 1461 update(View anchor, boolean updateLocation, int xoff, int yoff, boolean updateDimension, int width, int height) argument [all...] |
H A D | ScrollView.java | 289 * Indicates this ScrollView whether it should stretch its content height to fill 292 * @param fillViewport True to stretch the content's height to the viewport's 334 int height = getMeasuredHeight(); 335 if (child.getMeasuredHeight() < height) { 340 height -= mPaddingTop; 341 height -= mPaddingBottom; 343 MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY); 935 int height = getHeight(); 938 mTempRect.top = getScrollY() + height; 942 if (mTempRect.top + height > vie 1095 isWithinDeltaOfScreen(View descendant, int delta, int height) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_view_Surface.cpp | 87 jfieldID height; member in struct:android::__anon1000 108 status_t update(const sp<IBinder>& display, int width, int height, argument 110 status_t res = (width > 0 && height > 0) 112 ? mScreenshot.update(display, width, height) 113 : mScreenshot.update(display, width, height, minLayer, maxLayer)) 485 jint width, jint height, jint minLayer, jint maxLayer, bool allLayers) { 492 if (pixels->update(displayToken, width, height, 713 env->SetIntField(infoObj, gPhysicalDisplayInfoClassInfo.height, info.h); 907 gPhysicalDisplayInfoClassInfo.height = env->GetFieldID(clazz, "height", " 484 nativeScreenshot(JNIEnv* env, jclass clazz, jobject displayTokenObj, jint width, jint height, jint minLayer, jint maxLayer, bool allLayers) argument [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Bitmap.java | 263 * Common code for checking that width and height are > 0 266 * @param height height to ensure is > 0 268 private static void checkWidthHeight(int width, int height) { argument 272 if (height <= 0) { 273 throw new IllegalArgumentException("height must be > 0"); 451 * specified width and height are the same as the current width and height of 457 * @param dstHeight The new bitmap's desired height. 475 final int height 513 createBitmap(Bitmap source, int x, int y, int width, int height) argument 540 createBitmap(Bitmap source, int x, int y, int width, int height, Matrix m, boolean filter) argument 632 createBitmap(int width, int height, Config config) argument 647 createBitmap(DisplayMetrics display, int width, int height, Config config) argument 665 createBitmap(int width, int height, Config config, boolean hasAlpha) argument 684 createBitmap(DisplayMetrics display, int width, int height, Config config, boolean hasAlpha) argument 723 createBitmap(int colors[], int offset, int stride, int width, int height, Config config) argument 748 createBitmap(DisplayMetrics display, int colors[], int offset, int stride, int width, int height, Config config) argument 787 createBitmap(int colors[], int width, int height, Config config) argument 808 createBitmap(DisplayMetrics display, int colors[], int width, int height, Config config) argument 1134 getPixels(int[] pixels, int offset, int stride, int x, int y, int width, int height) argument 1174 checkPixelsAccess(int x, int y, int width, int height, int offset, int stride, int pixels[]) argument 1248 setPixels(int[] pixels, int offset, int stride, int x, int y, int width, int height) argument 1393 nativeCreate(int[] colors, int offset, int stride, int width, int height, int nativeConfig, boolean mutable) argument 1411 nativeGetPixels(int nativeBitmap, int[] pixels, int offset, int stride, int x, int y, int width, int height) argument 1417 nativeSetPixels(int nativeBitmap, int[] colors, int offset, int stride, int x, int y, int width, int height) argument [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | GradientDrawable.java | 275 * @param height The height of the shape used by this drawable 280 public void setSize(int width, int height) { argument 281 mGradientState.setSize(width, height); 510 float r = Math.min(mRect.width(), mRect.height()) * 0.5f; 568 float y = bounds.height() / 2.0f; 861 int height = a.getDimensionPixelSize( 864 setSize(width, height); 1254 public void setSize(int width, int height) { argument 1256 mHeight = height; [all...] |
/frameworks/base/libs/hwui/ |
H A D | FontRenderer.cpp | 176 ALOGE("Font size too large to fit in cache. width, height = %i, %i", 253 CacheTexture* FontRenderer::createCacheTexture(int width, int height, bool allocate) { argument 254 CacheTexture* cacheTexture = new CacheTexture(width, height); 340 uint32_t height = dirtyRect->getHeight(); local 349 ALOGD("glTexSubimage for cacheTexture %d: x, y, width height = %d, %d, %d, %d", 350 i, x, y, width, height); 352 glTexSubImage2D(GL_TEXTURE_2D, 0, x, y, width, height, 494 image.height = 0; 525 image.height = paddedHeight; 665 const uint8_t* source, uint8_t* dest, int32_t width, int32_t height) { 664 horizontalBlur(float* weights, int32_t radius, const uint8_t* source, uint8_t* dest, int32_t width, int32_t height) argument 708 verticalBlur(float* weights, int32_t radius, const uint8_t* source, uint8_t* dest, int32_t width, int32_t height) argument 753 blurImage(uint8_t *image, int32_t width, int32_t height, int32_t radius) argument [all...] |