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

1 2 3 4 5 6 7 8

  /frameworks/data-binding/extensions/library/src/main/java/android/databinding/
PropertyChangeRegistry.java 19 * Utility class for managing Observable callbacks.
22 CallbackRegistry<Observable.OnPropertyChangedCallback, Observable, Void> {
24 private static final CallbackRegistry.NotifierCallback<Observable.OnPropertyChangedCallback, Observable, Void> NOTIFIER_CALLBACK = new CallbackRegistry.NotifierCallback<Observable.OnPropertyChangedCallback, Observable, Void>() {
26 public void onNotifyCallback(Observable.OnPropertyChangedCallback callback, Observable sender,
39 * @param observable The Observable that has changed
    [all...]
BaseObservable.java 20 * A convenience class that implements {@link android.databinding.Observable} interface and provides
23 public class BaseObservable implements Observable {
  /frameworks/data-binding/baseLibrary/src/main/java/android/databinding/
Observable.java 20 * Observable classes provide a way in which data bound UI can be notified of changes.
24 * a means by which properties may be notified without implementing Observable.
26 * An Observable object should notify the {@link OnPropertyChangedCallback} whenever
29 * The getter for an observable property should be annotated with {@link Bindable}.
34 public interface Observable {
37 * Adds a callback to listen for changes to the Observable.
49 * The callback that is called by Observable when an observable property has changed.
54 * Called by an Observable whenever an observable property changes
    [all...]
Bindable.java 18 import android.databinding.Observable.OnPropertyChangedCallback;
27 * {@link Observable} class. Bindable will generate a field in the BR class to identify
30 * @see OnPropertyChangedCallback#onPropertyChanged(Observable, int)
  /libcore/ojluni/src/main/java/java/util/
Observer.java 29 * wants to be informed of changes in observable objects.
32 * @see java.util.Observable
38 * application calls an <tt>Observable</tt> object's
42 * @param o the observable object.
46 void update(Observable o, Object arg);
Observable.java 29 * This class represents an observable object, or "data"
33 * An observable object can have one or more observers. An observer
35 * observable instance changes, an application calling the
36 * <code>Observable</code>'s <code>notifyObservers</code> method
41 * The default implementation provided in the Observable class will
51 * When an observable object is newly created, its set of observers is
56 * @see java.util.Observable#notifyObservers()
57 * @see java.util.Observable#notifyObservers(java.lang.Object)
59 * @see java.util.Observer#update(java.util.Observable, java.lang.Object)
62 public class Observable {
    [all...]
  /frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
PropertyChangeRegistryTest.java 21 import android.databinding.Observable;
22 import android.databinding.Observable.OnPropertyChangedCallback;
35 final Observable observableObj = new Observable() {
50 public void onPropertyChanged(Observable observable, int id) {
53 assertEquals(observableObj, observable);
BaseObservableTest.java 21 import android.databinding.Observable;
22 import android.databinding.Observable.OnPropertyChangedCallback;
31 public void onPropertyChanged(Observable observable, int i) {
32 assertEquals(mObservable, observable);
  /packages/apps/Camera2/src/com/android/camera/async/
Observables.java 32 * Helper methods for {@link Observable}.
47 * Transforms an observable with a function.
49 * @return The transformed observable.
51 public static <F, T> Observable<T> transform(final Observable<F> input,
53 return new Observable<T>() {
70 * @return An observable which recomputes its output every time an input changes.
72 public static <T> Observable<T> transform(final List<? extends Observable<?>> inputs,
80 * @return The transformed observable
    [all...]
ObservableCombiner.java 33 * Enables combining multiple {@link Observable}s together with a given
36 * Callbacks added to the resulting observable are notified when any of the
41 final class ObservableCombiner<T> implements Observable<T> {
42 private final ImmutableList<Observable<?>> mInputs;
45 private ObservableCombiner(List<? extends Observable<?>> inputs,
58 * @return An observable which will reflect the combination of all inputs
62 static <I, O> Observable<O> transform(final List<? extends Observable<I>> inputs,
68 for (Observable<? extends I> dependency : inputs) {
76 static <O> Observable<O> transform(final List<? extends Observable<?>> inputs
    [all...]
ForwardingObservable.java 28 public abstract class ForwardingObservable<T> implements Observable<T> {
29 private final Observable<T> mDelegate;
31 public ForwardingObservable(Observable<T> delegate) {
  /packages/apps/Camera2/src/com/android/camera/one/
OneCameraCaptureSetting.java 19 import com.android.camera.async.Observable;
37 private final Observable<OneCamera.PhotoCaptureParameters.Flash> mFlashSetting;
38 private final Observable<Integer> mExposureSetting;
39 private final Observable<Boolean> mHdrSceneSetting;
48 Observable<OneCamera.PhotoCaptureParameters.Flash> flashSetting = new FlashSetting(
50 Observable<Integer> exposureSetting = SettingObserver.ofInteger(
52 Observable<Boolean> hdrSceneSetting;
69 Observable<OneCamera.PhotoCaptureParameters.Flash> flashSetting,
70 Observable<Integer> exposureSetting,
71 Observable<Boolean> hdrSceneSetting
    [all...]
FlashSetting.java 20 import com.android.camera.async.Observable;
37 public FlashSetting(Observable<String> flashSettingString) {
  /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();
  /packages/apps/Camera2/src/com/android/camera/one/v2/core/
FrameServerFactory.java 23 import com.android.camera.async.Observable;
29 private Observable<Boolean> mReadyState;
73 public Observable<Boolean> provideReadyState() {
  /packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ringbuffer/
AvailableTicketCounter.java 21 import com.android.camera.async.Observable;
41 final class AvailableTicketCounter implements Observable<Integer> {
42 private final List<Observable<Integer>> mInputs;
46 public AvailableTicketCounter(List<Observable<Integer>> inputs) {
56 for (Observable<Integer> input : mInputs) {
64 for (Observable<Integer> input : mInputs) {
  /external/mockito/src/test/java/org/mockito/internal/util/reflection/
AccessibilityChangerTest.java 11 import java.util.Observable;
18 private Observable whatever;
  /packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ticketpool/
TicketPool.java 19 import com.android.camera.async.Observable;
52 * acquisition, as an observable object.
55 public Observable<Integer> getAvailableTicketCount();
  /frameworks/base/core/java/android/database/
DataSetObservable.java 20 * A specialization of {@link Observable} for {@link DataSetObserver}
24 public class DataSetObservable extends Observable<DataSetObserver> {
  /packages/apps/Camera2/src/com/android/camera/one/v2/
OneCameraFactory.java 21 import com.android.camera.async.Observable;
37 Observable<OneCamera.PhotoCaptureParameters.Flash> flashSetting,
38 Observable<Integer> exposureSetting,
39 Observable<Boolean> hdrSceneSetting,
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/dialer/
DialerCallTestService.java 22 import java.util.Observable;
39 public static class DialerCallTestServiceObservable extends Observable {
  /frameworks/data-binding/integration-tests/MultiModuleTestApp/app/src/androidTest/java/com/android/databinding/multimoduletestapp/
ApplicationTest.java 22 import android.databinding.Observable;
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
ObservableTest.java 20 import java.util.Observable;
32 public void update(Observable observed, Object arg) {
52 public void update(Observable observed, Object arg) {
66 static class TestObservable extends Observable {
78 TestObservable observable; field in class:ObservableTest
81 * java.util.Observable#Observable()
84 // Test for method java.util.Observable()
86 Observable ov = new Observable();
    [all...]
  /packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/
SharedImageReaderFactory.java 21 import com.android.camera.async.Observable;
45 private final Observable<Integer> mAvailableImageCount;
76 public Observable<Integer> provideAvailableImageCount() {
  /cts/tests/tests/print/src/android/print/cts/services/
InfoActivity.java 23 import java.util.Observable;

Completed in 309 milliseconds

1 2 3 4 5 6 7 8