Request.java 文件源码

java
阅读 26 收藏 0 点赞 0 评论 0

项目:GitHub 作者:
private Request(Uri uri, int resourceId, String stableKey, List<Transformation> transformations,
    int targetWidth, int targetHeight, boolean centerCrop, boolean centerInside,
    int centerCropGravity, boolean onlyScaleDown, float rotationDegrees,
    float rotationPivotX, float rotationPivotY, boolean hasRotationPivot,
    boolean purgeable, Bitmap.Config config, Priority priority) {
  this.uri = uri;
  this.resourceId = resourceId;
  this.stableKey = stableKey;
  if (transformations == null) {
    this.transformations = null;
  } else {
    this.transformations = unmodifiableList(transformations);
  }
  this.targetWidth = targetWidth;
  this.targetHeight = targetHeight;
  this.centerCrop = centerCrop;
  this.centerInside = centerInside;
  this.centerCropGravity = centerCropGravity;
  this.onlyScaleDown = onlyScaleDown;
  this.rotationDegrees = rotationDegrees;
  this.rotationPivotX = rotationPivotX;
  this.rotationPivotY = rotationPivotY;
  this.hasRotationPivot = hasRotationPivot;
  this.purgeable = purgeable;
  this.config = config;
  this.priority = priority;
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号