HomeSort by relevance Sort by last modified time
    Searched refs:Observable (Results 1 - 25 of 42) sorted by null

1 2

  /libcore/luni/src/main/java/java/util/
Observer.java 23 * receive notification of updates on an {@code Observable} object.
25 * @see Observable
30 * This method is called if the specified {@code Observable} object's
31 * {@code notifyObservers} method is called (because the {@code Observable}
34 * @param observable
35 * the {@link Observable} object.
37 * the data passed to {@link Observable#notifyObservers(Object)}.
39 void update(Observable observable, Object data);
Observable.java 21 * Observable is used to notify a group of Observer objects when a change
31 public class Observable {
38 * Constructs a new {@code Observable} object.
40 public Observable() {
61 * Clears the changed flag for this {@code Observable}. After calling
69 * Returns the number of observers registered to this {@code Observable}.
96 * Returns the changed flag for this {@code Observable}.
98 * @return {@code true} when the changed flag for this {@code Observable} is
144 * Sets the changed flag for this {@code Observable}. After calling
  /packages/apps/Mms/src/com/android/mms/transaction/
Observer.java 26 * Update the state of the observable.
28 * @param observable An observable object.
30 void update(Observable observable);
Observable.java 25 * An interface to represent the state of an observable Transaction.
27 public abstract class Observable {
31 public Observable() {
36 * This method is implemented by the observable to represent its
Transaction.java 36 public abstract class Transaction extends Observable {
RetryScheduler.java 71 public void update(Observable observable) {
73 Transaction t = (Transaction) observable;
76 Log.v(TAG, "[RetryScheduler] update " + observable);
TransactionService.java 418 * Handle status change of Transaction (The Observable).
420 public void update(Observable observable) {
421 Transaction transaction = (Transaction) observable;
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/
OldObserverTest.java 19 import java.util.Observable;
28 public void update(Observable observed, Object arg) {
37 class TestObservable extends Observable {
44 TestObservable observable = new TestObservable(); local
46 observable.addObserver(observer = new Mock_Observer());
47 observable.notifyObservers();
49 observable.doChange();
50 observable.notifyObservers();
  /frameworks/base/core/java/android/database/
DataSetObservable.java 20 * A specialization of {@link Observable} for {@link DataSetObserver}
24 public class DataSetObservable extends Observable<DataSetObserver> {
ContentObservable.java 22 * A specialization of {@link Observable} for {@link ContentObserver}
26 public class ContentObservable extends Observable<ContentObserver> {
27 // Even though the generic method defined in Observable would be perfectly
Observable.java 29 public abstract class Observable<T> {
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
ObservableTest.java 20 import java.util.Observable;
31 public void update(Observable observed, Object arg) {
51 public void update(Observable observed, Object arg) {
65 static class TestObservable extends Observable {
73 TestObservable observable; field in class:ObservableTest
76 * @tests java.util.Observable#Observable()
79 // Test for method java.util.Observable()
80 Observable ov = new Observable();
    [all...]
  /libcore/luni/src/test/java/tests/api/java/util/
ObservableTest.java 20 import java.util.Observable;
31 public void update(Observable observed, Object arg) {
51 public void update(Observable observed, Object arg) {
65 static class TestObservable extends Observable {
77 TestObservable observable; field in class:ObservableTest
80 * java.util.Observable#Observable()
83 // Test for method java.util.Observable()
85 Observable ov = new Observable();
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/utils/
Observable.java 26 public class Observable extends DataSetObservable {
30 public Observable(String name) {
  /cts/tests/tests/database/src/android/database/cts/
ObservableTest.java 19 import android.database.Observable;
24 MockObservable observable = new MockObservable(); local
28 observable.registerObserver((null));
34 // In the beginning, Observable has no observer object, nothing to be unregistered.
36 observable.unregisterObserver(observer);
41 // Test unregister a null object, the Observable will unregister nothing.
43 observable.unregisterObserver(null);
49 observable.registerObserver(observer);
53 observable.registerObserver(observer);
59 observable.unregisterObserver(observer)
71 MockObservable observable = new MockObservable(); local
    [all...]
  /frameworks/base/core/tests/coretests/src/android/content/
ContentQueryMapTest.java 29 import java.util.Observable;
79 public void update(Observable o, Object arg) {
  /frameworks/base/core/java/android/content/
ContentQueryMap.java 25 import java.util.Observable;
35 public class ContentQueryMap extends Observable {
  /cts/tests/tests/content/src/android/content/cts/
ContentQueryMapTest.java 30 import java.util.Observable;
348 private Observable mObservable;
355 public synchronized void update(Observable observable, Object data) {
356 mObservable = observable;
361 public Observable getObservable() {
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
FolderSelectionActivity.java 42 import com.android.mail.utils.Observable;
70 private final DataSetObservable mDrawerObservers = new Observable("Drawer");
AbstractActivityController.java 104 import com.android.mail.utils.Observable;
233 private final DataSetObservable mConversationListObservable = new Observable("List");
258 private final DataSetObservable mAccountObservers = new Observable("Account");
260 private final DataSetObservable mRecentFolderObservers = new Observable("RecentFolder");
262 private final DataSetObservable mAllAccountObservers = new Observable("AllAccounts");
264 private final DataSetObservable mFolderObservable = new Observable("CurrentFolder");
266 private final DataSetObservable mDrawerObservers = new Observable("Drawer");
    [all...]
  /external/libvpx/libvpx/examples/includes/geshi/geshi/
ruby.php 95 'ObjectSpace', 'Observable', 'PStore', 'PStore::Error',
rails.php 88 'ObjectSpace', 'Observable', 'PStore', 'PStore::Error',
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.core.resources.compatibility_3.4.0.v20090505.jar 
  /prebuilts/devtools/tools/lib/
traceview.jar 
  /prebuilts/sdk/9/
android.jar 

Completed in 1764 milliseconds

1 2