Lines Matching defs:model
1 package com.bumptech.glide.load.model;
10 * model, width and height. For a loader that takes a model and returns a url, the cache could be used to safely memoize
24 public static <A> ModelKey<A> get(A model, int width, int height) {
30 modelKey.init(model, width, height);
36 private A model;
40 private void init(A model, int width, int height) {
41 this.model = model;
59 if (!model.equals(modelKey.model)) return false;
68 result = 31 * result + model.hashCode();
91 * @param model The model.
97 public B get(A model, int width, int height) {
98 ModelKey<A> key = ModelKey.get(model, width, height);
107 * @param model The model.
112 public void put(A model, int width, int height, B value) {
113 ModelKey<A> key = ModelKey.get(model, width, height);