HomeSort by relevance Sort by last modified time
    Searched refs:longSide (Results 1 - 6 of 6) sorted by null

  /packages/apps/Camera/src/com/android/camera/
PreviewFrameLayout.java 99 int longSide = (widthLonger ? previewWidth : previewHeight);
101 if (longSide > shortSide * mAspectRatio) {
102 longSide = (int) ((double) shortSide * mAspectRatio);
104 shortSide = (int) ((double) longSide / mAspectRatio);
107 previewWidth = longSide;
111 previewHeight = longSide;
  /packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
PhotoSource.java 60 InputStream getStream(int longSide) {
61 return PhotoSource.this.getStream(this, longSide);
129 public Bitmap next(BitmapFactory.Options options, int longSide, int shortSide) {
130 log(TAG, "decoding a picasa resource to " + longSide + ", " + shortSide);
143 image = load(imageData, options, longSide, shortSide);
153 options, longSide, shortSide);
159 public Bitmap load(ImageData data, BitmapFactory.Options options, int longSide, int shortSide) {
160 log(TAG, "decoding photo resource to " + longSide + ", " + shortSide);
161 InputStream is = data.getStream(longSide);
176 float insideRatio = Math.max((float) longSide / (float) rawLongSide
    [all...]
PhotoSourcePlexor.java 70 protected InputStream getStream(ImageData data, int longSide) {
71 return data.getStream(longSide);
StockSource.java 83 protected InputStream getStream(ImageData data, int longSide) {
PicasaSource.java 433 protected InputStream getStream(ImageData data, int longSide) {
442 ((2 * longSide) <= mDisplayLongSide)) {
LocalSource.java 243 protected InputStream getStream(ImageData data, int longSide) {

Completed in 2150 milliseconds