| /hardware/libhardware/tests/camera2/ |
| CameraStreamFixture.h | 141 int64_t getMinFrameDurationFor(int32_t format, int32_t width, int32_t height) { 150 height == availableMinDurations.data.i64[i + 2]) { 170 int32_t height = availableStrmConfigs.data.i32[i + 2]; local 180 resolutions->add(height); 303 dataCr = img.data + img.width * img.height; 310 dataCr = img.data + img.stride * img.height; 311 dataCb = dataCr + chromaStride * img.height/2; 323 for (size_t y = 0; y < img.height; ++y) { 337 for (size_t y = 0; y < img.height / 2; ++y) {
|
| /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
| CropObject.java | 91 public boolean setInnerAspectRatio(float width, float height) { 92 if (width <= 0 || height <= 0) { 93 throw new IllegalArgumentException("Width and Height must be greater than zero"); 96 CropMath.fixAspectRatioContained(inner, width, height); 97 if (inner.width() < mMinSideSize || inner.height() < mMinSideSize) { 101 mAspectHeight = height; 299 newCrop = new RectF(r.left, r.top, r.left + r.width() + dx, r.top + r.height() 302 newCrop = new RectF(r.right - r.width() + dx, r.top, r.right, r.top + r.height() 305 newCrop = new RectF(r.right - r.width() + dx, r.bottom - r.height() + dy, 308 newCrop = new RectF(r.left, r.bottom - r.height() + dy, r.lef [all...] |
| /packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
| Blend.cpp | 47 this->height = frame_height; 64 m_pFrameYPyr = PyramidShort::allocatePyramidPacked(m_wb.nlevs, (unsigned short) width, (unsigned short) height, BORDER); 65 m_pFrameUPyr = PyramidShort::allocatePyramidPacked(m_wb.nlevsC, (unsigned short) (width), (unsigned short) (height), BORDER); 66 m_pFrameVPyr = PyramidShort::allocatePyramidPacked(m_wb.nlevsC, (unsigned short) (width), (unsigned short) (height), BORDER); 142 double halfheight = height / 2.0; 164 FrameToMosaicRect(mb->width, mb->height, mb->trs, mb->brect); 170 FrameToMosaic(mb->trs, 0.0, mb->height-1.0, x1, y1); 171 FrameToMosaic(mb->trs, mb->width-1.0, mb->height-1.0, x2, y2); 246 "(%d, %d) vs (%d, %d)", width, height, Mwidth, Mheight); 259 memset(imgMos->Y.ptr[0], 255, (imgMos->Y.width * imgMos->Y.height)); [all...] |
| /device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/ |
| mm_camera_stream.c | [all...] |
| /hardware/qcom/camera/QCamera2/HAL/test/ |
| qcamera_test.cpp | 260 for (unsigned int i = 0; i < (unsigned int)src->height(); i++) { 927 mHeightTmp = currentPictureSize.height; 933 // Find the the capture with higher width and height and read 945 " and height size!!!\n"); 1081 srcYScanLines = calcYScanLines(currentVideoSize.height); 1082 srcUVScanLines = calcUVScanLines(currentVideoSize.height); 1084 mInterpr->mViVBuff.srcHeight = (size_t)currentVideoSize.height; [all...] |
| /external/ImageMagick/MagickCore/ |
| display.c | 860 " % Press to resize the image to a width and height you", 1885 height, local 2906 height, local 3343 height, local 3962 height, local 4408 height, local 4635 height, local 5474 height, local 7141 height, local 7394 height, local 9720 height, local 10657 height, local 11311 height, local 12074 height, local 12977 height, local 13108 height, local 13795 height, local 14479 height, local [all...] |
| /bootable/recovery/minui/ |
| graphics_drm.cpp | 93 surface->base.row_bytes * surface->base.height); 130 static drm_surface *drm_create_surface(int width, int height) { 153 create_dumb.height = height; 172 ret = drmModeAddFB2(drm_fd, width, height, 191 surface->base.height = height; 197 surface->base.height * surface->base.row_bytes, 353 int width, height; local 423 height = main_monitor_crtc->mode.vdisplay [all...] |
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/renderers/ |
| GLRotationGuideRenderer.java | 77 public void onSurfaceChanged(GL10 gl, int width, int height) { 78 gl.glViewport(0, 0, width, height); 81 float ratio = (float) width / height;
|
| /cts/tests/camera/src/android/hardware/camera2/cts/ |
| Camera2SurfaceViewCtsActivity.java | 143 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { 144 Log.i(TAG, "Surface Changed to: " + width + "x" + height); 147 currentHeight = height;
|
| /cts/tests/tests/opengl/libopengltest/ |
| color_one.cpp | 35 int height; variable 44 height = h; 113 glReadPixels(width/2, height/2, 1,1, GL_RGBA, GL_UNSIGNED_BYTE, (GLvoid*)&data);
|
| /cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/ |
| ThresholdDifferenceComparer.java | 47 int height) { 49 for (int y = 0 ; y < height ; y++) { 69 Allocation given, int offset, int stride, int width, int height,
|
| /cts/tests/vr/src/android/vr/cts/ |
| VrDisplayTest.java | 113 double height = metrics.heightPixels / metrics.ydpi; local 114 double diagonalLength = Math.sqrt(width * width + height * height);
|
| /development/samples/HoneycombGallery/src/com/example/android/hcgallery/ |
| FitCenterFrameLayout.java | 40 final int height = resolveSize(getSuggestedMinimumHeight(), heightMeasureSpec); local 41 setMeasuredDimension(width, height); 44 int childHeightSpec = MeasureSpec.makeMeasureSpec(height, MeasureSpec.UNSPECIFIED);
|
| /external/autotest/server/site_tests/display_ResolutionList/ |
| display_ResolutionList.py | 54 for interface, width, height in resolution_list: 57 test_resolution = (width, height) 60 if not edid.is_edid_supported(host, interface, width, height):
|
| /external/deqp/modules/egl/ |
| teglPartialUpdateTests.cpp | 148 int height; member in struct:deqp::egl::__anon10692::Frame 154 , height(height_) 167 const int y1 = rnd.getInt(0, (dst.height-1)/8) * 4; 169 const int y2 = rnd.getInt((dst.height-1)/8, (dst.height-1)/4) * 4; 196 void render (int width, int height, const Frame& frame) const; 246 void GLES2Renderer::render (int width, int height, const Frame& frame) const 255 const float y1 = windowToDeviceCoordinates(coloredRect.bottomLeft.y(), height); 257 const float y2 = windowToDeviceCoordinates(coloredRect.topRight.y(), height); 489 const int height = eglu::querySurfaceInt(egl, m_eglDisplay, m_eglSurface, EGL_HEIGHT) local 671 const int height = eglu::querySurfaceInt(egl, m_eglDisplay, m_eglSurface, EGL_HEIGHT); local 733 const int height = eglu::querySurfaceInt(egl, m_eglDisplay, m_eglSurface, EGL_HEIGHT); local [all...] |
| /external/deqp/modules/gles2/accuracy/ |
| es2aTextureFilteringTests.cpp | 56 Texture2DFilteringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS, deUint32 wrapT, deUint32 format, deUint32 dataType, int width, int height); 88 Texture2DFilteringCase::Texture2DFilteringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS, deUint32 wrapT, deUint32 format, deUint32 dataType, int width, int height) 99 , m_height (height) 199 tcu::Surface renderedFrame (viewport.width, viewport.height); 200 tcu::Surface referenceFrame (viewport.width, viewport.height); 207 if (viewport.width < defViewportWidth || viewport.height < defViewportHeight) 213 int bottomHeight = viewport.height / 2; 214 int topHeight = viewport.height - bottomHeight; 317 TextureCubeFilteringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS, deUint32 wrapT, deUint32 format, deUint32 dataType, int width, int height); 349 TextureCubeFilteringCase::TextureCubeFilteringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS, deUint32 wrapT, deUint32 format, deUint32 dataType, int width, int height) 681 int height; member in struct:deqp::gles2::Accuracy::__anon10710 692 int height; member in struct:deqp::gles2::Accuracy::__anon10711 [all...] |
| /external/deqp/modules/gles2/functional/ |
| es2fTextureWrapTests.cpp | 59 TextureWrapCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* description, deUint32 format, deUint32 dataType, deUint32 wrapS, deUint32 wrapT, deUint32 minFilter, deUint32 magFilter, int width, int height); 89 TextureWrapCase::TextureWrapCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* description, deUint32 format, deUint32 dataType, deUint32 wrapS, deUint32 wrapT, deUint32 minFilter, deUint32 magFilter, int width, int height) 100 , m_height (height) 164 tcu::Surface renderedFrame (viewport.width, viewport.height); 165 tcu::Surface referenceFrame (viewport.width, viewport.height); 192 gl.viewport(viewport.x, viewport.y, leftWidth, viewport.height); 199 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), 0, 0, leftWidth, viewport.height), 205 gl.viewport(viewport.x+leftWidth, viewport.y, rightWidth, viewport.height); 212 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), leftWidth, 0, rightWidth, viewport.height), 261 int height; member in struct:deqp::gles2::Functional::__anon10794 [all...] |
| /external/deqp/modules/glshared/ |
| glsFboCompletenessTests.hpp | 110 GLsizei width, GLsizei height, 117 GLsizei width, GLsizei height, FboBuilder& builder); 119 GLsizei width, GLsizei height, FboBuilder& builder);
|
| /external/drm_hwcomposer/ |
| platformdrmgeneric.cpp | 108 bo->height = gr_handle->height; 114 ret = drmModeAddFB2(drm_->fd(), bo->width, bo->height, bo->format,
|
| separate_rects.h | 74 TFloat height() const { function in struct:separate_rects::Rect 79 return width() * height(); 84 << height();
|
| /external/glide/library/src/main/java/com/bumptech/glide/load/model/ |
| ImageVideoModelLoader.java | 36 public DataFetcher<ImageVideoWrapper> getResourceFetcher(A model, int width, int height) { 39 streamFetcher = streamLoader.getResourceFetcher(model, width, height); 43 fileDescriptorFetcher = fileDescriptorLoader.getResourceFetcher(model, width, height);
|
| /external/libdrm/tests/kms/ |
| kms-steal-crtc.c | 91 screen->width, screen->height); 93 fb = kms_framebuffer_create(device, screen->width, screen->height, 107 fb->height, fb->pitch);
|
| /external/libgdx/backends/gdx-backend-lwjgl/src/com/badlogic/gdx/backends/lwjgl/ |
| LwjglApplication.java | 58 public LwjglApplication (ApplicationListener listener, String title, int width, int height) { 59 this(listener, createConfig(title, width, height)); 109 private static LwjglApplicationConfiguration createConfig (String title, int width, int height) { 113 config.height = height; 185 int height = graphics.canvas.getHeight(); local 186 if (lastWidth != width || lastHeight != height) { 188 lastHeight = height; 198 || (int)(Display.getHeight() * Display.getPixelScaleFactor()) != graphics.config.height) { 201 graphics.config.height = (int)(Display.getHeight() * Display.getPixelScaleFactor()) [all...] |
| /external/libgdx/backends/gdx-backend-moe/src/com/badlogic/gdx/backends/iosmoe/ |
| IOSGraphics.java | 64 int height;
field in class:IOSGraphics 107 height = (int)bounds.size().height();
122 view = IOSGLKView.alloc().init(this, new CGRect(new CGPoint(0, 0), new CGSize(bounds.size().width(), bounds.size().height())), context);
218 gl20.glViewport(IOSGLES20.x, IOSGLES20.y, IOSGLES20.width, IOSGLES20.height);
221 gl20.glViewport(0, 0, width, height);
229 app.listener.resize(width, height);
285 return height;
295 return height;
395 public boolean setWindowedMode (int width, int height) {
[all...] |
| /external/libgdx/backends/gdx-backend-robovm/src/com/badlogic/gdx/backends/iosrobovm/ |
| IOSGraphics.java | 115 graphics.height = (int)bounds.getHeight();
118 app.listener.resize(graphics.width, graphics.height);
142 int height;
field in class:IOSGraphics 174 height = (int)bounds.getHeight();
306 gl20.glViewport(IOSGLES20.x, IOSGLES20.y, IOSGLES20.width, IOSGLES20.height);
309 gl20.glViewport(0, 0, width, height);
311 app.listener.resize(width, height);
371 return height;
381 return height;
481 public boolean setWindowedMode (int width, int height) {
[all...] |