OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ContentObserver
(Results
1 - 25
of
200
) sorted by null
1
2
3
4
5
6
7
8
/frameworks/base/core/java/android/database/
ContentObservable.java
22
* A specialization of {@link Observable} for {@link
ContentObserver
}
24
* {@link
ContentObserver
} objects.
26
public class ContentObservable extends Observable<
ContentObserver
> {
31
public void registerObserver(
ContentObserver
observer) {
36
* Invokes {@link
ContentObserver
#dispatchChange(boolean)} on each observer.
40
* notifications by implementing {@link
ContentObserver
#deliverSelfNotifications}
54
* Invokes {@link
ContentObserver
#dispatchChange(boolean, Uri)} on each observer.
59
* notifications by implementing {@link
ContentObserver
#deliverSelfNotifications}
68
for (
ContentObserver
observer : mObservers) {
77
* Invokes {@link
ContentObserver
#onChange} on each observer
[
all
...]
ContentObserver.java
26
public abstract class
ContentObserver
{
37
public
ContentObserver
(Handler handler) {
57
* from the
ContentObserver
. Not for public consumption.
135
* If a {@link Handler} was supplied to the {@link
ContentObserver
} constructor,
153
* If a {@link Handler} was supplied to the {@link
ContentObserver
} constructor,
180
ContentObserver
.this.onChange(mSelfChange, mUri);
185
private
ContentObserver
mContentObserver;
187
public Transport(
ContentObserver
contentObserver
) {
188
mContentObserver =
contentObserver
;
[
all
...]
Cursor.java
388
* @see #unregisterContentObserver(
ContentObserver
)
390
void registerContentObserver(
ContentObserver
observer);
397
* @see #registerContentObserver(
ContentObserver
)
399
void unregisterContentObserver(
ContentObserver
observer);
434
* {@link ContentResolver#registerContentObserver(android.net.Uri, boolean,
ContentObserver
)
/packages/apps/Camera2/src/com/android/camera/data/
LocalMediaObserver.java
19
import android.database.
ContentObserver
;
25
public class LocalMediaObserver extends
ContentObserver
{
/packages/apps/Settings/src/com/android/settings/accessibility/
SettingsContentObserver.java
20
import android.database.
ContentObserver
;
25
abstract class SettingsContentObserver extends
ContentObserver
{
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
BridgeContentResolver.java
22
import android.database.
ContentObserver
;
85
ContentObserver
observer) {
93
public void unregisterContentObserver(
ContentObserver
observer) {
101
public void notifyChange(Uri uri,
ContentObserver
observer, boolean syncToNetwork) {
/packages/apps/Browser/tests/src/com/android/browser/tests/utils/
MockObserverNode.java
19
import android.database.
ContentObserver
;
26
public final
ContentObserver
observer;
29
public MockObserverEntry(
ContentObserver
o, boolean n) {
66
public void addObserver(Uri uri,
ContentObserver
observer,
71
private void addObserver(Uri uri, int index,
ContentObserver
observer,
99
public boolean removeObserver(
ContentObserver
observer) {
125
private void notifyMyObservers(boolean leaf,
ContentObserver
observer,
144
public void notifyMyObservers(Uri uri, int index,
ContentObserver
observer,
MockContentResolver2.java
25
import android.database.
ContentObserver
;
102
public void notifyChange(Uri uri,
ContentObserver
observer,
108
ContentObserver
observer) {
112
public void safeUnregisterContentObserver(
ContentObserver
observer) {
ProviderTestCase3.java
23
import android.database.
ContentObserver
;
172
ContentObserver
observer) {
176
public void unregisterContentObserver(
ContentObserver
observer) {
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/
HapticFeedbackController.java
5
import android.database.
ContentObserver
;
24
private final
ContentObserver
mContentObserver;
32
mContentObserver = new
ContentObserver
(null) {
/frameworks/base/test-runner/src/android/test/mock/
MockCursor.java
21
import android.database.
ContentObserver
;
164
public void registerContentObserver(
ContentObserver
observer) {
188
public void unregisterContentObserver(
ContentObserver
observer) {
MockContentResolver.java
23
import android.database.
ContentObserver
;
135
* Overrides {@link android.content.ContentResolver#notifyChange(Uri,
ContentObserver
, boolean)
136
* ContentResolver.notifChange(Uri,
ContentObserver
, boolean)}. All parameters are ignored.
145
ContentObserver
observer,
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/database/
TestCursor.java
5
import android.database.
ContentObserver
;
163
public void registerContentObserver(
ContentObserver
observer) {
168
public void unregisterContentObserver(
ContentObserver
observer) {
/frameworks/base/core/java/android/content/
ContentQueryMap.java
19
import android.database.
ContentObserver
;
45
private
ContentObserver
mContentObserver;
98
mContentObserver = new
ContentObserver
(mHandlerForUpdateNotifications) {
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
SelectVisibleCalendarsActivity.java
22
import android.database.
ContentObserver
;
43
private final
ContentObserver
mObserver = new
ContentObserver
(new Handler()) {
/packages/apps/Launcher2/src/com/android/launcher2/
LauncherApplication.java
26
import android.database.
ContentObserver
;
96
private final
ContentObserver
mFavoritesObserver = new
ContentObserver
(new Handler()) {
/packages/apps/Settings/src/com/android/settings/
AirplaneModeEnabler.java
21
import android.database.
ContentObserver
;
54
private
ContentObserver
mAirplaneModeObserver = new
ContentObserver
(new Handler()) {
/frameworks/base/core/java/android/widget/
DigitalClock.java
20
import android.database.
ContentObserver
;
107
private class FormatChangeObserver extends
ContentObserver
{
/frameworks/base/policy/src/com/android/internal/policy/impl/
ShortcutManager.java
21
import android.database.
ContentObserver
;
37
class ShortcutManager extends
ContentObserver
{
/cts/tests/tests/database/src/android/database/cts/
ContentObserverTest.java
20
import android.database.
ContentObserver
;
32
MyContentObserver
contentObserver
;
33
contentObserver
= new MyContentObserver(null);
34
assertFalse(
contentObserver
.hasChanged());
35
assertFalse(
contentObserver
.getSelfChangeState());
36
contentObserver
.dispatchChange(true);
37
assertTrue(
contentObserver
.hasChanged());
38
assertTrue(
contentObserver
.getSelfChangeState());
40
contentObserver
.resetStatus();
41
contentObserver
.setSelfChangeState(true)
[
all
...]
/frameworks/base/core/java/com/android/internal/view/
RotationPolicy.java
21
import android.database.
ContentObserver
;
178
final
ContentObserver
mObserver = new
ContentObserver
(new Handler()) {
/packages/apps/Calendar/src/com/android/calendar/
EventInfoActivity.java
28
import android.database.
ContentObserver
;
53
private final
ContentObserver
mObserver = new
ContentObserver
(new Handler()) {
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DirectoryListLoader.java
21
import android.database.
ContentObserver
;
73
private final
ContentObserver
mObserver = new
ContentObserver
(new Handler()) {
/packages/apps/DeskClock/src/com/android/deskclock/
Screensaver.java
24
import android.database.
ContentObserver
;
48
private final
ContentObserver
mSettingsContentObserver = new
ContentObserver
(mHandler) {
/packages/apps/DeskClock/src/com/android/deskclock/widget/
TextTime.java
8
import android.database.
ContentObserver
;
40
private final
ContentObserver
mFormatChangeObserver = new
ContentObserver
(new Handler()) {
Completed in 301 milliseconds
1
2
3
4
5
6
7
8