Home
last modified time | relevance | path

Searched refs:getHeight (Results 1 – 25 of 69) sorted by relevance

123

/development/samples/devbytes/animation/ToonGame/src/com/example/android/toongame/
DToonGame.java111 y > 0 && y < mStarter.getHeight());
133 mContainer.getHeight() - mStarter.getTop() - mStarter.getHeight(),
167 mStarter.setY(-mStarter.getHeight());
169 -(mStarter.getTop() + mStarter.getHeight()),
170 mContainer.getHeight() - mStarter.getTop() -
171 mStarter.getHeight(),
182 view.setPivotY(view.getHeight()); in squishyBounce()
DSkewableTextView.java51 canvas.translate(0, getHeight()); in onDraw()
53 canvas.translate(0, -getHeight()); in onDraw()
/development/samples/ApiDemos/src/com/example/android/apis/animation/
DShapeHolder.java86 s.resize(width, s.getHeight()); in setWidth()
89 public float getHeight() { in getHeight() method in ShapeHolder
90 return shape.getShape().getHeight(); in getHeight()
DAnimationCloning.java81 0f, getHeight() - balls.get(0).getHeight()).setDuration(500); in createAnimation()
88 0f, getHeight() - ball2.getHeight()).setDuration(500); in createAnimation()
91 getHeight() - ball2.getHeight(), 0f).setDuration(500); in createAnimation()
DMultiPropertyAnimation.java90 ball.getY(), getHeight() - BALL_SIZE).setDuration(DURATION); in createAnimation()
96 getHeight() - BALL_SIZE); in createAnimation()
108 PropertyValuesHolder pvhH = PropertyValuesHolder.ofFloat("height", ball.getHeight(), in createAnimation()
109 ball.getHeight() * 2); in createAnimation()
120 pvhY = PropertyValuesHolder.ofFloat("y", ball.getY(), getHeight() - BALL_SIZE); in createAnimation()
DBouncingBalls.java88 float endY = getHeight() - 50f; in onTouchEvent()
89 float h = (float)getHeight(); in onTouchEvent()
114 newBall.getHeight(), newBall.getHeight() - 25); in onTouchEvent()
DTransition3d.java90 final float centerY = mContainer.getHeight() / 2.0f; in applyRotation()
150 final float centerY = mContainer.getHeight() / 2.0f; in run()
DAnimationSeeking.java82 if (animView.getHeight() != 0) { in onCreate()
110 ball.getY(), getHeight() - BALL_SIZE).setDuration(1500); in createAnimation()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DAlphaBitmap.java44 float y = bm.getHeight(); in drawIntoBitmap()
83 y += mBitmap.getHeight() + 10; in onDraw()
85 y += mBitmap2.getHeight() + 10; in onDraw()
DPictureLayout.java121 super.dispatchDraw(mPicture.beginRecording(getWidth(), getHeight())); in dispatchDraw()
125 int y = getHeight()/2; in dispatchDraw()
141 dirty.set(0, 0, getWidth(), getHeight()); in invalidateChildInParent()
DWindowSurface.java218 mPoint1.init(canvas.getWidth(), canvas.getHeight(), mMinStep); in run()
219 mPoint2.init(canvas.getWidth(), canvas.getHeight(), mMinStep); in run()
222 mPoint1.step(canvas.getWidth(), canvas.getHeight(), in run()
224 mPoint2.step(canvas.getWidth(), canvas.getHeight(), in run()
DColorMatrixSample.java111 canvas.drawBitmap(mBitmap, x, y + mBitmap.getHeight() + 10, paint); in onDraw()
115 canvas.drawBitmap(mBitmap, x, y + 2*(mBitmap.getHeight() + 10), in onDraw()
DBitmapDecode.java92 int h = mBitmap2.getHeight(); in SampleView()
139 getHeight() - mMovie.height()); in onDraw()
DBitmapPixels.java155 y += mBitmap1.getHeight() + 10; in onDraw()
157 y += mBitmap2.getHeight() + 10; in onDraw()
/development/samples/devbytes/animation/SquashAndStretch/src/com/example/squashandstretch/
DSquashAndStretch.java79 view.setPivotY(view.getHeight()); in onButtonClick()
83 mContainer.getHeight() - view.getHeight()); in onButtonClick()
/development/samples/devbytes/animation/ActivityAnimations/src/com/example/android/activityanim/
DPictureDetailsActivity.java115 mHeightScale = (float) thumbnailHeight / mImageView.getHeight(); in onCreate()
157 mTextView.setTranslationY(-mTextView.getHeight()); in runEnterAnimation()
203 mImageView.setPivotY(mImageView.getHeight() / 2); in runExitAnimation()
212 mTextView.animate().translationY(-mTextView.getHeight()).alpha(0). in runExitAnimation()
/development/samples/RenderScript/Levels/src/com/android/rs/levels/
DLevelsDalvikActivity.java157 mInPixels = new int[mBitmapIn.getHeight() * mBitmapIn.getWidth()]; in onCreate()
158 mOutPixels = new int[mBitmapOut.getHeight() * mBitmapOut.getWidth()]; in onCreate()
160 mBitmapIn.getWidth(), mBitmapIn.getHeight()); in onCreate()
171 Bitmap b2 = Bitmap.createBitmap(b.getWidth(), b.getHeight(), b.getConfig()); in loadBitmap()
228 mBitmapOut.getWidth(), mBitmapOut.getHeight()); in filter()
/development/samples/devbytes/animation/Anticipation/src/com/example/android/anticipation/
DAnticiButton.java85 canvas.translate(0, getHeight()); in draw()
87 canvas.translate(0, -getHeight()); in draw()
184 y > 0 && y < getHeight());
/development/samples/devbytes/animation/Bouncer/src/com/example/android/bouncer/
DBouncer3.java87 mShapeH = mBitmap.getHeight(); in setupShape()
120 return ObjectAnimator.ofInt(this, "shapeY", 0, (getHeight() - mShapeH)); in getObjectAnimator()
DBouncer.java78 mShapeH = mBitmap.getHeight(); in setupShape()
137 (getHeight() - mShapeH))); in getValueAnimator()
DBouncer1.java86 mShapeH = mBitmap.getHeight(); in setupShape()
121 setShapeY((int) (animation.getAnimatedFraction() * (getHeight() - mShapeH))); in getValueAnimator()
DBouncer2.java87 mShapeH = mBitmap.getHeight(); in setupShape()
124 setShapeY((int) (animation.getAnimatedFraction() * (getHeight() - mShapeH))); in getValueAnimator()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DInternalSelectionScroll.java55 int screenHeight = getWindowManager().getDefaultDisplay().getHeight(); in onCreate()
DSecureViewOverlay.java72 spoof.layout(x, y, x + original.getWidth(), y + original.getHeight()); in spoofLayout()
DGameView.java427 positionY = mRandom.nextInt(getHeight());
431 positionY = mRandom.nextInt(getHeight());
439 positionY = getHeight() + size;
561 final int height = GameView.this.getHeight();
568 final int height = GameView.this.getHeight();
605 setPosition(getWidth() * 0.5f, getHeight() * 0.5f);

123