/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/Gallery/src/com/android/camera/ |
ImageViewTouchBase.java | 155 final int viewWidth = getWidth(); 157 if (viewWidth <= 0) { 216 int viewWidth = getWidth(); 217 if (width < viewWidth) { 218 deltaX = (viewWidth - width) / 2 - rect.left; 221 } else if (rect.right < viewWidth) { 222 deltaX = viewWidth - rect.right; 260 float viewWidth = getWidth(); 269 float widthScale = Math.min(viewWidth / w, 3.0f); 277 (viewWidth - w * scale) / 2F [all...] |
/packages/apps/Gallery3D/src/com/cooliris/media/ |
ImageViewTouchBase.java | 142 final int viewWidth = getWidth(); 144 if (viewWidth <= 0) { 201 int viewWidth = getWidth(); 202 if (width < viewWidth) { 203 deltaX = (viewWidth - width) / 2 - rect.left; 206 } else if (rect.right < viewWidth) { 207 deltaX = viewWidth - rect.right; 245 float viewWidth = getWidth(); 254 float widthScale = Math.min(viewWidth / w, 2.0f); 261 matrix.postTranslate((viewWidth - w * scale) / 2F, (viewHeight - h * scale) / 2F) [all...] |
MenuBar.java | 344 float viewWidth = mWidth; 353 if (totalDesiredWidth > viewWidth) { 355 int widthPerMenu = (int) Math.floor(viewWidth / numMenus); 371 menu.mWidth = (int) viewWidth - x; 392 if (cumulativeWidth < viewWidth || !foundANewMaxWidth || menusProcessed == numMenus - 1) { 393 float delta = (viewWidth - cumulativeWidth) / numMenus;
|
/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); 191 mFrameRect.right = viewWidth; 202 mQueuedRect = getRectToFitBitmap(mQueuedBitmap.getWidth(), mQueuedBitmap.getHeight(), viewWidth, viewHeight); 204 mQueuedFrameRect.right = viewWidth; 211 private Rect getRectToFitBitmap(int bitmapWidth, int bitmapHeight, int viewWidth, int viewHeight) { 213 float viewAspect = (float) viewHeight / viewWidth;
|
/frameworks/base/core/java/android/widget/ |
FastScroller.java | 103 int viewWidth = mList.getWidth(); 104 mList.invalidate(viewWidth - mThumbW, mThumbY, viewWidth, mThumbY + mThumbH); 115 final int viewWidth = mList.getWidth(); 117 mThumbDrawable.setBounds(viewWidth - mThumbW, 0, viewWidth, mThumbH); 177 final int viewWidth = mList.getWidth(); 186 int left = viewWidth - (mThumbW * alpha) / ScrollFade.ALPHA_MAX; 187 mThumbDrawable.setBounds(left, 0, viewWidth, mThumbH); 207 mList.invalidate(viewWidth - mThumbW, y, viewWidth, y + mThumbH); [all...] |
/frameworks/base/test-runner/src/android/test/ |
TouchUtils.java | 235 final int viewWidth = v.getWidth(); 238 final float x = xy[0] + (viewWidth / 2.0f); 255 final int viewWidth = v.getWidth(); 258 final float x = xy[0] + (viewWidth / 2.0f); 295 final int viewWidth = v.getWidth(); 298 final float x = xy[0] + (viewWidth / 2.0f); 330 final int viewWidth = v.getWidth(); 333 final float x = xy[0] + (viewWidth / 2.0f); 391 final int viewWidth = v.getWidth(); 394 final float x = xy[0] + (viewWidth / 2.0f) [all...] |
/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 | 309 * @param viewWidth 312 public void beginDrawing(GL10 gl, float viewWidth, float viewHeight) { 322 gl.glOrthof(0.0f, viewWidth, 0.0f, viewHeight, 0.0f, 1.0f);
|
/external/webkit/WebCore/rendering/ |
SVGRenderSupport.cpp | 216 int viewWidth = frameView->visibleWidth(); 219 if (size.width() > viewWidth) 220 size.setWidth(viewWidth);
|
RenderView.cpp | 90 setWidth(viewWidth()); 118 bool relayoutChildren = !printing() && (!m_frameView || width() != viewWidth() || height() != viewHeight()); 644 int RenderView::viewWidth() const
|
RenderView.h | 54 int viewWidth() const;
|
RenderFrameSet.cpp | 468 setWidth(view()->viewWidth());
|
/cts/tests/tests/widget/src/android/widget/cts/ |
MediaControllerTest.java | 294 final int viewWidth = videoView.getWidth(); 297 final float x = xy[0] + viewWidth / 2.0f;
|
PopupWindowTest.java | [all...] |
/frameworks/base/core/java/android/webkit/ |
WebView.java | [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
LockPatternView.java | 450 int viewWidth = width; 454 viewWidth = viewHeight = Math.min(width, height); 457 viewWidth = width; 461 viewWidth = Math.min(width, height); 465 setMeasuredDimension(viewWidth, viewHeight); [all...] |
SlidingTab.java | 638 int viewWidth = getWidth(); 640 dx = slider == mRightSlider ? - (right + viewWidth - holdOffset) 641 : (viewWidth - left) + viewWidth - holdOffset; [all...] |
/packages/apps/Phone/src/com/android/phone/ |
InCallTouchUi.java | [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
ViewTest.java | [all...] |