Home
last modified time | relevance | path

Searched refs:cachedMap (Results 1 – 3 of 3) sorted by relevance

/external/skia/modules/pathkit/
Dhelper.js79 var cachedMap;
83 if (!cachedMap || _cpx1 !== cpx1 || _cpy1 !== cpy1 ||
85 if (cachedMap) {
87 cachedMap.delete()
89 cachedMap = new PathKit._SkCubicMap([cpx1, cpy1], [cpx2, cpy2]);
92 return cachedMap.computeYFromX(X);
96 if (!cachedMap || _cpx1 !== cpx1 || _cpy1 !== cpy1 ||
98 if (cachedMap) {
100 cachedMap.delete()
102 cachedMap = new PathKit._SkCubicMap([cpx1, cpy1], [cpx2, cpy2]);
[all …]
/external/skqp/modules/pathkit/
Dhelper.js79 var cachedMap;
83 if (!cachedMap || _cpx1 !== cpx1 || _cpy1 !== cpy1 ||
85 if (cachedMap) {
87 cachedMap.delete()
89 cachedMap = new PathKit._SkCubicMap([cpx1, cpy1], [cpx2, cpy2]);
92 return cachedMap.computeYFromX(X);
96 if (!cachedMap || _cpx1 !== cpx1 || _cpy1 !== cpy1 ||
98 if (cachedMap) {
100 cachedMap.delete()
102 cachedMap = new PathKit._SkCubicMap([cpx1, cpy1], [cpx2, cpy2]);
[all …]
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
DFs.java104 NavigableMap<String, JarEntry> cachedMap; in JarFs() local
106 cachedMap = CACHE.get(file.getAbsoluteFile()); in JarFs()
109 if (cachedMap == null) { in JarFs()
110 cachedMap = new TreeMap<>(); in JarFs()
114 cachedMap.put(jarEntry.getName(), jarEntry); in JarFs()
117 CACHE.put(file.getAbsoluteFile(), cachedMap); in JarFs() local
121 jarEntryMap = cachedMap; in JarFs()