Home
last modified time | relevance | path

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

/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/
DBuildInfoUtil.java30 private static BindingBuildInfo sCached; field in BuildInfoUtil
32 if (sCached == null) { in load()
33 sCached = extractNotNull(roundEnvironment, BindingBuildInfo.class); in load()
34 if (sCached != null) { in load()
35 L.setDebugLog(sCached.enableDebugLogs()); in load()
36 ScopedException.encodeOutput(sCached.printEncodedError()); in load()
39 return sCached; in load()
/frameworks/base/core/java/android/text/
DMeasuredText.java49 private static final MeasuredText[] sCached = new MeasuredText[3]; field in MeasuredText
54 for (int i = sCached.length; --i >= 0;) { in obtain()
55 if (sCached[i] != null) { in obtain()
56 mt = sCached[i]; in obtain()
57 sCached[i] = null; in obtain()
72 for (int i = 0; i < sCached.length; ++i) { in recycle()
73 if (sCached[i] == null) { in recycle()
74 sCached[i] = mt; in recycle()
DTextLine.java67 private static final TextLine[] sCached = new TextLine[3]; field in TextLine
76 synchronized (sCached) { in obtain()
77 for (int i = sCached.length; --i >= 0;) { in obtain()
78 if (sCached[i] != null) { in obtain()
79 tl = sCached[i]; in obtain()
80 sCached[i] = null; in obtain()
111 synchronized(sCached) { in recycle()
112 for (int i = 0; i < sCached.length; ++i) { in recycle()
113 if (sCached[i] == null) { in recycle()
114 sCached[i] = tl; in recycle()