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

<<21222324252627282930>>

  /external/pdfium/xfa/src/fxgraphics/src/
fx_path_generator.cpp 97 FX_FLOAT height) {
100 k = fix16_to_8(fixsqrt_32_to_16(fixmul_8_8_to_32(width, width) + fixmul_8_8_to_32(height, height)) / 2);
103 m_pPathData->SetPoint(old_count, x, y - height / 2, FXPT_MOVETO);
104 m_pPathData->SetPoint(old_count + 1, x + k, y - height / 2, FXPT_BEZIERTO);
105 m_pPathData->SetPoint(old_count + 2, x + k, y + height / 2, FXPT_BEZIERTO);
106 m_pPathData->SetPoint(old_count + 3, x, y + height / 2, FXPT_BEZIERTO);
107 m_pPathData->SetPoint(old_count + 4, x - k, y + height / 2, FXPT_BEZIERTO);
108 m_pPathData->SetPoint(old_count + 5, x - k, y - height / 2, FXPT_BEZIERTO);
109 m_pPathData->SetPoint(old_count + 6, x, y - height / 2, FXPT_BEZIERTO);
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
BinPacker.java 65 * @param minHeight the smallest height of any rectangle placed into this bin
87 Rect occupy(int width, int height) {
88 int index = findBest(width, height);
93 return split(index, width, height);
100 private int findBest(int width, int height) {
112 if (rect.w >= width && rect.h >= height) {
141 if (rect.w >= width && rect.h >= height) {
142 if (width < height) {
146 (rect.h - height) < bestLongDistance) {
148 bestLongDistance = rect.h - height;
293 int height = 100; local
    [all...]
  /external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/collision/broadphase/
DynamicTree.java 69 m_nodes[i].height = -1;
349 return m_root.height;
357 if (node.height <= 1) {
365 int balance = MathUtils.abs(child2.height - child1.height);
384 if (node.height < 0) {
404 if (m_nodes[i].height < 0) {
446 parent.height = 1 + MathUtils.max(child1.height, child2.height);
841 int height; local
860 int height = computeHeight(); local
    [all...]
  /external/skia/src/effects/
SkMagnifierImageFilter.cpp 174 zoom.bounds().width(), zoom.bounds().height());
196 uint32_t height = d->fRandom->nextULessThan(kMaxHeight); local
198 uint32_t y = d->fRandom->nextULessThan(kMaxHeight - height);
205 (float) height / texture->height(),
207 texture->height() / (float) y,
209 (float) inset / texture->height());
261 texture->height() - fSrcRect.height() * texture->height() / bounds.height(
326 int width = src.width(), height = src.height(); local
    [all...]
  /external/opencv3/3rdparty/libwebp/enc/
picture.c 46 const int height = picture->height; local
51 const int uv_height = HALVE(height);
75 uv0_size = height * uv0_stride;
80 y_size = (uint64_t)y_stride * height;
82 a_size = (uint64_t)a_stride * height;
87 if (width <= 0 || height <= 0 || // luma/alpha param error
123 const uint64_t argb_size = (uint64_t)width * height;
124 if (width <= 0 || height <= 0) {
158 // Grab the 'specs' (writer, *opaque, width, height...) from 'src' and copy the
601 const int height = picture->height; local
682 const int height = picture->height; local
782 const int height = picture->height; local
    [all...]
  /external/mesa3d/src/gallium/auxiliary/util/
u_format_s3tc.c 82 int width, int height,
246 unsigned width, unsigned height,
252 for(y = 0; y < height; y += bh) {
270 unsigned width, unsigned height)
274 width, height,
281 unsigned width, unsigned height)
285 width, height,
292 unsigned width, unsigned height)
296 width, height,
303 unsigned width, unsigned height)
    [all...]
  /development/perftests/panorama/feature_mos/src/mosaic/
Mosaic.cpp 57 int Mosaic::initialize(int blendingType, int stripType, int width, int height, int nframes, bool quarter_res, float thresh_still)
70 this->height = height;
83 frames[i] = new MosaicFrame(this->width,this->height,false); // Do no allocate memory for YUV data
98 aligner->initialize(width, height,quarter_res,thresh_still);
105 blender->initialize(blendingType, stripType, width, height);
120 imageYVU = ImageUtils::allocateImage(this->width, this->height, ImageUtils::IMAGE_TYPE_NUM_CHANNELS);
121 ImageUtils::rgb2yvu(imageYVU, imageRGB, width, height);
137 frames[frames_size] = new MosaicFrame(this->width,this->height,false);
224 ImageType Mosaic::getMosaic(int &width, int &height)
    [all...]
  /external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/
Container.java 122 float height; local
124 height = containerHeight * fillY;
126 height = Math.min(prefHeight, containerHeight);
127 if (height < minHeight) height = minHeight;
128 if (maxHeight > 0 && height > maxHeight) height = maxHeight;
138 y += containerHeight - height;
140 y += (containerHeight - height) / 2;
146 height = Math.round(height)
250 public Container<T> height (Value height) { method in class:Container
259 public Container<T> height (float height) { method in class:Container
260 height(new Fixed(height)); method
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/radeon/
radeon_pixel_read.c 91 GLint x, GLint y, GLsizei width, GLsizei height,
104 if (width * height < 100) {
127 if (!_mesa_clip_copytexsubimage(ctx, &dst_x, &dst_y, &x, &y, &width, &height)) {
138 height, 1, 0);
154 y = rrb->base.Base.Height - height - y;
164 rrb->base.Base.Height,
172 height,
176 height,
183 aligned_rowstride, height, dst_rowstride)
    [all...]
  /external/opencv/
cvjni.cpp 48 jint height) {
62 m_capture = cvCreateSocketCapture(address_chars, port_chars, width, height);
149 mat_image->height, ipl_depth, channels, strm);
168 jint width, jint height) {
176 IplImage *image = loadPixels(pixels, width, height);
194 jint height)
203 m_sourceImage = getIplImageFromIntArray(env, photo_data, width, height);
218 jint height) {
268 mat_image->height, ipl_depth, channels, strm);
313 m_smallestFaceSize.height = MIN_SIZE_HEIGHT;
    [all...]
  /external/opencv3/modules/rsobjdetect/src/
innerloop.cpp 44 sc->invoke_addHF(f.x[0],f.y[0],f.width[0],f.height[0],
45 f.x[1],f.y[1],f.width[1],f.height[1],
46 f.x[2],f.y[2],f.width[2],f.height[2],
50 sc->set_nrect(UInt4(hf.nrect.x, hf.nrect.y, hf.nrect.width, hf.nrect.height));
53 void innerloops(const int height, const int width, const int* inArr, const int* inArrSq, const int yStep, bool* outData) {
57 tb2.setX(width*height);
64 tb.setX(width*height);
67 inAllocation->copy1DRangeFrom(0,width*height,inArr);
73 inAllocationSq->copy1DRangeFrom(0,width*height,inArrSq);
77 sc->set_height(height);
    [all...]
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowBitmap.java 20 private int height; field in class:ShadowBitmap
39 public static Bitmap createBitmap(int width, int height, Bitmap.Config config) {
42 shadowBitmap.appendDescription("Bitmap (" + width + " x " + height + ")");
44 shadowBitmap.setHeight(height);
144 public void setHeight(int height) {
145 this.height = height;
150 return height;
160 if (height != that.height) return false
    [all...]
  /external/skia/gm/
bitmapcopy.cpp 30 static void draw_checks(SkCanvas* canvas, int width, int height) {
34 SkIntToScalar(width / 2), SkIntToScalar(height / 2), paint);
37 SkIntToScalar(width), SkIntToScalar(height / 2), paint);
39 canvas->drawRectCoords(SkIntToScalar(0), SkIntToScalar(height / 2),
40 SkIntToScalar(width / 2), SkIntToScalar(height), paint);
42 canvas->drawRectCoords(SkIntToScalar(width / 2), SkIntToScalar(height / 2),
43 SkIntToScalar(width), SkIntToScalar(height), paint);
83 SkScalar height = SkIntToScalar(40); local
84 if (paint.getFontSpacing() > height) {
85 height = paint.getFontSpacing()
    [all...]
  /frameworks/av/cmds/screenrecord/
FrameOutput.cpp 43 status_t FrameOutput::createInputSurface(int width, int height,
47 err = mEglWindow.createPbuffer(width, height);
53 glViewport(0, 0, width, height);
76 mGlConsumer->setDefaultBufferSize(width, height);
82 mPixelBuf = new uint8_t[width * height * kGlBytesPerPixel];
124 int height = mEglWindow.getHeight(); local
126 width, height, true);
139 glReadPixels(0, 0, width, height, GL_RGBA, GL_UNSIGNED_BYTE, mPixelBuf);
147 reduceRgbaToRgb(mPixelBuf, width * height);
155 size_t rgbDataLen = width * height * kOutBytesPerPixel
    [all...]
  /frameworks/base/core/tests/coretests/src/android/text/
PackedIntVectorTest.java 31 for (int height = width * 2; height < width * 4; height++) {
36 for (int i = 0; i < height; i++) {
49 if (i == height / 2) {
58 if (i == height / 2) {
68 for (int i = 0; i < height; i++) {
82 for (int i = 0; i < height; i++) {
98 for (int i = 0; i < height; i++) {
120 for (int i = 0; i < height; i++)
    [all...]
  /external/deqp/framework/delibs/deimage/
deImage.c 40 DE_ASSERT(deInBounds32(y, 0, image->height));
44 deImage* deImage_create (int width, int height, deImageFormat format)
52 image->height = height;
54 image->pixels = deMalloc(width * height * bpp);
60 memset(image->pixels, 0, width * height * bpp);
99 int height = image->height; local
100 deImage* converted = deImage_create(width, height, format);
105 memcpy(converted->pixels, image->pixels, width * height * deImageFormat_getBytesPerPixel(format))
164 int height = image->height; local
    [all...]
  /external/libgdx/gdx/jni/
com.badlogic.gdx.graphics.glutils.ETC1.cpp 7 JNIEXPORT jint JNICALL Java_com_badlogic_gdx_graphics_glutils_ETC1_getCompressedDataSize(JNIEnv* env, jclass clazz, jint width, jint height) {
12 return etc1_get_encoded_data_size(width, height);
17 JNIEXPORT void JNICALL Java_com_badlogic_gdx_graphics_glutils_ETC1_formatHeader(JNIEnv* env, jclass clazz, jobject obj_header, jint offset, jint width, jint height) {
23 etc1_pkm_format_header((etc1_byte*)header + offset, width, height);
82 JNIEXPORT void JNICALL Java_com_badlogic_gdx_graphics_glutils_ETC1_decodeImage(JNIEnv* env, jclass clazz, jobject obj_compressedData, jint offset, jobject obj_decodedData, jint offsetDec, jint width, jint height, jint pixelSize) {
89 etc1_decode_image((etc1_byte*)compressedData + offset, (etc1_byte*)decodedData + offsetDec, width, height, pixelSize, width * pixelSize);
95 (JNIEnv* env, jclass clazz, jobject obj_imageData, jint offset, jint width, jint height, jint pixelSize, char* imageData) {
99 int compressedSize = etc1_get_encoded_data_size(width, height);
101 etc1_encode_image((etc1_byte*)imageData + offset, width, height, pixelSize, width * pixelSize, compressedData);
106 JNIEXPORT jobject JNICALL Java_com_badlogic_gdx_graphics_glutils_ETC1_encodeImage(JNIEnv* env, jclass clazz, jobject obj_imageData, jint offset, jint width, jint height, jint pixelSize)
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/intel/
intel_pixel_bitmap.c 65 GLsizei width, GLsizei height,
71 if (!_mesa_validate_pbo_access(2, unpack, width, height, 1,
102 static GLuint get_bitmap_rect(GLsizei width, GLsizei height,
120 __FUNCTION__, x,y,w,h,width,height,unpack->SkipPixels, src_offset, mask);
137 width, height,
160 y_flip(struct gl_framebuffer *fb, int y, int height)
165 return fb->Height - y - height;
174 GLsizei width, GLsizei height,
185 GLsizei bitmap_height = height;
    [all...]
  /external/mesa3d/src/mesa/main/
drawpix.c 49 _mesa_DrawPixels( GLsizei width, GLsizei height,
58 width, height,
67 if (width < 0 || height < 0) {
68 _mesa_error( ctx, GL_INVALID_VALUE, "glDrawPixels(width or height < 0)" );
144 if (width > 0 && height > 0) {
151 if (!_mesa_validate_pbo_access(2, &ctx->Unpack, width, height,
165 ctx->Driver.DrawPixels(ctx, x, y, width, height, format, type,
193 _mesa_CopyPixels( GLint srcx, GLint srcy, GLsizei width, GLsizei height,
202 srcx, srcy, width, height,
209 if (width < 0 || height < 0)
    [all...]
  /external/opencv/cv/src/
cvcornersubpix.cpp 63 int win_w = win.width * 2 + 1, win_h = win.height * 2 + 1;
86 if( win.width <= 0 || win.height <= 0 )
91 if( size.width < win_w + 4 || size.height < win_h + 4 )
140 if( win.width == win.height )
146 coeff = 1. / (win.height * win.height);
147 for( i = -win.height, k = 0; i <= win.height; i++, k++ )
163 if( zeroZone.width >= 0 && zeroZone.height >= 0 &&
164 zeroZone.width * 2 + 1 < win_w && zeroZone.height * 2 + 1 < win_h
    [all...]
  /external/webrtc/talk/media/devices/
gdivideorenderer.cc 48 VideoWindow(int x, int y, int width, int height);
54 bool SetSize(int width, int height);
99 void OnSize(int width, int height, bool frame_changed);
114 int x, int y, int width, int height)
123 bmi_.bmiHeader.biHeight = -height;
124 bmi_.bmiHeader.biSizeImage = width * height * 4;
137 bool GdiVideoRenderer::VideoWindow::SetSize(int width, int height) {
143 height != -bmi_.bmiHeader.biHeight) {
144 SendMessage(handle(), kSetSizeMsg, 0, MAKELPARAM(width, height));
216 void GdiVideoRenderer::VideoWindow::OnSize(int width, int height,
    [all...]
  /frameworks/base/libs/hwui/
Texture.cpp 86 bool Texture::updateSize(uint32_t width, uint32_t height, GLint format) {
87 if (mWidth == width && mHeight == height && mFormat == format) {
91 mHeight = height;
104 void Texture::upload(GLint internalformat, uint32_t width, uint32_t height,
107 bool needsAlloc = updateSize(width, height, internalformat);
125 GLsizei width, GLsizei height, const GLvoid * data) {
135 glTexImage2D(GL_TEXTURE_2D, 0, format, width, height, 0, format, type, data);
137 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, width, height, format, type, data);
147 GLvoid * temp = (GLvoid *) malloc(width * height * bpp);
152 for (GLsizei i = 0; i < height; i++)
    [all...]
  /external/libvncserver/libvncserver/
scale.c 85 return ((int)(((double) y / (double)from->height) * (double)to->height ));
95 double scaleH = ((double) to->height) / ((double) from->height);
100 * from, to, from->width, from->height, to->width, to->height, *x, *y, *w, *h);
123 * from->width, from->height, to->width, to->height);
137 if (*y+*h > to->height) *h=to->height - *y
    [all...]
  /development/tools/yuv420sp2rgb/
yuv420sp2rgb.c 35 int height; member in struct:rgb_context
52 int width, int height,
67 ctx.height = height;
71 for (i = 0; i < height; i++) {
81 for (i = 0; i < height; i++) {
145 offset = ctx->height * (ctx->j + 1) - ctx->i;
148 offset = (ctx->height - 1 - ctx->i) * ctx->width + ctx->j;
151 offset = (ctx->width - 1 - ctx->j) * ctx->height + ctx->i;
193 int height,
273 int height, width, gray, rotate; local
    [all...]
  /external/mesa3d/src/gallium/state_trackers/vega/
mask.c 47 VGint height; member in struct:vg_mask_layer
99 VGint width, VGint height)
109 VGint y = (stfb->height - sy) - 1, yStep = -1;
122 height += sy;
124 y = (stfb->height - sy) - 1;
135 for (i = 0; i < height; i++) {
137 debug_printf("%d-%d == %d\n", sy, height, y);
157 data = malloc(sizeof(int) * stfb->width * stfb->height);
160 0, 0, stfb->width, stfb->height);
165 stfb->height);
452 VGint width, height; local
    [all...]

Completed in 2286 milliseconds

<<21222324252627282930>>