Searched defs:height (Results 226 - 250 of 674) sorted by last modified time

1234567891011>>

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DGetBitmapSurfaceViewActivity.java128 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument
H A DHardwareCanvasSurfaceViewActivity.java96 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 DHardwareCanvasTextureViewActivity.java51 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
57 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
H A DMovingSurfaceViewActivity.java107 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument
H A DSingleFrameTextureViewTestActivity.java78 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
201 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
H A DTextureViewActivity.java101 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 DCustomSurfaceView.java219 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
H A DSurfaceAndTextureViews.java138 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 DGlTextureViewActivity.java48 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 DTestWallpaper.java139 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 DImages.cpp64 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 DPng.cpp55 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 DBitmap_Delegate.java252 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 DCanvas_Delegate.java462 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 DColorFilter_Delegate.java61 public void applyFilter(Graphics2D g, int width, int height) { argument
H A DPorterDuffColorFilter_Delegate.java68 public void applyFilter(Graphics2D g, int width, int height) { argument
71 g.fillRect(0, 0, width, height);
H A DRoundRectangle.java35 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 DShadowPainter.java81 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 DMockView.java74 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 DNopCanvas.java226 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 DLayout.java188 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 DRenderSessionImpl.java280 // 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 DConfigGenerator.java258 public ConfigGenerator setScreenHeight(int height) { argument
259 mScreenHeight = height;
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
H A DOSUInfo.java181 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 DPdfManipulationService.java188 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();

Completed in 877 milliseconds

1234567891011>>