OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:mObservers
(Results
1 - 25
of
31
) sorted by null
1
2
/frameworks/base/core/java/android/database/
Observable.java
34
protected final ArrayList<T>
mObservers
= new ArrayList<T>();
47
synchronized(
mObservers
) {
48
if (
mObservers
.contains(observer)) {
51
mObservers
.add(observer);
66
synchronized(
mObservers
) {
67
int index =
mObservers
.indexOf(observer);
71
mObservers
.remove(index);
79
synchronized(
mObservers
) {
80
mObservers
.clear();
/packages/apps/Mms/src/com/android/mms/transaction/
Observable.java
28
private final ArrayList<Observer>
mObservers
;
32
mObservers
= new ArrayList<Observer>();
49
mObservers
.add(observer);
61
mObservers
.remove(observer);
69
mIterator =
mObservers
.iterator();
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
PasswordUIView.java
60
private ObserverList<PasswordListObserver>
mObservers
=
75
for (PasswordListObserver observer :
mObservers
) {
82
for (PasswordListObserver observer :
mObservers
) {
88
mObservers
.addObserver(observer);
92
mObservers
.removeObserver(observer);
149
mObservers
.clear();
BookmarksBridge.java
36
private final ObserverList<BookmarkModelObserver>
mObservers
=
143
mObservers
.clear();
151
mObservers
.addObserver(observer);
159
mObservers
.removeObserver(observer);
227
for (BookmarkModelObserver observer :
mObservers
) {
234
for (BookmarkModelObserver observer :
mObservers
) {
241
for (BookmarkModelObserver observer :
mObservers
) {
248
for (BookmarkModelObserver observer :
mObservers
) {
255
for (BookmarkModelObserver observer :
mObservers
) {
262
for (BookmarkModelObserver observer :
mObservers
) {
[
all
...]
TabBase.java
97
private final ObserverList<TabObserver>
mObservers
= new ObserverList<TabObserver>();
143
for (TabObserver observer :
mObservers
) {
150
for (TabObserver observer :
mObservers
) observer.onUpdateUrl(TabBase.this, url);
173
for (TabObserver observer :
mObservers
) {
187
for (TabObserver observer :
mObservers
) observer.onContextMenuShown(TabBase.this, menu);
206
for (TabObserver observer :
mObservers
) {
247
mObservers
.addObserver(observer);
255
mObservers
.removeObserver(observer);
529
return
mObservers
.rewindableIterator();
570
for (TabObserver observer :
mObservers
) observer.onContentChanged(this)
[
all
...]
/packages/apps/Browser/tests/src/com/android/browser/tests/utils/
MockObserverNode.java
41
private ArrayList<MockObserverEntry>
mObservers
= new ArrayList<MockObserverEntry>();
75
mObservers
.add(new MockObserverEntry(observer, notifyForDescendents));
110
size =
mObservers
.size();
112
MockObserverEntry entry =
mObservers
.get(i);
114
mObservers
.remove(i);
119
if (mChildren.size() == 0 &&
mObservers
.size() == 0) {
127
int N =
mObservers
.size();
129
MockObserverEntry entry =
mObservers
.get(i);
/external/chromium_org/base/android/java/src/org/chromium/base/
ObserverList.java
46
public final List<E>
mObservers
= new ArrayList<E>();
59
if (obs == null ||
mObservers
.contains(obs)) {
66
mObservers
.add(obs);
73
int index =
mObservers
.indexOf(obs);
80
mObservers
.remove(obs);
82
mObservers
.set(index, null);
87
return
mObservers
.contains(obs);
92
mObservers
.clear();
96
int size =
mObservers
.size();
98
mObservers
.set(i, null)
[
all
...]
/external/chromium_org/chrome/android/testshell/java/src/org/chromium/chrome/testshell/
ChromiumTestShellApplication.java
32
ArrayList<ChromiumTestShellApplicationObserver>
mObservers
;
43
mObservers
= new ArrayList<ChromiumTestShellApplicationObserver>();
52
for (ChromiumTestShellApplicationObserver observer :
mObservers
) {
62
mObservers
.add(observer);
66
mObservers
.remove(observer);
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/appmenu/
AppMenuHandler.java
24
private final ArrayList<AppMenuObserver>
mObservers
;
41
mObservers
= new ArrayList<AppMenuObserver>();
116
mObservers
.add(observer);
124
mObservers
.remove(observer);
133
for (int i = 0; i <
mObservers
.size(); ++i) {
134
mObservers
.get(i).onMenuVisibilityChanged(newState, focusedPosition);
143
for (int i = 0; i <
mObservers
.size(); ++i) {
144
mObservers
.get(i).onKeyboardFocusChanged(focusedPosition);
153
for (int i = 0; i <
mObservers
.size(); ++i) {
154
mObservers
.get(i).onKeyboardActivatedItem(focusedPosition)
[
all
...]
/external/chromium_org/sync/test/android/javatests/src/org/chromium/sync/test/util/
MockSyncContentResolverDelegate.java
38
private final Set<AsyncSyncStatusObserver>
mObservers
;
48
mObservers
= new HashSet<AsyncSyncStatusObserver>();
58
synchronized (
mObservers
) {
59
mObservers
.add(asyncSyncStatusObserver);
66
synchronized (
mObservers
) {
67
mObservers
.remove(handle);
157
synchronized (
mObservers
) {
158
mPendingObserverCount = new Semaphore(1 -
mObservers
.size());
159
for (AsyncSyncStatusObserver observer :
mObservers
) {
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
ExternalStorageProvider.java
91
@GuardedBy("
mObservers
")
92
private Map<File, DirectoryObserver>
mObservers
= Maps.newHashMap();
445
synchronized (
mObservers
) {
446
DirectoryObserver observer =
mObservers
.get(file);
451
mObservers
.put(file, observer);
460
synchronized (
mObservers
) {
461
DirectoryObserver observer =
mObservers
.get(file);
466
mObservers
.remove(file);
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/signin/
OAuth2TokenService.java
45
private final ObserverList<OAuth2TokenServiceObserver>
mObservers
;
49
mObservers
= new ObserverList<OAuth2TokenServiceObserver>();
65
mObservers
.addObserver(observer);
70
mObservers
.removeObserver(observer);
225
for (OAuth2TokenServiceObserver observer :
mObservers
) {
244
for (OAuth2TokenServiceObserver observer :
mObservers
) {
260
for (OAuth2TokenServiceObserver observer :
mObservers
) {
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
ConversationSelectionSet.java
73
final ArrayList<ConversationSetObserver>
mObservers
= new ArrayList<ConversationSetObserver>();
97
mObservers
.add(observer);
111
ArrayList<ConversationSetObserver> observersCopy = Lists.newArrayList(
mObservers
);
188
final ArrayList<ConversationSetObserver> observersCopy = Lists.newArrayList(
mObservers
);
214
ArrayList<ConversationSetObserver> observersCopy = Lists.newArrayList(
mObservers
);
229
mObservers
.remove(observer);
287
final ArrayList<ConversationSetObserver> observersCopy = Lists.newArrayList(
mObservers
);
/frameworks/base/services/java/com/android/server/content/
ContentService.java
269
= oc.mNode.
mObservers
;
790
private ArrayList<ObserverEntry>
mObservers
= new ArrayList<ObserverEntry>();
799
if (
mObservers
.size() > 0) {
[
all
...]
/external/chromium_org/sync/android/java/src/org/chromium/sync/notifier/
SyncStatusHelper.java
159
private final ObserverList<SyncSettingsChangedObserver>
mObservers
=
261
mObservers
.addObserver(observer);
268
mObservers
.removeObserver(observer);
452
for (SyncSettingsChangedObserver observer :
mObservers
) {
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/
DateSortedExpandableListAdapter.java
46
private Vector<DataSetObserver>
mObservers
;
73
for (DataSetObserver o :
mObservers
) {
83
mObservers
= new Vector<DataSetObserver>();
330
mObservers
.add(observer);
334
mObservers
.remove(observer);
/frameworks/base/services/java/com/android/server/
NetworkManagementService.java
156
private final RemoteCallbackList<INetworkManagementEventObserver>
mObservers
=
231
mObservers
.register(observer);
237
mObservers
.unregister(observer);
244
final int length =
mObservers
.beginBroadcast();
247
mObservers
.getBroadcastItem(i).interfaceStatusChanged(iface, up);
252
mObservers
.finishBroadcast();
260
final int length =
mObservers
.beginBroadcast();
263
mObservers
.getBroadcastItem(i).interfaceLinkStateChanged(iface, up);
268
mObservers
.finishBroadcast();
275
final int length =
mObservers
.beginBroadcast()
[
all
...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
MasterImage.java
105
private Vector<ImageShow>
mObservers
= new Vector<ImageShow>();
224
if (
mObservers
.contains(observer)) {
227
mObservers
.add(observer);
231
mObservers
.remove(observer);
480
for (ImageShow observer :
mObservers
) {
/prebuilts/sdk/11/
android.jar
/prebuilts/sdk/12/
android.jar
/prebuilts/sdk/14/
android.jar
/prebuilts/sdk/17/
android.jar
/prebuilts/sdk/18/
android.jar
/prebuilts/sdk/19/
android.jar
/prebuilts/sdk/4/
android.jar
Completed in 700 milliseconds
1
2