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

<<11121314151617181920>>

  /packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
CropView.java 84 final float width = getWidth();
127 float cropRight = cropLeft + getWidth() / scale;
145 updateMinScale(getWidth(), getHeight(), source, true);
194 if (getWidth() == 0 || getHeight() == 0) {
299 } else if (edges.right < getWidth()) {
300 adjustment[0] = (edges.right - getWidth()) / scale;
  /external/chromium_org/third_party/libjingle/source/talk/media/base/
videoadapter.cc 273 VideoFormat format(static_cast<int>(in_frame->GetWidth()),
306 << " Input: " << in_frame->GetWidth()
318 static_cast<int>(in_frame->GetWidth()),
321 output_format_.width = static_cast<int>(in_frame->GetWidth() * scale + .5f);
325 output_format_.width = static_cast<int>(in_frame->GetWidth());
330 in_frame->GetWidth() == static_cast<size_t>(output_format_.width) &&
344 if (in_frame->GetWidth() != (*out_frame)->GetWidth() ||
357 if (previous_width_ && (previous_width_ != (*out_frame)->GetWidth() ||
370 << " Input: " << in_frame->GetWidth()
    [all...]
  /cts/tests/tests/app/src/android/app/cts/
ActivityManagerRunningTaskInfoTest.java 71 assertEquals(480, values.thumbnail.getWidth());
98 assertEquals(480, values.thumbnail.getWidth());
  /cts/tests/tests/graphics/src/android/graphics/cts/
YuvImageTest.java 195 assertEquals(mTestBitmaps[0].getWidth(), image.getWidth());
200 int width = mTestBitmaps[0].getWidth();
231 // strides of YuvImage are calculated by adding paddings to bitmap.getWidth().
233 int width = bitmap.getWidth();
347 assertEquals("mismatching widths", expected.getWidth(),
348 actual.getWidth());
353 int width = expected.getWidth();
  /cts/tests/tests/hardware/src/android/hardware/camera2/cts/rs/
ScriptYuvCrop.java 65 (int)(crop.width() * inputSize.getWidth()),
101 int x = (int)(mCropWindow.left * mInputInfo.getSize().getWidth());
  /cts/tests/tests/media/src/android/media/cts/
CodecUtils.java 60 public int getWidth() {
61 return mImage.getWidth();
FaceView.java 65 mPicWidth = mSourceImage.getWidth();
78 float scale = Math.min((float) getWidth() / mPicWidth, (float) getHeight() / mPicHeight);
  /cts/tests/tests/view/src/android/view/cts/
SurfaceViewTest.java 114 int beforeLayoutWidth = mMockSurfaceView.getWidth();
122 assertEquals(right - left, mMockSurfaceView.getWidth());
  /cts/tests/tests/widget/src/android/widget/cts/
SeekBarTest.java 81 seekBarXY[0] + (mSeekBar.getWidth() >> 1), seekBarXY[1], 0);
90 seekBarXY[0] + (mSeekBar.getWidth() >> 1), seekBarXY[1], 0);
  /developers/build/prebuilts/gradle/ClippingBasic/
README.md 21 final int margin = Math.min(view.getWidth(), view.getHeight()) / 10;
22 outline.setRoundRect(margin, margin, view.getWidth() - margin,
  /developers/samples/android/ui/views/Clipping/ClippingBasic/
template-params.xml 79 final int margin = Math.min(view.getWidth(), view.getHeight()) / 10;
80 outline.setRoundRect(margin, margin, view.getWidth() - margin,
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
BitmapDecode.java 91 int w = mBitmap2.getWidth();
138 mMovie.draw(canvas, getWidth() - mMovie.width(),
  /development/samples/ApiDemos/src/com/example/android/apis/view/
Animation3.java 58 targetParent.getWidth() - target.getWidth() - targetParent.getPaddingLeft() -
  /development/samples/devbytes/animation/Bouncer/src/com/example/android/bouncer/
Bouncer.java 77 mShapeW = mBitmap.getWidth();
115 mShapeX = (w - mBitmap.getWidth()) / 2;
Bouncer1.java 85 mShapeW = mBitmap.getWidth();
97 mShapeX = (w - mBitmap.getWidth()) / 2;
Bouncer2.java 86 mShapeW = mBitmap.getWidth();
98 mShapeX = (w - mBitmap.getWidth()) / 2;
Bouncer3.java 86 mShapeW = mBitmap.getWidth();
98 mShapeX = (w - mBitmap.getWidth()) / 2;
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/banners/
RatingView.java 50 int width = starHalf.getWidth();
77 mDrawingRect.left = mIsLayoutLTR ? 0 : (canvas.getWidth() - starSize);
  /external/chromium_org/third_party/angle/samples/angle/simple_vertex_shader/
SimpleVertexShader.cpp 91 Matrix4 perspectiveMatrix = Matrix4::perspective(60.0f, float(getWindow()->getWidth()) / getWindow()->getHeight(),
108 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight());
  /external/chromium_org/third_party/angle/src/libGLESv2/
Renderbuffer.h 47 GLsizei getWidth() const;
75 virtual GLsizei getWidth() const;
  /external/chromium_org/third_party/angle/tests/angle_tests/
ANGLETest.cpp 15 ResizeWindow(mEGLWindow->getWidth(), mEGLWindow->getHeight());
167 return mEGLWindow->getWidth();
  /external/deqp/framework/opengl/simplereference/
sglrContext.cpp 37 int width = src.getWidth();
72 int width = src.getWidth();
  /external/glide/library/tests/src/com/bumptech/glide/load/engine/bitmap_recycle/
SizeStrategyTest.java 22 assertEquals(bitmap, strategy.get(bitmap.getWidth(), bitmap.getHeight(), Bitmap.Config.ARGB_8888));
59 assertEquals(99, result.getWidth());
  /external/proguard/src/proguard/gui/splash/
BufferedSprite.java 117 bufferGraphics.fillRect(0, 0, bufferImage.getWidth(null), bufferImage.getHeight(null));
123 bufferGraphics.fillRect(0, 0, bufferImage.getWidth(null), bufferImage.getHeight(null));
  /frameworks/base/core/java/android/transition/
CircularPropagation.java 85 epicenterX = Math.round(loc[0] + (sceneRoot.getWidth() / 2)
91 float maxDistance = distance(0, 0, sceneRoot.getWidth(), sceneRoot.getHeight());

Completed in 833 milliseconds

<<11121314151617181920>>