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

12345

/frameworks/base/core/java/android/net/
H A DConnectivityThread.java30 private static ConnectivityThread sInstance; field in class:ConnectivityThread
37 if (sInstance == null) {
38 sInstance = new ConnectivityThread();
39 sInstance.start();
41 return sInstance;
/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.java27 private static BackgroundThread sInstance; field in class:BackgroundThread
35 if (sInstance == null) {
36 sInstance = new BackgroundThread();
37 sInstance.start();
38 sInstance.getLooper().setTraceTag(Trace.TRACE_TAG_ACTIVITY_MANAGER);
39 sHandler = new Handler(sInstance.getLooper());
46 return sInstance;
/frameworks/base/services/core/java/com/android/server/
H A DDisplayThread.java29 private static DisplayThread sInstance; field in class:DisplayThread
37 if (sInstance == null) {
38 sInstance = new DisplayThread();
39 sInstance.start();
40 sInstance.getLooper().setTraceTag(Trace.TRACE_TAG_ACTIVITY_MANAGER);
41 sHandler = new Handler(sInstance.getLooper());
48 return sInstance;
H A DFgThread.java31 private static FgThread sInstance; field in class:FgThread
39 if (sInstance == null) {
40 sInstance = new FgThread();
41 sInstance.start();
42 sInstance.getLooper().setTraceTag(Trace.TRACE_TAG_ACTIVITY_MANAGER);
43 sHandler = new Handler(sInstance.getLooper());
50 return sInstance;
H A DIoThread.java28 private static IoThread sInstance; field in class:IoThread
36 if (sInstance == null) {
37 sInstance = new IoThread();
38 sInstance.start();
39 sInstance.getLooper().setTraceTag(Trace.TRACE_TAG_ACTIVITY_MANAGER);
40 sHandler = new Handler(sInstance.getLooper());
47 return sInstance;
H A DUiThread.java29 private static UiThread sInstance; field in class:UiThread
39 if (sInstance == null) {
40 sInstance = new UiThread();
41 sInstance.start();
42 sInstance.getLooper().setTraceTag(Trace.TRACE_TAG_ACTIVITY_MANAGER);
43 sHandler = new Handler(sInstance.getLooper());
50 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.java128 private static Editable.Factory sInstance = new Editable.Factory(); field in class:Editable.Factory
134 return sInstance;
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
H A DForegroundThread.java27 private static ForegroundThread sInstance; field in class:ForegroundThread
35 if (sInstance == null) {
36 sInstance = new ForegroundThread();
37 sInstance.start();
38 sHandler = new Handler(sInstance.getLooper());
45 return sInstance;
/frameworks/support/compat/java/android/support/v4/content/
H A DSharedPreferencesCompat.java27 private static EditorCompat sInstance; field in class:SharedPreferencesCompat.EditorCompat
52 if (sInstance == null) {
53 sInstance = new EditorCompat();
55 return sInstance;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiInjector.java28 public static final WifiInjector sInstance = new WifiInjector(); field in class:WifiInjector.LazyHolder
32 return LazyHolder.sInstance;
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DForegroundHelper.java10 final static ForegroundHelper sInstance = new ForegroundHelper(); field in class:ForegroundHelper
67 return sInstance;
H A DRoundedRectHelper.java25 private final static RoundedRectHelper sInstance = new RoundedRectHelper(); field in class:RoundedRectHelper
32 return sInstance;
/frameworks/base/core/java/android/security/net/config/
H A DApplicationConfig.java34 private static ApplicationConfig sInstance; field in class:ApplicationConfig
179 sInstance = config;
185 return 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;

Completed in 4974 milliseconds

12345