/frameworks/base/core/jni/ |
H A D | android_opengl_GLES31Ext.cpp | 704 /* void glTexStorage3DMultisampleOES ( GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations ) */ 707 (JNIEnv *_env, jobject _this, jint target, jint samples, jint internalformat, jint width, jint height, jint depth, jboolean fixedsamplelocations) { 713 (GLsizei)height, 706 android_glTexStorage3DMultisampleOES__IIIIIIZ(JNIEnv *_env, jobject _this, jint target, jint samples, jint internalformat, jint width, jint height, jint depth, jboolean fixedsamplelocations) argument
|
H A D | android_opengl_GLES32.cpp | 1013 /* void glReadnPixels ( GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data ) */ 1016 (JNIEnv *_env, jobject _this, jint x, jint y, jint width, jint height, jint format, jint type, jint bufSize, jobject data_buf) { 1040 (GLsizei)height, 1913 /* void glTexStorage3DMultisample ( GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations ) */ 1916 (JNIEnv *_env, jobject _this, jint target, jint samples, jint internalformat, jint width, jint height, jint depth, jboolean fixedsamplelocations) { 1922 (GLsizei)height, 1015 android_glReadnPixels__IIIIIIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint x, jint y, jint width, jint height, jint format, jint type, jint bufSize, jobject data_buf) argument 1915 android_glTexStorage3DMultisample__IIIIIIZ(JNIEnv *_env, jobject _this, jint target, jint samples, jint internalformat, jint width, jint height, jint depth, jboolean fixedsamplelocations) argument
|
H A D | android_view_DisplayListCanvas.cpp | 172 jint width, jint height) { 173 return reinterpret_cast<jlong>(Canvas::create_recording_canvas(width, height)); 177 jlong canvasPtr, jint width, jint height) { 179 canvas->resetRecording(width, height); 171 android_view_DisplayListCanvas_createDisplayListCanvas(JNIEnv* env, jobject clazz, jint width, jint height) argument 176 android_view_DisplayListCanvas_resetDisplayListCanvas(JNIEnv* env, jobject clazz, jlong canvasPtr, jint width, jint height) argument
|
H A D | android_view_GraphicBuffer.cpp | 102 jint width, jint height, jint format, jint usage) { 114 sp<GraphicBuffer> buffer(alloc->createGraphicBuffer(width, height, format, usage, &error)); 101 android_view_GraphiceBuffer_create(JNIEnv* env, jobject clazz, jint width, jint height, jint format, jint usage) argument
|
H A D | android_view_HardwareLayer.cpp | 45 jlong layerUpdaterPtr, jint width, jint height, jboolean isOpaque) { 48 changed |= layer->setSize(width, height); 44 android_view_HardwareLayer_prepare(JNIEnv* env, jobject clazz, jlong layerUpdaterPtr, jint width, jint height, jboolean isOpaque) argument
|
H A D | android_view_SurfaceControl.cpp | 53 jfieldID height; member in struct:android::__anon948 127 jobject displayTokenObj, jobject sourceCropObj, jint width, jint height, 148 res = screenshot->update(displayToken, sourceCrop, width, height, 183 if (!screenshotInfo.width() || !screenshotInfo.height()) { 198 jobject surfaceObj, jobject sourceCropObj, jint width, jint height, 216 width, height, uint32_t(minLayer), uint32_t(maxLayer), 397 jobject tokenObj, jint width, jint height) { 400 SurfaceComposerClient::setDisplaySize(token, width, height); 422 env->SetIntField(infoObj, gPhysicalDisplayInfoClassInfo.height, info.h); 738 gPhysicalDisplayInfoClassInfo.height 126 nativeScreenshotBitmap(JNIEnv* env, jclass clazz, jobject displayTokenObj, jobject sourceCropObj, jint width, jint height, jint minLayer, jint maxLayer, bool allLayers, bool useIdentityTransform, int rotation) argument 197 nativeScreenshot(JNIEnv* env, jclass clazz, jobject displayTokenObj, jobject surfaceObj, jobject sourceCropObj, jint width, jint height, jint minLayer, jint maxLayer, bool allLayers, bool useIdentityTransform) argument 396 nativeSetDisplaySize(JNIEnv* env, jclass clazz, jobject tokenObj, jint width, jint height) argument [all...] |
H A D | android_view_ThreadedRenderer.cpp | 487 jint width, jint height, jfloat lightRadius, jint ambientShadowAlpha, jint spotShadowAlpha) { 489 proxy->setup(width, height, lightRadius, ambientShadowAlpha, spotShadowAlpha); 486 android_view_ThreadedRenderer_setup(JNIEnv* env, jobject clazz, jlong proxyPtr, jint width, jint height, jfloat lightRadius, jint ambientShadowAlpha, jint spotShadowAlpha) argument
|
H A D | com_google_android_gles_jni_GLImpl.cpp | 443 /* void glCompressedTexImage2D ( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data ) */ 446 (JNIEnv *_env, jobject _this, jint target, jint level, jint internalformat, jint width, jint height, jint border, jint imageSize, jobject data_buf) { 462 (GLsizei)height, 472 /* void glCompressedTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data ) */ 475 (JNIEnv *_env, jobject _this, jint target, jint level, jint xoffset, jint yoffset, jint width, jint height, jint format, jint imageSize, jobject data_buf) { 492 (GLsizei)height, 502 /* void glCopyTexImage2D ( GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border ) */ 505 (JNIEnv *_env, jobject _this, jint target, jint level, jint internalformat, jint x, jint y, jint width, jint height, jint border) { 513 (GLsizei)height, 518 /* void glCopyTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height ) */ 445 android_glCompressedTexImage2D__IIIIIIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint target, jint level, jint internalformat, jint width, jint height, jint border, jint imageSize, jobject data_buf) argument 474 android_glCompressedTexSubImage2D__IIIIIIIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint target, jint level, jint xoffset, jint yoffset, jint width, jint height, jint format, jint imageSize, jobject data_buf) argument 504 android_glCopyTexImage2D__IIIIIIII(JNIEnv *_env, jobject _this, jint target, jint level, jint internalformat, jint x, jint y, jint width, jint height, jint border) argument 520 android_glCopyTexSubImage2D__IIIIIIII(JNIEnv *_env, jobject _this, jint target, jint level, jint xoffset, jint yoffset, jint x, jint y, jint width, jint height) argument 3348 android_glReadPixels__IIIIIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint x, jint y, jint width, jint height, jint format, jint type, jobject pixels_buf) argument 3442 android_glScissor__IIII(JNIEnv *_env, jobject _this, jint x, jint y, jint width, jint height) argument 3804 android_glTexImage2D__IIIIIIIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint target, jint level, jint internalformat, jint width, jint height, jint border, jint format, jint type, jobject pixels_buf) argument 3858 android_glTexSubImage2D__IIIIIIIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint target, jint level, jint xoffset, jint yoffset, jint width, jint height, jint format, jint type, jobject pixels_buf) argument 3936 android_glViewport__IIII(JNIEnv *_env, jobject _this, jint x, jint y, jint width, jint height) argument 6778 android_glDrawTexfOES__FFFFF(JNIEnv *_env, jobject _this, jfloat x, jfloat y, jfloat z, jfloat width, jfloat height) argument 6875 android_glDrawTexiOES__IIIII(JNIEnv *_env, jobject _this, jint x, jint y, jint z, jint width, jint height) argument 6972 android_glDrawTexsOES__SSSSS(JNIEnv *_env, jobject _this, jshort x, jshort y, jshort z, jshort width, jshort height) argument 7069 android_glDrawTexxOES__IIIII(JNIEnv *_env, jobject _this, jint x, jint y, jint z, jint width, jint height) argument 8194 android_glRenderbufferStorageOES__IIII(JNIEnv *_env, jobject _this, jint target, jint internalformat, jint width, jint height) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/text/ |
H A D | StaticLayoutTest.java | 71 * Top and bottom padding are affected, as is the line descent and height. 226 public int scale(float height) { argument 227 int altVal = (int)(height * sMult + sAdd + 0.5); 228 int rndVal = Math.round(height * sMult + sAdd); 318 int top, int ascent, int descent, int height) { 323 assertEquals(info, height, l.getLineBottom(line) - top); 317 assertLineMetrics(Layout l, int line, int top, int ascent, int descent, int height) argument
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Atlas.java | 79 * @param height The height of the atlas in pixels 83 public Atlas(Type type, int width, int height) { argument 84 this(type, width, height, FLAG_DEFAULTS); 94 * @param height The height of the atlas in pixels 100 public Atlas(Type type, int width, int height, int flags) { argument 101 mPolicy = findPolicy(type, width, height, flags); 108 * @param height The height o 115 pack(int width, int height) argument 132 pack(int width, int height, Entry entry) argument 137 findPolicy(Type type, int width, int height, int flags) argument 159 pack(int width, int height, Entry entry) argument 249 int height; field in class:Atlas.SlicePolicy.Cell 259 SlicePolicy(int width, int height, int flags, SplitDecision splitDecision) argument 273 pack(int width, int height, Entry entry) argument 356 insert(Cell cell, Cell prev, int width, int height, Entry entry) argument [all...] |
H A D | Bitmap.java | 111 Bitmap(long nativeBitmap, byte[] buffer, int width, int height, int density, argument 119 mHeight = height; 149 * width/height values 152 void reinit(int width, int height, boolean requestPremultiplied) { argument 154 mHeight = height; 203 * <p>Modifies the bitmap to have a specified width, height, and {@link 251 public void reconfigure(int width, int height, Config config) { argument 253 if (width <= 0 || height <= 0) { 254 throw new IllegalArgumentException("width and height must be > 0"); 263 nativeReconfigure(mNativePtr, width, height, confi 297 setHeight(int height) argument 408 checkWidthHeight(int width, int height) argument 700 createBitmap(Bitmap source, int x, int y, int width, int height) argument 728 createBitmap(Bitmap source, int x, int y, int width, int height, Matrix m, boolean filter) argument 822 createBitmap(int width, int height, Config config) argument 837 createBitmap(DisplayMetrics display, int width, int height, Config config) argument 855 createBitmap(int width, int height, Config config, boolean hasAlpha) argument 874 createBitmap(DisplayMetrics display, int width, int height, Config config, boolean hasAlpha) argument 911 createBitmap(int colors[], int offset, int stride, int width, int height, Config config) argument 936 createBitmap(DisplayMetrics display, int colors[], int offset, int stride, int width, int height, Config config) argument 975 createBitmap(int colors[], int width, int height, Config config) argument 996 createBitmap(DisplayMetrics display, int colors[], int width, int height, Config config) argument 1427 getPixels(@olorInt int[] pixels, int offset, int stride, int x, int y, int width, int height) argument 1467 checkPixelsAccess(int x, int y, int width, int height, int offset, int stride, int pixels[]) argument 1541 setPixels(@olorInt int[] pixels, int offset, int stride, int x, int y, int width, int height) argument 1688 nativeCreate(int[] colors, int offset, int stride, int width, int height, int nativeConfig, boolean mutable) argument 1697 nativeReconfigure(long nativeBitmap, int width, int height, int config, int allocSize, boolean isPremultiplied) argument 1709 nativeGetPixels(long nativeBitmap, int[] pixels, int offset, int stride, int x, int y, int width, int height) argument 1714 nativeSetPixels(long nativeBitmap, int[] colors, int offset, int stride, int x, int y, int width, int height) argument [all...] |
H A D | BitmapRegionDecoder.java | 201 /** Returns the original image's height */ 258 int start_x, int start_y, int width, int height, 257 nativeDecodeRegion(long lbm, int start_x, int start_y, int width, int height, BitmapFactory.Options options) argument
|
H A D | Canvas.java | 239 * Returns the height of the current drawing layer 241 * @return the height of the current drawing layer 298 * Returns the maximum allowed height for bitmaps drawn with this canvas. 1321 * extends beyond the bitmap's original width/height (e.g. BlurMaskFilter), 1323 * Thus the color outside of the original width/height will be the edge 1347 * extends beyond the bitmap's original width/height (e.g. BlurMaskFilter), 1349 * Thus the color outside of the original width/height will be the edge 1394 * extends beyond the bitmap's original width/height (e.g. BlurMaskFilter), 1396 * Thus the color outside of the original width/height will be the edge 1448 * @param height Th 1460 drawBitmap(@onNull int[] colors, int offset, int stride, float x, float y, int width, int height, boolean hasAlpha, @Nullable Paint paint) argument 1496 drawBitmap(@onNull int[] colors, int offset, int stride, int x, int y, int width, int height, boolean hasAlpha, @Nullable Paint paint) argument 2098 native_drawBitmap(long nativeCanvas, int[] colors, int offset, int stride, float x, float y, int width, int height, boolean hasAlpha, long nativePaintOrZero) argument [all...] |
H A D | LargeBitmap.java | 66 /** Returns the original image's height */ 113 int start_x, int start_y, int width, int height, 112 nativeDecodeRegion(long nativeLbm, int start_x, int start_y, int width, int height, BitmapFactory.Options options) argument
|
H A D | Movie.java | 34 public native int height(); method in class:Movie
|
H A D | Picture.java | 77 public Canvas beginRecording(int width, int height) { argument 78 long ni = nativeBeginRecording(mNativePicture, width, height); 105 * Get the height of the picture as passed to beginRecording. This
|
H A D | Rect.java | 30 * These fields can be accessed directly. Use width() and height() to retrieve 31 * the rectangle's width and height. Note: most methods do not check to see that 209 * @return the rectangle's height. This does not check for a valid rectangle 212 public final int height() { method in class:Rect 301 * keeping its width and height the same.
|
H A D | RectF.java | 28 * These fields can be accessed directly. Use width() and height() to retrieve 29 * the rectangle's width and height. Note: most methods do not check to see that 157 * @return the rectangle's height. This does not check for a valid rectangle 160 public final float height() { method in class:RectF 246 * keeping its width and height the same.
|
H A D | SurfaceTexture.java | 224 * The width and height parameters must be no greater than the minimum of 230 public void setDefaultBufferSize(int width, int height) { argument 231 nativeSetDefaultBufferSize(width, height); 387 private native void nativeSetDefaultBufferSize(int width, int height); argument
|
H A D | YuvImage.java | 28 * region by left, top, width and height. 61 * The height of the the image. 72 * @param height The height of the YuvImage. 76 * @throws IllegalArgumentException if format is not support; width or height <= 0; or yuv is 79 public YuvImage(byte[] yuv, int format, int width, int height, int[] strides) { argument 87 if (width <= 0 || height <= 0) { 89 "width and height must large than 0"); 105 mHeight = height; 142 rectangle.height(), offset 237 nativeCompressToJpeg(byte[] oriYuv, int format, int width, int height, int[] offsets, int[] strides, int quality, OutputStream stream, byte[] tempStorage) argument [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | GradientDrawable.java | 404 * @param height The height of the shape used by this drawable 409 public void setSize(int width, int height) { argument 410 mGradientState.setSize(width, height); 740 Math.min(mRect.width(), mRect.height()) * 0.5f); 807 float y = bounds.height() / 2.0f; 1110 // Fall back to parent width or height if intrinsic 1113 final float height = st.mHeight >= 0 ? st.mHeight : r.height(); 1114 radius *= Math.min(width, height); 2048 setSize(int width, int height) argument [all...] |
H A D | LayerDrawable.java | 659 * @param h height in pixels, or -1 to use the intrinsic height 694 * @param h height in pixels, or -1 to use the intrinsic height 704 * @return the explicit height of the layer, or -1 if not specified 720 * behavior depends on whether an explicit width or height has been set 1591 * @param height height of the layer if set, -1 otherwise 1594 private static int resolveGravity(int gravity, int width, int height, argument 1605 if (height < [all...] |
H A D | ShapeDrawable.java | 181 * Sets the intrinsic (default) height for this shape. 183 * @param height the intrinsic height (in pixels) 185 public void setIntrinsicHeight(int height) { argument 186 mShapeState.mIntrinsicHeight = height; 470 final int h = r.height(); 602 * is resized (has a new width or height). Its resize() method returns a 615 * @param height the heigh of the Drawable being drawn 618 public abstract Shader resize(int width, int height); argument
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
H A D | PathShape.java | 44 * @param stdHeight the standard height for the shape. Any changes to the 45 * height with resize() will result in a height scaled based 46 * on the new height divided by this height. 63 protected void onResize(float width, float height) { argument 65 mScaleY = height / mStdHeight;
|
H A D | RectShape.java | 48 protected void onResize(float width, float height) { argument 49 mRect.set(0, 0, width, height);
|