Java Code Examples for com.nostra13.universalimageloader.core.assist.ViewScaleType#fromImageView()
The following examples show how to use
com.nostra13.universalimageloader.core.assist.ViewScaleType#fromImageView() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ImageViewAware.java From candybar with Apache License 2.0 | 5 votes |
@Override public ViewScaleType getScaleType() { ImageView imageView = (ImageView) viewRef.get(); if (imageView != null) { return ViewScaleType.fromImageView(imageView); } return super.getScaleType(); }
Example 2
Source File: RotateImageViewAware.java From o2oa with GNU Affero General Public License v3.0 | 5 votes |
@Override public ViewScaleType getScaleType() { ImageView imageView = imageViewRef.get(); if (imageView != null) { return ViewScaleType.fromImageView(imageView); } return null; }
Example 3
Source File: ImageViewAware.java From letv with Apache License 2.0 | 5 votes |
public ViewScaleType getScaleType() { ImageView imageView = (ImageView) this.viewRef.get(); if (imageView != null) { return ViewScaleType.fromImageView(imageView); } return super.getScaleType(); }
Example 4
Source File: ImageViewAware.java From mobile-manager-tool with MIT License | 5 votes |
@Override public ViewScaleType getScaleType() { ImageView imageView = (ImageView) viewRef.get(); if (imageView != null) { return ViewScaleType.fromImageView(imageView); } return super.getScaleType(); }
Example 5
Source File: ImageViewAware.java From BigApp_WordPress_Android with Apache License 2.0 | 5 votes |
@Override public ViewScaleType getScaleType() { ImageView imageView = (ImageView) viewRef.get(); if (imageView != null) { return ViewScaleType.fromImageView(imageView); } return super.getScaleType(); }
Example 6
Source File: ImageViewAware.java From WliveTV with Apache License 2.0 | 5 votes |
@Override public ViewScaleType getScaleType() { ImageView imageView = (ImageView) viewRef.get(); if (imageView != null) { return ViewScaleType.fromImageView(imageView); } return super.getScaleType(); }
Example 7
Source File: ImageViewAware.java From MiBandDecompiled with Apache License 2.0 | 5 votes |
public ViewScaleType getScaleType() { ImageView imageview = (ImageView)viewRef.get(); if (imageview != null) { return ViewScaleType.fromImageView(imageview); } else { return super.getScaleType(); } }
Example 8
Source File: ImageViewAware.java From Android-Universal-Image-Loader-Modify with Apache License 2.0 | 5 votes |
/** * 获取ImageView的缩放scale类型方式 * @return */ @Override public ViewScaleType getScaleType() { ImageView imageView = (ImageView) viewRef.get(); if (imageView != null) { return ViewScaleType.fromImageView(imageView); } return super.getScaleType(); }
Example 9
Source File: ImageViewAware.java From android-open-project-demo with Apache License 2.0 | 5 votes |
@Override public ViewScaleType getScaleType() { ImageView imageView = (ImageView) viewRef.get(); if (imageView != null) { return ViewScaleType.fromImageView(imageView); } return super.getScaleType(); }