Home
last modified time | relevance | path

Searched refs:mLocked (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/libs/input/
DPointerController.cpp90 mLocked.animationPending = false; in PointerController()
92 mLocked.presentation = PRESENTATION_POINTER; in PointerController()
93 mLocked.presentationChanged = false; in PointerController()
95 mLocked.inactivityTimeout = INACTIVITY_TIMEOUT_NORMAL; in PointerController()
97 mLocked.pointerFadeDirection = 0; in PointerController()
98 mLocked.pointerX = 0; in PointerController()
99 mLocked.pointerY = 0; in PointerController()
100 mLocked.pointerAlpha = 0.0f; // pointer is initially faded in PointerController()
101 mLocked.pointerSprite = mSpriteController->createSprite(); in PointerController()
102 mLocked.pointerIconChanged = false; in PointerController()
[all …]
DSpriteController.cpp41 mLocked.transactionNestingCount = 0; in SpriteController()
42 mLocked.deferredSpriteUpdate = false; in SpriteController()
61 mLocked.transactionNestingCount += 1; in openTransaction()
67 LOG_ALWAYS_FATAL_IF(mLocked.transactionNestingCount == 0, in closeTransaction()
70 mLocked.transactionNestingCount -= 1; in closeTransaction()
71 if (mLocked.transactionNestingCount == 0 && mLocked.deferredSpriteUpdate) { in closeTransaction()
72 mLocked.deferredSpriteUpdate = false; in closeTransaction()
78 bool wasEmpty = mLocked.invalidatedSprites.isEmpty(); in invalidateSpriteLocked()
79 mLocked.invalidatedSprites.push(sprite); in invalidateSpriteLocked()
81 if (mLocked.transactionNestingCount != 0) { in invalidateSpriteLocked()
[all …]
DSpriteController.h236 return mLocked.state; in getStateLocked()
240 mLocked.state.dirty = 0; in resetDirtyLocked()
245 mLocked.state.surfaceControl = surfaceControl; in setSurfaceLocked()
246 mLocked.state.surfaceWidth = width; in setSurfaceLocked()
247 mLocked.state.surfaceHeight = height; in setSurfaceLocked()
248 mLocked.state.surfaceDrawn = drawn; in setSurfaceLocked()
249 mLocked.state.surfaceVisible = visible; in setSurfaceLocked()
257 } mLocked; // guarded by mController->mLock variable
287 } mLocked; // guarded by mLock variable
DPointerController.h185 } mLocked GUARDED_BY(mLock);
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DMutexed.h109 mLocked(from.mLocked) {} in Locked()
114 inline T* operator->() const { return mLocked ? &mTreasure : nullptr; }
115 inline T& operator*() const { return mLocked ? mTreasure : *(T*)nullptr; }
118 inline T& get() const { return mLocked ? mTreasure : *(T*)nullptr; } in get()
139 bool mLocked; variable
174 mLocked(true) { in Locked()
180 if (mLocked) { in ~Locked()
187 if (mLocked) { in unlock()
188 mLocked = false; in unlock()
195 if (!mLocked) { in lock()
[all …]
/frameworks/av/camera/
DCameraMetadata.cpp35 mBuffer(NULL), mLocked(false) { in CameraMetadata()
39 mLocked(false) in CameraMetadata()
45 mLocked(false) { in CameraMetadata()
50 mBuffer(NULL), mLocked(false) { in CameraMetadata()
59 if (mLocked) { in operator =()
73 mLocked = false; in ~CameraMetadata()
78 mLocked = true; in getAndLock()
83 if (!mLocked) { in unlock()
92 mLocked = false; in unlock()
97 if (mLocked) { in release()
[all …]
/frameworks/base/services/core/jni/
Dcom_android_server_storage_AppFuseBridge.cpp61 MonitorScope(JNIEnv* env, jobject obj) : mEnv(env), mObj(obj), mLocked(false) { in MonitorScope()
63 mLocked = true; in MonitorScope()
70 if (mLocked) { in ~MonitorScope()
78 return mLocked; in operator bool()
85 bool mLocked; member in android::__anon2c980eee0111::MonitorScope
Dcom_android_server_input_InputManagerService.cpp314 } mLocked GUARDED_BY(mLock);
342 mLocked.systemUiVisibility = ASYSTEM_UI_VISIBILITY_STATUS_BAR_VISIBLE; in NativeInputManager()
343 mLocked.pointerSpeed = 0; in NativeInputManager()
344 mLocked.pointerGesturesEnabled = true; in NativeInputManager()
345 mLocked.showTouches = false; in NativeInputManager()
346 mLocked.pointerCapture = false; in NativeInputManager()
347 mLocked.pointerDisplayId = ADISPLAY_ID_DEFAULT; in NativeInputManager()
370 mLocked.systemUiVisibility); in dump()
371 dump += StringPrintf(INDENT "Pointer Speed: %" PRId32 "\n", mLocked.pointerSpeed); in dump()
373 toString(mLocked.pointerGesturesEnabled)); in dump()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCamera2Focuser.java63 private boolean mLocked = false; field in Camera2Focuser
139 mLocked = locked; in onAutoFocusSuccess()
149 mLocked = locked; in onAutoFocusFail()
159 mLocked = false; in onAutoFocusScan()
165 mLocked = false; in onAutoFocusInactive()
211 mLocked = false; in cancelAutoFocus()
253 if (mSuccess && mLocked) { in startAutoFocusLocked()
/frameworks/base/core/java/android/widget/
DSlidingDrawer.java110 private boolean mLocked; field in SlidingDrawer
378 if (mLocked) { in onInterceptTouchEvent()
424 if (mLocked) { in onTouchEvent()
935 mLocked = false; in unlock()
944 mLocked = true; in lock()
967 if (mLocked) { in onClick()
/frameworks/av/media/codec2/vndk/
DC2AllocatorGralloc.cpp336 bool mLocked; member in android::C2AllocationGralloc
354 mLocked(false), in C2AllocationGralloc()
371 mLocked(false), in C2AllocationGralloc()
376 if (mBuffer && mLocked) { in ~C2AllocationGralloc()
416 if (mBuffer && mLocked) { in map()
814 mLocked = true; in map()
859 mLocked = false; in unmap()
/frameworks/av/camera/include/camera/
DCameraMetadata.h232 mutable bool mLocked; variable
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp204 ConditionalLock(Mutex& mutex, bool lock) : mMutex(mutex), mLocked(lock) { in ConditionalLock()
209 ~ConditionalLock() { if (mLocked) mMutex.unlock(); } in ~ConditionalLock()
212 bool mLocked; member in android::__anon21e1acb80111::ConditionalLock