OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:sInstance
(Results
51 - 75
of
182
) sorted by null
1
2
3
4
5
6
7
8
/frameworks/base/core/java/android/view/
AccessibilityIterators.java
71
private static CharacterTextSegmentIterator
sInstance
;
78
if (
sInstance
== null) {
79
sInstance
= new CharacterTextSegmentIterator(locale);
81
return
sInstance
;
168
private static WordTextSegmentIterator
sInstance
;
171
if (
sInstance
== null) {
172
sInstance
= new WordTextSegmentIterator(locale);
174
return
sInstance
;
258
private static ParagraphTextSegmentIterator
sInstance
;
261
if (
sInstance
== null)
[
all
...]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
MeasureHelper.java
24
private static MeasureHelper
sInstance
= new MeasureHelper(null);
35
sInstance
.mComponent = component;
36
return
sInstance
;
/frameworks/base/core/java/android/text/method/
DigitsKeyListener.java
103
if (
sInstance
[kind] != null)
104
return
sInstance
[kind];
106
sInstance
[kind] = new DigitsKeyListener(sign, decimal);
107
return
sInstance
[kind];
230
private static DigitsKeyListener[]
sInstance
= new DigitsKeyListener[4];
ScrollingMovementMethod.java
113
if (
sInstance
== null)
114
sInstance
= new ScrollingMovementMethod();
116
return
sInstance
;
119
private static ScrollingMovementMethod
sInstance
;
TextKeyListener.java
42
private static TextKeyListener[]
sInstance
=
86
if (
sInstance
[off] == null) {
87
sInstance
[off] = new TextKeyListener(cap, autotext);
90
return
sInstance
[off];
235
if (
sInstance
!= null)
236
return
sInstance
;
238
sInstance
= new NullKeyListener();
239
return
sInstance
;
242
private static NullKeyListener
sInstance
;
/packages/apps/Mms/src/com/android/mms/util/
RateController.java
48
private static RateController
sInstance
;
80
if (
sInstance
!= null) {
83
sInstance
= new RateController(context);
87
if (
sInstance
== null) {
90
return
sInstance
;
/frameworks/base/services/java/com/android/server/power/
ShutdownThread.java
78
private static final ShutdownThread
sInstance
= new ShutdownThread();
224
sInstance
.mContext = context;
225
sInstance
.mPowerManager = (PowerManager)context.getSystemService(Context.POWER_SERVICE);
228
sInstance
.mCpuWakeLock = null;
230
sInstance
.mCpuWakeLock =
sInstance
.mPowerManager.newWakeLock(
232
sInstance
.mCpuWakeLock.setReferenceCounted(false);
233
sInstance
.mCpuWakeLock.acquire();
236
sInstance
.mCpuWakeLock = null;
240
sInstance
.mScreenWakeLock = null
[
all
...]
/cts/tests/src/android/provider/cts/
MediaStoreAudioTestHelper.java
73
private static Audio1
sInstance
= new Audio1();
76
return
sInstance
;
149
private static Audio2
sInstance
= new Audio2();
152
return
sInstance
;
228
private static Audio3
sInstance
= new Audio3();
231
return
sInstance
;
246
private static Audio4
sInstance
= new Audio4();
249
return
sInstance
;
264
private static Audio5
sInstance
= new Audio5();
267
return
sInstance
;
[
all
...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
CdmaSubscriptionSourceManager.java
45
private static CdmaSubscriptionSourceManager
sInstance
;
75
if (null ==
sInstance
) {
76
sInstance
= new CdmaSubscriptionSourceManager(context, ci);
80
sInstance
.registerForCdmaSubscriptionSourceChanged(h, what, obj);
81
return
sInstance
;
94
sInstance
= null;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
PrivateLog.java
49
private static PrivateLog
sInstance
= new PrivateLog();
56
if (!DEBUG) return
sInstance
;
61
return
sInstance
;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
AudioAndHapticFeedbackManager.java
40
private static final AudioAndHapticFeedbackManager
sInstance
=
44
return
sInstance
;
52
sInstance
.initInternal(context);
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/
AwQuotaManagerBridge.java
28
private static AwQuotaManagerBridge
sInstance
;
31
if (
sInstance
== null) {
32
sInstance
= new AwQuotaManagerBridge(nativeGetDefaultNativeAwQuotaManagerBridge());
34
return
sInstance
;
/frameworks/base/services/java/com/android/server/
AttributeCache.java
37
private static AttributeCache
sInstance
= null;
65
if (
sInstance
== null) {
66
sInstance
= new AttributeCache(context);
71
return
sInstance
;
/packages/apps/Browser/src/com/android/browser/
AutoFillProfileDatabase.java
34
private static AutoFillProfileDatabase
sInstance
;
87
if (
sInstance
== null) {
88
sInstance
= new AutoFillProfileDatabase(context);
90
return
sInstance
;
/packages/apps/Settings/src/com/android/settings/bluetooth/
LocalBluetoothAdapter.java
45
private static LocalBluetoothAdapter
sInstance
;
68
if (
sInstance
== null) {
71
sInstance
= new LocalBluetoothAdapter(adapter);
75
return
sInstance
;
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/typing/
typing_weighting.cpp
24
const TypingWeighting TypingWeighting::
sInstance
;
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DefaultCallLogInsertionHelper.java
42
private static DefaultCallLogInsertionHelper
sInstance
;
52
if (
sInstance
== null) {
53
sInstance
= new DefaultCallLogInsertionHelper(context);
55
return
sInstance
;
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/
AdtTestData.java
38
private static AdtTestData
sInstance
= null;
104
if (
sInstance
== null) {
105
sInstance
= new AdtTestData();
107
return
sInstance
;
/system/netd/
NetlinkManager.cpp
38
NetlinkManager *NetlinkManager::
sInstance
= NULL;
41
if (!
sInstance
)
42
sInstance
= new NetlinkManager();
43
return
sInstance
;
NetlinkManager.h
28
static NetlinkManager *
sInstance
;
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
ResourceExtractor.java
228
private static ResourceExtractor
sInstance
;
231
if (
sInstance
== null) {
232
sInstance
= new ResourceExtractor(context);
234
return
sInstance
;
244
assert (
sInstance
== null ||
sInstance
.mExtractTask == null)
259
assert (
sInstance
== null ||
sInstance
.mExtractTask == null)
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
GlobalCanvasDragInfo.java
45
private static final GlobalCanvasDragInfo
sInstance
= new GlobalCanvasDragInfo();
61
return
sInstance
;
/frameworks/base/core/java/android/view/textservice/
TextServicesManager.java
68
private static TextServicesManager
sInstance
;
84
if (
sInstance
!= null) {
85
return
sInstance
;
87
sInstance
= new TextServicesManager();
89
return
sInstance
;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
KeyguardTouchDelegate.java
44
private static KeyguardTouchDelegate
sInstance
;
63
sInstance
= null; // force reconnection if this goes away
80
if (
sInstance
== null) {
81
sInstance
= new KeyguardTouchDelegate(context);
83
return
sInstance
;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
RilMessageDecoder.java
38
private static RilMessageDecoder
sInstance
= null;
55
if (
sInstance
== null) {
56
sInstance
= new RilMessageDecoder(caller, fh);
57
sInstance
.start();
59
return
sInstance
;
Completed in 1756 milliseconds
1
2
3
4
5
6
7
8