/frameworks/base/core/java/android/view/ |
H A D | AccessibilityIterators.java | 68 private static CharacterTextSegmentIterator sInstance; field in class:AccessibilityIterators.CharacterTextSegmentIterator 75 if (sInstance == null) { 76 sInstance = new CharacterTextSegmentIterator(locale); 78 return sInstance; 160 private static WordTextSegmentIterator sInstance; field in class:AccessibilityIterators.WordTextSegmentIterator 163 if (sInstance == null) { 164 sInstance = new WordTextSegmentIterator(locale); 166 return sInstance; 250 private static ParagraphTextSegmentIterator sInstance; field in class:AccessibilityIterators.ParagraphTextSegmentIterator 253 if (sInstance [all...] |
/frameworks/base/libs/hwui/ |
H A D | Caches.cpp | 36 Caches* Caches::sInstance = nullptr; member in class:android::uirenderer::Caches
|
H A D | Caches.h | 63 LOG_ALWAYS_FATAL_IF(sInstance, "double create of Caches attempted"); 64 sInstance = new Caches(renderState); 65 return *sInstance; 69 LOG_ALWAYS_FATAL_IF(!sInstance, "instance not yet created"); 70 return *sInstance; 74 return sInstance != nullptr; 78 static Caches* sInstance; member in class:android::uirenderer::Caches
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
H A D | LocalBluetoothManager.java | 32 private static LocalBluetoothManager sInstance; field in class:LocalBluetoothManager 51 if (sInstance == null) { 58 sInstance = new LocalBluetoothManager(adapter, appContext); 60 onInitCallback.onBluetoothManagerInitialized(appContext, sInstance); 64 return sInstance;
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/ |
H A D | CategoryManager.java | 43 private static CategoryManager sInstance; field in class:CategoryManager 60 if (sInstance == null) { 61 sInstance = new CategoryManager(context, action); 63 return sInstance;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
H A D | HumanInteractionClassifier.java | 42 private static HumanInteractionClassifier sInstance = null; field in class:HumanInteractionClassifier 101 if (sInstance == null) { 102 sInstance = new HumanInteractionClassifier(context); 104 return sInstance;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | UnlockMethodCache.java | 35 private static UnlockMethodCache sInstance; field in class:UnlockMethodCache 56 if (sInstance == null) { 57 sInstance = new UnlockMethodCache(context); 59 return sInstance;
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
H A D | CryptoHelper.java | 35 private static CryptoHelper sInstance; field in class:CryptoHelper 41 if (sInstance == null) { 42 sInstance = new CryptoHelper(); 44 return sInstance;
|
/frameworks/base/services/core/java/com/android/server/content/ |
H A D | SyncLogger.java | 55 private static SyncLogger sInstance; field in class:SyncLogger 64 if (sInstance == null) { 68 sInstance = new RotatingFileLogger(); 70 sInstance = new SyncLogger(); 73 return sInstance;
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
H A D | ResourceModifiers.java | 58 private static ResourceModifiers sInstance = null; field in class:ResourceModifiers 59 public static ResourceModifiers instance() { return sInstance; } 61 sInstance = new ResourceModifiers(resources);
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
H A D | ReusableBitmap.java | 124 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 D | SmsManager.java | 30 private static SmsManager sInstance; field in class:SmsManager 40 if (sInstance == null) { 41 sInstance = new SmsManager(); 43 return sInstance;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | CdmaSubscriptionSourceManager.java | 49 private static CdmaSubscriptionSourceManager sInstance; field in class:CdmaSubscriptionSourceManager 80 if (null == sInstance) { 81 sInstance = new CdmaSubscriptionSourceManager(context, ci); 85 sInstance.registerForCdmaSubscriptionSourceChanged(h, what, obj); 86 return sInstance; 100 sInstance = null;
|
/frameworks/support/core-ui/java/android/support/v4/view/ |
H A D | AsyncLayoutInflater.java | 159 private static final InflateThread sInstance; field in class:AsyncLayoutInflater.InflateThread 161 sInstance = new InflateThread(); 162 sInstance.start(); 166 return sInstance;
|
/frameworks/support/frameworks/support/samples/SupportEmojiDemos/src/com/example/android/support/text/emoji/ |
H A D | Config.java | 40 private static Config sInstance; field in class:Config 65 if (sInstance == null) { 66 sInstance = new Config(); 68 return sInstance;
|
/frameworks/support/media-compat-test-service/tests/src/android/support/mediacompat/service/ |
H A D | StubMediaBrowserServiceCompat.java | 48 public static StubMediaBrowserServiceCompat sInstance; field in class:StubMediaBrowserServiceCompat 62 sInstance = this;
|
/frameworks/support/samples/SupportEmojiDemos/src/com/example/android/support/text/emoji/ |
H A D | Config.java | 40 private static Config sInstance; field in class:Config 65 if (sInstance == null) { 66 sInstance = new Config(); 68 return sInstance;
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/system/ |
H A D | Settings.java | 51 static private Settings sInstance; field in class:Settings 60 if (sInstance == null) { 61 sInstance = new Settings(context); 63 return sInstance;
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | TwilightManager.java | 46 private static TwilightManager sInstance; field in class:TwilightManager 49 if (sInstance == null) { 51 sInstance = new TwilightManager(context, 54 return sInstance; 59 sInstance = twilightManager;
|
/frameworks/av/camera/ndk/impl/ |
H A D | ACameraManager.h | 148 static CameraManagerGlobal* sInstance; member in class:android::final
|
/frameworks/base/core/java/android/content/pm/permission/ |
H A D | RuntimePermissionPresenter.java | 80 private static RuntimePermissionPresenter sInstance; field in class:RuntimePermissionPresenter 92 if (sInstance == null) { 93 sInstance = new RuntimePermissionPresenter(context.getApplicationContext()); 95 return sInstance;
|
/frameworks/base/core/java/android/text/method/ |
H A D | PasswordTransformationMethod.java | 63 if (sInstance != null) 64 return sInstance; 66 sInstance = new PasswordTransformationMethod(); 67 return sInstance; 264 private static PasswordTransformationMethod sInstance; field in class:PasswordTransformationMethod
|
H A D | TextKeyListener.java | 47 private static TextKeyListener[] sInstance = field in class:TextKeyListener 91 if (sInstance[off] == null) { 92 sInstance[off] = new TextKeyListener(cap, autotext); 95 return sInstance[off]; 240 if (sInstance != null) 241 return sInstance; 243 sInstance = new NullKeyListener(); 244 return sInstance; 247 private static NullKeyListener sInstance; field in class:TextKeyListener.NullKeyListener
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | MediaRouteChooserDialog.java | 205 sort(RouteComparator.sInstance); 274 public static final RouteComparator sInstance = new RouteComparator(); field in class:MediaRouteChooserDialog.RouteComparator
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/ |
H A D | OMADMAdapter.java | 47 private static OMADMAdapter sInstance; field in class:OMADMAdapter 115 if (sInstance == null) { 116 sInstance = new OMADMAdapter(context); 118 return sInstance;
|