Searched refs:sInstance (Results 1 - 25 of 96) 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/Camera2/src/com/android/camera/util/
H A DAndroidContext.java27 private static AndroidContext sInstance; field in class:AndroidContext
35 if (sInstance == null) {
36 sInstance = new AndroidContext(context);
45 if (sInstance == null) {
48 return sInstance;
/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/stats/
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.java33 private static UsageStatistics sInstance; field in class:UsageStatistics
36 if (sInstance == null) {
37 sInstance = new UsageStatistics();
39 return sInstance;
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/common/
H A DWallpaperManagerCompat.java13 private static WallpaperManagerCompat sInstance; field in class:WallpaperManagerCompat
18 if (sInstance == null) {
20 sInstance = new WallpaperManagerCompatVN(context.getApplicationContext());
22 sInstance = new WallpaperManagerCompatV16(context.getApplicationContext());
25 return sInstance;
/packages/apps/ContactsCommon/src/com/android/contacts/commonbind/experiments/
H A DFlags.java26 private static Flags sInstance; field in class:Flags
29 if (sInstance == null) {
30 sInstance = new Flags();
32 return sInstance;
/packages/apps/Launcher3/src/com/android/launcher3/compat/
H A DUserManagerCompat.java30 private static UserManagerCompat sInstance; field in class:UserManagerCompat
34 if (sInstance == null) {
36 sInstance = new UserManagerCompatVNMr1(context.getApplicationContext());
38 sInstance = new UserManagerCompatVN(context.getApplicationContext());
40 sInstance = new UserManagerCompatVM(context.getApplicationContext());
42 sInstance = new UserManagerCompatVL(context.getApplicationContext());
44 sInstance = new UserManagerCompatV17(context.getApplicationContext());
46 sInstance = new UserManagerCompatV16();
49 return sInstance;
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();
43 return sInstance;
/packages/apps/Messaging/src/com/android/messaging/util/
H A DVersionUtil.java27 private static VersionUtil sInstance; field in class:VersionUtil
33 if (sInstance == null) {
34 sInstance = new VersionUtil(context);
37 return sInstance;
H A DImeUtil.java37 private static volatile ImeUtil sInstance; field in class:ImeUtil
42 sInstance = null;
45 if (sInstance == null) {
47 if (sInstance == null) {
48 sInstance = new ImeUtil();
52 return sInstance;
57 sInstance = imeUtil;
/packages/services/Telephony/src/com/android/services/telephony/
H A DTelephonyGlobals.java37 private static TelephonyGlobals sInstance; field in class:TelephonyGlobals
55 if (sInstance == null) {
56 sInstance = new TelephonyGlobals(context);
58 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/Dialer/src/com/android/dialer/voicemail/
H A DVoicemailArchivePlaybackPresenter.java36 private static VoicemailPlaybackPresenter sInstance; field in class:VoicemailArchivePlaybackPresenter
44 if (sInstance == null) {
45 sInstance = new VoicemailArchivePlaybackPresenter(activity);
48 sInstance.init(activity, savedInstanceState);
49 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/UnifiedEmail/src/com/android/mail/analytics/
H A DAnalytics.java84 private static Tracker sInstance; field in class:Analytics
91 if (sInstance == null) {
92 sInstance = new StubTracker();
95 return sInstance;
100 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/inputmethods/LatinIME/java-overridable/src/com/android/inputmethod/latin/utils/
H A DStatsUtilsManager.java28 private static final StatsUtilsManager sInstance = new StatsUtilsManager(); field in class:StatsUtilsManager
35 return sTestInstance != null ? sTestInstance : sInstance;
/packages/apps/Email/provider_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/TV/src/com/android/tv/util/
H A DSearchManagerHelper.java35 private static SearchManagerHelper sInstance; field in class:SearchManagerHelper
46 if (sInstance == null) {
47 sInstance = new SearchManagerHelper(context.getApplicationContext());
49 return sInstance;

Completed in 2030 milliseconds

1234