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

<<31323334353637383940>>

  /frameworks/base/libs/hwui/
PathCache.cpp 130 float& left, float& top, float& offset, uint32_t& width, uint32_t& height) {
132 PathCache::computeBounds(bounds, paint, left, top, offset, width, height);
136 float& left, float& top, float& offset, uint32_t& width, uint32_t& height) {
138 const float pathHeight = std::max(bounds.height(), 1.0f);
146 height = uint32_t(pathHeight + offset * 2.0 + 0.5);
149 static void initBitmap(SkBitmap& bitmap, uint32_t width, uint32_t height) {
150 bitmap.allocPixels(SkImageInfo::MakeA8(width, height));
167 float left, float top, float offset, uint32_t width, uint32_t height) {
168 initBitmap(bitmap, width, height);
225 const uint32_t size = texture->width() * texture->height();
275 uint32_t width, height; local
334 uint32_t width, height; local
    [all...]
  /external/webrtc/webrtc/common_video/
i420_video_frame_unittest.cc 26 int height);
46 EXPECT_EQ(valid_value, frame.height());
58 int height = frame.height(); local
63 EXPECT_EQ(ExpectedSize(stride_y, height, kYPlane),
65 EXPECT_EQ(ExpectedSize(stride_u, height, kUPlane),
67 EXPECT_EQ(ExpectedSize(stride_v, height, kVPlane),
79 int height = 15; local
82 EXPECT_EQ(0, small_frame.CreateEmptyFrame(width, height,
100 width + 5, height + 5, stride_y + 5
125 int height = 15; local
191 int height = 15; local
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/ui/
StretchesViewer.java 92 return (image1.width == image2.width && image1.height == image2.height);
106 base.height,
129 int yLen = rect.y + rect.height;
184 private synchronized void calcPaddings(int width, int height) {
188 mPadding.y = (canvasSize.y - height) / 2;
191 mPadding.height = height;
210 int height = Math.round(mSize.y * ratio); local
212 calcPaddings(width, height);
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/draw9patch/graphics/
GraphicsUtilitiesTest.java 46 assertEquals(baseData.height + 2, result.height);
55 assertEquals(0x0, result.getPixel(x, result.height - 1) & MASK_ALPHA);
59 for (int y = 0; y < result.height; y++) {
84 for (int y = 0; y < baseData.height; y++) {
107 assertEquals(baseData.height, copiedData.height);
119 for (int y = 0; y < baseData.height; y++) {
154 // out length must be > height
175 // height must be >=
216 int height = baseData.height; local
    [all...]
  /development/samples/devbytes/graphics/ImagePixelization/src/com/example/android/imagepixelization/
ImagePixelization.java 158 int height = bitmap.getHeight(); local
160 if (mPixelatedBitmap == null || !(width == mPixelatedBitmap.getWidth() && height ==
162 mPixelatedBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
167 int yPixels = (int) (pixelizationFactor * ((float)height));
171 int[] bitmapPixels = new int[width * height];
172 bitmap.getPixels(bitmapPixels, 0, width, 0, 0, width, height);
178 for (int y = 0; y < height; y+=yPixels) {
184 maxY = Math.min(y + yPixels, height);
201 int h = Math.min(yPixels, height - y);
219 int height = bitmap.getHeight() local
    [all...]
  /external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/ui/
DynamicTableModelTest.java 61 assertEquals(400f, cellRect.height());
106 assertEquals(1000f, cellRect.height());
115 assertEquals(1000f, cellRect.height());
124 assertEquals(1000f, cellRect.height());
133 assertEquals(1000f, cellRect.height());
164 assertEquals(1000f, cellRect.height());
173 assertEquals(1000f, cellRect.height());
182 assertEquals(1000f, cellRect.height());
191 assertEquals(1000f, cellRect.height());
212 assertEquals(1000f, cellRect.height());
    [all...]
  /external/autotest/client/deps/glbench/src/
testbase.cc 97 void SaveImage(const char* name, const int width, const int height) {
98 const int size = width * height * 4;
100 glReadPixels(0, 0, width, height, GL_RGBA, GL_UNSIGNED_BYTE, pixels.get());
106 pixels.get(), width, height);
109 void ComputeMD5(unsigned char digest[16], const int width, const int height) {
112 const int size = width * height * 4;
114 glReadPixels(0, 0, width, height, GL_RGBA, GL_UNSIGNED_BYTE, pixels.get());
120 const int width, const int height, bool inverse) {
145 ComputeMD5(d, width, height);
154 SaveImage(name_png, width, height);
    [all...]
  /external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/
HorizontalGroup.java 28 * The preferred width is the sum of the children's preferred widths, plus spacing if set. The preferred height is the largest
29 * preferred height of any child. The min size is the preferred size and the max size is 0 as <code>HorizontalGroup</code> can be
87 float width, height; local
92 height = groupHeight * fill;
94 height = Math.min(layout.getPrefHeight(), groupHeight);
95 height = Math.max(height, layout.getMinHeight());
97 if (maxHeight > 0 && height > maxHeight) height = maxHeight;
101 height = child.getHeight()
    [all...]
Window.java 34 /** A table that can be dragged and act as a modal window. The top padding is used as the window's title height.
96 float width = getWidth(), height = getHeight();
98 if (isResizable && x >= 0 && x < width && y >= 0 && y < height) {
102 if (y > height - border) edge |= Align.top;
107 if (y > height - border) edge |= Align.top;
109 if (isMovable && edge == 0 && y <= height && y >= height - getPadTop() && x >= 0 && x <= width) edge = MOVE;
114 lastY = y - height;
125 float width = getWidth(), height = getHeight();
147 if (height - amountY < minHeight) amountY = -(minHeight - height)
268 float height = getHeight(); local
    [all...]
  /external/libvncserver/libvncserver/
font.c 6 int i,j,width,height; local
17 height=font->metaData[c*5+2];
19 y+=-font->metaData[c*5+4]-height+1;
21 for(j=0;j<height;j++) {
27 if(d&0x80 && y+j >= 0 && y+j < rfbScreen->height &&
53 int i,j,width,height; local
67 height=font->metaData[c*5+2];
69 y+=-font->metaData[c*5+4]-height+1;
72 * x1 start of i, y1 start of j, width and height will be adjusted. */
73 if(y1>y) { y1-=y; data+=(width+7)/8; height-=y1; y+=y1; } else y1=0
    [all...]
  /external/opencv3/modules/imgproc/src/
cornersubpix.cpp 48 int win_w = win.width * 2 + 1, win_h = win.height * 2 + 1;
62 CV_Assert( win.width > 0 && win.height > 0 );
63 CV_Assert( src.cols >= win.width*2 + 5 && src.rows >= win.height*2 + 5 );
71 float y = (float)(i - win.height)/win.height;
81 if( zeroZone.width >= 0 && zeroZone.height >= 0 &&
82 zeroZone.width * 2 + 1 < win_w && zeroZone.height * 2 + 1 < win_h )
84 for( i = win.height - zeroZone.height; i <= win.height + zeroZone.height; i++
    [all...]
  /external/webrtc/webrtc/test/testsupport/metrics/
video_metrics.cc 87 int height,
93 assert(height > 0);
111 const size_t frame_length = 3 * width * height >> 1;
119 ref_frame.CreateEmptyFrame(width, height, width, half_width, half_width);
120 test_frame.CreateEmptyFrame(width, height, width, half_width, half_width);
126 ConvertToI420(kI420, ref_buffer.get(), 0, 0, width, height, 0,
128 ConvertToI420(kI420, test_buffer.get(), 0, 0, width, height, 0,
168 int height,
173 return CalculateMetrics(kBoth, ref_filename, test_filename, width, height,
180 int height,
    [all...]
  /frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
ResourceModifiers.java 109 final float height = mBitmap.getHeight() / 8.0f; local
113 0.0f, height, width, height, width * 2, height, width * 4, height,
114 0.0f, height * 2, width, height * 2, width * 2, height * 2, width * 3, height * 2,
115 0.0f, height * 4, width, height * 4, width * 2, height * 4, width * 4, height * 4
    [all...]
  /hardware/intel/common/libmix/videoencoder/
VideoEncoderUtils.cpp 105 int left, int top, int width, int height, void** vaddr) {
117 left, top, width, height, vaddr);
196 vinfo.height = h->iHeight;
222 LOG_V("Actual Width=%d, Height=%d, Stride=%d\n\n", vinfo.width, vinfo.height, vinfo.lumaStride);
234 if (gfx_lock((buffer_handle_t)handle, usage, 0, 0, vinfo.width, vinfo.height, &vaddr[0]) != 0)
237 fwrite(vaddr[0], 1, vinfo.lumaStride * vinfo.height * 4, fp);
239 LOG_I("dump %d bytes data to %s\n", vinfo.lumaStride * vinfo.height * 4, filename);
299 int height = mVASurfaceHeight = mVinfo.height; local
542 uint32_t width = 0, height = 0, stride = 0; local
    [all...]
  /packages/apps/Camera2/src/com/android/camera/
MediaSaverImpl.java 70 int height, int orientation, ExifInterface exif, OnMediaSavedListener l) {
71 addImage(data, title, date, loc, width, height, orientation, exif, l,
77 int height, int orientation, ExifInterface exif, OnMediaSavedListener l,
85 width, height, orientation, mimeType, exif, mContentResolver, l);
97 // When dimensions are unknown, pass 0 as width and height,
98 // and decode image for width and height later in a background thread
103 public void addImage(final byte[] data, String title, Location loc, int width, int height,
105 addImage(data, title, System.currentTimeMillis(), loc, width, height, orientation, exif, l,
142 private int width, height; field in class:MediaSaverImpl.ImageSaveTask
150 int width, int height, int orientation, String mimeType
    [all...]
  /external/mesa3d/src/mesa/main/
accum.c 128 GLuint x, y, width, height; local
144 height = ctx->DrawBuffer->_Ymax - ctx->DrawBuffer->_Ymin;
146 ctx->Driver.MapRenderbuffer(ctx, accRb, x, y, width, height,
161 for (j = 0; j < height; j++) {
190 GLint xpos, GLint ypos, GLint width, GLint height,
200 ctx->Driver.MapRenderbuffer(ctx, accRb, xpos, ypos, width, height,
213 for (j = 0; j < height; j++) {
223 for (j = 0; j < height; j++) {
248 GLint xpos, GLint ypos, GLint width, GLint height,
270 ctx->Driver.MapRenderbuffer(ctx, accRb, xpos, ypos, width, height,
455 GLint xpos, ypos, width, height; local
    [all...]
  /external/opencv3/apps/traincascade/
haarfeatures.cpp 91 int cols = (_winSize.width + 1) * (_winSize.height + 1);
102 Mat innSum(winSize.height + 1, winSize.width + 1, sum.type(), sum.ptr<int>((int)idx));
103 Mat innTilted(winSize.height + 1, winSize.width + 1, tilted.type(), tilted.ptr<int>((int)idx));
126 for( int y = 0; y < winSize.height; y++ )
130 for( int dy = 1; dy <= winSize.height; dy++ )
133 if ( (x+dx*2 <= winSize.width) && (y+dy <= winSize.height) )
140 if ( (x+dx <= winSize.width) && (y+dy*2 <= winSize.height) )
147 if ( (x+dx*3 <= winSize.width) && (y+dy <= winSize.height) )
154 if ( (x+dx <= winSize.width) && (y+dy*3 <= winSize.height) )
163 if ( (x+dx*4 <= winSize.width) && (y+dy <= winSize.height) )
    [all...]
  /external/opencv/cxcore/include/
cvwimage.h 68 // Thus (c,r) is usually in the domain [0, width) X [0, height)
87 // for (int r = 0; r < im->Height(); ++r) {
193 int Height() const {return image_->height; }
235 WImageView<T> View(int c, int r, int width, int height);
271 WImageViewC<T, C> View(int c, int r, int width, int height);
310 WImageBuffer(int width, int height, int nchannels) : WImage<T>(0) {
311 Allocate(width, height, nchannels);
320 void Allocate(int width, int height, int nchannels);
330 Allocate(src.Width(), src.Height());
    [all...]
  /external/opencv3/modules/core/include/opencv2/core/
wimage.hpp 136 usually in the domain [0, width) X [0, height)
156 for (int r = 0; r < im->Height(); ++r) {
189 int Height() const {return image_->height; }
231 WImageView<T> View(int c, int r, int width, int height);
267 WImageViewC<T, C> View(int c, int r, int width, int height);
303 WImageBuffer(int width, int height, int nchannels) : WImage<T>(0) {
304 Allocate(width, height, nchannels);
313 void Allocate(int width, int height, int nchannels);
323 Allocate(src.Width(), src.Height(), src.Channels())
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/
IProjectionService.aidl 25 void startRendering(in Surface surface, int width, int height, int density, int viewType);
  /cts/tests/openglperf2/jni/reference/scene/
Scene.h 26 Scene(int width, int height);
39 virtual Matrix* setUpProjectionMatrix(float width, float height) = 0;
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
AllocationCopyToTest.java 223 int height = random.nextInt(128); local
225 int yoff = random.nextInt(height);
227 int ycount = height - yoff;
235 typeBuilder.setX(width).setY(height);
254 int height = random.nextInt(128); local
256 int yoff = random.nextInt(height);
258 int ycount = height - yoff;
269 typeBuilder.setX(width).setY(height);
299 int height = random.nextInt(128); local
301 int yoff = random.nextInt(height);
333 int height = random.nextInt(128); local
367 int height = random.nextInt(128); local
401 int height = random.nextInt(64); local
438 int height = random.nextInt(64); local
483 int height = random.nextInt(64); local
523 int height = random.nextInt(64); local
563 int height = random.nextInt(64); local
603 int height = random.nextInt(64); local
    [all...]
  /cts/tests/tests/uirendering/src/android/uirendering/cts/util/
BitmapDumper.java 79 int height = idealBitmap.getHeight(); local
80 int[] testedArray = new int[width * height];
81 int[] idealArray = new int[width * height];
82 idealBitmap.getPixels(testedArray, 0, width, 0, 0, width, height);
83 testedBitmap.getPixels(idealArray, 0, width, 0, 0, width, height);
85 visualizerBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
86 visualizerBitmap.setPixels(visualizerArray, 0, width, 0, 0, width, height);
87 Bitmap croppedBitmap = Bitmap.createBitmap(testedBitmap, 0, 0, width, height);
  /development/ndk/platforms/android-14/include/android/
native_window.h 43 int32_t height; member in struct:ANativeWindow_Buffer
77 * Return the current height in pixels of the window surface. Returns a
91 * The width and height control the number of pixels in the buffers, not the
99 * width and height must be either both zero or both non-zero.
103 int32_t width, int32_t height, int32_t format);
  /development/ndk/platforms/android-9/include/android/
native_window.h 43 int32_t height; member in struct:ANativeWindow_Buffer
77 * Return the current height in pixels of the window surface. Returns a
91 * The width and height control the number of pixels in the buffers, not the
99 int32_t ANativeWindow_setBuffersGeometry(ANativeWindow* window, int32_t width, int32_t height, int32_t format);

Completed in 2589 milliseconds

<<31323334353637383940>>