Home
last modified time | relevance | path

Searched refs:newHeight (Results 1 – 6 of 6) sorted by relevance

/development/samples/devbytes/animation/ListViewExpandingCells/src/com/example/android/expandingcells/
DExpandableListItem.java84 public void onSizeChanged(int newHeight) { in onSizeChanged() argument
85 setExpandedHeight(newHeight); in onSizeChanged()
DOnSizeChangedListener.java24 public void onSizeChanged(int newHeight); in onSizeChanged() argument
DExpandingListView.java217 int newHeight = newBottom - newTop;
219 int delta = newHeight - oldHeight;
409 int newHeight = newBottom - newTop;
411 int deltaHeight = oldHeight - newHeight;
/development/ndk/platforms/android-17/samples/Teapot/src/com/sample/helper/
DNDKHelper.java57 private Bitmap scaleBitmap(Bitmap bitmapToScale, float newWidth, float newHeight) in scaleBitmap() argument
68 matrix.postScale(newWidth / width, newHeight / height); in scaleBitmap()
/development/ndk/platforms/android-18/samples/MoreTeapots/src/com/sample/helper/
DNDKHelper.java57 private Bitmap scaleBitmap(Bitmap bitmapToScale, float newWidth, float newHeight) in scaleBitmap() argument
68 matrix.postScale(newWidth / width, newHeight / height); in scaleBitmap()
/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/
DInteractiveLineGraphView.java673 float newHeight = lastSpanY / spanY * mCurrentViewport.height();
684 - newHeight * (mContentRect.bottom - focusY)
689 mCurrentViewport.bottom = mCurrentViewport.top + newHeight;
902 float newHeight = (1f - mZoomer.getCurrZoom()) * mScrollerStartViewport.height(); in computeScroll() local
909 mZoomFocalPoint.y - newHeight * pointWithinViewportY, in computeScroll()
911 mZoomFocalPoint.y + newHeight * (1 - pointWithinViewportY)); in computeScroll()