/external/glide/library/src/main/java/com/bumptech/glide/request/target/ |
ViewTarget.java | 146 // rather than having the observer remove itself because the observer 148 // another observer and will therefore never be alive. If we instead 150 // current view tree observer and should succeed. 151 ViewTreeObserver observer = view.getViewTreeObserver(); local 152 if (observer.isAlive()) { 153 observer.removeOnPreDrawListener(layoutListener); 183 final ViewTreeObserver observer = view.getViewTreeObserver(); local 185 observer.addOnPreDrawListener(layoutListener);
|
/external/v8/test/cctest/ |
test-object-observe.cc | 52 "var observer = function(records) { count = records.length; calls++ };" 54 "Object.observe(obj, observer);"); 55 Local<Value> observer = CompileRun("observer"); local 84 v8_str("observer"), observer) 98 CompileRun("fun1(); fun2(); fun3(); Object.deliverChangeRecords(observer)"); 112 "var observer = function(records) { count = records.length };" 113 "Object.observe(obj, observer);" 269 Local<Value> observer = CompileRun local 520 Local<Value> observer = CompileRun("observer"); local 901 Local<Function> observer = local [all...] |
/cts/tests/tests/widget/src/android/widget/cts/util/ |
ViewTestUtils.java | 50 final ViewTreeObserver observer = view.getViewTreeObserver(); 54 observer.removeOnDrawListener(this); 59 observer.addOnDrawListener(listener);
|
/external/sl4a/Utils/src/com/googlecode/android_scripting/ |
SimpleServer.java | 67 /** Adds an observer. */ 68 public void addObserver(SimpleServerObserver observer) { 69 mObservers.add(observer); 72 /** Removes an observer. */ 73 public void removeObserver(SimpleServerObserver observer) { 74 mObservers.remove(observer); 78 for (SimpleServerObserver observer : mObservers) { 79 observer.onConnect(); 84 for (SimpleServerObserver observer : mObservers) { 85 observer.onDisconnect() [all...] |
/frameworks/av/services/audiopolicy/enginedefault/src/ |
Engine.h | 49 virtual void setObserver(AudioPolicyManagerObserver *observer) 51 mPolicyEngine->setObserver(observer); 104 void setObserver(AudioPolicyManagerObserver *observer);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
BridgeContentResolver.java | 85 ContentObserver observer) { 93 public void unregisterContentObserver(ContentObserver observer) { 101 public void notifyChange(Uri uri, ContentObserver observer, boolean syncToNetwork) {
|
/frameworks/base/core/java/android/view/ |
ViewTreeObserver.java | 26 * A view tree observer is used to register listeners that can be notified of global 334 * Merges all the listeners registered on the specified observer with the listeners 335 * registered on this object. After this method is invoked, the specified observer 338 * @param observer The ViewTreeObserver whose listeners must be added to this observer 340 void merge(ViewTreeObserver observer) { 341 if (observer.mOnWindowAttachListeners != null) { 343 mOnWindowAttachListeners.addAll(observer.mOnWindowAttachListeners); 345 mOnWindowAttachListeners = observer.mOnWindowAttachListeners; 349 if (observer.mOnWindowFocusListeners != null) [all...] |
/cts/tests/tests/os/src/android/os/storage/cts/ |
StorageManagerTest.java | 363 final ObbObserver observer = new ObbObserver(); local 365 mStorageManager.mountObb(file.getPath(), null, observer)); 368 observer.waitForCompletion()); 371 assertTrue("OBB should be mounted", mStorageManager.isObbMounted(observer.getPath())); 374 assertEquals(expectedState, observer.getState()); 376 return observer.getPath(); 382 final ObbObserver observer = new ObbObserver(); local 384 mStorageManager.mountObb(file.getPath(), null, observer)); 386 return observer; 389 private void waitForObbActionCompletion(final File file, final ObbObserver observer, 407 final ObbObserver observer = new ObbObserver(); local [all...] |
/external/webrtc/talk/app/webrtc/ |
peerconnection.cc | 110 webrtc::SetSessionDescriptionObserver* observer) 111 : observer(observer) { 114 rtc::scoped_refptr<webrtc::SetSessionDescriptionObserver> observer; member in struct:__anon27512::SetSessionDescriptionMsg 120 webrtc::CreateSessionDescriptionObserver* observer) 121 : observer(observer) {} 123 rtc::scoped_refptr<webrtc::CreateSessionDescriptionObserver> observer; member in struct:__anon27512::CreateSessionDescriptionMsg 128 GetStatsMsg(webrtc::StatsObserver* observer, 130 : observer(observer), track(track) 132 rtc::scoped_refptr<webrtc::StatsObserver> observer; member in struct:__anon27512::GetStatsMsg 689 MediaStreamObserver* observer = new MediaStreamObserver(local_stream); local [all...] |
/device/lge/bullhead/sepolicy/ |
cnd.te | 1 # Connectivity Engine Observer Interface daemon (cnd)
|
ims.te | 19 # talk to connectivity engine observer interface daemon (cnd)
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/android/database/ |
TestCursor.java | 163 public void registerContentObserver(ContentObserver observer) { 168 public void unregisterContentObserver(ContentObserver observer) { 173 public void registerDataSetObserver(DataSetObserver observer) { 178 public void unregisterDataSetObserver(DataSetObserver observer) {
|
/external/smali/baksmali/src/test/resources/InterfaceOrderTest/ |
InterfaceOrder.smali | 10 .implements Ljava/util/Observer;
|
/external/v8/test/mjsunit/es6/ |
microtask-delivery.js | 75 var observer = { 80 Object.observe(observer, function(records) { 82 observer.recordCounts.push(records.length); 86 return observer;
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/tools/ |
bwe_rtp.h | 30 webrtc::RemoteBitrateObserver* observer,
|
/external/webrtc/webrtc/video/ |
encoded_frame_callback_adapter.h | 22 explicit EncodedFrameCallbackAdapter(EncodedFrameObserver* observer);
|
/external/webrtc/webrtc/voice_engine/ |
monitor_module.h | 35 int32_t RegisterObserver(MonitorObserver& observer);
|
/frameworks/base/core/java/android/widget/ |
BaseExpandableListAdapter.java | 37 public void registerDataSetObserver(DataSetObserver observer) { 38 mDataSetObservable.registerObserver(observer); 41 public void unregisterDataSetObserver(DataSetObserver observer) { 42 mDataSetObservable.unregisterObserver(observer);
|
/frameworks/base/core/tests/coretests/src/android/os/ |
FileObserverTest.java | 33 private Observer mObserver; 36 private static class Observer extends FileObserver { 40 public Observer(String path) { 77 mObserver = new Observer(mTestFile.getParent());
|
/frameworks/base/libs/hwui/renderthread/ |
RenderProxy.cpp | 234 int RenderProxy::syncAndDrawFrame(TreeObserver* observer) { 235 return mDrawFrameTask.drawFrame(observer); 238 CREATE_BRIDGE2(destroy, CanvasContext* context, TreeObserver* observer) { 239 args->context->destroy(args->observer); 243 void RenderProxy::destroy(TreeObserver* observer) { 246 args->observer = observer; 300 CREATE_BRIDGE3(buildLayer, CanvasContext* context, RenderNode* node, TreeObserver* observer) { 301 args->context->buildLayer(args->node, args->observer); 305 void RenderProxy::buildLayer(RenderNode* node, TreeObserver* observer) { [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
FolderSettingsObserver.java | 21 * Observer to be notified when folder settings changed.
|
/system/bt/doc/ |
supported_features.md | 10 GAP | 4.2 | BR/EDR, LE Central, LE Periperhal, LE Observer, LE Broadcaster
|
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
NetworkMonitorAutoDetect.java | 264 // Observer for the connection type change. 265 private final Observer observer; field in class:NetworkMonitorAutoDetect 276 * Observer interface by which observer is notified of network changes. 278 public static interface Observer { 288 public NetworkMonitorAutoDetect(Observer observer, Context context) { 289 this.observer = observer; [all...] |
/external/libchrome/base/memory/ |
scoped_vector_unittest.cc | 17 // The LifeCycleObject notifies its Observer upon construction & destruction. 20 class Observer { 26 virtual ~Observer() {} 37 explicit LifeCycleObject(Observer* observer) 38 : observer_(observer) { 46 Observer* observer_; 70 class LifeCycleWatcher : public LifeCycleObject::Observer {
|
/external/sl4a/Common/src/com/googlecode/android_scripting/interpreter/ |
InterpreterConfiguration.java | 111 for (ConfigurationObserver observer : mObserverSet) { 112 observer.onConfigurationChanged(); 242 public void registerObserver(ConfigurationObserver observer) { 243 if (observer != null) { 244 mObserverSet.add(observer); 248 public void unregisterObserver(ConfigurationObserver observer) { 249 if (observer != null) { 250 mObserverSet.remove(observer);
|