Home
last modified time | relevance | path

Searched refs:mAttached (Results 1 – 17 of 17) sorted by relevance

/frameworks/native/services/displayservice/
DDisplayEventReceiver.cpp123 if (mAttached != nullptr || callback == nullptr) { in init()
127 mAttached = new AttachedEvent(callback); in init()
129 return mAttached->valid() ? Status::SUCCESS : Status::UNKNOWN; in init()
135 if (mAttached == nullptr || count < 0) { in setVsyncRate()
139 bool success = OK == mAttached->receiver().setVsyncRate(count); in setVsyncRate()
146 if (mAttached == nullptr) { in requestNextVsync()
150 bool success = OK == mAttached->receiver().requestNextVsync(); in requestNextVsync()
156 if (mAttached == nullptr) { in close()
160 bool success = mAttached->detach(); in close()
161 mAttached = nullptr; in close()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DAttachDetachCollector.java28 private final List<View> mAttached = new ArrayList<>(); field in AttachDetachCollector
37 mAttached.add(view); in onChildViewAttachedToWindow()
46 mAttached.clear(); in reset()
51 return mAttached; in getAttached()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DAnimatedImageView.java34 boolean mAttached; field in AnimatedImageView
61 if (mAttached && mAnim != null) { in updateAnim()
100 mAttached = true; in onAttachedToWindow()
110 mAttached = false; in onDetachedFromWindow()
/frameworks/base/test-runner/src/android/test/
DApplicationTestCase.java76 private boolean mAttached = false; field in ApplicationTestCase
108 mAttached = true; in setupApplication()
121 if (!mAttached) { in createApplication()
DActivityUnitTestCase.java90 private boolean mAttached = false; field in ActivityUnitTestCase
134 if (!mAttached) { in startActivity()
162 mAttached = true; in startActivity()
/frameworks/base/core/java/android/widget/
DAnalogClock.java56 private boolean mAttached; field in AnalogClock
106 if (!mAttached) { in onAttachedToWindow()
107 mAttached = true; in onAttachedToWindow()
138 if (mAttached) { in onDetachedFromWindow()
140 mAttached = false; in onDetachedFromWindow()
DProgressBar.java203 private boolean mAttached; field in ProgressBar
1361 if (mAttached && !mRefreshIsPosted) { in refreshProgress()
1952 mAttached = true; in onAttachedToWindow()
1970 mAttached = false; in onDetachedFromWindow()
/frameworks/support/v13/java/android/support/v13/app/
DFragmentTabHost.java50 private boolean mAttached; field in FragmentTabHost
226 if (mAttached) { in addTab()
273 mAttached = true; in onAttachedToWindow()
284 mAttached = false; in onDetachedFromWindow()
308 if (mAttached) { in onTabChanged()
/frameworks/support/fragment/java/android/support/v4/app/
DFragmentTabHost.java62 private boolean mAttached; field in FragmentTabHost
238 if (mAttached) { in addTab()
285 mAttached = true; in onAttachedToWindow()
296 mAttached = false; in onDetachedFromWindow()
320 if (mAttached) { in onTabChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DClock.java72 private boolean mAttached; field in Clock
114 if (!mAttached) { in onAttachedToWindow()
115 mAttached = true; in onAttachedToWindow()
148 if (mAttached) { in onDetachedFromWindow()
150 mAttached = false; in onDetachedFromWindow()
/frameworks/native/libs/gui/
DGLConsumer.cpp170 mAttached(true) in GLConsumer()
199 mAttached(false) in GLConsumer()
282 if (mAttached) { in releaseTexImage()
295 GLC_LOGV("releaseTexImage: (slot=%d, mAttached=%d)", buf, mAttached); in releaseTexImage()
297 if (mAttached) { in releaseTexImage()
329 if (mAttached) { in releaseTexImage()
410 if (!mAttached) { in updateAndReleaseLocked()
607 if (!mAttached) { in detachFromContext()
637 mAttached = false; in detachFromContext()
652 if (mAttached) { in attachToContext()
[all …]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DBackgroundManager.java106 private boolean mAttached; field in BackgroundManager
681 if (mAttached) { in attachToViewInternal()
685 mAttached = true; in attachToViewInternal()
693 return mAttached; in isAttached()
705 mAttached = false; in detach()
802 if (!mAttached) { in updateImmediate()
864 if (!mAttached) { in setDrawableInternal()
1033 if (!mAttached) { in applyBackgroundChanges()
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
DSinkActivity.java82 private boolean mAttached; field in SinkActivity
409 if (mAttached) { in startServices()
425 mAttached = true; in onAttachedToWindow()
435 mAttached = false; in onDetachedFromWindow()
/frameworks/native/services/displayservice/include/displayservice/
DDisplayEventReceiver.h62 sp<AttachedEvent> mAttached; variable
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DZenModePanel.java127 private boolean mAttached; field in ZenModePanel
160 pw.print(" mAttached="); pw.println(mAttached); in dump()
295 mAttached = true; in onAttach()
315 mAttached = false; in onDetach()
327 if (isVisible == mAttached) return; in onVisibilityAggregated()
345 setRequestingConditions(mAttached && !mHidden); in setHidden()
/frameworks/native/include/gui/
DGLConsumer.h508 bool mAttached; variable
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java675 private AtomicBoolean mAttached = new AtomicBoolean(false); field in DcTracker
1233 if (mAttached.get() && apnContext.isReady()) { in getActiveApnTypes()
1374 mAttached.set(false); in onDataConnectionDetached()
1379 mAttached.set(true); in onDataConnectionAttached()
1399 boolean attachedState = mAttached.get(); in isDataAllowed()
1713 if (!mAttached.get() || !apnContext.isReady()) { in notifyOffApnsOfAvailability()
2006 (mAttached.get() == false || dcFailCause != DcFailCause.SIGNAL_LOST)); in isPermanentFailure()
3254 if (mAttached.get() && apnContext.isReady() && retryAfterDisconnected(apnContext)) { in onDisconnectDone()
3376 if (mAttached.get() && apnContext.isReady()) { in notifyDataConnection()
4376 pw.println(" mAttached=" + mAttached.get()); in dump()