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

<<11121314151617181920>>

/frameworks/av/services/camera/libcameraservice/device2/
H A DCamera2Device.cpp245 uint32_t width, uint32_t height, int format, int *id) {
253 size = getJpegBufferSize(width, height);
255 res = stream->connectToDevice(consumer, width, height, format, size);
259 __FUNCTION__, mId, width, height, format, strerror(-res), res);
269 ssize_t Camera2Device::getJpegBufferSize(uint32_t width, uint32_t height) const {
318 uint32_t *width, uint32_t *height, uint32_t *format) {
337 if (height) *height = (*streamI)->getHeight();
1029 uint32_t width, uint32_t height, int format, size_t size) {
1041 __FUNCTION__, width, height, forma
244 createStream(sp<ANativeWindow> consumer, uint32_t width, uint32_t height, int format, int *id) argument
317 getStreamInfo(int id, uint32_t *width, uint32_t *height, uint32_t *format) argument
1027 connectToDevice( sp<ANativeWindow> consumer, uint32_t width, uint32_t height, int format, size_t size) argument
[all...]
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Device.cpp319 int32_t height = availableStreamConfigs.data.i32[i + STREAM_HEIGHT_OFFSET]; local
323 (width * height > maxJpegWidth * maxJpegHeight)) {
325 maxJpegHeight = height;
347 ssize_t Camera3Device::getJpegBufferSize(uint32_t width, uint32_t height) const {
367 float scaleFactor = ((float) (width * height)) /
368 (maxJpegResolution.width * maxJpegResolution.height);
659 uint32_t width, uint32_t height, int format, int *id) {
664 mId, mNextStreamId, width, height, format);
701 width, height, format);
726 uint32_t width, uint32_t height,
658 createInputStream( uint32_t width, uint32_t height, int format, int *id) argument
725 createZslStream( uint32_t width, uint32_t height, int depth, int *id, sp<Camera3ZslStream>* zslStream) argument
804 createStream(sp<ANativeWindow> consumer, uint32_t width, uint32_t height, int format, int *id) argument
890 getStreamInfo(int id, uint32_t *width, uint32_t *height, uint32_t *format) argument
[all...]
/frameworks/base/core/java/android/provider/
H A DMediaStore.java423 * The height of the image/video in pixels.
425 public static final String HEIGHT = "height";
872 float width, float height,
878 float scaleY = height / source.getHeight();
1154 * The height of the thumbnail
1157 public static final String HEIGHT = "height";
2192 * The height of the thumbnail
2195 public static final String HEIGHT = "height";
868 StoreThumbnail( ContentResolver cr, Bitmap source, long id, float width, float height, int kind) argument
/frameworks/base/core/java/android/service/wallpaper/
H A DWallpaperService.java224 public void setFixedSize(int width, int height) {
232 super.setFixedSize(width, height);
348 * WallpaperManager.getDesiredMinimumHeight()}, returning the height
500 public void onSurfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument
617 mLayout.height = myHeight;
695 int h = mWinFrame.height();
848 " w=" + mLayout.width + " h=" + mLayout.height);
1104 public void setDesiredSize(int width, int height) { argument
1105 Message msg = mCaller.obtainMessageII(DO_SET_DESIRED_SIZE, width, height);
/frameworks/base/core/java/android/view/
H A DGLES20Canvas.java164 public void setViewport(int width, int height) { argument
166 mHeight = height;
168 nSetViewport(mRenderer, width, height);
172 int width, int height);
645 int width, int height, boolean hasAlpha, Paint paint) {
650 if (height < 0) {
651 throw new IllegalArgumentException("height must be >= 0");
658 int lastScanline = offset + (height - 1) * stride;
668 width, height, hasAlpha, nativePaint);
672 float x, float y, int width, int height, boolea
171 nSetViewport(long renderer, int width, int height) argument
644 drawBitmap(int[] colors, int offset, int stride, float x, float y, int width, int height, boolean hasAlpha, Paint paint) argument
671 nDrawBitmap(long renderer, int[] colors, int offset, int stride, float x, float y, int width, int height, boolean hasAlpha, long nativePaint) argument
675 drawBitmap(int[] colors, int offset, int stride, int x, int y, int width, int height, boolean hasAlpha, Paint paint) argument
[all...]
H A DRenderNode.java56 * HardwareCanvas canvas = displayList.start(width, height);
95 * HardwareCanvas canvas = mDisplayList.start(width, height);
220 * @param height The height of the recording viewport
227 public HardwareCanvas start(int width, int height) { argument
229 canvas.setViewport(width, height);
/frameworks/base/core/java/android/widget/
H A DListPopupWindow.java135 * If used to specify a popup height, the popup will fill available space.
502 * @return The height of the popup window in pixels.
509 * Sets the height of the popup window in pixels. Can also be {@link #MATCH_PARENT}.
511 * @param height Height of the popup window.
513 public void setHeight(int height) { argument
514 mDropDownHeight = height;
568 int height = buildDropDown();
590 heightSpec = noInputMethod ? height : ViewGroup.LayoutParams.MATCH_PARENT;
602 heightSpec = height;
626 mPopup.setHeight(height);
[all...]
H A DListView.java84 * times the height of the list.
165 // If a divider is specified use its intrinsic height for divider height
181 // Use the height specified, zero being the default
579 final int height = getHeight();
581 int listUnfadedBottom = listUnfadedTop + height;
609 if (rect.height() > height) {
625 if (rect.height() > height) {
3460 setDividerHeight(int height) argument
[all...]
H A DPopupWindow.java245 * @param height the popup's height
247 public PopupWindow(int width, int height) { argument
248 this(null, width, height);
261 * @param height the popup's height
263 public PopupWindow(View contentView, int width, int height) { argument
264 this(contentView, width, height, false);
276 * @param height the popup's height
279 PopupWindow(View contentView, int width, int height, boolean focusable) argument
843 setHeight(int height) argument
1471 update(int width, int height) argument
1488 update(int x, int y, int width, int height) argument
1505 update(int x, int y, int width, int height, boolean force) argument
1573 update(View anchor, int width, int height) argument
1592 update(View anchor, int xoff, int yoff, int width, int height) argument
1596 update(View anchor, boolean updateLocation, int xoff, int yoff, boolean updateDimension, int width, int height, int gravity) argument
[all...]
H A DScrollView.java305 * Indicates this ScrollView whether it should stretch its content height to fill
308 * @param fillViewport True to stretch the content's height to the viewport's
350 int height = getMeasuredHeight();
351 if (child.getMeasuredHeight() < height) {
356 height -= mPaddingTop;
357 height -= mPaddingBottom;
359 MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY);
978 int height = getHeight();
981 mTempRect.top = getScrollY() + height;
985 if (mTempRect.top + height > vie
1138 isWithinDeltaOfScreen(View descendant, int delta, int height) argument
[all...]
H A DToolbar.java72 * {@link android.R.styleable#View_minHeight minimum height}, if set.</li>
73 * <li><em>A branded logo image.</em> This may extend to the height of the bar and can be
90 * {@link android.R.styleable#View_minHeight minimum height}, if set.</li>
1127 + heightUsed, lp.height);
1159 + heightUsed, lp.height);
1185 int height = 0;
1206 height = Math.max(height, mNavButtonView.getMeasuredHeight() +
1216 height = Math.max(height, mCollapseButtonVie
1801 LayoutParams(int width, int height) argument
1806 LayoutParams(int width, int height, int gravity) argument
[all...]
/frameworks/base/core/jni/android/graphics/
H A DSkiaCanvas.cpp61 virtual int height();
225 int SkiaCanvas::height() { function in class:android::SkiaCanvas
226 return mCanvas->getBaseLayerSize().height();
602 const SkScalar h = SkIntToScalar(bitmap.height());
/frameworks/base/core/jni/android/opengl/
H A Dutil.cpp664 const int h = bitmap.height();
712 const int h = bitmap.height();
876 jint width, jint height) {
877 return etc1_get_encoded_data_size(width, height);
887 jobject in, jint width, jint height,
896 jint imageSize = stride * height;
897 jint encodedImageSize = etc1_get_encoded_data_size(width, height);
904 width, height, pixelSize,
920 jint width, jint height,
929 jint imageSize = stride * height;
875 etc1_getEncodedDataSize(JNIEnv *env, jclass clazz, jint width, jint height) argument
886 etc1_encodeImage(JNIEnv *env, jclass clazz, jobject in, jint width, jint height, jint pixelSize, jint stride, jobject out) argument
918 etc1_decodeImage(JNIEnv *env, jclass clazz, jobject in, jobject out, jint width, jint height, jint pixelSize, jint stride) argument
947 etc1_formatHeader(JNIEnv *env, jclass clazz, jobject header, jint width, jint height) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_graphics_Canvas.cpp65 return static_cast<jint>(get_canvas(canvasHandle)->height());
378 jfloat x, jfloat y, jint width, jint height,
382 SkImageInfo info = SkImageInfo::Make(width, height,
390 if (!GraphicsJNI::SetPixels(env, jcolors, offset, stride, 0, 0, width, height, bitmap)) {
376 drawBitmapArray(JNIEnv* env, jobject, jlong canvasHandle, jintArray jcolors, jint offset, jint stride, jfloat x, jfloat y, jint width, jint height, jboolean hasAlpha, jlong paintHandle) argument
H A Dandroid_opengl_GLES31.cpp2766 /* void glTexStorage2DMultisample ( GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations ) */
2769 (JNIEnv *_env, jobject _this, jint target, jint samples, jint internalformat, jint width, jint height, jboolean fixedsamplelocations) {
2775 (GLsizei)height,
2768 android_glTexStorage2DMultisample__IIIIIZ(JNIEnv *_env, jobject _this, jint target, jint samples, jint internalformat, jint width, jint height, jboolean fixedsamplelocations) argument
H A Dandroid_opengl_GLES31Ext.cpp592 /* void glTexStorage3DMultisampleOES ( GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations ) */
595 (JNIEnv *_env, jobject _this, jint target, jint samples, jint internalformat, jint width, jint height, jint depth, jboolean fixedsamplelocations) {
601 (GLsizei)height,
594 android_glTexStorage3DMultisampleOES__IIIIIIZ(JNIEnv *_env, jobject _this, jint target, jint samples, jint internalformat, jint width, jint height, jint depth, jboolean fixedsamplelocations) argument
H A Dandroid_view_GLES20Canvas.cpp97 jlong rendererPtr, jint width, jint height) {
99 renderer->setViewport(width, height);
392 jfloat left, jfloat top, jint width, jint height, jboolean hasAlpha, jlong paintPtr) {
395 const SkImageInfo info = SkImageInfo::Make(width, height,
404 if (!GraphicsJNI::SetPixels(env, colors, offset, stride, 0, 0, width, height, *bitmap)) {
96 android_view_GLES20Canvas_setViewport(JNIEnv* env, jobject clazz, jlong rendererPtr, jint width, jint height) argument
390 android_view_GLES20Canvas_drawBitmapData(JNIEnv* env, jobject clazz, jlong rendererPtr, jintArray colors, jint offset, jint stride, jfloat left, jfloat top, jint width, jint height, jboolean hasAlpha, jlong paintPtr) argument
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java109 Bitmap(long nativeBitmap, byte[] buffer, int width, int height, int density, argument
117 mHeight = height;
137 * width/height values
140 void reinit(int width, int height, boolean requestPremultiplied) { argument
142 mHeight = height;
188 * <p>Modifies the bitmap to have a specified width, height, and {@link
218 public void reconfigure(int width, int height, Config config) { argument
220 if (width <= 0 || height <= 0) {
221 throw new IllegalArgumentException("width and height must be > 0");
230 nativeReconfigure(mNativeBitmap, width, height, confi
264 setHeight(int height) argument
372 checkWidthHeight(int width, int height) argument
633 createBitmap(Bitmap source, int x, int y, int width, int height) argument
661 createBitmap(Bitmap source, int x, int y, int width, int height, Matrix m, boolean filter) argument
755 createBitmap(int width, int height, Config config) argument
770 createBitmap(DisplayMetrics display, int width, int height, Config config) argument
788 createBitmap(int width, int height, Config config, boolean hasAlpha) argument
807 createBitmap(DisplayMetrics display, int width, int height, Config config, boolean hasAlpha) argument
844 createBitmap(int colors[], int offset, int stride, int width, int height, Config config) argument
869 createBitmap(DisplayMetrics display, int colors[], int offset, int stride, int width, int height, Config config) argument
908 createBitmap(int colors[], int width, int height, Config config) argument
929 createBitmap(DisplayMetrics display, int colors[], int width, int height, Config config) argument
1335 getPixels(int[] pixels, int offset, int stride, int x, int y, int width, int height) argument
1375 checkPixelsAccess(int x, int y, int width, int height, int offset, int stride, int pixels[]) argument
1449 setPixels(int[] pixels, int offset, int stride, int x, int y, int width, int height) argument
1607 nativeCreate(int[] colors, int offset, int stride, int width, int height, int nativeConfig, boolean mutable) argument
1614 nativeReconfigure(long nativeBitmap, int width, int height, int config, int allocSize, boolean isPremultiplied) argument
1626 nativeGetPixels(long nativeBitmap, int[] pixels, int offset, int stride, int x, int y, int width, int height) argument
1631 nativeSetPixels(long 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 DGradientDrawable.java347 * @param height The height of the shape used by this drawable
352 public void setSize(int width, int height) { argument
353 mGradientState.setSize(width, height);
595 Math.min(mRect.width(), mRect.height()) * 0.5f);
662 float y = bounds.height() / 2.0f;
946 // Fall back to parent width or height if intrinsic
949 final float height = st.mHeight >= 0 ? st.mHeight : r.height();
950 radius *= Math.min(width, height);
1732 setSize(int width, int height) argument
[all...]
H A DVectorDrawable.java66 * <dt><code>android:height</code></dt>
67 * <dd>Used to defined the intrinsic height the drawable.
73 * <dd>Used to defined the height of the viewport space. Viewport is basically
165 * android:height=&quot;64dp&quot;
251 if (bounds.width() == 0 || bounds.height() == 0) {
272 canvas, bounds.width(), bounds.height(), colorFilter);
511 "<vector> tag requires height > 0");
707 mVPathRenderer.draw(tmpCanvas, bounds.width(), bounds.height(), null);
712 bounds.height())) {
713 mCachedBitmap = Bitmap.createBitmap(bounds.width(), bounds.height(),
720 canReuseBitmap(int width, int height) argument
[all...]
/frameworks/base/media/java/android/media/
H A DClosedCaptionRenderer.java1138 public void setSize(int width, int height) { argument
1140 final int heightSpec = MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY);
1143 layout(0, 0, width, height);
H A DWebVttRenderer.java1120 /** WebVtt specifies line height as 5.3% of the viewport height. */
1140 /** Current font size, computed from font scaling factor and height. */
1171 public void setSize(int width, int height) { argument
1173 final int heightSpec = MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY);
1176 layout(0, 0, width, height);
1265 final int height = getHeight();
1266 setSize(width, height);
1448 // Compute absolute final top position and height.
1449 final int height
[all...]
/frameworks/base/media/java/android/media/tv/
H A DTvInputManager.java258 * @param height The height of the video.
260 public void onVideoSizeChanged(Session session, int width, int height) { argument
390 void postVideoSizeChanged(final int width, final int height) { argument
394 mSessionCallback.onVideoSizeChanged(mSession, width, height);
1261 * @param height The new height of the {@link Surface}.
1265 public void dispatchSurfaceChanged(int format, int width, int height) { argument
1271 mService.dispatchSurfaceChanged(mToken, format, width, height, mUserId);
/frameworks/base/opengl/java/android/opengl/
H A DGLSurfaceView.java714 * void onSurfaceChanged(GL10 gl, int width, int height) {
715 * gl.glViewport(0, 0, width, height);
717 * float ratio = (float) width / height;
726 * @param height
728 void onSurfaceChanged(GL10 gl, int width, int height); argument
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DSlidingChallengeLayout.java820 final int height = MeasureSpec.getSize(heightSpec);
821 setMeasuredDimension(width, height);
823 final int insetHeight = height - mInsets.top - mInsets.bottom;
894 challengeHeightSpec = makeChildMeasureSpec(maxChallengeHeight, lp.height);
943 final int height = b - t;
954 // Challenge views pin to the bottom, offset by a portion of their height,
960 final int layoutBottom = height - paddingBottom - lp.bottomMargin - mInsets.bottom;
971 final int bottom = height - paddingBottom - lp.bottomMargin - mInsets.bottom;
1260 public LayoutParams(int width, int height) { argument
1261 super(width, height);
[all...]

Completed in 492 milliseconds

<<11121314151617181920>>