/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | GetBitmapSurfaceViewActivity.java | 128 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument
|
H A D | HardwareCanvasSurfaceViewActivity.java | 96 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument 97 mThread.setSize(width, height); 114 void setSize(int width, int height) { argument 116 mHeight = height;
|
H A D | HardwareCanvasTextureViewActivity.java | 51 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument 57 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
|
H A D | MovingSurfaceViewActivity.java | 107 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument
|
H A D | SingleFrameTextureViewTestActivity.java | 78 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument 201 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
|
H A D | TextureViewActivity.java | 101 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument 107 previewSize.width, previewSize.height, Gravity.CENTER)); 147 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
|
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/ |
H A D | CustomSurfaceView.java | 219 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
H A D | SurfaceAndTextureViews.java | 138 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument 139 System.out.println("surfaceChanged: w h = " + width + ", " + height); 173 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument 178 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument 179 System.out.println("SurfaceTexture size changed to " + width + ", " + height);
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
H A D | GlTextureViewActivity.java | 48 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument 68 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
|
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/ |
H A D | TestWallpaper.java | 139 public void onSurfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument 140 super.onSurfaceChanged(holder, format, width, height); 196 final int height = frame.height(); 205 c.drawRect(0, 0, width, height, paint); 209 width-mMainInsets.right, height-mMainInsets.bottom, paint); 213 width - mStableInsets.right, height - mStableInsets.bottom, 221 int y = height - mStableInsets.bottom - mPadding - ascdesc; 222 c.drawText("Surface Size: " + width + " x " + height,
|
/frameworks/base/tools/aapt/ |
H A D | Images.cpp | 64 png_uint_32 height; member in struct:image_info 112 &outImageInfo->height, &bit_depth, &color_type, 144 outImageInfo->height * sizeof(png_bytep)); 145 outImageInfo->allocHeight = outImageInfo->height; 150 for (i = 0; i < (int)outImageInfo->height; i++) 163 (int)outImageInfo->width, (int)outImageInfo->height, 169 &outImageInfo->height, &bit_depth, &color_type, 287 png_bytepp rows, int offset, int height, bool transparent, bool required, 296 for (i=1; i<height-1; i++) { 301 *outBottom = height 286 get_vertical_ticks( png_bytepp rows, int offset, int height, bool transparent, bool required, int32_t* outTop, int32_t* outBottom, const char** outError, uint8_t* outDivs, bool multipleAllowed) argument 373 get_vertical_layout_bounds_ticks( png_bytepp rows, int offset, int height, bool transparent, bool , int32_t* outTop, int32_t* outBottom, const char** outError) argument 1141 png_uint_32 width, height; local [all...] |
/frameworks/base/tools/aapt2/compile/ |
H A D | Png.cpp | 55 uint32_t height = 0; member in struct:aapt::PngInfo 112 png_get_IHDR(readPtr, infoPtr, &outInfo->width, &outInfo->height, &bitDepth, &colorType, 143 outInfo->rows.resize(outInfo->height); 144 for (size_t i = 0; i < outInfo->height; i++) { 235 int h = imageInfo.height; 419 uint32_t width, height; local 427 png_bytepp outRows = (png_bytepp) malloc((int) info->height * sizeof(png_bytep)); 432 for (uint32_t i = 0; i < info->height; i++) { 445 << ", h = " << info->height); 486 png_set_IHDR(writePtr, infoPtr, info->width, info->height, 705 getVerticalTicks(png_bytepp rows, int offset, int height, bool transparent, bool required, int32_t* outTop, int32_t* outBottom, const char** outError, uint8_t* outDivs, bool multipleAllowed) argument 783 getVerticalLayoutBoundsTicks(png_bytepp rows, int offset, int height, bool transparent, bool , int32_t* outTop, int32_t* outBottom, const char** outError) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Bitmap_Delegate.java | 252 int height, int nativeConfig, boolean isMutable) { 256 BufferedImage image = new BufferedImage(width, height, imageType); 259 image.setRGB(0, 0, width, height, colors, offset, stride); 279 int height = srcImage.getHeight(); 284 BufferedImage image = new BufferedImage(width, height, imageType); 287 int[] argb = new int[width * height]; 288 srcImage.getRGB(0, 0, width, height, argb, 0, width); 289 image.setRGB(0, 0, width, height, argb, 0, width); 329 /*package*/ static void nativeReconfigure(long nativeBitmap, int width, int height, argument 414 int stride, int x, int y, int width, int height) { 251 nativeCreate(int[] colors, int offset, int stride, int width, int height, int nativeConfig, boolean isMutable) argument 413 nativeGetPixels(long nativeBitmap, int[] pixels, int offset, int stride, int x, int y, int width, int height) argument 435 nativeSetPixels(long nativeBitmap, int[] colors, int offset, int stride, int x, int y, int width, int height) argument [all...] |
H A D | Canvas_Delegate.java | 462 bounds.bottom = rect.y + rect.height; 854 final float y, int width, int height, 858 final BufferedImage image = new BufferedImage(width, height, 860 image.setRGB(0, 0, width, height, colors, offset, stride); 852 native_drawBitmap(long nativeCanvas, int[] colors, int offset, int stride, final float x, final float y, int width, int height, boolean hasAlpha, long nativePaintOrZero) argument
|
H A D | ColorFilter_Delegate.java | 61 public void applyFilter(Graphics2D g, int width, int height) { argument
|
H A D | PorterDuffColorFilter_Delegate.java | 68 public void applyFilter(Graphics2D g, int width, int height) { argument 71 g.fillRect(0, 0, width, height);
|
H A D | RoundRectangle.java | 35 public double height; field in class:RoundRectangle 58 * the height of each corner in the following order: upper-left, upper-right, lower-right, 60 * is that the width and height of a corner correspond to the total width and height of the 63 public RoundRectangle(float x, float y, float width, float height, float[] cornerDimensions) { argument 72 this.height = height; 91 scale = Math.min(scale, height / leftCornerHeight); 92 scale = Math.min(scale, height / rightCornerHeight); 121 return height; 191 isInsideCorner(double x, double y, double width, double height) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | ShadowPainter.java | 81 int height = source.getHeight(); 82 image = new BufferedImage(width + SHADOW_SIZE, height + SHADOW_SIZE, 190 int height = source.getHeight(); 192 image = new BufferedImage(width + SHADOW_SIZE, height + SHADOW_SIZE, type); 195 drawRectangleShadow(image, 0, 0, width, height); 217 int height = source.getHeight(); 220 image = new BufferedImage(width + SMALL_SHADOW_SIZE, height + SMALL_SHADOW_SIZE, type); 224 drawSmallRectangleShadow(image, 0, 0, width, height); 239 * @param height the height o 241 drawRectangleShadow(BufferedImage image, int x, int y, int width, int height) argument 262 drawSmallRectangleShadow(BufferedImage image, int x, int y, int width, int height) argument 295 drawRectangleShadow(Graphics2D gc, int x, int y, int width, int height) argument 336 drawSmallRectangleShadow(Graphics2D gc, int x, int y, int width, int height) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
H A D | MockView.java | 74 public void addView(View child, int width, int height) { argument 76 super.addView(child, width, height);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/ |
H A D | NopCanvas.java | 226 int height, boolean hasAlpha, Paint paint) { 231 int height, boolean hasAlpha, Paint paint) { 225 drawBitmap(int[] colors, int offset, int stride, float x, float y, int width, int height, boolean hasAlpha, Paint paint) argument 230 drawBitmap(int[] colors, int offset, int stride, int x, int y, int width, int height, boolean hasAlpha, Paint paint) argument
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | Layout.java | 188 private LayoutParams createLayoutParams(int width, int height) { argument 193 if (height > 0) { 194 height = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, height, metrics); 196 return new LayoutParams(width, height);
|
H A D | RenderSessionImpl.java | 280 // If the screen height is less than the exact measured height, 371 @Nullable Canvas canvas, int width, int height) { 376 height, MeasureSpec.EXACTLY); 379 viewRoot.layout(0, 0, width, height); 522 * if <var>measuredView</var> is non null, the method returns a {@link Pair} of (width, height) 526 * @param measuredView if non null, the view to query for its measured width/height. 529 * @param height the height to use in the MeasureSpec. 530 * @param heightMode the MeasureSpec mode to use for the height 370 render(@onNull BridgeContext context, @NonNull ViewGroup viewRoot, @Nullable Canvas canvas, int width, int height) argument 534 measureView(ViewGroup viewToMeasure, View measuredView, int width, int widthMode, int height, int heightMode) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/ |
H A D | ConfigGenerator.java | 258 public ConfigGenerator setScreenHeight(int height) { argument 259 mScreenHeight = height;
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/ |
H A D | OSUInfo.java | 181 public List<IconInfo> getIconInfo(Locale locale, Set<String> types, int width, int height) { argument 186 + ", types " + types + ", " + width + "*" + height); 203 delta = iconInfo.getHeight() - height;
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/ |
H A D | PdfManipulationService.java | 188 private Bitmap getBitmapForSize(int width, int height) { argument 190 if (mBitmap.getWidth() == width && mBitmap.getHeight() == height) { 196 mBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); 297 final int srcHeightPts = mediaBox.height();
|