/frameworks/base/core/java/android/text/method/ |
D | DateTimeKeyListener.java | 39 if (sInstance != null) in getInstance() 40 return sInstance; in getInstance() 42 sInstance = new DateTimeKeyListener(); in getInstance() 43 return sInstance; in getInstance() 57 private static DateTimeKeyListener sInstance; field in DateTimeKeyListener
|
D | DateKeyListener.java | 39 if (sInstance != null) in getInstance() 40 return sInstance; in getInstance() 42 sInstance = new DateKeyListener(); in getInstance() 43 return sInstance; in getInstance() 57 private static DateKeyListener sInstance; field in DateKeyListener
|
D | TimeKeyListener.java | 39 if (sInstance != null) in getInstance() 40 return sInstance; in getInstance() 42 sInstance = new TimeKeyListener(); in getInstance() 43 return sInstance; in getInstance() 57 private static TimeKeyListener sInstance; field in TimeKeyListener
|
D | HideReturnsTransformationMethod.java | 51 if (sInstance != null) in getInstance() 52 return sInstance; in getInstance() 54 sInstance = new HideReturnsTransformationMethod(); in getInstance() 55 return sInstance; in getInstance() 58 private static HideReturnsTransformationMethod sInstance; field in HideReturnsTransformationMethod
|
D | SingleLineTransformationMethod.java | 54 if (sInstance != null) in getInstance() 55 return sInstance; in getInstance() 57 sInstance = new SingleLineTransformationMethod(); in getInstance() 58 return sInstance; in getInstance() 61 private static SingleLineTransformationMethod sInstance; field in SingleLineTransformationMethod
|
D | DialerKeyListener.java | 36 if (sInstance != null) in getInstance() 37 return sInstance; in getInstance() 39 sInstance = new DialerKeyListener(); in getInstance() 40 return sInstance; in getInstance() 112 private static DialerKeyListener sInstance; field in DialerKeyListener
|
D | TextKeyListener.java | 38 private static TextKeyListener[] sInstance = field in TextKeyListener 82 if (sInstance[off] == null) { in getInstance() 83 sInstance[off] = new TextKeyListener(cap, autotext); in getInstance() 86 return sInstance[off]; in getInstance() 223 if (sInstance != null) in getInstance() 224 return sInstance; in getInstance() 226 sInstance = new NullKeyListener(); in getInstance() 227 return sInstance; in getInstance() 230 private static NullKeyListener sInstance; field in TextKeyListener.NullKeyListener
|
D | DigitsKeyListener.java | 90 if (sInstance[kind] != null) in getInstance() 91 return sInstance[kind]; in getInstance() 93 sInstance[kind] = new DigitsKeyListener(sign, decimal); in getInstance() 94 return sInstance[kind]; in getInstance() 217 private static DigitsKeyListener[] sInstance = new DigitsKeyListener[4]; field in DigitsKeyListener
|
D | PasswordTransformationMethod.java | 64 if (sInstance != null) in getInstance() 65 return sInstance; in getInstance() 67 sInstance = new PasswordTransformationMethod(); in getInstance() 68 return sInstance; in getInstance() 265 private static PasswordTransformationMethod sInstance; field in PasswordTransformationMethod
|
D | ScrollingMovementMethod.java | 233 if (sInstance == null) in getInstance() 234 sInstance = new ScrollingMovementMethod(); in getInstance() 236 return sInstance; in getInstance() 239 private static ScrollingMovementMethod sInstance; field in ScrollingMovementMethod
|
/frameworks/base/include/utils/ |
D | Singleton.h | 33 TYPE* instance = sInstance; in getInstance() 36 sInstance = instance; in getInstance() 49 static TYPE* sInstance; variable 64 template<> TYPE* Singleton< TYPE >::sInstance(0);
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ShutdownThread.java | 68 private static final ShutdownThread sInstance = new ShutdownThread(); field in ShutdownThread 163 sInstance.mContext = context; in beginShutdownSequence() 164 sInstance.mPowerManager = (PowerManager)context.getSystemService(Context.POWER_SERVICE); in beginShutdownSequence() 165 sInstance.mWakeLock = null; in beginShutdownSequence() 166 if (sInstance.mPowerManager.isScreenOn()) { in beginShutdownSequence() 168 sInstance.mWakeLock = sInstance.mPowerManager.newWakeLock( in beginShutdownSequence() 170 sInstance.mWakeLock.acquire(); in beginShutdownSequence() 173 sInstance.mWakeLock = null; in beginShutdownSequence() 176 sInstance.mHandler = new Handler() { in beginShutdownSequence() 178 sInstance.start(); in beginShutdownSequence()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | HanziToPinyin.java | 305 private static HanziToPinyin sInstance; field in HanziToPinyin 347 if (sInstance != null) { in getInstance() 348 return sInstance; in getInstance() 354 sInstance = new HanziToPinyin(true); in getInstance() 355 return sInstance; in getInstance() 359 sInstance = new HanziToPinyin(false); in getInstance() 360 return sInstance; in getInstance()
|
/frameworks/base/telephony/java/android/telephony/gsm/ |
D | SmsManager.java | 30 private static SmsManager sInstance; field in SmsManager 40 if (sInstance == null) { in getDefault() 41 sInstance = new SmsManager(); in getDefault() 43 return sInstance; in getDefault()
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/stk/ |
D | RilMessageDecoder.java | 38 private static RilMessageDecoder sInstance = null; field in RilMessageDecoder 55 if (sInstance == null) { in getInstance() 56 sInstance = new RilMessageDecoder(caller, fh); in getInstance() 57 sInstance.start(); in getInstance() 59 return sInstance; in getInstance()
|
D | StkService.java | 120 private static StkService sInstance; field in StkService 460 if (sInstance == null) { in getInstance() 467 sInstance = new StkService(ci, sr, context, fh, sc); in getInstance() 468 StkLog.d(sInstance, "NEW sInstance"); in getInstance() 470 StkLog.d(sInstance, "Reinitialize the Service with SIMRecords"); in getInstance() 474 mSimRecords.registerForRecordsLoaded(sInstance, MSG_ID_SIM_LOADED, null); in getInstance() 475 StkLog.d(sInstance, "sr changed reinitialize and return current sInstance"); in getInstance() 477 StkLog.d(sInstance, "Return current sInstance"); in getInstance() 479 return sInstance; in getInstance()
|
/frameworks/base/services/java/com/android/server/ |
D | AttributeCache.java | 36 private static AttributeCache sInstance = null; field in AttributeCache 64 if (sInstance == null) { in init() 65 sInstance = new AttributeCache(context); in init() 70 return sInstance; in instance()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityManager.java | 53 private static AccessibilityManager sInstance; field in AccessibilityManager 96 if (sInstance == null) { in getInstance() 97 sInstance = new AccessibilityManager(context); in getInstance() 100 return sInstance; in getInstance()
|
/frameworks/base/core/java/android/text/ |
D | Spannable.java | 53 private static Spannable.Factory sInstance = new Spannable.Factory(); field in Spannable.Factory 59 return sInstance; in getInstance()
|
D | Editable.java | 124 private static Editable.Factory sInstance = new Editable.Factory(); field in Editable.Factory 130 return sInstance; in getInstance()
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/accessibility/ |
D | AccessibilityManager.java | 38 private static AccessibilityManager sInstance = new AccessibilityManager(); field in AccessibilityManager 46 return sInstance; in getInstance()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | InputConnectionWrapper.java | 45 private static InputContextCallback sInstance = new InputContextCallback(); field in InputConnectionWrapper.InputContextCallback 58 if (sInstance != null) { in getInstance() 59 callback = sInstance; in getInstance() 60 sInstance = null; in getInstance() 80 if (sInstance == null) { in dispose() 85 sInstance = this; in dispose()
|
/frameworks/base/core/java/android/webkit/ |
D | GeolocationPermissions.java | 60 private static GeolocationPermissions sInstance; field in GeolocationPermissions 88 if (sInstance == null) { in getInstance() 89 sInstance = new GeolocationPermissions(); in getInstance() 91 return sInstance; in getInstance()
|
/frameworks/base/telephony/java/android/telephony/ |
D | SmsManager.java | 44 private static SmsManager sInstance; field in SmsManager 226 if (sInstance == null) { in getDefault() 227 sInstance = new SmsManager(); in getDefault() 229 return sInstance; in getDefault()
|
/frameworks/base/core/java/com/google/android/mms/util/ |
D | PduCache.java | 51 private static PduCache sInstance; field in PduCache 84 if (sInstance == null) { in getInstance() 88 sInstance = new PduCache(); in getInstance() 90 return sInstance; in getInstance()
|