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

123

/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.java51 if (sInstance != null)
52 return sInstance;
54 sInstance = new HideReturnsTransformationMethod();
55 return sInstance;
58 private static HideReturnsTransformationMethod sInstance; field in class:HideReturnsTransformationMethod
H A DSingleLineTransformationMethod.java54 if (sInstance != null)
55 return sInstance;
57 sInstance = new SingleLineTransformationMethod();
58 return sInstance;
61 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
H A DArrowKeyMovementMethod.java318 if (sInstance == null) {
319 sInstance = new ArrowKeyMovementMethod();
322 return sInstance;
326 private static ArrowKeyMovementMethod sInstance; field in class:ArrowKeyMovementMethod
/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/java/com/android/server/
H A DFgThread.java31 private static FgThread sInstance; field in class:FgThread
39 if (sInstance == null) {
40 sInstance = new FgThread();
41 sInstance.start();
42 sHandler = new Handler(sInstance.getLooper());
55 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 sHandler = new Handler(sInstance.getLooper());
52 return sInstance;
H A DUiThread.java30 private static UiThread sInstance; field in class:UiThread
38 if (sInstance == null) {
39 sInstance = new UiThread();
40 sInstance.start();
41 sHandler = new Handler(sInstance.getLooper());
61 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/core/java/android/net/http/
H A DCertificateChainValidator.java46 private static final CertificateChainValidator sInstance field in class:CertificateChainValidator
56 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;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DKeyguardTouchDelegate.java44 private static KeyguardTouchDelegate sInstance; field in class:KeyguardTouchDelegate
63 sInstance = null; // force reconnection if this goes away
80 KeyguardTouchDelegate instance = sInstance;
82 instance = sInstance = new KeyguardTouchDelegate(context);
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A DResourceModifiers.java49 private static ResourceModifiers sInstance = null; field in class:ResourceModifiers
50 public static ResourceModifiers instance() { return sInstance; }
52 sInstance = new ResourceModifiers(resources);
/frameworks/base/tools/layoutlib/bridge/src/android/view/accessibility/
H A DAccessibilityManager.java41 private static AccessibilityManager sInstance = new AccessibilityManager(); field in class:AccessibilityManager
62 return sInstance;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DRilMessageDecoder.java38 private static RilMessageDecoder sInstance = null; field in class:RilMessageDecoder
55 if (sInstance == null) {
56 sInstance = new RilMessageDecoder(caller, fh);
57 sInstance.start();
59 return sInstance;
/frameworks/base/core/java/android/ddm/
H A DDdmHandleViewDebug.java91 private static final DdmHandleViewDebug sInstance = new DdmHandleViewDebug(); field in class:DdmHandleViewDebug
97 DdmServer.registerHandler(CHUNK_VUGL, sInstance);
98 DdmServer.registerHandler(CHUNK_VULW, sInstance);
99 DdmServer.registerHandler(CHUNK_VURT, sInstance);
100 DdmServer.registerHandler(CHUNK_VUOP, sInstance);

Completed in 1182 milliseconds

123