/development/samples/devbytes/animation/ToonGame/src/com/example/android/toongame/ |
D | ToonGame.java | 111 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()
|
D | SkewableTextView.java | 51 canvas.translate(0, getHeight()); in onDraw() 53 canvas.translate(0, -getHeight()); in onDraw()
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
D | ShapeHolder.java | 86 s.resize(width, s.getHeight()); in setWidth() 89 public float getHeight() { in getHeight() method in ShapeHolder 90 return shape.getShape().getHeight(); in getHeight()
|
D | AnimationCloning.java | 81 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()
|
D | MultiPropertyAnimation.java | 90 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()
|
D | BouncingBalls.java | 88 float endY = getHeight() - 50f; in onTouchEvent() 89 float h = (float)getHeight(); in onTouchEvent() 114 newBall.getHeight(), newBall.getHeight() - 25); in onTouchEvent()
|
D | Transition3d.java | 90 final float centerY = mContainer.getHeight() / 2.0f; in applyRotation() 150 final float centerY = mContainer.getHeight() / 2.0f; in run()
|
D | AnimationSeeking.java | 82 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/ |
D | AlphaBitmap.java | 44 float y = bm.getHeight(); in drawIntoBitmap() 83 y += mBitmap.getHeight() + 10; in onDraw() 85 y += mBitmap2.getHeight() + 10; in onDraw()
|
D | PictureLayout.java | 121 super.dispatchDraw(mPicture.beginRecording(getWidth(), getHeight())); in dispatchDraw() 125 int y = getHeight()/2; in dispatchDraw() 141 dirty.set(0, 0, getWidth(), getHeight()); in invalidateChildInParent()
|
D | WindowSurface.java | 218 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()
|
D | ColorMatrixSample.java | 111 canvas.drawBitmap(mBitmap, x, y + mBitmap.getHeight() + 10, paint); in onDraw() 115 canvas.drawBitmap(mBitmap, x, y + 2*(mBitmap.getHeight() + 10), in onDraw()
|
D | BitmapDecode.java | 92 int h = mBitmap2.getHeight(); in SampleView() 139 getHeight() - mMovie.height()); in onDraw()
|
D | BitmapPixels.java | 155 y += mBitmap1.getHeight() + 10; in onDraw() 157 y += mBitmap2.getHeight() + 10; in onDraw()
|
/development/samples/devbytes/animation/SquashAndStretch/src/com/example/squashandstretch/ |
D | SquashAndStretch.java | 79 view.setPivotY(view.getHeight()); in onButtonClick() 83 mContainer.getHeight() - view.getHeight()); in onButtonClick()
|
/development/samples/devbytes/animation/ActivityAnimations/src/com/example/android/activityanim/ |
D | PictureDetailsActivity.java | 115 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/ |
D | LevelsDalvikActivity.java | 157 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/ |
D | AnticiButton.java | 85 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/ |
D | Bouncer3.java | 87 mShapeH = mBitmap.getHeight(); in setupShape() 120 return ObjectAnimator.ofInt(this, "shapeY", 0, (getHeight() - mShapeH)); in getObjectAnimator()
|
D | Bouncer.java | 78 mShapeH = mBitmap.getHeight(); in setupShape() 137 (getHeight() - mShapeH))); in getValueAnimator()
|
D | Bouncer1.java | 86 mShapeH = mBitmap.getHeight(); in setupShape() 121 setShapeY((int) (animation.getAnimatedFraction() * (getHeight() - mShapeH))); in getValueAnimator()
|
D | Bouncer2.java | 87 mShapeH = mBitmap.getHeight(); in setupShape() 124 setShapeY((int) (animation.getAnimatedFraction() * (getHeight() - mShapeH))); in getValueAnimator()
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | InternalSelectionScroll.java | 55 int screenHeight = getWindowManager().getDefaultDisplay().getHeight(); in onCreate()
|
D | SecureViewOverlay.java | 72 spoof.layout(x, y, x + original.getWidth(), y + original.getHeight()); in spoofLayout()
|
D | GameView.java | 427 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);
|