Searched refs:sInstance (Results 1 - 25 of 89) sorted by relevance

1234

/packages/apps/Camera2/src/android/util/
H A DCameraPerformanceTracker.java37 private static CameraPerformanceTracker sInstance; field in class:CameraPerformanceTracker
63 if (sInstance == null) {
64 sInstance = new CameraPerformanceTracker();
69 sInstance.mAppStartTime = currentTime;
72 sInstance.mFirstPreviewFrameLatencyWarmStart = UNSET;
75 sInstance.mAppResumeTime = currentTime;
79 if (sInstance.mFirstPreviewFrameLatencyColdStart == UNSET) {
81 sInstance.mFirstPreviewFrameLatencyColdStart =
82 currentTime - sInstance.mAppStartTime;
85 sInstance
[all...]
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/typing/
H A Dtyping_scoring.cpp20 const TypingScoring TypingScoring::sInstance; member in class:latinime::TypingScoring
H A Dtyping_suggest_policy.cpp20 const TypingSuggestPolicy TypingSuggestPolicy::sInstance; member in class:latinime::TypingSuggestPolicy
H A Dtyping_traversal.cpp23 const TypingTraversal TypingTraversal::sInstance; member in class:latinime::TypingTraversal
H A Dtyping_suggest_policy.h34 static const TypingSuggestPolicy *getInstance() { return &sInstance; }
52 static const TypingSuggestPolicy sInstance; member in class:latinime::TypingSuggestPolicy
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
H A DClock.java22 private static Clock sInstance = INSTANCE; field in class:Clock
25 return sInstance;
30 sInstance = clock;
35 sInstance = INSTANCE;
/packages/apps/Stk/src/com/android/stk/
H A DStkDigitsKeyListener.java37 if (sInstance != null) {
38 return sInstance;
40 sInstance = new StkDigitsKeyListener();
41 return sInstance;
53 private static StkDigitsKeyListener sInstance; field in class:StkDigitsKeyListener
/packages/apps/Camera2/src_pd/com/android/camera/util/
H A DSessionStatsCollector.java6 private static SessionStatsCollector sInstance; field in class:SessionStatsCollector
9 if (sInstance == null) {
10 sInstance = new SessionStatsCollector();
12 return sInstance;
H A DUsageStatistics.java30 private static UsageStatistics sInstance; field in class:UsageStatistics
33 if (sInstance == null) {
34 sInstance = new UsageStatistics();
36 return sInstance;
/packages/services/Telephony/src/com/android/services/telephony/
H A DTelephonyGlobals.java34 private static TelephonyGlobals sInstance; field in class:TelephonyGlobals
51 if (sInstance == null) {
52 sInstance = new TelephonyGlobals(context);
54 return sInstance;
/packages/apps/Launcher3/src/com/android/launcher3/compat/
H A DPackageInstallerCompat.java32 private static PackageInstallerCompat sInstance; field in class:PackageInstallerCompat
36 if (sInstance == null) {
38 sInstance = new PackageInstallerCompatVL(context);
40 sInstance = new PackageInstallerCompatV16(context) { };
43 return sInstance;
H A DAppWidgetManagerCompat.java36 private static AppWidgetManagerCompat sInstance; field in class:AppWidgetManagerCompat
41 if (sInstance == null) {
43 sInstance = new AppWidgetManagerCompatVL(context.getApplicationContext());
45 sInstance = new AppWidgetManagerCompatV16(context.getApplicationContext());
48 return sInstance;
H A DLauncherAppsCompat.java48 private static LauncherAppsCompat sInstance; field in class:LauncherAppsCompat
53 if (sInstance == null) {
55 sInstance = new LauncherAppsCompatVL(context.getApplicationContext());
57 sInstance = new LauncherAppsCompatV16(context.getApplicationContext());
60 return sInstance;
/packages/apps/ContactsCommon/src/com/android/contacts/common/interactions/
H A DTouchPointManager.java13 private static TouchPointManager sInstance = new TouchPointManager(); field in class:TouchPointManager
24 return sInstance;
/packages/apps/Gallery2/src_pd/com/android/gallery3d/filtershow/filters/
H A DFiltersManager.java30 private static FiltersManager sInstance = null; field in class:FiltersManager
46 if (sInstance == null) {
47 sInstance = new FiltersManager();
49 return sInstance;
60 sInstance = null;
/packages/apps/Mms/src/com/android/mms/layout/
H A DLayoutManager.java37 private static LayoutManager sInstance; field in class:LayoutManager
73 if (sInstance != null) {
76 sInstance = new LayoutManager(context);
80 if (sInstance == null) {
83 return sInstance;
/packages/apps/UnifiedEmail/src/com/android/mail/analytics/
H A DAnalytics.java53 private static Tracker sInstance; field in class:Analytics
60 if (sInstance == null) {
61 sInstance = new StubTracker();
64 return sInstance;
69 sInstance = t;
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DConfig.java28 private static AlbumSetPage sInstance; field in class:Config.AlbumSetPage
37 if (sInstance == null) {
38 sInstance = new AlbumSetPage(context);
40 return sInstance;
82 private static AlbumPage sInstance; field in class:Config.AlbumPage
88 if (sInstance == null) {
89 sInstance = new AlbumPage(context);
91 return sInstance;
107 private static ManageCachePage sInstance; field in class:Config.ManageCachePage
113 if (sInstance
[all...]
/packages/apps/Mms/src/com/android/mms/data/
H A DRecipientIdCache.java35 private static RecipientIdCache sInstance; field in class:RecipientIdCache
36 static RecipientIdCache getInstance() { return sInstance; }
54 sInstance = new RecipientIdCache(context);
72 Context context = sInstance.mContext;
81 synchronized (sInstance) {
84 sInstance.mCache.clear();
89 sInstance.mCache.put(id, number);
103 synchronized (sInstance) {
116 String number = sInstance.mCache.get(longId);
125 number = sInstance
[all...]
/packages/apps/Browser/src/com/android/browser/
H A DWebViewTimersControl.java32 private static WebViewTimersControl sInstance; field in class:WebViewTimersControl
44 if (sInstance == null) {
45 sInstance = new WebViewTimersControl();
47 return sInstance;
/packages/apps/Camera2/src/com/android/camera/processing/
H A DProcessingServiceManager.java37 private static ProcessingServiceManager sInstance; field in class:ProcessingServiceManager
57 sInstance = new ProcessingServiceManager(appContext);
66 if (sInstance == null) {
69 return sInstance;
/packages/apps/Email/src/com/android/email/
H A DResourceHelper.java30 private static ResourceHelper sInstance; field in class:ResourceHelper
53 if (sInstance == null) {
54 sInstance = new ResourceHelper(context);
56 return sInstance;
/packages/apps/Mms/src/com/android/mms/transaction/
H A DSmsReceiver.java33 private static SmsReceiver sInstance; field in class:SmsReceiver
36 if (sInstance == null) {
37 sInstance = new SmsReceiver();
39 return sInstance;
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DLocalBluetoothManager.java32 private static LocalBluetoothManager sInstance; field in class:LocalBluetoothManager
52 if (sInstance == null) {
59 sInstance = new LocalBluetoothManager(adapter, appContext);
62 return sInstance;
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DMeasureHelper.java24 private static MeasureHelper sInstance = new MeasureHelper(null); field in class:MeasureHelper
35 sInstance.mComponent = component;
36 return sInstance;

Completed in 631 milliseconds

1234