Home
last modified time | relevance | path

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

/packages/apps/Contacts/src/com/android/contacts/editor/
DPhotoEditorView.java152 final int photoHeight, photoWidth; in adjustDimensions()
154 photoHeight = getHeight(); in adjustDimensions()
155 photoWidth = (int) (photoHeight * mLandscapePhotoRatio); in adjustDimensions()
159 photoHeight = (int) (photoWidth / mPortraitPhotoRatio); in adjustDimensions()
162 layoutParams.height = photoHeight; in adjustDimensions()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoTable.java469 int photoHeight = options.outHeight; in applyFrame() local
482 photo.setTag(R.id.photo_height, Integer.valueOf(photoHeight)); in applyFrame()
716 float photoHeight = photo.getHeight(); in placeOnDeck() local
717 float scale = Math.min(getHeight() / photoHeight, getWidth() / photoWidth); in placeOnDeck()
720 float y = (getHeight() - photoHeight) / 2f; in placeOnDeck()
927 float photoHeight = photo.getHeight(); in pickUp() local
929 float scale = Math.min(getHeight() / photoHeight, getWidth() / photoWidth); in pickUp()
934 float y = (getHeight() - photoHeight) / 2f; in pickUp()