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

1 2 3

  /external/replicaisland/src/com/replica/replicaisland/
ContextParameters.java 23 public int viewWidth;
DrawableBitmap.java 68 * @param viewWidth The width of the screen.
71 public static void beginDrawing(GL10 gl, float viewWidth, float viewHeight) {
80 gl.glOrthof(0.0f, viewWidth, 0.0f, viewHeight, 0.0f, 1.0f);
113 final float viewWidth = mViewWidth;
117 if (viewWidth > 0) {
119 || snappedX > viewWidth
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGFitToViewBox.cpp 47 AffineTransform SVGFitToViewBox::viewBoxToViewTransform(const FloatRect& viewBoxRect, PassRefPtr<SVGPreserveAspectRatio> preserveAspectRatio, float viewWidth, float viewHeight)
49 if (!viewBoxRect.width() || !viewBoxRect.height() || !viewWidth || !viewHeight)
52 return preserveAspectRatio->getCTM(viewBoxRect.x(), viewBoxRect.y(), viewBoxRect.width(), viewBoxRect.height(), viewWidth, viewHeight);
SVGFitToViewBox.h 48 static AffineTransform viewBoxToViewTransform(const FloatRect& viewBoxRect, PassRefPtr<SVGPreserveAspectRatio>, float viewWidth, float viewHeight);
SVGMarkerElement.h 60 AffineTransform viewBoxToViewTransform(float viewWidth, float viewHeight) const;
SVGMarkerElement.cpp 67 AffineTransform SVGMarkerElement::viewBoxToViewTransform(float viewWidth, float viewHeight) const
69 return SVGFitToViewBox::viewBoxToViewTransform(viewBox()->currentValue()->value(), preserveAspectRatio()->currentValue(), viewWidth, viewHeight);
  /packages/apps/InCallUI/src/com/android/incallui/
SmallerHitTargetTouchListener.java 66 final int viewWidth = v.getWidth();
78 if (viewWidth < targetMinSizeX || viewHeight < targetMinSizeY) {
88 final int maxTouchX = viewWidth - edgeIgnoreX;
  /frameworks/base/core/java/com/android/internal/widget/
FaceUnlockView.java 56 int viewWidth = resolveMeasured(widthMeasureSpec, minimumWidth);
59 final int chosenSize = Math.min(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/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
GeometryMathUtils.java 332 boolean reflectRotation, Rect bmapDimens, float viewWidth, float viewHeight) {
335 bmapDimens.height(), viewWidth, viewHeight);
374 float originalHeight, float viewWidth, float viewHeight) {
381 (int) originalHeight, (int) viewWidth, (int) viewHeight);
402 Bitmap photo, int viewWidth, int viewHeight) {
408 viewWidth, viewHeight);
441 int bitmapHeight, int viewWidth, int viewHeight) {
448 float scale = GeometryMathUtils.scale(bw, bh, viewWidth, viewHeight);
450 float s = Math.min(viewWidth / (float) bitmapWidth, viewHeight / (float) bitmapHeight);
453 m.postTranslate(viewWidth / 2f, viewHeight / 2f)
    [all...]
ImageStraighten.java 207 int imageHeight, int viewWidth, int viewHeight) {
225 float scale = GeometryMathUtils.scale(iw, ih, viewWidth, viewHeight);
229 tmp.offset(viewWidth / 2f - tmp.centerX(), viewHeight / 2f - tmp.centerY());
232 imageHeight, viewWidth, viewHeight);
253 int viewWidth = canvas.getWidth();
258 imageHeight, viewWidth, viewHeight);
269 imageHeight, viewWidth, viewHeight);
281 float step = Math.max(viewWidth, viewHeight) / NBLINES;
291 canvas.drawLine(0, p, viewWidth, p, mPaint);
  /frameworks/base/test-runner/src/android/test/
TouchUtils.java 224 final int viewWidth = v.getWidth();
227 final float x = xy[0] + (viewWidth / 2.0f);
244 final int viewWidth = v.getWidth();
247 final float x = xy[0] + (viewWidth / 2.0f);
284 final int viewWidth = v.getWidth();
287 final float x = xy[0] + (viewWidth / 2.0f);
319 final int viewWidth = v.getWidth();
322 final float x = xy[0] + (viewWidth / 2.0f);
380 final int viewWidth = v.getWidth();
383 final float x = xy[0] + (viewWidth / 2.0f)
    [all...]
  /frameworks/support/v4/java/android/support/v4/widget/
CircleImageView.java 146 final int viewWidth = CircleImageView.this.getWidth();
148 canvas.drawCircle(viewWidth / 2, viewHeight / 2, (mCircleDiameter / 2 + mShadowRadius),
150 canvas.drawCircle(viewWidth / 2, viewHeight / 2, (mCircleDiameter / 2), paint);
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
SlideshowView.java 139 int viewWidth = getWidth();
143 viewWidth / mWidth, (float) viewHeight / mHeight);
146 float centerX = viewWidth / 2 + mMovingVector.x * mProgress;
  /pdk/apps/TestingCamera/src/com/android/testingcamera/
CallbackProcessor.java 53 int viewWidth, int viewHeight,
66 tb.setX(viewWidth);
76 mFormat, viewWidth, viewHeight);
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
NumericSprite.java 68 float viewWidth, float viewHeight) {
70 mLabelMaker.beginDrawing(gl, viewWidth, viewHeight);
  /frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
CircleView.java 93 int viewWidth = getWidth();
94 if (viewWidth == 0 || !mIsInitialized) {
  /developers/build/prebuilts/gradle/MediaEffects/Application/src/main/java/com/example/android/mediaeffects/
TextureRenderer.java 99 public void updateViewSize(int viewWidth, int viewHeight) {
100 mViewWidth = viewWidth;
  /developers/samples/android/media/MediaEffects/Application/src/main/java/com/example/android/mediaeffects/
TextureRenderer.java 99 public void updateViewSize(int viewWidth, int viewHeight) {
100 mViewWidth = viewWidth;
  /development/samples/HelloEffects/src/com/example/android/mediafx/
TextureRenderer.java 99 public void updateViewSize(int viewWidth, int viewHeight) {
100 mViewWidth = viewWidth;
  /development/samples/browseable/MediaEffects/src/com.example.android.mediaeffects/
TextureRenderer.java 99 public void updateViewSize(int viewWidth, int viewHeight) {
100 mViewWidth = viewWidth;
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderView.h 71 int viewWidth(IncludeScrollbarsInRect = ExcludeScrollbars) const;
74 return style()->isHorizontalWritingMode() ? viewWidth(ExcludeScrollbars) : viewHeight(ExcludeScrollbars);
  /packages/apps/FMRadio/src/com/android/fmradio/views/
FmVisualizerView.java 151 int viewWidth = getWidth();
156 float colWidth = ((float) (viewWidth - paddingLeft - paddingRight - COLUME_PADDING_COUNTS
  /packages/apps/Launcher2/src/com/android/launcher2/
ButtonDropTarget.java 124 Rect getIconRect(int viewWidth, int viewHeight, int drawableWidth, int drawableHeight) {
151 final int xOffset = (int) -(viewWidth - width) / 2;
  /packages/apps/Launcher3/src/com/android/launcher3/
ButtonDropTarget.java 126 Rect getIconRect(int viewWidth, int viewHeight, int drawableWidth, int drawableHeight) {
153 final int xOffset = (int) -(viewWidth - width) / 2;

Completed in 634 milliseconds

1 2 3