Home
last modified time | relevance | path

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

/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoTable.java91 private final float mImageRatio; field in PhotoTable
137 mImageRatio = mResources.getInteger(R.integer.image_ratio) / 1000000f; in PhotoTable()
432 mLongSide = (int) (mImageRatio * Math.max(mWidth, mHeight)); in onLayout()
433 mShortSide = (int) (mImageRatio * Math.min(mWidth, mHeight)); in onLayout()
868 .scaleX(mTableRatio / mImageRatio) in dropOnTable()
869 .scaleY(mTableRatio / mImageRatio) in dropOnTable()