Searched defs:sInstance (Results 26 - 50 of 127) sorted by relevance

123456

/frameworks/support/app-toolkit/runtime/src/main/java/android/arch/core/executor/
H A DAppToolkitTaskExecutor.java33 private static volatile AppToolkitTaskExecutor sInstance; field in class:AppToolkitTaskExecutor
68 if (sInstance != null) {
69 return sInstance;
72 if (sInstance == null) {
73 sInstance = new AppToolkitTaskExecutor();
76 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
104 return sInstance;
H A DStaticShadowHelper.java28 final static StaticShadowHelper sInstance = new StaticShadowHelper(); field in class:StaticShadowHelper
103 return sInstance;
/frameworks/base/core/java/android/security/net/config/
H A DApplicationConfig.java34 private static ApplicationConfig sInstance; field in class:ApplicationConfig
185 sInstance = config;
191 return sInstance;
/frameworks/base/core/java/android/text/
H A DEditable.java130 private static Editable.Factory sInstance = new Editable.Factory(); field in class:Editable.Factory
136 return sInstance;
H A DAutoText.java57 private static AutoText sInstance = new AutoText(Resources.getSystem()); field in class:AutoText
92 instance = sInstance;
96 sInstance = instance;
/frameworks/base/core/java/android/text/method/
H A DScrollingMovementMethod.java114 if (sInstance == null)
115 sInstance = new ScrollingMovementMethod();
117 return sInstance;
120 private static ScrollingMovementMethod sInstance; field in class:ScrollingMovementMethod
H A DArrowKeyMovementMethod.java328 if (sInstance == null) {
329 sInstance = new ArrowKeyMovementMethod();
332 return sInstance;
336 private static ArrowKeyMovementMethod sInstance; field in class:ArrowKeyMovementMethod
H A DLinkMovementMethod.java249 if (sInstance == null)
250 sInstance = new LinkMovementMethod();
252 return sInstance;
255 private static LinkMovementMethod sInstance; field in class:LinkMovementMethod
H A DMultiTapKeyListener.java41 private static MultiTapKeyListener[] sInstance = field in class:MultiTapKeyListener
77 if (sInstance[off] == null) {
78 sInstance[off] = new MultiTapKeyListener(cap, autotext);
81 return sInstance[off];
H A DQwertyKeyListener.java41 private static QwertyKeyListener[] sInstance = field in class:QwertyKeyListener
66 if (sInstance[off] == null) {
67 sInstance[off] = new QwertyKeyListener(cap, autoText);
70 return sInstance[off];
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/
H A DServiceResolveQueue.java33 private static ServiceResolveQueue sInstance = null; field in class:ServiceResolveQueue
38 if (sInstance == null) sInstance = new ServiceResolveQueue(nsdManager);
44 return sInstance;
49 sInstance = null;
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/util/
H A DNsdResolveQueue.java31 /** Lock for {@link #sInstance} */
36 private static NsdResolveQueue sInstance; field in class:NsdResolveQueue
47 if (sInstance == null) {
48 sInstance = new NsdResolveQueue();
51 return sInstance;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
H A DInputMethodSettingValuesWrapper.java46 private static volatile InputMethodSettingValuesWrapper sInstance; field in class:InputMethodSettingValuesWrapper
54 if (sInstance == null) {
56 if (sInstance == null) {
57 sInstance = new InputMethodSettingValuesWrapper(context);
61 return sInstance;
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
H A DFalsingLog.java65 private static FalsingLog sInstance; field in class:FalsingLog
110 if (sInstance == null) {
111 sInstance = new FalsingLog();
114 if (sInstance.mLog.size() >= MAX_SIZE) {
115 sInstance.mLog.removeFirst();
117 String entry = new StringBuilder().append(sInstance.mFormat.format(new Date()))
120 sInstance.mLog.add(entry);
130 if (sInstance == null || sInstance.mLog.isEmpty()) {
135 for (String s : sInstance
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
H A DCurrentUserTracker.java61 private static UserReceiver sInstance; field in class:CurrentUserTracker.UserReceiver
75 if (sInstance == null) {
76 sInstance = new UserReceiver(context);
78 return sInstance;
/frameworks/base/services/core/java/com/android/server/
H A DAttributeCache.java39 private static AttributeCache sInstance = null; field in class:AttributeCache
75 if (sInstance == null) {
76 sInstance = new AttributeCache(context);
81 return sInstance;
/frameworks/base/services/tests/servicestests/test-apps/ConnTestApp/src/com/android/servicestests/apps/conntestapp/
H A DConnTestActivity.java45 private static Activity sInstance; field in class:ConnTestActivity
53 sInstance = this;
87 sInstance = null;
95 if (sInstance != null) {
96 sInstance.finish();
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/
H A DTypeUtil.java45 private static TypeUtil sInstance; field in class:TypeUtil
52 if (sInstance == null) {
53 sInstance = ModelAnalyzer.getInstance().createTypeUtil();
55 return sInstance;
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
H A DAlbumArtCache.java51 private static final AlbumArtCache sInstance = new AlbumArtCache(); field in class:AlbumArtCache
54 return sInstance;
/frameworks/support/lifecycle/extensions/src/main/java/android/arch/lifecycle/
H A DProcessLifecycleOwner.java87 private static final ProcessLifecycleOwner sInstance = new ProcessLifecycleOwner(); field in class:ProcessLifecycleOwner
96 return sInstance;
100 sInstance.attach(context);
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
H A DAlbumArtCache.java51 private static final AlbumArtCache sInstance = new AlbumArtCache(); field in class:AlbumArtCache
54 return sInstance;
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DTwilightCalculator.java28 private static TwilightCalculator sInstance; field in class:TwilightCalculator
31 if (sInstance == null) {
32 sInstance = new TwilightCalculator();
34 return sInstance;
/frameworks/base/core/java/android/ddm/
H A DDdmHandleViewDebug.java90 private static final DdmHandleViewDebug sInstance = new DdmHandleViewDebug(); field in class:DdmHandleViewDebug
96 DdmServer.registerHandler(CHUNK_VULW, sInstance);
97 DdmServer.registerHandler(CHUNK_VURT, sInstance);
98 DdmServer.registerHandler(CHUNK_VUOP, sInstance);

Completed in 2418 milliseconds

123456