Home
last modified time | relevance | path

Searched refs:ModelKey (Results 1 – 13 of 13) sorted by relevance

/external/glide/library/src/main/java/com/bumptech/glide/load/model/
DModelCache.java19 private final LruCache<ModelKey<A>, B> cache;
26 cache = new LruCache<ModelKey<A>, B>(size) { in ModelCache()
28 protected void onItemEvicted(ModelKey<A> key, B item) { in ModelCache()
44 ModelKey<A> key = ModelKey.get(model, width, height); in get()
59 ModelKey<A> key = ModelKey.get(model, width, height); in put()
64 static final class ModelKey<A> { class in ModelCache
65 private static final Queue<ModelKey<?>> KEY_QUEUE = Util.createQueue(0);
71 static <A> ModelKey<A> get(A model, int width, int height) { in get()
73 ModelKey<A> modelKey = (ModelKey<A>) KEY_QUEUE.poll(); in get()
75 modelKey = new ModelKey<A>(); in get()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/scene/
DAssetLinkNode.java37 import com.jme3.asset.ModelKey;
59 protected ArrayList<ModelKey> assetLoaderKeys = new ArrayList<ModelKey>();
60 protected Map<ModelKey, Spatial> assetChildren = new HashMap<ModelKey, Spatial>();
65 public AssetLinkNode(ModelKey key) { in AssetLinkNode()
69 public AssetLinkNode(String name, ModelKey key) { in AssetLinkNode()
79 public void addLinkedChild(ModelKey key) { in addLinkedChild()
86 public void removeLinkedChild(ModelKey key) { in removeLinkedChild()
90 public ArrayList<ModelKey> getAssetLoaderKeys() { in getAssetLoaderKeys()
94 public void attachLinkedChild(AssetManager manager, ModelKey key) { in attachLinkedChild()
101 public void attachLinkedChild(Spatial spat, ModelKey key) { in attachLinkedChild()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/asset/
DModelKey.java41 public class ModelKey extends AssetKey<Spatial> { class
43 public ModelKey(String name){ in ModelKey() method in ModelKey
47 public ModelKey(){ in ModelKey() method in ModelKey
DAssetManager.java227 public Spatial loadModel(ModelKey key); in loadModel()
DDesktopAssetManager.java407 public Spatial loadModel(ModelKey key){ in loadModel()
418 return loadModel(new ModelKey(name)); in loadModel()
/external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/
DOgreMeshKey.java35 import com.jme3.asset.ModelKey;
46 public class OgreMeshKey extends ModelKey {
/external/jmonkeyengine/engine/src/test/jme3test/asset/
DTestManyLocators.java61 AssetInfo b = am.locateAsset(new ModelKey("casaamarela.jpg")); in main()
64 AssetInfo c = am.locateAsset(new ModelKey("glasstile2.png")); in main()
/external/jmonkeyengine/engine/src/test/jme3test/export/
DTestAssetLinkNode.java37 import com.jme3.asset.ModelKey;
71 loaderNode.addLinkedChild(new ModelKey("Models/MonkeyHead/MonkeyHead.mesh.xml")); in simpleInitApp()
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/
DBlenderLoader.java39 import com.jme3.asset.ModelKey;
171 ModelKey modelKey = (ModelKey) assetInfo.getKey(); in setup()
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/scene/plugins/
DOBJLoader.java84 protected ModelKey key;
542 key = (ModelKey) info.getKey(); in load()
555 if (!(info.getKey() instanceof ModelKey)) in load()
/external/llvm/utils/TableGen/
DCodeGenSchedule.cpp160 Record *ModelKey = getModelOrItinDef(ProcDef); in addProcModel() local
161 if (!ProcModelMap.insert(std::make_pair(ModelKey, ProcModels.size())).second) in addProcModel()
164 std::string Name = ModelKey->getName(); in addProcModel()
165 if (ModelKey->isSubClassOf("SchedMachineModel")) { in addProcModel()
166 Record *ItinsDef = ModelKey->getValueAsDef("Itineraries"); in addProcModel()
168 CodeGenProcModel(ProcModels.size(), Name, ModelKey, ItinsDef)); in addProcModel()
172 if (!ModelKey->getValueAsListOfDefs("IID").empty()) in addProcModel()
176 ProcDef->getValueAsDef("SchedModel"), ModelKey)); in addProcModel()
/external/jmonkeyengine/engine/src/blender/com/jme3/asset/
DBlenderKey.java61 public class BlenderKey extends ModelKey {
/external/jmonkeyengine/
DNOTICE12688 ==> engine/src/core/com/jme3/asset/ModelKey.java <==