HomeSort by relevance Sort by last modified time
    Searched refs:height (Results 1401 - 1425 of 9458) sorted by null

<<51525354555657585960>>

  /cts/tests/tests/widget/src/android/widget/cts/
FrameLayout_LayoutParamsTest.java 93 assertEquals("Height", fllp.height, copy.height);
109 assertEquals("Height", mlp.height, copy.height);
120 assertEquals("Height", vglp.height, copy.height);
  /developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
ImageResizer.java 33 * and height. Useful for when the input images might be too large to simply load directly into
42 * Initialize providing a single target image size (used for both width and height);
54 * Initialize providing a single target image size (used for both width and height);
65 * Set the target image width and height.
68 * @param height
70 public void setImageSize(int width, int height) {
72 mImageHeight = height;
76 * Set the target image size (width and height will be the same).
105 * Decode and sample down a bitmap from resources to the requested width and height.
110 * @param reqHeight The requested height of the resulting bitma
235 final int height = options.outHeight; local
    [all...]
  /developers/build/prebuilts/gradle/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/
LocalPlayer.java 353 int height = mMediaPlayer.getVideoHeight(); local
354 if (width > 0 && height > 0) {
356 mVideoHeight = height;
453 int width, int height) {
455 Log.d(TAG, "surfaceChanged: " + width + "x" + height);
480 int height = getVideoHeight(); local
481 if (width > 0 && height > 0) {
489 if (surfaceWidth * height < surfaceHeight * width) {
491 // while height is derived from video's aspect ratio
493 lp.height = surfaceWidth * height / width
608 int height = getVideoHeight(); local
    [all...]
  /developers/samples/android/media/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/
LocalPlayer.java 353 int height = mMediaPlayer.getVideoHeight(); local
354 if (width > 0 && height > 0) {
356 mVideoHeight = height;
453 int width, int height) {
455 Log.d(TAG, "surfaceChanged: " + width + "x" + height);
480 int height = getVideoHeight(); local
481 if (width > 0 && height > 0) {
489 if (surfaceWidth * height < surfaceHeight * width) {
491 // while height is derived from video's aspect ratio
493 lp.height = surfaceWidth * height / width
608 int height = getVideoHeight(); local
    [all...]
  /developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
ImageResizer.java 33 * and height. Useful for when the input images might be too large to simply load directly into
42 * Initialize providing a single target image size (used for both width and height);
54 * Initialize providing a single target image size (used for both width and height);
65 * Set the target image width and height.
68 * @param height
70 public void setImageSize(int width, int height) {
72 mImageHeight = height;
76 * Set the target image size (width and height will be the same).
105 * Decode and sample down a bitmap from resources to the requested width and height.
110 * @param reqHeight The requested height of the resulting bitma
235 final int height = options.outHeight; local
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
CompressedTextureActivity.java 114 int height = 128; local
115 Buffer image = createImage(width, height);
116 ETC1Util.ETC1Texture etc1Texture = ETC1Util.compressTexture(image, width, height, 3, 3 * width);
134 private Buffer createImage(int width, int height) {
136 ByteBuffer image = ByteBuffer.allocateDirect(height * stride)
140 for (int t = 0; t < height; t++) {
  /development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
ImageResizer.java 33 * and height. Useful for when the input images might be too large to simply load directly into
42 * Initialize providing a single target image size (used for both width and height);
54 * Initialize providing a single target image size (used for both width and height);
65 * Set the target image width and height.
68 * @param height
70 public void setImageSize(int width, int height) {
72 mImageHeight = height;
76 * Set the target image size (width and height will be the same).
105 * Decode and sample down a bitmap from resources to the requested width and height.
110 * @param reqHeight The requested height of the resulting bitma
235 final int height = options.outHeight; local
    [all...]
  /development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
LocalPlayer.java 353 int height = mMediaPlayer.getVideoHeight(); local
354 if (width > 0 && height > 0) {
356 mVideoHeight = height;
453 int width, int height) {
455 Log.d(TAG, "surfaceChanged: " + width + "x" + height);
480 int height = getVideoHeight(); local
481 if (width > 0 && height > 0) {
489 if (surfaceWidth * height < surfaceHeight * width) {
491 // while height is derived from video's aspect ratio
493 lp.height = surfaceWidth * height / width
608 int height = getVideoHeight(); local
    [all...]
  /external/ImageMagick/coders/
pix.c 113 height,
141 height=ReadBlobMSBShort(image);
145 if ((width == 0UL) || (height == 0UL) || ((bits_per_pixel != 8) &&
154 image->rows=height;
224 height=ReadBlobMSBLong(image);
228 status=(width != 0UL) && (height == 0UL) && ((bits_per_pixel == 8) ||
111 height, local
  /external/libgdx/backends/gdx-backend-lwjgl/src/com/badlogic/gdx/backends/lwjgl/
LwjglApplicationConfiguration.java 57 /** width & height of application window **/
58 public int width = 640, height = 480; field in class:LwjglApplicationConfiguration
110 this.height = mode.height;
133 protected LwjglApplicationConfigurationDisplayMode (int width, int height, int refreshRate, int bitsPerPixel) {
134 super(width, height, refreshRate, bitsPerPixel);
156 if (modes.get(i).width == mode.getWidth() && modes.get(i).height == mode.getHeight()
  /external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionShapes/
btCapsuleShape.cpp 22 btCapsuleShape::btCapsuleShape(btScalar radius, btScalar height) : btConvexInternalShape ()
26 m_implicitShapeDimensions.setValue(radius,0.5f*height,radius);
152 btCapsuleShapeX::btCapsuleShapeX(btScalar radius,btScalar height)
155 m_implicitShapeDimensions.setValue(0.5f*height, radius,radius);
163 btCapsuleShapeZ::btCapsuleShapeZ(btScalar radius,btScalar height)
166 m_implicitShapeDimensions.setValue(radius,radius,0.5f*height);
  /external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/texturepacker/
TexturePackerTest.java 60 rect.height = 16 + random.nextInt(120);
67 rect.height = 400 + random.nextInt(340);
89 rect.height - settings.paddingY);
97 rect.height - settings.paddingY);
100 renderer.rect(x, y, page.width + settings.paddingX * 2, page.height + settings.paddingY * 2);
106 public void resize (int width, int height) {
  /external/libgdx/gdx/src/com/badlogic/gdx/
Graphics.java 62 /** the height in physical pixles **/
63 public final int height; field in class:Graphics.DisplayMode
69 protected DisplayMode (int width, int height, int refreshRate, int bitsPerPixel) {
71 this.height = height;
77 return width + "x" + height + ", bpp: " + bitsPerPixel + ", hz: " + refreshRate;
141 /** @return the height of the client area in logical pixels */
147 /** @return the height of the framebuffer in physical pixels */
226 * @param height the height in pixel
    [all...]
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/utils/
MeshPartBuilder.java 322 public void box (float width, float height, float depth);
326 public void box (float x, float y, float z, float width, float height, float depth);
369 public void ellipse (float width, float height, int divisions, float centerX, float centerY, float centerZ, float normalX,
374 public void ellipse (float width, float height, int divisions, final Vector3 center, final Vector3 normal);
378 public void ellipse (float width, float height, int divisions, final Vector3 center, final Vector3 normal,
383 public void ellipse (float width, float height, int divisions, float centerX, float centerY, float centerZ, float normalX,
389 public void ellipse (float width, float height, int divisions, float centerX, float centerY, float centerZ, float normalX,
394 public void ellipse (float width, float height, int divisions, final Vector3 center, final Vector3 normal, float angleFrom,
399 public void ellipse (float width, float height, int divisions, final Vector3 center, final Vector3 normal,
404 public void ellipse (float width, float height, int divisions, float centerX, float centerY, float centerZ, float normalX,
    [all...]
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/utils/shapebuilders/
CylinderShapeBuilder.java 27 public static void build (MeshPartBuilder builder, float width, float height, float depth, int divisions) {
28 build(builder, width, height, depth, divisions, 0, 360);
32 public static void build (MeshPartBuilder builder, float width, float height, float depth, int divisions, float angleFrom, float angleTo) {
33 build(builder, width, height, depth, divisions, angleFrom, angleTo, true);
37 public static void build (MeshPartBuilder builder, float width, float height, float depth, int divisions, float angleFrom,
41 final float hh = height * 0.5f;
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/
BulletConstructor.java 47 public BulletConstructor (final Model model, final float mass, final float width, final float height, final float depth) {
48 create(model, mass, width, height, depth);
52 public BulletConstructor (final Model model, final float width, final float height, final float depth) {
53 this(model, -1f, width, height, depth);
68 private void create (final Model model, final float mass, final float width, final float height, final float depth) {
70 create(model, mass, new btBoxShape(tmpV.set(width * 0.5f, height * 0.5f, depth * 0.5f)));
  /external/libvncserver/examples/
vncev.c 18 #define height 100 macro
19 static char f[width*height];
71 static int lineHeight=16,lineY=height-16;
74 rfbDoCopyRect(s,0,0,width,height-lineHeight,0,-lineHeight);
115 rfbScreenInfoPtr s=rfbGetScreen(&argc,argv,width,height,8,1,1);
127 memset(f,0,width*height);
  /external/lzma/CPP/Windows/
Window.cpp 51 int x, int y, int width, int height,
58 style, x, y, width, height, parentWindow,
63 style, x, y, width, height, parentWindow,
69 int x, int y, int width, int height,
76 style, x, y, width, height, parentWindow,
99 style, x, y, width, height, parentWindow,
  /external/mesa3d/src/gallium/state_trackers/vdpau/
bitmap.c 41 uint32_t width, uint32_t height,
51 if (!(width && height))
75 res_tmpl.height0 = height;
137 uint32_t *width, uint32_t *height,
147 if (!(rgba_format && width && height && frequently_accessed))
153 *height = res->height0;
  /external/mesa3d/src/mesa/drivers/dri/i965/
brw_tex_layout.c 88 GLuint height = mt->height0; local
98 pack_y_pitch = (height + 3) / 4;
114 width, height, depth);
131 height = minify(height);
136 pack_y_pitch = (height + 3) / 4;
  /external/mesa3d/src/mesa/drivers/dri/intel/
intel_tex_copy.c 53 GLint x, GLint y, GLsizei width, GLsizei height)
114 y = ctx->ReadBuffer->Height - (y + height);
134 width, height,
153 GLsizei width, GLsizei height)
158 intel_renderbuffer(rb), x, y, width, height)) {
162 rb, x, y, width, height);
  /external/mesa3d/src/mesa/drivers/dri/radeon/
radeon_tex_copy.c 46 GLsizei width, GLsizei height)
82 assert(timg->base.Base.Height >= dsty + height);
91 fprintf(stderr, "from (%dx%d) width %d, height %d, offset %d, pitch %d\n",
92 x, y, rrb->base.Base.Width, rrb->base.Base.Height, (uint32_t) src_offset, rrb->pitch/rrb->cpp);
129 rrb->base.Base.Width, rrb->base.Base.Height, x, y,
132 timg->base.Base.Width, timg->base.Base.Height,
133 dstx, dsty, width, height, flip_y);
142 GLsizei width, GLsizei height)
151 radeon_renderbuffer(rb), x, y, width, height)) {
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/sampleentry/
VisualSampleEntry.java 36 * unsigned int(16) height;
65 private int height; field in class:VisualSampleEntry
83 return height;
114 public void setHeight(int height) {
115 this.height = height;
145 height = IsoTypeReader.readUInt16(content);
  /external/opencv3/apps/traincascade/
traincascade_features.h 15 (p2) = (rect).x + (step) * ((rect).y + (rect).height); \
17 (p3) = (rect).x + (rect).width + (step) * ((rect).y + (rect).height);
23 (p1) = (rect).x - (rect).height + (step) * ((rect).y + (rect).height);\
27 (p3) = (rect).x + (rect).width - (rect).height \
28 + (step) * ((rect).y + (rect).width + (rect).height);
  /external/opencv3/doc/pattern_tools/
gen_pattern.py 15 -h, --page_height - page height in units (default 279)
33 self.height = page_height
49 dot = SVG("circle", cx= ((j*2 + i%2)*spacing) + spacing, cy=self.height - (i * spacing + spacing), r=r, fill="black")
57 dot = SVG("rect", x=x * spacing, y=y * spacing, width=spacing, height=spacing, stroke_width="0", fill="black")
61 c = canvas(self.g,width="%d%s"%(self.width,self.units),height="%d%s"%(self.height,self.units),viewBox="0 0 %d %d"%(self.width,self.height))

Completed in 1979 milliseconds

<<51525354555657585960>>