Searched refs:sInstance (Results 1 - 25 of 72) 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.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
/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;
/frameworks/base/tools/layoutlib/bridge/src/android/view/inputmethod/
H A DInputMethodManager_Accessor.java25 InputMethodManager.sInstance = null;
H A DInputMethodManager_Delegate.java44 InputMethodManager.sInstance = imm;
/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/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/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;
/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/animation/
H A DArgbEvaluator.java24 private static final ArgbEvaluator sInstance = new ArgbEvaluator(); field in class:ArgbEvaluator
35 return sInstance;
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DAccessibilityManagerServiceTest.java191 MockAccessibilityService service = MyFirstMockAccessibilityService.sInstance;
221 MockAccessibilityService service = MyFirstMockAccessibilityService.sInstance;
251 MockAccessibilityService service = MyFirstMockAccessibilityService.sInstance;
281 MockAccessibilityService service = MyFirstMockAccessibilityService.sInstance;
332 MockAccessibilityService firstService = MyFirstMockAccessibilityService.sInstance;
338 MockAccessibilityService secondService = MySecondMockAccessibilityService.sInstance;
376 MockAccessibilityService firstService = MyFirstMockAccessibilityService.sInstance;
380 MockAccessibilityService secondService = MySecondMockAccessibilityService.sInstance;
415 MockAccessibilityService firstService = MyFirstMockAccessibilityService.sInstance;
421 MockAccessibilityService secondService = MySecondMockAccessibilityService.sInstance;
709 static MyFirstMockAccessibilityService sInstance; field in class:AccessibilityManagerServiceTest.MyFirstMockAccessibilityService
732 static MySecondMockAccessibilityService sInstance; field in class:AccessibilityManagerServiceTest.MySecondMockAccessibilityService
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DUnlockMethodCache.java34 private static UnlockMethodCache sInstance; field in class:UnlockMethodCache
54 if (sInstance == null) {
55 sInstance = new UnlockMethodCache(context);
57 return sInstance;
/frameworks/opt/bitmap/src/com/android/bitmap/
H A DReusableBitmap.java124 private static NullReusableBitmap sInstance; field in class:ReusableBitmap.NullReusableBitmap
130 if (sInstance == null) {
131 sInstance = new NullReusableBitmap();
133 return sInstance;
/frameworks/opt/telephony/src/java/android/telephony/gsm/
H A DSmsManager.java30 private static SmsManager sInstance; field in class:SmsManager
40 if (sInstance == null) {
41 sInstance = new SmsManager();
43 return sInstance;
/frameworks/base/core/java/android/view/
H A DAccessibilityIterators.java69 private static CharacterTextSegmentIterator sInstance; field in class:AccessibilityIterators.CharacterTextSegmentIterator
76 if (sInstance == null) {
77 sInstance = new CharacterTextSegmentIterator(locale);
79 return sInstance;
166 private static WordTextSegmentIterator sInstance; field in class:AccessibilityIterators.WordTextSegmentIterator
169 if (sInstance == null) {
170 sInstance = new WordTextSegmentIterator(locale);
172 return sInstance;
256 private static ParagraphTextSegmentIterator sInstance; field in class:AccessibilityIterators.ParagraphTextSegmentIterator
259 if (sInstance
[all...]
/frameworks/base/services/core/java/com/android/server/power/
H A DShutdownThread.java80 private static final ShutdownThread sInstance = new ShutdownThread(); field in class:ShutdownThread
231 sInstance.mContext = context;
232 sInstance.mPowerManager = (PowerManager)context.getSystemService(Context.POWER_SERVICE);
235 sInstance.mCpuWakeLock = null;
237 sInstance.mCpuWakeLock = sInstance.mPowerManager.newWakeLock(
239 sInstance.mCpuWakeLock.setReferenceCounted(false);
240 sInstance.mCpuWakeLock.acquire();
243 sInstance.mCpuWakeLock = null;
247 sInstance
[all...]

Completed in 905 milliseconds

123