@Test public void setInSampleSize() { gifOptions.setInSampleSize(2); assertThat(gifOptions.inSampleSize).isEqualTo((char) 2); }
public void setInSampleSize(@IntRange(from = 1, to = Character.MAX_VALUE) int inSampleSize) { if (inSampleSize < 1 || inSampleSize > Character.MAX_VALUE) { this.inSampleSize = 1; } else { this.inSampleSize = (char) inSampleSize; } }
GifOptions { public void setInSampleSize(@IntRange(from = 1, to = Character.MAX_VALUE) int inSampleSize) { if (inSampleSize < 1 || inSampleSize > Character.MAX_VALUE) { this.inSampleSize = 1; } else { this.inSampleSize = (char) inSampleSize; } } }
GifOptions { public void setInSampleSize(@IntRange(from = 1, to = Character.MAX_VALUE) int inSampleSize) { if (inSampleSize < 1 || inSampleSize > Character.MAX_VALUE) { this.inSampleSize = 1; } else { this.inSampleSize = (char) inSampleSize; } } GifOptions(); }
GifOptions { public void setInSampleSize(@IntRange(from = 1, to = Character.MAX_VALUE) int inSampleSize) { if (inSampleSize < 1 || inSampleSize > Character.MAX_VALUE) { this.inSampleSize = 1; } else { this.inSampleSize = (char) inSampleSize; } } GifOptions(); void setInSampleSize(@IntRange(from = 1, to = Character.MAX_VALUE) int inSampleSize); void setInIsOpaque(boolean inIsOpaque); }
GifOptions { public void setInSampleSize(@IntRange(from = 1, to = Character.MAX_VALUE) int inSampleSize) { if (inSampleSize < 1 || inSampleSize > Character.MAX_VALUE) { this.inSampleSize = 1; } else { this.inSampleSize = (char) inSampleSize; } } GifOptions(); void setInSampleSize(@IntRange(from = 1, to = Character.MAX_VALUE) int inSampleSize); void setInIsOpaque(boolean inIsOpaque);  }