HomeSort by relevance Sort by last modified time
    Searched full:getwidth (Results 101 - 125 of 2031) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/glide/library/src/main/java/com/bumptech/glide/request/target/
ViewTarget.java 103 notifyCbs(view.getWidth(), view.getHeight());
127 cb.onSizeReady(view.getWidth(), view.getHeight());
134 final int width = display.getWidth();
141 cb.onSizeReady(display.getWidth(), display.getHeight());
151 return view.getWidth() > 0 && view.getHeight() > 0;
  /packages/apps/Camera2/src/com/android/camera/
AnimationManager.java 50 float slideDistance = (float) (parentView.getWidth() - view.getLeft());
52 float scaleX = ((float) parentView.getWidth()) / ((float) view.getWidth());
56 int centerX = view.getLeft() + view.getWidth() / 2;
95 parentView.getWidth() / 2 - centerX, 0f)
CaptureModuleUtil.java 72 camera1Sizes.add(new Size(s.getWidth(), s.getHeight()));
85 if (s.getWidth() == optimal.getWidth() && s.getHeight() == optimal.getHeight()) {
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
CategoryView.java 94 canvas.drawCircle(getWidth() / 2, getHeight() / 2, getHeight() / 5, mPaint);
96 canvas.drawCircle(getWidth() / 2, getHeight() / 2, getWidth() / 5, mPaint);
117 mAction.setImageFrame(new Rect(0, 0, getWidth(), getHeight()), getOrientation());
125 getWidth(), getHeight(),
  /external/deqp/modules/glshared/
glsTextureTestUtil.cpp 203 , m_width (surface.getWidth())
437 tcu::IVec2 dstSize = tcu::IVec2(dst.getWidth(), dst.getHeight());
438 int srcSize = src.getWidth();
447 for (int x = 0; x < dst.getWidth(); x++)
450 float xf = ((float)x + 0.5f) / (float)dst.getWidth();
468 tcu::IVec2 dstSize = tcu::IVec2(dst.getWidth(), dst.getHeight());
469 tcu::IVec2 srcSize = tcu::IVec2(src.getWidth(), src.getHeight());
479 for (int x = 0; x < dst.getWidth(); x++)
482 float xf = ((float)x + 0.5f) / (float)dst.getWidth();
500 float dstW = (float)dst.getWidth();
    [all...]
  /sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/
ScreenViewer.java 295 int width = getWidth();
310 g2.fillRect(0, 0, grid.getWidth(), grid.getHeight());
334 g.clipRect(0, 0, image.getWidth() * zoom + 1, image.getHeight() * zoom + 1);
342 int x = Math.max(0, Math.min((event.getX() + left) / zoom, image.getWidth() - 1));
441 g.fillRect(0, 0, getWidth(), getHeight());
470 g.fillRect(0, 0, getWidth(), getHeight());
473 g.drawRect(0, 0, getWidth() - 1, getHeight() - 1);
513 crosshair.x = Math.max(0, Math.min(image.getWidth() - 1, event.getX()));
535 if (crosshair == null || width != getWidth() || height != getHeight()) {
536 width = getWidth();
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/
PathShapeTest.java 94 assertEquals(100f, pathShape.getWidth());
98 assertEquals(pathShape.getWidth(), clonedShape.getWidth());
RoundRectShapeTest.java 87 assertEquals(100f, roundRectShape.getWidth());
91 assertEquals(roundRectShape.getWidth(), clonedShape.getWidth());
  /cts/tests/tests/widget/src/android/widget/cts/
LinearLayoutTest.java 168 int parentWidth = parent.getWidth();
169 assertEquals(Math.ceil(parentWidth * 0.2), weight02.getWidth(), 1.0);
170 assertEquals(Math.ceil(parentWidth * 0.5), weight05.getWidth(), 1.0);
171 assertEquals(Math.ceil(parentWidth * 0.3), weight03.getWidth(), 1.0);
270 assertEquals(parent.getWidth(), bottomView.getRight());
316 assertEquals(leftView.getWidth(), leftView.getRight());
318 int offset = (parent.getWidth() - centerView.getWidth()) / 2;
322 assertEquals(offset + centerView.getWidth(), centerView.getRight());
326 assertEquals(parent.getWidth() - rightView.getWidth(), rightView.getLeft())
    [all...]
  /developers/build/prebuilts/gradle/HdrViewfinder/Application/src/main/java/com/example/android/hdrviewfinder/
ViewfinderProcessor.java 59 yuvTypeBuilder.setX(dimensions.getWidth());
68 rgbTypeBuilder.setX(dimensions.getWidth());
83 mHdrTask = new ProcessingTask(mInputHdrAllocation, dimensions.getWidth()/2, true);
  /developers/build/prebuilts/gradle/RenderScriptIntrinsic/Application/src/main/java/com/example/android/renderscriptintrinsic/
ThumbnailRadioButton.java 71 rectChecked.setIntrinsicWidth(bitmap.getWidth() + strokeWidth);
81 rectUnchecked.setIntrinsicWidth(bitmap.getWidth() + strokeWidth);
104 setPadding(getPaddingLeft() + (int) ((bitmap.getWidth() - w) / 2.f + .5f),
  /developers/samples/android/media/HdrViewfinder/Application/src/main/java/com/example/android/hdrviewfinder/
ViewfinderProcessor.java 59 yuvTypeBuilder.setX(dimensions.getWidth());
68 rgbTypeBuilder.setX(dimensions.getWidth());
83 mHdrTask = new ProcessingTask(mInputHdrAllocation, dimensions.getWidth()/2, true);
  /developers/samples/android/renderScript/RenderScriptIntrinsic/Application/src/main/java/com/example/android/renderscriptintrinsic/
ThumbnailRadioButton.java 71 rectChecked.setIntrinsicWidth(bitmap.getWidth() + strokeWidth);
81 rectUnchecked.setIntrinsicWidth(bitmap.getWidth() + strokeWidth);
104 setPadding(getPaddingLeft() + (int) ((bitmap.getWidth() - w) / 2.f + .5f),
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
PictureLayout.java 121 super.dispatchDraw(mPicture.beginRecording(getWidth(), getHeight()));
124 int x = getWidth()/2;
141 dirty.set(0, 0, getWidth(), getHeight());
  /development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/
ViewfinderProcessor.java 59 yuvTypeBuilder.setX(dimensions.getWidth());
68 rgbTypeBuilder.setX(dimensions.getWidth());
83 mHdrTask = new ProcessingTask(mInputHdrAllocation, dimensions.getWidth()/2, true);
  /development/samples/browseable/RenderScriptIntrinsic/src/com.example.android.renderscriptintrinsic/
ThumbnailRadioButton.java 71 rectChecked.setIntrinsicWidth(bitmap.getWidth() + strokeWidth);
81 rectUnchecked.setIntrinsicWidth(bitmap.getWidth() + strokeWidth);
104 setPadding(getPaddingLeft() + (int) ((bitmap.getWidth() - w) / 2.f + .5f),
  /development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/
CustomArrayAdapter.java 117 Bitmap output = Bitmap.createBitmap(bitmap.getWidth(), bitmap.getHeight(),
120 final Rect rect = new Rect(0, 0, bitmap.getWidth(), bitmap.getHeight());
127 int halfWidth = bitmap.getWidth() / 2;
  /development/samples/devbytes/animation/ListViewExpandingCells/src/com/example/android/expandingcells/
CustomArrayAdapter.java 110 Bitmap output = Bitmap.createBitmap(bitmap.getWidth(), bitmap.getHeight(),
113 final Rect rect = new Rect(0, 0, bitmap.getWidth(), bitmap.getHeight());
120 int halfWidth = bitmap.getWidth()/2;
  /external/chromium_org/third_party/angle/samples/angle/post_sub_buffer/
PostSubBuffer.cpp 104 Matrix4 perspectiveMatrix = Matrix4::perspective(60.0f, float(getWindow()->getWidth()) / getWindow()->getHeight(),
121 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight());
144 size_t windowWidth = getWindow()->getWidth();
  /external/chromium_org/third_party/libjingle/source/talk/media/webrtc/
webrtctexturevideoframe_unittest.cc 50 EXPECT_EQ(640u, frame.GetWidth());
65 EXPECT_EQ(frame1.GetWidth(), frame2->GetWidth());
  /external/chromium_org/third_party/skia/src/gpu/gl/
GrGLPath.cpp 119 GL_CALL(PathParameterf(fPathID, GR_GL_PATH_STROKE_WIDTH, SkScalarToFloat(stroke.getWidth())));
128 fBounds.outset(SkScalarToFloat(stroke.getWidth()), SkScalarToFloat(stroke.getWidth()));
  /external/deqp/modules/gles2/functional/
es2fDepthRangeTests.cpp 145 const int viewportW = de::min(128, renderTarget.getWidth());
147 const int viewportX = rnd.getInt(0, renderTarget.getWidth()-viewportW);
232 int half = de::clamp((int)((float)referenceFrame.getWidth()*0.5f + 0.5f), 0, referenceFrame.getWidth());
237 float xf = ((float)x + 0.5f) / (float)referenceFrame.getWidth();
245 for (int x = half; x < referenceFrame.getWidth(); x++)
247 float xf = ((float)x + 0.5f) / (float)referenceFrame.getWidth();
248 float xh = ((float)x - half + 0.5f) / (float)(referenceFrame.getWidth()-half);
294 const int viewportW = de::min(128, renderTarget.getWidth());
296 const int viewportX = rnd.getInt(0, renderTarget.getWidth()-viewportW)
    [all...]
  /external/skia/src/gpu/gl/
GrGLPath.cpp 119 GL_CALL(PathParameterf(fPathID, GR_GL_PATH_STROKE_WIDTH, SkScalarToFloat(stroke.getWidth())));
128 fBounds.outset(SkScalarToFloat(stroke.getWidth()), SkScalarToFloat(stroke.getWidth()));
  /packages/apps/Camera2/src/com/android/camera/ui/
AnimatedCircleDrawable.java 115 mCanvasWidth = canvas.getWidth();
119 0, diagonalLength(canvas.getWidth(), canvas.getHeight())/2);
120 canvas.drawCircle(canvas.getWidth()/2.0f, canvas.getHeight()/2.0f,
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
IconFactory.java 47 int sourceWidth = sourceImage.getWidth();
74 int sourceWidth = sourceImage.getWidth();
76 int iconWidth = dest.getWidth();

Completed in 766 milliseconds

1 2 3 45 6 7 8 91011>>