HomeSort by relevance Sort by last modified time
    Searched refs:viewHeight (Results 1 - 25 of 27) sorted by null

1 2

  /external/webkit/WebCore/svg/
SVGFitToViewBox.h 38 static AffineTransform viewBoxToViewTransform(const FloatRect& viewBoxRect, const SVGPreserveAspectRatio&, float viewWidth, float viewHeight);
SVGFitToViewBox.cpp 78 AffineTransform SVGFitToViewBox::viewBoxToViewTransform(const FloatRect& viewBoxRect, const SVGPreserveAspectRatio& preserveAspectRatio, float viewWidth, float viewHeight)
83 return preserveAspectRatio.getCTM(viewBoxRect.x(), viewBoxRect.y(), viewBoxRect.width(), viewBoxRect.height(), 0, 0, viewWidth, viewHeight);
SVGMarkerElement.h 60 AffineTransform viewBoxToViewTransform(float viewWidth, float viewHeight) const;
SVGMarkerElement.cpp 59 AffineTransform SVGMarkerElement::viewBoxToViewTransform(float viewWidth, float viewHeight) const
61 return SVGFitToViewBox::viewBoxToViewTransform(viewBox(), preserveAspectRatio(), viewWidth, viewHeight);
SVGSVGElement.h 130 AffineTransform viewBoxToViewTransform(float viewWidth, float viewHeight) const;
SVGSVGElement.cpp 541 AffineTransform SVGSVGElement::viewBoxToViewTransform(float viewWidth, float viewHeight) const
550 AffineTransform ctm = SVGFitToViewBox::viewBoxToViewTransform(viewBoxRect, preserveAspectRatio(), viewWidth, viewHeight);
  /packages/apps/Gallery3D/src/com/cooliris/wallpaper/
Slideshow.java 185 private void performSetup(int viewWidth, int viewHeight) {
189 mRect = getRectToFitBitmap(mBitmap.getWidth(), mBitmap.getHeight(), viewWidth, viewHeight);
192 mFrameRect.bottom = viewHeight;
202 mQueuedRect = getRectToFitBitmap(mQueuedBitmap.getWidth(), mQueuedBitmap.getHeight(), viewWidth, viewHeight);
205 mQueuedFrameRect.bottom = viewHeight;
211 private Rect getRectToFitBitmap(int bitmapWidth, int bitmapHeight, int viewWidth, int viewHeight) {
213 float viewAspect = (float) viewHeight / viewWidth;
  /frameworks/base/test-runner/src/android/test/
TouchUtils.java 236 final int viewHeight = v.getHeight();
239 float fromY = xy[1] + (viewHeight / 2.0f);
256 final int viewHeight = v.getHeight();
259 float y = xy[1] + (viewHeight / 2.0f);
296 final int viewHeight = v.getHeight();
299 float y = xy[1] + (viewHeight / 2.0f);
331 final int viewHeight = v.getHeight();
334 float y = xy[1] + (viewHeight / 2.0f);
392 final int viewHeight = v.getHeight();
395 float y = xy[1] + (viewHeight / 2.0f)
    [all...]
  /packages/apps/Gallery/src/com/android/camera/
ImageViewTouchBase.java 205 int viewHeight = getHeight();
206 if (height < viewHeight) {
207 deltaY = (viewHeight - height) / 2 - rect.top;
210 } else if (rect.bottom < viewHeight) {
261 float viewHeight = getHeight();
270 float heightScale = Math.min(viewHeight / h, 3.0f);
278 (viewHeight - h * scale) / 2F);
  /packages/apps/Gallery3D/src/com/cooliris/media/
ImageViewTouchBase.java 190 int viewHeight = getHeight();
191 if (height < viewHeight) {
192 deltaY = (viewHeight - height) / 2 - rect.top;
195 } else if (rect.bottom < viewHeight) {
246 float viewHeight = getHeight();
255 float heightScale = Math.min(viewHeight / h, 2.0f);
261 matrix.postTranslate((viewWidth - w * scale) / 2F, (viewHeight - h * scale) / 2F);
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
NumericSprite.java 68 float viewWidth, float viewHeight) {
70 mLabelMaker.beginDrawing(gl, viewWidth, viewHeight);
LabelMaker.java 310 * @param viewHeight
312 public void beginDrawing(GL10 gl, float viewWidth, float viewHeight) {
322 gl.glOrthof(0.0f, viewWidth, 0.0f, viewHeight, 0.0f, 1.0f);
  /cts/tests/tests/widget/src/android/widget/cts/
CompoundButtonTest.java 337 int viewHeight;
353 viewHeight = compoundButton.getHeight();
370 assertEquals(viewHeight - drawableHeight, bounds.top);
371 assertEquals(viewHeight, bounds.bottom);
379 assertEquals( (viewHeight - drawableHeight) / 2, bounds.top);
380 assertEquals( (viewHeight - drawableHeight) / 2 + drawableHeight, bounds.bottom);
MediaControllerTest.java 342 final int viewHeight = videoView.getHeight();
345 final float y = xy[1] + viewHeight / 2.0f;
GalleryTest.java 194 final int viewHeight = v.getHeight();
196 xy[1] += viewHeight / 2;
PopupWindowTest.java     [all...]
  /external/webkit/WebCore/rendering/
SVGRenderSupport.cpp 217 int viewHeight = frameView->visibleHeight();
222 if (size.height() > viewHeight)
223 size.setHeight(viewHeight);
RenderView.cpp 84 setHeight(viewHeight());
118 bool relayoutChildren = !printing() && (!m_frameView || width() != viewWidth() || height() != viewHeight());
634 int RenderView::viewHeight() const
RenderView.h 53 int viewHeight() const;
  /frameworks/base/core/java/android/widget/
FastScroller.java 457 final int viewHeight = mList.getHeight();
462 } else if (newThumbY + mThumbH > viewHeight) {
463 newThumbY = viewHeight - mThumbH;
471 scrollTo((float) mThumbY / (viewHeight - mThumbH));
  /frameworks/base/core/java/com/android/internal/widget/
LockPatternView.java 451 int viewHeight = height;
454 viewWidth = viewHeight = Math.min(width, height);
458 viewHeight = Math.min(width, height);
462 viewHeight = height;
465 setMeasuredDimension(viewWidth, viewHeight);
    [all...]
SlidingTab.java 647 int viewHeight = getHeight();
650 dy = slider == mRightSlider ? (top + viewHeight - holdOffset)
651 : - ((viewHeight - bottom) + viewHeight - holdOffset);
    [all...]
  /packages/apps/Phone/src/com/android/phone/
InCallTouchUi.java     [all...]
  /frameworks/base/core/java/android/webkit/
WebView.java     [all...]
  /cts/tests/tests/view/src/android/view/cts/
ViewTest.java     [all...]

Completed in 416 milliseconds

1 2