HomeSort by relevance Sort by last modified time
    Searched full:getwidth (Results 376 - 400 of 2100) sorted by null

<<11121314151617181920>>

  /pdk/apps/TestingCamera2/src/com/android/testingcamera2/
ImageReaderSubPane.java 296 while (mConfiguredSize.getWidth() > (mImageView.getWidth() * SCALE_FACTOR << 1) ) {
315 int w = mConfiguredSize.getWidth() / SCALE_FACTOR;
317 byte[] row = new byte[mConfiguredSize.getWidth()];
320 yBuffer.position(y * SCALE_FACTOR * mConfiguredSize.getWidth());
336 int w = mConfiguredSize.getWidth() / SCALE_FACTOR;
338 short[] redRow = new short[mConfiguredSize.getWidth()];
339 short[] blueRow = new short[mConfiguredSize.getWidth()];
344 (y * SCALE_FACTOR + mRawShiftRow) * mConfiguredSize.getWidth());
348 (y * SCALE_FACTOR + 1 - mRawShiftRow) * mConfiguredSize.getWidth());
    [all...]
  /cts/tests/tests/hardware/src/android/hardware/camera2/cts/
RecordingTest.java 633 if (candidateSize.getWidth() <= videoSz.getWidth() &&
645 videoSz.getWidth() <= maxPreviewSize.getWidth() &&
    [all...]
RobustnessTest.java 73 weirdSize = new Size(weirdSize.getWidth() + 1, weirdSize.getHeight() + 1);
79 ImageReader imageReader = ImageReader.newInstance(weirdSize.getWidth(),
120 int imageWidth = image.getWidth();
394 target.setDefaultBufferSize(targetSize.getWidth(), targetSize.getHeight());
403 targetSize.getWidth(), targetSize.getHeight(), JPEG, MIN_RESULT_COUNT);
413 targetSize.getWidth(), targetSize.getHeight(), YUV, MIN_RESULT_COUNT);
423 targetSize.getWidth(), targetSize.getHeight(), RAW, MIN_RESULT_COUNT);
531 if (size.getWidth() <= bound.getWidth() && size.getHeight() <= bound.getHeight()) {
536 long curArea = sz.getWidth() * (long) sz.getHeight()
    [all...]
ImageReaderTest.java 318 CameraTestUtils.validateImage(yuvImage, captureSz.getWidth(),
320 CameraTestUtils.validateImage(jpegImage, maxJpegSize.getWidth(),
324 RectF jpegDimens = new RectF(0, 0, jpegImage.getWidth(),
326 RectF yuvDimens = new RectF(0, 0, yuvImage.getWidth(),
386 int[] fullYUVColors = convertPixelYuvToRgba(yuvImage.getWidth(),
389 yuvImage.getWidth(), yuvImage.getHeight(),
441 int width = yuvImage.getWidth();
581 CameraTestUtils.validateImage(yuvImage, maxYuvSz.getWidth(),
583 CameraTestUtils.validateImage(captureImage, captureSz.getWidth(),
    [all...]
  /external/deqp/modules/gles2/functional/
es2fFboRenderTest.cpp 570 int width = deMin32(renderTarget.getWidth(), 128);
572 int xMax = renderTarget.getWidth()-width+1;
709 context.viewport(0, 0, context.getWidth(), context.getHeight());
713 context.readPixels(dst, 0, 0, context.getWidth(), context.getHeight());
802 ctx.viewport(0, 0, ctx.getWidth(), ctx.getHeight());
806 ctx.readPixels(dst, 0, 0, ctx.getWidth(), ctx.getHeight());
904 context.viewport(0, 0, context.getWidth(), context.getHeight());
907 context.readPixels(dst, 0, 0, context.getWidth(), context.getHeight());
978 context.viewport(0, 0, context.getWidth(), context.getHeight());
980 context.readPixels(dst, 0, 0, context.getWidth(), context.getHeight())
    [all...]
  /external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
AndroidViewIntegrationTest.java 32 public int getWidth() {
230 (widthCss == -1 || helper.getWidth() == widthCss)) {
326 assertEquals(expectedWidthCss, mOnContentSizeChangedHelper.getWidth());
352 assertEquals(expectedWidthCss, mOnContentSizeChangedHelper.getWidth());
401 assertEquals(expectedWidthCss, mOnContentSizeChangedHelper.getWidth());
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
PhotoProcessor.java 207 int cropWidth = original.getWidth();
235 c.drawRect(0, 0, scaledBitmap.getWidth(), scaledBitmap.getHeight(), WHITE_PAINT);
240 final RectF dst = new RectF(0, 0, scaledBitmap.getWidth(), scaledBitmap.getHeight());
293 (mDisplayPhoto.getWidth() > mThumbnailPhoto.getWidth() ||
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
ImageUtils.java 64 for (int x = 0, width = image.getWidth(); x < width; x++) {
250 x2 = image.getWidth();
310 if (x1 == 0 && y1 == 0 && x2 == image.getWidth() && y2 == image.getHeight()) {
357 BufferedImage image = new BufferedImage(source.getWidth() + shadowSize * 2,
364 int dstWidth = image.getWidth();
464 int width = source.getWidth();
578 assert sShadowBottomRight.getWidth() == SHADOW_SIZE;
582 int blWidth = sShadowBottomLeft.getWidth();
595 x + sShadowBottomLeft.getWidth(), y + height,
597 0, 0, sShadowBottom.getWidth(), sShadowBottom.getHeight()
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
CropActivity.java 206 if (bitmap != null && bitmap.getWidth() != 0 && bitmap.getHeight() != 0) {
207 RectF imgBounds = new RectF(0, 0, bitmap.getWidth(), bitmap.getHeight());
309 RectF photo = new RectF(0, 0, mOriginalBitmap.getWidth(), mOriginalBitmap.getHeight());
325 || currentBitmap.getWidth() == 0 || currentBitmap.getHeight() == 0
452 Bitmap tmp = Bitmap.createBitmap(ret, 0, 0, ret.getWidth(),
518 RectF cropRect = new RectF(0, 0, crop.getWidth(), crop.getHeight());
536 Bitmap tmp = Bitmap.createBitmap(crop, 0, 0, crop.getWidth(),
618 RectF imageBounds = new RectF(0, 0, image.getWidth(), image.getHeight());
630 if (image == null || image.getWidth() == 0 || image.getHeight() == 0 || max_size < 16) {
639 Bitmap ret = Bitmap.createScaledBitmap(image, image.getWidth() >> shifts
    [all...]
  /developers/build/prebuilts/gradle/HdrViewfinder/Application/src/main/java/com/example/android/hdrviewfinder/
HdrViewfinderActivity.java 213 float width = mPreviewView.getWidth();
332 float outputAspect = (float) outputSize.getWidth() / outputSize.getHeight();
334 if (candidateSize.getWidth() > MAX_WIDTH) continue;
335 float candidateAspect = (float) candidateSize.getWidth() / candidateSize.getHeight();
341 candidateSize.getWidth() > outputSize.getWidth()) {
354 mPreviewView.getHolder().setFixedSize(outputSize.getWidth(), outputSize.getHeight());
  /developers/samples/android/media/HdrViewfinder/Application/src/main/java/com/example/android/hdrviewfinder/
HdrViewfinderActivity.java 213 float width = mPreviewView.getWidth();
332 float outputAspect = (float) outputSize.getWidth() / outputSize.getHeight();
334 if (candidateSize.getWidth() > MAX_WIDTH) continue;
335 float candidateAspect = (float) candidateSize.getWidth() / candidateSize.getHeight();
341 candidateSize.getWidth() > outputSize.getWidth()) {
354 mPreviewView.getHolder().setFixedSize(outputSize.getWidth(), outputSize.getHeight());
  /development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/
HdrViewfinderActivity.java 213 float width = mPreviewView.getWidth();
332 float outputAspect = (float) outputSize.getWidth() / outputSize.getHeight();
334 if (candidateSize.getWidth() > MAX_WIDTH) continue;
335 float candidateAspect = (float) candidateSize.getWidth() / candidateSize.getHeight();
341 candidateSize.getWidth() > outputSize.getWidth()) {
354 mPreviewView.getHolder().setFixedSize(outputSize.getWidth(), outputSize.getHeight());
  /frameworks/base/libs/hwui/
LayerRenderer.cpp 53 const float width = mLayer->layer.getWidth();
163 const float texX = 1.0f / float(mLayer->getWidth());
210 if (layer->getWidth() > maxTextureSize || layer->getHeight() > maxTextureSize) {
224 width / float(layer->getWidth()), 0.0f);
264 width / float(layer->getWidth()), 0.0f);
314 ATRACE_FORMAT("Destroy %ux%u HW Layer", layer->getWidth(), layer->getHeight());
316 layer->getWidth(), layer->getHeight(), layer->getFbo());
  /frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/
CameraTooActivity.java 94 if (option.getWidth() >= width && option.getHeight() >= height) {
115 return Long.signum((long) lhs.getWidth() * lhs.getHeight() -
116 (long) rhs.getWidth() * rhs.getHeight());
253 mCaptureBuffer = ImageReader.newInstance(largestSize.getWidth(),
262 mSurfaceView.getWidth() + 'x' + mSurfaceView.getHeight());
269 surfaceHolder.setFixedSize(optimalSize.getWidth(),
419 mCapture.getWidth() + 'x' + mCapture.getHeight());
  /frameworks/opt/photoviewer/src/com/android/ex/photo/views/
PhotoView.java 284 centerX = (getWidth() / 2 - relativeScale * mTranslateRect.centerX()) /
294 float widthBuffer = (getWidth() - mTranslateRect.width()) / relativeScale;
397 float centerX = getWidth() / 2;
403 float minX = getWidth() * marginFit + mTranslateRect.right * relativeDistance;
444 final float viewWidth = getWidth();
477 final float viewWidth = getWidth();
557 (mDrawable.getIntrinsicWidth() != photoBitmap.getWidth() ||
722 final int drawLeft = (getWidth() - videoImage.getWidth()) / 2;
735 canvas.drawRect(0, 0, getWidth(), getHeight(), sCropDimPaint)
    [all...]
  /external/deqp/modules/gles3/functional/
es3fDepthStencilClearTests.cpp 205 int width = renderTarget.getWidth();
233 int width = renderTarget.getWidth();
411 tcu::TextureLevel depthBufRow (getDepthFormat(renderTarget.getDepthBits()), dst.getWidth(), 1, 1);
417 for (int x = 0; x < rowAccess.getWidth(); x++)
427 tcu::IVec4 clearRect = clear->useScissor ? clear->scissor : tcu::IVec4(0, 0, dst.getWidth(), dst.getHeight());
438 for (int x = 0; x < dst.getWidth(); x++)
454 tcu::TextureLevel depthBufRow (getStencilFormat(stencilBits), dst.getWidth(), 1, 1);
461 for (int x = 0; x < rowAccess.getWidth(); x++)
471 tcu::IVec4 clearRect = clear->useScissor ? clear->scissor : tcu::IVec4(0, 0, dst.getWidth(), dst.getHeight());
486 for (int x = 0; x < dst.getWidth(); x++
    [all...]
  /external/pdfium/core/src/fxge/apple/
fx_quartz_device.cpp 36 pBitmap->GetWidth(),
160 pBitmap->GetWidth(),
522 CGFloat width = (CGFloat) bitmap->GetWidth();
545 for (int col = 0; col < bitmap->GetWidth(); col ++) {
575 src_width = pBitmap->GetWidth();
590 rect_usr.size = CGSizeMake(pBitmap->GetWidth() / scale_x, pBitmap->GetHeight() / scale_y);
610 CGImageRef pImage = CGImageCreate(pBitmap1->GetWidth(),
658 for (int col = 0; col < pBitmap1->GetWidth(); col ++) {
735 CGImageRef pImage = CGImageCreate(pBitmap1->GetWidth(),
783 for (int col = 0; col < pBitmap1->GetWidth(); col ++) {
    [all...]
  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
Bitmap_Delegate.java 284 int width = srcImage.getWidth();
344 g.fillRect(0, 0, image.getWidth(), image.getHeight());
358 return delegate.mImage.getWidth();
573 image1.getWidth() != image2.getWidth() ||
579 int w = image1.getWidth();
614 int width = delegate.mImage.getWidth();
643 int w = image.getWidth();
649 image.getRGB(0, 0, image.getWidth(), image.getHeight(), argb, 0, image.getWidth());
    [all...]
  /development/samples/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/
FoldingLayoutActivity.java 298 mFoldLayout.getWidth(), mFoldLayout.getHeight()));
302 mFoldLayout.getWidth(), mFoldLayout.getHeight()));
402 factor = Math.abs(((float)mTranslation) / ((float) mFoldLayout.getWidth()));
404 if (e2.getRawX() > mFoldLayout.getWidth() * mAnchorFactor) {
413 if (mTranslation < -mFoldLayout.getWidth()) {
414 mTranslation = -mFoldLayout.getWidth();
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/widget/accessibility/
AccessibilityTabModelListItem.java 311 setTranslationX(getWidth());
314 setTranslationX(-getWidth());
428 setAlpha(1 - Math.abs(getTranslationX() / getWidth()));
438 long closeTime = (long) Math.abs((getWidth() / velocityMagnitude)) *
470 getTranslationX() > 0 ? getWidth() : -getWidth());
  /external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/
TextureD3D.cpp 69 return (baseImage ? baseImage->getWidth() : 0);
96 if (image->getWidth() == 0 || image->getHeight() == 0 || image->getDepth() == 0)
118 image->loadData(0, 0, 0, image->getWidth(), image->getHeight(), image->getDepth(), unpack.alignment, type, pixelData);
155 image->loadCompressedData(0, 0, 0, image->getWidth(), image->getHeight(), image->getDepth(), pixels);
258 GLsizei TextureD3D_2D::getWidth(GLint level) const
261 return mImageArray[level]->getWidth();
312 gl::Box destArea(0, 0, 0, getWidth(level), getHeight(level), 1);
467 mImageArray[0]->redefine(mRenderer, GL_TEXTURE_2D, internalformat, surface->getWidth(), surface->getHeight(), 1, true);
554 GLsizei width = baseImage->getWidth();
576 if (image->getWidth() != std::max(1, width >> level)
    [all...]
  /external/deqp/modules/egl/
teglColorClearCase.cpp 126 case EGL_OPENGL_ES_BIT: gles1::readPixels (dst, 0, 0, dst.getWidth(), dst.getHeight()); break;
127 case EGL_OPENGL_ES2_BIT: gles2::readPixels (dst, 0, 0, dst.getWidth(), dst.getHeight()); break;
128 case EGL_OPENGL_ES3_BIT_KHR: gles2::readPixels (dst, 0, 0, dst.getWidth(), dst.getHeight()); break;
129 case EGL_OPENVG_BIT: vg::readPixels (dst, 0, 0, dst.getWidth(), dst.getHeight()); break;
144 int width = surface.getWidth();
290 int width = surface.getWidth();
  /frameworks/ex/framesequence/jni/
FrameSequence_webp.cpp 53 const int canvasWidth = getWidth();
116 getWidth(), getHeight(), getFrameCount(), mFormatFlags);
175 const int canvasWidth = mFrameSequence.getWidth();
186 const int canvasWidth = mFrameSequence.getWidth();
226 const int canvasWidth = mFrameSequence.getWidth();
280 const int canvasWidth = mFrameSequence.getWidth();
  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
TextCandidates1LineViewManager.java 264 (int)(mViewBodyScroll.getWidth() * -SCROLL_DISTANCE), 0);
274 mViewBodyScroll.scrollTo(mViewBodyScroll.getChildAt(0).getWidth(), 0);
286 int width = mViewBodyScroll.getWidth();
487 return candidateTextView.getWidth();
624 int viewBodyRight = viewBodyLeft + mViewBodyScroll.getWidth();
626 int focusedViewRight = focusedViewLeft + v.getWidth();
  /cts/tests/tests/media/src/android/media/cts/
CodecImage.java 101 public abstract int getWidth();
130 return new Rect(0, 0, getWidth(), getHeight());
145 cropRect.intersect(0, 0, getWidth(), getHeight());

Completed in 2289 milliseconds

<<11121314151617181920>>