OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:sInstance
(Results
1 - 25
of
166
) sorted by null
1
2
3
4
5
6
7
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/typing/
typing_scoring.cpp
20
const TypingScoring TypingScoring::
sInstance
;
typing_suggest_policy.cpp
20
const TypingSuggestPolicy TypingSuggestPolicy::
sInstance
;
typing_traversal.cpp
23
const TypingTraversal TypingTraversal::
sInstance
;
typing_suggest_policy.h
34
static const TypingSuggestPolicy *getInstance() { return &
sInstance
; }
52
static const TypingSuggestPolicy
sInstance
;
/frameworks/base/core/java/android/text/method/
DateKeyListener.java
43
if (
sInstance
!= null)
44
return
sInstance
;
46
sInstance
= new DateKeyListener();
47
return
sInstance
;
61
private static DateKeyListener
sInstance
;
DateTimeKeyListener.java
43
if (
sInstance
!= null)
44
return
sInstance
;
46
sInstance
= new DateTimeKeyListener();
47
return
sInstance
;
61
private static DateTimeKeyListener
sInstance
;
TimeKeyListener.java
43
if (
sInstance
!= null)
44
return
sInstance
;
46
sInstance
= new TimeKeyListener();
47
return
sInstance
;
61
private static TimeKeyListener
sInstance
;
HideReturnsTransformationMethod.java
51
if (
sInstance
!= null)
52
return
sInstance
;
54
sInstance
= new HideReturnsTransformationMethod();
55
return
sInstance
;
58
private static HideReturnsTransformationMethod
sInstance
;
SingleLineTransformationMethod.java
54
if (
sInstance
!= null)
55
return
sInstance
;
57
sInstance
= new SingleLineTransformationMethod();
58
return
sInstance
;
61
private static SingleLineTransformationMethod
sInstance
;
DialerKeyListener.java
40
if (
sInstance
!= null)
41
return
sInstance
;
43
sInstance
= new DialerKeyListener();
44
return
sInstance
;
116
private static DialerKeyListener
sInstance
;
/frameworks/base/tools/layoutlib/bridge/src/android/view/inputmethod/
InputMethodManager_Accessor.java
25
InputMethodManager.
sInstance
= null;
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
Clock.java
22
private static Clock
sInstance
= INSTANCE;
25
return
sInstance
;
30
sInstance
= clock;
35
sInstance
= INSTANCE;
/packages/apps/Stk/src/com/android/stk/
StkDigitsKeyListener.java
37
if (
sInstance
!= null) {
38
return
sInstance
;
40
sInstance
= new StkDigitsKeyListener();
41
return
sInstance
;
53
private static StkDigitsKeyListener
sInstance
;
/frameworks/base/core/java/android/text/
Spannable.java
53
private static Spannable.Factory
sInstance
= new Spannable.Factory();
59
return
sInstance
;
/frameworks/native/include/utils/
Singleton.h
34
TYPE* instance =
sInstance
;
37
sInstance
= instance;
44
return
sInstance
!= 0;
55
static TYPE*
sInstance
;
69
template<> TYPE* Singleton< TYPE >::
sInstance
(0); \
/development/samples/BusinessCard/src/com/example/android/businesscard/
ContactAccessor.java
37
private static ContactAccessor
sInstance
;
40
if (
sInstance
== null) {
68
sInstance
= clazz.newInstance();
74
return
sInstance
;
/hardware/qcom/display/libqdutils/
idle_invalidator.cpp
37
android::sp<IdleInvalidator> IdleInvalidator::
sInstance
(0);
85
if(
sInstance
.get() == NULL)
86
sInstance
= new IdleInvalidator();
87
return
sInstance
.get();
/development/samples/training/threadsample/src/com/example/android/threadsample/
PhotoManager.java
110
private static PhotoManager
sInstance
= null;
119
sInstance
= new PhotoManager();
265
return
sInstance
;
317
PhotoTask[] taskArray = new PhotoTask[
sInstance
.mDownloadWorkQueue.size()];
320
sInstance
.mDownloadWorkQueue.toArray(taskArray);
329
synchronized (
sInstance
) {
359
synchronized (
sInstance
) {
372
sInstance
.mDownloadThreadPool.remove(downloaderTask.getHTTPDownloadRunnable());
390
PhotoTask downloadTask =
sInstance
.mPhotoTaskWorkQueue.poll();
398
downloadTask.initializeDownloaderTask(PhotoManager.
sInstance
, imageView, cacheFlag)
[
all
...]
/frameworks/base/core/java/android/webkit/
WebCoreThreadWatchdog.java
64
private static WebCoreThreadWatchdog
sInstance
;
67
if (
sInstance
== null) {
68
sInstance
= new WebCoreThreadWatchdog(webCoreThreadHandler);
69
new Thread(
sInstance
, "WebCoreThreadWatchdog").start();
71
return
sInstance
;
75
if (
sInstance
!= null) {
76
sInstance
.addWebView(w);
81
if (
sInstance
!= null) {
82
sInstance
.removeWebView(w);
87
if (
sInstance
!= null)
[
all
...]
/packages/apps/Mms/src/com/android/mms/layout/
LayoutManager.java
35
private static LayoutManager
sInstance
;
71
if (
sInstance
!= null) {
74
sInstance
= new LayoutManager(context);
78
if (
sInstance
== null) {
81
return
sInstance
;
/packages/apps/Gallery2/src/com/android/gallery3d/app/
Config.java
28
private static AlbumSetPage
sInstance
;
37
if (
sInstance
== null) {
38
sInstance
= new AlbumSetPage(context);
40
return
sInstance
;
82
private static AlbumPage
sInstance
;
88
if (
sInstance
== null) {
89
sInstance
= new AlbumPage(context);
91
return
sInstance
;
107
private static ManageCachePage
sInstance
;
113
if (
sInstance
== null)
[
all
...]
/frameworks/base/core/java/android/os/
NullVibrator.java
27
private static final NullVibrator
sInstance
= new NullVibrator();
33
return
sInstance
;
/packages/apps/Mms/src/com/android/mms/data/
RecipientIdCache.java
35
private static RecipientIdCache
sInstance
;
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
.mCache.get(longId)
[
all
...]
/packages/apps/Browser/src/com/android/browser/
WebViewTimersControl.java
32
private static WebViewTimersControl
sInstance
;
44
if (
sInstance
== null) {
45
sInstance
= new WebViewTimersControl();
47
return
sInstance
;
/packages/apps/Email/src/com/android/email/
ResourceHelper.java
30
private static ResourceHelper
sInstance
;
53
if (
sInstance
== null) {
54
sInstance
= new ResourceHelper(context);
56
return
sInstance
;
Completed in 1386 milliseconds
1
2
3
4
5
6
7