| /external/libgdx/gdx/src/com/badlogic/gdx/graphics/glutils/ |
| ShapeRenderer.java | 45 * shapeRenderer.rect(x, y, width, height);
51 * shapeRenderer.rect(x, y, width, height);
66 * shapeRenderer.rect(-width / 2, -height / 2, width, height);
388 public void rect (float x, float y, float width, float height) {
400 renderer.vertex(x + width, y + height, 0);
403 renderer.vertex(x + width, y + height, 0);
405 renderer.vertex(x, y + height, 0);
408 renderer.vertex(x, y + height, 0);
417 renderer.vertex(x + width, y + height, 0); [all...] |
| /external/libjpeg-turbo/ |
| turbojpeg-jni.c | 101 (JNIEnv *env, jclass cls, jint width, jint height, jint jpegSubsamp) 103 jint retval=(jint)tjBufSize(width, height, jpegSubsamp); 112 (JNIEnv *env, jclass cls, jint width, jint pad, jint height, jint subsamp) 114 jint retval=(jint)tjBufSizeYUV2(width, pad, height, subsamp); 123 (JNIEnv *env, jclass cls, jint width, jint height, jint subsamp) 126 4, height, subsamp); 132 jint height, jint subsamp) 134 jint retval=(jint)tjPlaneSizeYUV(componentID, width, stride, height, 155 (JNIEnv *env, jclass cls, jint componentID, jint height, jint subsamp) 157 jint retval=(jint)tjPlaneHeight(componentID, height, subsamp) 594 int width=0, height=0, jpegSubsamp=-1, jpegColorspace=-1; local 726 int nc=0, i, width, height, scaledWidth, scaledHeight, nsf=0; local [all...] |
| /external/opencv3/modules/videoio/src/ |
| cap_ffmpeg_impl.hpp | 213 int height; member in struct:Image_FFMPEG 233 bool retrieveFrame(int, unsigned char** data, int* step, int* width, int* height, int* cn); 612 // backup encoder' width/height 614 int enc_height = enc->height; 626 // checking width/height (since decoder can sometimes alter it, eg. vp6f) 628 if (enc_height && (enc->height != enc_height)) { enc->height = enc_height; } 636 enc->width, enc->height )); 638 PIX_FMT_BGR24, enc->width, enc->height ); 641 frame.height = enc->height [all...] |
| cap_unicap.cpp | 156 format.sizes[i].height == desired_size.height) 159 format.size.height = format.sizes[i].height; 169 format.size.height), 174 format.size.height * format.bpp / 8; 186 buffer.format.size.height), 190 buffer.format.size.height * buffer.format.bpp / 8; 253 return desired_size.height; 284 desired_size.height = (int)value [all...] |
| /external/pdfium/core/include/fxcrt/ |
| fx_coordinates.h | 194 void Set(baseType left, baseType top, baseType width, baseType height) { 196 FXT_RECT::height = height; member in class:CFX_RTemplate::FXT_RECT 201 void Set(const FXT_POINT& p, baseType width, baseType height) { 202 TopLeft(p), FXT_RECT::width = width, FXT_RECT::height = height; member in class:CFX_RTemplate::FXT_RECT 205 TopLeft(p1), FXT_RECT::width = p2.x - p1.x, FXT_RECT::height = p2.y - p1.y, member in class:CFX_RTemplate::FXT_RECT 209 TopLeft(p), FXT_RECT::width = v.x, FXT_RECT::height = v.y, member in class:CFX_RTemplate::FXT_RECT 213 FXT_RECT::left = FXT_RECT::top = FXT_RECT::width = FXT_RECT::height = 0; 224 baseType bottom() const { return top + height; } 250 FXT_RECT::height += top + bottom; member in class:CFX_RTemplate::FXT_RECT 414 baseType width, height; member in class:CFX_RTemplate [all...] |
| /external/mesa3d/src/gallium/state_trackers/vega/ |
| vg_context.c | 234 VGint width, VGint height) 249 templ.height0 = height; 267 VGint width, VGint height) 273 texture = create_texture(pipe, format, width, height); 288 uint width, uint height) 296 old_sampler_view->texture->height0 == height) 305 PIPE_FORMAT_B8G8R8A8_UNORM, width, height); 317 mask_fill(0, 0, width, height, 1.f); 343 uint width, uint height) 351 old->texture->height0 == height) [all...] |
| /external/skia/src/utils/ |
| SkTextureCompressor_Blitter.h | 65 SkTCompressedAlphaBlitter(int width, int height, void *compressedBuffer) 78 , fHeight(height) 82 SkASSERT((height % BlockDim) == 0); 144 void blitV(int x, int y, int height, SkAlpha alpha) override { 166 void blitRect(int x, int y, int width, int height) override { 176 for (int i = 0; i < height; ++i) { 185 const int endBlockY = ((y + height) / BlockDim) * BlockDim; 196 SkASSERT((yoff + height) <= BlockDim); 198 for (int j = 0; j < height; ++j) { 209 this->updateBlockRow(x, y, width, height, startBlockY, startBlockX, endBlockX) [all...] |
| /hardware/qcom/display/msm8226/libexternal/ |
| external.cpp | 72 void ExternalDisplay::getAttributes(int& width, int& height) { 74 getAttrForMode(width, height, fps); 158 property_set("persist.sys.actionsafe.height", actionsafeHeight); 580 int width = 0, height = 0, fps = 0; local 581 getAttrForMode(width, height, fps); 582 ALOGD("ExtDisplay setting xres = %d, yres = %d", width, height); 586 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].yres = height; 596 if(((priW * priH) > (width * height)) && 614 getAspectRatioPosition(tmpW, tmpH, width, height, r); 635 void ExternalDisplay::getAttrForMode(int& width, int& height, int& fps) [all...] |
| /external/libvpx/libvpx/vp8/common/x86/ |
| copy_sse3.asm | 23 %define height dword ptr arg(4) 46 %define height dword ptr [rsp+xmm_stack_space+8+4*8] 56 %define height r8 71 %define height 92 ; int height); 125 sub height, 4 126 cmp height, 4 130 cmp height, 0 142 sub height, 1
|
| /external/opencv3/modules/cudacodec/src/cuda/ |
| nv12_to_rgb.cu | 63 void videoDecPostProcessFrame(const GpuMat& decodedFrame, OutputArray _outFrame, int width, int height); 117 uint width, uint height) 123 if (x >= width || y >= height) 134 const size_t chromaOffset = nSourcePitch * height; 143 if (y_chroma < ((height >> 1) - 1)) // interpolate chroma vertically 189 void videoDecPostProcessFrame(const GpuMat& decodedFrame, OutputArray _outFrame, int width, int height) 193 _outFrame.create(height, width, CV_8UC4); 197 dim3 grid(divUp(width, 2 * block.x), divUp(height, block.y)); 201 width, height);
|
| /external/opencv3/modules/imgproc/src/ |
| templmatch.cpp | 114 return size.height < dft_size && size.width < dft_size; 133 image_size.height - templ_size.height + 1); 141 block_size.height = cvRound(templ_size.height*blockScale); 142 block_size.height = std::max( block_size.height, minBlockSize - templ_size.height + 1 ); 143 block_size.height = std::min( block_size.height, result_size.height ) [all...] |
| /external/skia/src/core/ |
| SkMipMap.cpp | 239 int height = src.height(); local 242 height >>= 1; 243 if (0 == width || 0 == height) { 246 size += SkColorTypeMinRowBytes(ct, width) * height; 254 SkASSERT(countLevels == SkMipMap::ComputeLevelCount(src.width(), src.height())); 280 int height = src.height(); local 286 if (height & 1) { // src-height is [all...] |
| /external/skia/src/gpu/ |
| GrGpu.cpp | 58 bool GrGpu::makeCopyForTextureParams(int width, int height, const GrTextureParams& textureParams, 62 (!SkIsPow2(width) || !SkIsPow2(height))) { 64 copyParams->fHeight = GrNextPow2(height); 241 SkASSERT(SkIRect::MakeWH(renderTarget->width(), renderTarget->height()).contains(rect)); 263 bool GrGpu::getReadPixelsInfo(GrSurface* srcSurface, int width, int height, size_t rowBytes, 275 if (!this->onGetReadPixelsInfo(srcSurface, width, height, rowBytes, readConfig, drawPreference, 292 bool GrGpu::getWritePixelsInfo(GrSurface* dstSurface, int width, int height, 308 (width < dstSurface->width() || height < dstSurface->height())) { 313 if (!this->onGetWritePixelsInfo(dstSurface, width, height, srcConfig, drawPreference [all...] |
| /hardware/ti/omap4-aah/camera/V4LCameraAdapter/ |
| V4LCapabilities.cpp | 213 h = caps.tPreviewRes[i].height; 217 tmpH = caps.tPreviewRes[j].height; 221 caps.tPreviewRes[j].height = h; 227 caps.tPreviewRes[i].height = h; 269 int height; local 273 CAMHAL_LOGDB("\nmin_width x height = %d x %d ",frmSizeEnum.stepwise.min_width, frmSizeEnum.stepwise.min_height); 274 CAMHAL_LOGDB("\nmax_width x height = %d x %d ",frmSizeEnum.stepwise.max_width, frmSizeEnum.stepwise.max_height); 275 CAMHAL_LOGDB("\nstep width x height = %d x %d ",frmSizeEnum.stepwise.step_width,frmSizeEnum.stepwise.step_height); 278 height = frmSizeEnum.stepwise.max_height; 281 CAMHAL_LOGDB("frmSizeEnum.index[%d].width x height == (%d x %d)", i, frmSizeEnum.discrete.width, frmSizeEnum.discrete.height) [all...] |
| /cts/tests/tests/mediastress/preconditions/src/android/mediastress/cts/preconditions/ |
| MediaPreparer.java | 107 * For dimension of width = 480 and height = 360, the resolution string is "480x360" 110 return String.format("%dx%d", resolution.width, resolution.height); 115 * And returns the greatest resolution that is strictly smaller than the width and height 118 private Dimension getMaxVideoPlaybackResolution(int width, int height) { 121 if (width >= resolution.width && height >= resolution.height) { 161 int height = Math.min(first, second); local 163 return getMaxVideoPlaybackResolution(width, height); 176 if (copiedResolution.width > mvpr.width || copiedResolution.height > mvpr.height) { [all...] |
| /external/ImageMagick/coders/ |
| label.c | 114 height, 142 image->rows=(size_t) floor(metrics.height+draw_info->stroke_width+0.5); 164 height=(size_t) floor(metrics.height+draw_info->stroke_width+0.5); 167 if ((width >= image->columns) && (height >= image->rows)) 172 ((image->rows != 0) && (height >= image->rows))) 185 height=(size_t) floor(metrics.height+draw_info->stroke_width+0.5); 188 if ((width < image->columns) && (height < image->rows)) 195 ((image->rows != 0) && (height < image->rows)) 112 height, local [all...] |
| /external/chromium-trace/catapult/telemetry/telemetry/internal/actions/ |
| gesture_common.js | 16 height: client_rect.height }; 34 rect.height += rect.top; 52 var outsideHeight = (rect.top + rect.height) - visualViewportHeight; 56 rect.height -= outsideHeight;
|
| /external/deqp/framework/platform/X11/ |
| tcuX11.cpp | 124 Window::Window (Display& display, int width, int height, ::Visual* visual) 167 if (height == glu::RenderConfig::DONT_CARE) 168 height = DEFAULT_WINDOW_HEIGHT; 170 m_window = XCreateWindow(dpy, root, 0, 0, width, height, 0, 209 void Window::getDimensions (int* width, int* height) const 218 if (height != DE_NULL) 219 *height = static_cast<int>(height_); 222 void Window::setDimensions (int width, int height) 227 changes.height = height; [all...] |
| /external/libgdx/gdx/jni/ |
| com.badlogic.gdx.graphics.g2d.Gdx2DPixmap.cpp | 18 jobject pixel_buffer = env->NewDirectByteBuffer((void*)pixmap->pixels, pixmap->width * pixmap->height * gdx2d_bytes_per_pixel(pixmap->format));
22 p_native_data[2] = pixmap->height;
30 JNIEXPORT jobject JNICALL Java_com_badlogic_gdx_graphics_g2d_Gdx2DPixmap_newPixmap(JNIEnv* env, jclass clazz, jlongArray nativeData, jint width, jint height, jint format) { 34 gdx2d_pixmap* pixmap = gdx2d_new(width, height, format);
38 jobject pixel_buffer = env->NewDirectByteBuffer((void*)pixmap->pixels, pixmap->width * pixmap->height * gdx2d_bytes_per_pixel(pixmap->format));
42 p_native_data[2] = pixmap->height;
100 JNIEXPORT void JNICALL Java_com_badlogic_gdx_graphics_g2d_Gdx2DPixmap_drawRect(JNIEnv* env, jclass clazz, jlong pixmap, jint x, jint y, jint width, jint height, jint color) { 105 gdx2d_draw_rect((gdx2d_pixmap*)pixmap, x, y, width, height, color);
120 JNIEXPORT void JNICALL Java_com_badlogic_gdx_graphics_g2d_Gdx2DPixmap_fillRect(JNIEnv* env, jclass clazz, jlong pixmap, jint x, jint y, jint width, jint height, jint color) { 125 gdx2d_fill_rect((gdx2d_pixmap*)pixmap, x, y, width, height, color); [all...] |
| /external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/ |
| ScrollPane.java | 40 * The widget is sized to its preferred size. If the widget's preferred width or height is less than the size of this scroll pane,
170 scrollV = Math.min(vScrollBounds.y + vScrollBounds.height - vKnobBounds.height, scrollV);
171 float total = vScrollBounds.height - vKnobBounds.height;
308 && (!touchScrollV || (scrollY && maxY / (vScrollBounds.height - vKnobBounds.height) > areaHeight * 0.1f))) //
382 float height = getHeight();
local 393 areaHeight = height - bgTopHeight - bgBottomHeight;
440 if (scrollX) widgetAreaBounds.height += scrollbarHeight; 644 float height = ((Layout)widget).getPrefHeight(); local 857 float height = 0; local [all...] |
| /external/mesa3d/src/mesa/main/ |
| pbo.c | 56 * \param height height of image to read/write 68 GLsizei width, GLsizei height, GLsizei depth, 106 start = _mesa_image_offset(dimensions, pack, width, height, 110 end = _mesa_image_offset(dimensions, pack, width, height, 111 format, type, depth-1, height-1, width); 178 GLsizei width, GLsizei height, GLsizei depth, 185 if (!_mesa_validate_pbo_access(dimensions, unpack, width, height, depth, 275 GLsizei width, GLsizei height, GLsizei depth, 281 if (!_mesa_validate_pbo_access(dimensions, unpack, width, height, depth [all...] |
| /external/opencv3/modules/videostab/src/cuda/ |
| global_motion.cu | 69 const int left, const int idx, const int right, const int width, const int height, 75 if (x < width && y < height) 98 int left, int idx, int right, int width, int height, 105 dim3 grid(divUp(width, threads.x), divUp(height, threads.y)); 108 left, idx, right, width, height, mapx, mapy);
|
| /external/v8/tools/profviz/ |
| profviz.css | 58 height: 600px; 70 height: 20px; 84 height: 20px; 92 height: 16px; 102 height: 20px;
|
| /frameworks/base/libs/hwui/ |
| PathCache.h | 195 PathTexture* getRoundRect(float width, float height, float rx, float ry, const SkPaint* paint); 197 PathTexture* getOval(float width, float height, const SkPaint* paint); 198 PathTexture* getRect(float width, float height, const SkPaint* paint); 199 PathTexture* getArc(float width, float height, float startAngle, float sweepAngle, 232 float& left, float& top, float& offset, uint32_t& width, uint32_t& height); 234 float& left, float& top, float& offset, uint32_t& width, uint32_t& height); 256 void purgeCache(uint32_t width, uint32_t height); 260 bool checkTextureSize(uint32_t width, uint32_t height) { 261 if (width > mMaxTextureSize || height > mMaxTextureSize) { 263 width, height, mMaxTextureSize, mMaxTextureSize) [all...] |
| /frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
| GLFrame.java | 128 int height = getFormat().getHeight(); local 129 if (!nativeAllocateWithTexture(mGLEnvironment, texId, width, height)) { 138 int height = getFormat().getHeight(); local 139 if (!nativeAllocateWithFbo(mGLEnvironment, fboId, width, height)) { 276 public void setViewport(int x, int y, int width, int height) { 278 setNativeViewport(x, y, width, height); 364 private native boolean nativeAllocate(GLEnvironment env, int width, int height); 369 int height); 374 int height); 396 private native boolean setNativeViewport(int x, int y, int width, int height); [all...] |