HomeSort by relevance Sort by last modified time
    Searched refs:height (Results 651 - 675 of 11432) sorted by null

<<21222324252627282930>>

  /external/mesa3d/src/mesa/drivers/dri/nouveau/
nouveau_surface.c 37 unsigned width, unsigned height)
48 .height = height,
70 get_format_blocksy(format, height) * s->pitch,
84 dst->height = src->height;
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowDisplay.java 18 private int height = 800; field in class:ShadowDisplay
30 return height;
39 outMetrics.heightPixels = height;
117 public void setHeight(int height) {
118 this.height = height;
  /frameworks/base/core/java/com/android/internal/util/
ImageUtils.java 56 int height = bitmap.getHeight(); local
60 if (height > COMPACT_BITMAP_SIZE || width > COMPACT_BITMAP_SIZE) {
72 (float) COMPACT_BITMAP_SIZE / height,
77 width = height = COMPACT_BITMAP_SIZE;
80 final int size = height*width;
82 bitmap.getPixels(mTempBuffer, 0, width, 0, 0, width, height);
  /frameworks/base/core/java/com/android/internal/widget/
BackgroundFallback.java 49 final int height = root.getHeight(); local
51 int top = height;
89 mBackgroundFallback.setBounds(0, top, left, height);
93 mBackgroundFallback.setBounds(right, top, width, height);
96 if (bottom < height) {
97 mBackgroundFallback.setBounds(left, bottom, right, height);
  /frameworks/base/libs/hwui/
PixelBuffer.h 66 static PixelBuffer* create(GLenum format, uint32_t width, uint32_t height,
119 virtual void upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) = 0;
129 void upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height) {
130 upload(x, y, width, height, getOffset(x, y));
141 * Returns the height of the render buffer in pixels.
202 PixelBuffer(GLenum format, uint32_t width, uint32_t height):
203 mFormat(format), mWidth(width), mHeight(height), mAccessMode(kAccessMode_None) {
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/jpegstream/
JPEGOutputStream.java 37 public JPEGOutputStream(OutputStream out, int width, int height, int quality,
40 setConfig(width, height, quality, format);
43 public boolean setConfig(int width, int height, int quality, int format) {
59 if (width > 0 && height > 0) {
61 mHeight = height;
135 native private int setup(OutputStream out, int width, int height, int format, int quality);
  /packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
StringTexture.java 38 FontMetricsInt metrics, int width, int height) {
39 super(width, height);
76 int height = metrics.bottom - metrics.top; local
79 if (height <= 0) height = 1;
80 return new StringTexture(text, paint, metrics, width, height);
  /packages/screensavers/Basic/src/com/android/dreams/basic/
Colors.java 77 final int width, final int height) {
78 LOG("onSurfaceTextureAvailable(%s, %d, %d)", surface, width, height);
86 mRenderer = new ColorsGLRenderer(surface, width, height);
94 final int width, final int height) {
95 LOG("onSurfaceTextureSizeChanged(%s, %d, %d)", surface, width, height);
101 mRenderer.setSize(width, height);
  /packages/wallpapers/MusicVisualization/src/com/android/musicvis/
RenderScriptWallpaper.java 35 protected abstract T createScene(int width, int height);
78 public void onSurfaceChanged(SurfaceHolder holder, int format, int width, int height) {
79 super.onSurfaceChanged(holder, format, width, height);
81 mRs.setSurface(holder, width, height);
84 mRenderer = createScene(width, height);
88 mRenderer.resize(width, height);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/
ErrorImageComposite.java 51 mSize = new Point(baseImage.getBounds().width, baseImage.getBounds().height);
55 protected void drawCompositeImage(int width, int height) {
60 if (overlayData.width == baseData.width && overlayData.height == baseData.height) {
62 drawImage(overlayData, -3, mSize.y - overlayData.height + 3);
64 drawImage(overlayData, 0, mSize.y - overlayData.height);
  /sdk/emulator/opengl/tests/ut_renderer/
RendererSurface.cpp 63 int width = 0, height = 0; local
72 height = atoi(env);
76 if (height <= 160)
77 height = DEFAULT_HEIGHT;
79 printf("%s: Using width=%d height=%d\n", __FUNCTION__, width, height);
86 NativeWindowType window = nw->createNativeWindow(nw->getNativeDisplay(), width, height);
  /external/chromium_org/third_party/mesa/src/src/mesa/swrast/
s_drawpix.c 54 GLsizei width, GLsizei height,
60 height, GL_RGB, GL_UNSIGNED_BYTE, 0, 0);
67 ctx->Driver.MapRenderbuffer(ctx, rb, x, y, width, height,
76 dst = dst + (height - 1) * dstRowStride;
80 for (i = 0; i < height; i++) {
101 GLsizei width, GLsizei height,
107 height, GL_RGBA, GL_UNSIGNED_BYTE, 0, 0);
114 ctx->Driver.MapRenderbuffer(ctx, rb, x, y, width, height,
123 dst = dst + (height - 1) * dstRowStride;
127 for (i = 0; i < height; i++)
    [all...]
  /external/mesa3d/src/mesa/swrast/
s_drawpix.c 54 GLsizei width, GLsizei height,
60 height, GL_RGB, GL_UNSIGNED_BYTE, 0, 0);
67 ctx->Driver.MapRenderbuffer(ctx, rb, x, y, width, height,
76 dst = dst + (height - 1) * dstRowStride;
80 for (i = 0; i < height; i++) {
101 GLsizei width, GLsizei height,
107 height, GL_RGBA, GL_UNSIGNED_BYTE, 0, 0);
114 ctx->Driver.MapRenderbuffer(ctx, rb, x, y, width, height,
123 dst = dst + (height - 1) * dstRowStride;
127 for (i = 0; i < height; i++)
    [all...]
  /cts/suite/cts/deviceTests/opengl/jni/reference/scene/glowing/
GlowingScene.h 23 GlowingScene(int width, int height);
34 Matrix* setUpProjectionMatrix(float width, float height);
  /cts/tests/tests/graphics/src/android/graphics/cts/
YuvImageTest.java 58 private static final int HEIGHT = 128;
94 int height = 100; local
95 byte[] yuv = new byte[width * height * 2];
101 image = new YuvImage(yuv, mFormats[i], width, height, null);
119 image = new YuvImage(yuv, mFormats[i], width, height, null);
133 image = new YuvImage(yuv, format, -1, height, null);
139 // abnormal case: height is non-positive
142 fail("not catching illegal height");
149 image = new YuvImage(null, format, width, height, null);
158 generateTestBitmaps(WIDTH, HEIGHT);
201 int height = mTestBitmaps[0].getHeight(); local
234 int height = bitmap.getHeight(); local
354 int height = expected.getHeight(); local
    [all...]
  /cts/tests/tests/hardware/src/android/hardware/cts/
Camera_SizeTest.java 90 float jpegAspect = largestJpegDimen.width / (float) largestJpegDimen.height;
92 largestPreviewDimen.width / (float) largestPreviewDimen.height;
97 largestPreviewDimen.height + ") should have the same aspect ratio " +
99 ", h=" + largestJpegDimen.height + ")");
108 private void checkSize(Parameters parameters, int width, int height) {
109 parameters.setPictureSize(width, height);
111 assertEquals(height, parameters.getPictureSize().height);
  /cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/
BitmapComparer.java 31 * @param height the height of the subsection being tested
35 int height);
43 Allocation given, int offset, int stride, int width, int height,
  /developers/build/prebuilts/gradle/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/
OverlayDisplayWindow.java 62 int width, int height, int gravity) {
66 mHeight = height;
71 int width, int height, int gravity) {
73 return new JellybeanMr1Impl(context, name, width, height, gravity);
75 return new LegacyImpl(context, name, width, height, gravity);
91 public abstract void updateAspectRatio(int width, int height);
110 int width, int height, int gravity) {
111 super(context, name, width, height, gravity);
136 int height = (int)(display.getHeight() * INITIAL_SCALE); local
138 height = mHeight * width / mWidth
324 int height = (int)(mHeight * scale); local
    [all...]
  /developers/samples/android/media/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/
OverlayDisplayWindow.java 62 int width, int height, int gravity) {
66 mHeight = height;
71 int width, int height, int gravity) {
73 return new JellybeanMr1Impl(context, name, width, height, gravity);
75 return new LegacyImpl(context, name, width, height, gravity);
91 public abstract void updateAspectRatio(int width, int height);
110 int width, int height, int gravity) {
111 super(context, name, width, height, gravity);
136 int height = (int)(display.getHeight() * INITIAL_SCALE); local
138 height = mHeight * width / mWidth
324 int height = (int)(mHeight * scale); local
    [all...]
  /development/perftests/panorama/feature_mos/src/mosaic/
AlignFeatures.h 61 int initialize(int width, int height, bool quarter_res, float thresh_still);
85 int width,height; member in class:Align
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
CameraPreview.java 199 parameters.setPreviewSize(mPreviewSize.width, mPreviewSize.height);
211 final int height = resolveSize(getSuggestedMinimumHeight(), heightMeasureSpec); local
212 setMeasuredDimension(width, height);
215 mPreviewSize = getOptimalPreviewSize(mSupportedPreviewSizes, width, height);
225 final int height = b - t; local
228 int previewHeight = height;
231 previewHeight = mPreviewSize.height;
235 if (width * previewHeight > height * previewWidth) {
236 final int scaledChildWidth = previewWidth * height / previewHeight;
238 (width + scaledChildWidth) / 2, height);
    [all...]
  /development/samples/HoneycombGallery/src/com/example/android/hcgallery/
CameraFragment.java 218 final int height = resolveSize(getSuggestedMinimumHeight(), local
220 setMeasuredDimension(width, height);
224 height);
229 parameters.setPreviewSize(mPreviewSize.width, mPreviewSize.height);
241 final int height = b - t; local
244 int previewHeight = height;
247 previewHeight = mPreviewSize.height;
251 if (width * previewHeight > height * previewWidth) {
252 final int scaledChildWidth = previewWidth * height
255 (width + scaledChildWidth) / 2, height);
    [all...]
  /development/samples/Support7Demos/src/com/example/android/supportv7/media/
OverlayDisplayWindow.java 63 int width, int height, int gravity) {
67 mHeight = height;
72 int width, int height, int gravity) {
74 return new JellybeanMr1Impl(context, name, width, height, gravity);
76 return new LegacyImpl(context, name, width, height, gravity);
92 public abstract void updateAspectRatio(int width, int height);
113 int width, int height, int gravity) {
114 super(context, name, width, height, gravity);
139 int height = (int)(display.getHeight() * INITIAL_SCALE); local
141 height = mHeight * width / mWidth
337 int height = (int)(mHeight * scale); local
    [all...]
  /development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
OverlayDisplayWindow.java 62 int width, int height, int gravity) {
66 mHeight = height;
71 int width, int height, int gravity) {
73 return new JellybeanMr1Impl(context, name, width, height, gravity);
75 return new LegacyImpl(context, name, width, height, gravity);
91 public abstract void updateAspectRatio(int width, int height);
110 int width, int height, int gravity) {
111 super(context, name, width, height, gravity);
136 int height = (int)(display.getHeight() * INITIAL_SCALE); local
138 height = mHeight * width / mWidth
324 int height = (int)(mHeight * scale); local
    [all...]
  /device/asus/flo/camera/hdr/include/
morpho_hdr_checker.h 63 * @param[in] height ??????????
70 int height,
80 * @param[in] height ??????????
90 const int height,

Completed in 1003 milliseconds

<<21222324252627282930>>