Searched defs:sInstance (Results 1 - 25 of 70) sorted by relevance

123

/frameworks/base/core/java/android/animation/
H A DArgbEvaluator.java24 private static final ArgbEvaluator sInstance = new ArgbEvaluator(); field in class:ArgbEvaluator
35 return sInstance;
/frameworks/base/core/java/android/text/method/
H A DDateKeyListener.java43 if (sInstance != null)
44 return sInstance;
46 sInstance = new DateKeyListener();
47 return sInstance;
61 private static DateKeyListener sInstance; field in class:DateKeyListener
H A DDateTimeKeyListener.java43 if (sInstance != null)
44 return sInstance;
46 sInstance = new DateTimeKeyListener();
47 return sInstance;
61 private static DateTimeKeyListener sInstance; field in class:DateTimeKeyListener
H A DHideReturnsTransformationMethod.java44 if (sInstance != null)
45 return sInstance;
47 sInstance = new HideReturnsTransformationMethod();
48 return sInstance;
51 private static HideReturnsTransformationMethod sInstance; field in class:HideReturnsTransformationMethod
H A DSingleLineTransformationMethod.java45 if (sInstance != null)
46 return sInstance;
48 sInstance = new SingleLineTransformationMethod();
49 return sInstance;
52 private static SingleLineTransformationMethod sInstance; field in class:SingleLineTransformationMethod
H A DTimeKeyListener.java43 if (sInstance != null)
44 return sInstance;
46 sInstance = new TimeKeyListener();
47 return sInstance;
61 private static TimeKeyListener sInstance; field in class:TimeKeyListener
H A DDialerKeyListener.java40 if (sInstance != null)
41 return sInstance;
43 sInstance = new DialerKeyListener();
44 return sInstance;
116 private static DialerKeyListener sInstance; field in class:DialerKeyListener
H A DDigitsKeyListener.java103 if (sInstance[kind] != null)
104 return sInstance[kind];
106 sInstance[kind] = new DigitsKeyListener(sign, decimal);
107 return sInstance[kind];
230 private static DigitsKeyListener[] sInstance = new DigitsKeyListener[4]; field in class:DigitsKeyListener
H A DScrollingMovementMethod.java113 if (sInstance == null)
114 sInstance = new ScrollingMovementMethod();
116 return sInstance;
119 private static ScrollingMovementMethod sInstance; field in class:ScrollingMovementMethod
/frameworks/base/core/java/com/android/internal/os/
H A DBackgroundThread.java26 private static BackgroundThread sInstance; field in class:BackgroundThread
34 if (sInstance == null) {
35 sInstance = new BackgroundThread();
36 sInstance.start();
37 sHandler = new Handler(sInstance.getLooper());
44 return sInstance;
/frameworks/base/services/core/java/com/android/server/
H A DDisplayThread.java28 private static DisplayThread sInstance; field in class:DisplayThread
36 if (sInstance == null) {
37 sInstance = new DisplayThread();
38 sInstance.start();
39 sHandler = new Handler(sInstance.getLooper());
46 return sInstance;
H A DFgThread.java30 private static FgThread sInstance; field in class:FgThread
38 if (sInstance == null) {
39 sInstance = new FgThread();
40 sInstance.start();
41 sHandler = new Handler(sInstance.getLooper());
48 return sInstance;
H A DIoThread.java27 private static IoThread sInstance; field in class:IoThread
35 if (sInstance == null) {
36 sInstance = new IoThread();
37 sInstance.start();
38 sHandler = new Handler(sInstance.getLooper());
45 return sInstance;
H A DUiThread.java27 private static UiThread sInstance; field in class:UiThread
35 if (sInstance == null) {
36 sInstance = new UiThread();
37 sInstance.start();
38 sHandler = new Handler(sInstance.getLooper());
45 return sInstance;
H A DAttributeCache.java37 private static AttributeCache sInstance = null; field in class:AttributeCache
65 if (sInstance == null) {
66 sInstance = new AttributeCache(context);
71 return sInstance;
/frameworks/base/core/java/android/os/
H A DNullVibrator.java27 private static final NullVibrator sInstance = new NullVibrator(); field in class:NullVibrator
33 return sInstance;
/frameworks/base/core/java/android/text/
H A DSpannable.java53 private static Spannable.Factory sInstance = new Spannable.Factory(); field in class:Spannable.Factory
59 return sInstance;
H A DEditable.java124 private static Editable.Factory sInstance = new Editable.Factory(); field in class:Editable.Factory
130 return sInstance;
H A DAutoText.java58 private static AutoText sInstance = new AutoText(Resources.getSystem()); field in class:AutoText
93 instance = sInstance;
97 sInstance = instance;
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DMultiUserAvatarCache.java25 private static MultiUserAvatarCache sInstance; field in class:MultiUserAvatarCache
34 if (sInstance == null) {
35 sInstance = new MultiUserAvatarCache();
37 return sInstance;
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DRoundedRectHelper.java26 private final static RoundedRectHelper sInstance = new RoundedRectHelper(); field in class:RoundedRectHelper
33 return sInstance;
H A DShadowHelper.java26 final static ShadowHelper sInstance = new ShadowHelper(); field in class:ShadowHelper
147 return sInstance;
/frameworks/base/core/java/android/net/http/
H A DCertificateChainValidator.java57 private static final CertificateChainValidator sInstance = new CertificateChainValidator(); field in class:CertificateChainValidator.NoPreloadHolder
72 return NoPreloadHolder.sInstance;
/frameworks/base/core/java/android/view/textservice/
H A DTextServicesManager.java68 private static TextServicesManager sInstance; field in class:TextServicesManager
84 if (sInstance != null) {
85 return sInstance;
87 sInstance = new TextServicesManager();
89 return sInstance;
/frameworks/base/core/java/com/android/internal/util/
H A DNotificationColorUtil.java47 private static NotificationColorUtil sInstance; field in class:NotificationColorUtil
57 if (sInstance == null) {
58 sInstance = new NotificationColorUtil(context);
60 return sInstance;

Completed in 401 milliseconds

123