Home
last modified time | relevance | path

Searched refs:mFlags (Results 1 – 25 of 70) sorted by relevance

123

/frameworks/media/libvideoeditor/lvpp/
DPreviewPlayerBase.cpp184 mFlags(0), in PreviewPlayerBase()
263 mFlags |= INCOGNITO; in setDataSource_l()
267 if (!(mFlags & INCOGNITO)) { in setDataSource_l()
381 mFlags |= AUTO_LOOPING; in setDataSource_l()
416 if (mFlags & PLAYING) { in reset_l()
427 if (mFlags & PREPARING) { in reset_l()
428 mFlags |= PREPARE_CANCELLED; in reset_l()
437 if (mFlags & PREPARING_CONNECTED) { in reset_l()
444 while (mFlags & PREPARING) { in reset_l()
484 mFlags = 0; in reset_l()
[all …]
DPreviewPlayer.cpp193 mFlags |= AUTO_LOOPING; in setDataSource_l()
264 if (mFlags & PREPARING) { in reset_l()
265 mFlags |= PREPARE_CANCELLED; in reset_l()
268 while (mFlags & PREPARING) { in reset_l()
317 mFlags = 0; in reset_l()
344 mFlags &= ~CACHE_UNDERRUN; in play()
345 mFlags &= ~INFORMED_AV_EOS; in play()
350 CHECK(!(mFlags & AUDIO_RUNNING)); in startAudioPlayer_l()
356 if (!(mFlags & AUDIOPLAYER_STARTED)) { in startAudioPlayer_l()
357 mFlags |= AUDIOPLAYER_STARTED; in startAudioPlayer_l()
[all …]
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuItem.java52 private int mFlags = ENABLED; field in ActionMenuItem
118 return (mFlags & CHECKABLE) != 0; in isCheckable()
122 return (mFlags & CHECKED) != 0; in isChecked()
126 return (mFlags & ENABLED) != 0; in isEnabled()
130 return (mFlags & HIDDEN) == 0; in isVisible()
139 mFlags = (mFlags & ~CHECKABLE) | (checkable ? CHECKABLE : 0); in setCheckable()
144 mFlags = (mFlags & ~EXCLUSIVE) | (exclusive ? EXCLUSIVE : 0); in setExclusiveCheckable()
149 mFlags = (mFlags & ~CHECKED) | (checked ? CHECKED : 0); in setChecked()
154 mFlags = (mFlags & ~ENABLED) | (enabled ? ENABLED : 0); in setEnabled()
207 mFlags = (mFlags & HIDDEN) | (visible ? 0 : HIDDEN); in setVisible()
DMenuItemImpl.java72 private int mFlags = ENABLED; field in MenuItemImpl
175 return (mFlags & ENABLED) != 0; in isEnabled()
180 mFlags |= ENABLED; in setEnabled()
182 mFlags &= ~ENABLED; in setEnabled()
410 return (mFlags & CHECKABLE) == CHECKABLE; in isCheckable()
414 final int oldFlags = mFlags; in setCheckable()
415 mFlags = (mFlags & ~CHECKABLE) | (checkable ? CHECKABLE : 0); in setCheckable()
416 if (oldFlags != mFlags) { in setCheckable()
424 mFlags = (mFlags & ~EXCLUSIVE) | (exclusive ? EXCLUSIVE : 0); in setExclusiveCheckable()
428 return (mFlags & EXCLUSIVE) != 0; in isExclusiveCheckable()
[all …]
/frameworks/base/core/java/android/view/animation/
DAnimationSet.java62 private int mFlags = 0; field in AnimationSet
93 mFlags |= PROPERTY_DURATION_MASK; in AnimationSet()
96 mFlags |= PROPERTY_FILL_BEFORE_MASK; in AnimationSet()
99 mFlags |= PROPERTY_FILL_AFTER_MASK; in AnimationSet()
102 mFlags |= PROPERTY_REPEAT_MODE_MASK; in AnimationSet()
105 mFlags |= PROPERTY_START_OFFSET_MASK; in AnimationSet()
143 mFlags |= mask; in setFlag()
145 mFlags &= ~mask; in setFlag()
155 mFlags |= PROPERTY_FILL_AFTER_MASK; in setFillAfter()
161 mFlags |= PROPERTY_FILL_BEFORE_MASK; in setFillBefore()
[all …]
/frameworks/base/include/utils/
DObbFile.h67 return mFlags; in getFlags()
71 mFlags = flags; in setFlags()
75 if ((mFlags & OBB_SALTED) == 0) { in getSalt()
90 mFlags |= OBB_SALTED; in setSalt()
95 return (mFlags & OBB_OVERLAY) == OBB_OVERLAY; in isOverlay()
100 mFlags |= OBB_OVERLAY; in setOverlay()
102 mFlags &= ~OBB_OVERLAY; in setOverlay()
125 int32_t mFlags; variable
/frameworks/base/media/libstagefright/
DAwesomePlayer.cpp193 mFlags(0), in AwesomePlayer()
284 if (!(mFlags & INCOGNITO)) { in setDataSource_l()
472 if (mFlags & PLAYING) { in reset_l()
483 if (mFlags & PREPARING) { in reset_l()
493 if (mFlags & PREPARING_CONNECTED) { in reset_l()
500 while (mFlags & PREPARING) { in reset_l()
516 if ((mAudioPlayer == NULL || !(mFlags & AUDIOPLAYER_STARTED)) in reset_l()
575 mStats.mFlags = 0; in reset_l()
650 if (!(mFlags & VIDEO_AT_EOS) && videoLateByUs > 300000ll) { in onVideoLagUpdate()
678 if (mFlags & PREPARING) { in onBufferingUpdate()
[all …]
/frameworks/base/core/java/android/net/
DUrlQuerySanitizer.java119 private int mFlags; field in UrlQuerySanitizer.IllegalCharacterValueSanitizer
284 mFlags = flags; in IllegalCharacterValueSanitizer()
306 if ((mFlags & SCRIPT_URL_OK) != 0) { in sanitize()
318 if ( (mFlags & ALL_WHITESPACE_OK) == 0) { in sanitize()
329 if ((mFlags & SPACE_OK) != 0) { in sanitize()
392 case ' ' : return (mFlags & SPACE_OK) != 0; in characterIsLegal()
394 return (mFlags & OTHER_WHITESPACE_OK) != 0; in characterIsLegal()
395 case '\"': return (mFlags & DQUOTE_OK) != 0; in characterIsLegal()
396 case '\'': return (mFlags & SQUOTE_OK) != 0; in characterIsLegal()
397 case '<' : return (mFlags & LT_OK) != 0; in characterIsLegal()
[all …]
/frameworks/base/core/java/android/text/style/
DSuggestionSpan.java81 private int mFlags; field in SuggestionSpan
132 mFlags = flags; in SuggestionSpan()
178 mFlags = src.readInt(); in SuggestionSpan()
218 return mFlags; in getFlags()
222 mFlags = flags; in setFlags()
233 dest.writeInt(mFlags); in writeToParcel()
284 final boolean misspelled = (mFlags & FLAG_MISSPELLED) != 0; in updateDrawState()
285 final boolean easy = (mFlags & FLAG_EASY_CORRECT) != 0; in updateDrawState()
286 final boolean autoCorrection = (mFlags & FLAG_AUTO_CORRECTION) != 0; in updateDrawState()
307 final boolean misspelled = (mFlags & FLAG_MISSPELLED) != 0; in getUnderlineColor()
[all …]
/frameworks/base/core/java/android/os/
DDropBoxManager.java95 private final int mFlags; field in DropBoxManager.Entry
105 mFlags = IS_EMPTY; in Entry()
117 mFlags = IS_TEXT; in Entry()
134 mFlags = flags; in Entry()
151 mFlags = flags; in Entry()
166 mFlags = flags; in Entry()
181 public int getFlags() { return mFlags & ~IS_GZIPPED; } // getInputStream() decompresses. in getFlags()
188 if ((mFlags & IS_TEXT) == 0) return null; in getText()
219 return (mFlags & IS_GZIPPED) != 0 ? new GZIPInputStream(is) : is; in getInputStream()
244 out.writeInt(mFlags & ~HAS_BYTE_ARRAY); // Clear bit just to be safe in writeToParcel()
[all …]
DPowerManager.java219 int mFlags; field in PowerManager.WakeLock
240 mFlags = flags; in WakeLock()
285 mService.acquireWakeLock(mFlags, mToken, mTag, mWorkSource); in acquireLocked()
/frameworks/base/services/surfaceflinger/DisplayHardware/
DDisplayHardware.cpp79 mFlinger(flinger), mFlags(0), mHwc(0) in DisplayHardware()
186 mFlags |= PARTIAL_UPDATES; in init()
191 mFlags |= SLOW_CONFIG; in init()
202 if (mFlags & PARTIAL_UPDATES) { in init()
211 mFlags |= BUFFER_PRESERVED; in init()
283 mFlags |= SWAP_RECTANGLE; in init()
288 if (mFlags & PARTIAL_UPDATES) in init()
289 mFlags &= ~SWAP_RECTANGLE; in init()
307 LOGI("flags = %08x", mFlags); in init()
370 if (mFlags & SWAP_RECTANGLE) { in flip()
[all …]
/frameworks/base/libs/binder/
DMemoryHeapBase.cpp50 : mFD(-1), mSize(0), mBase(MAP_FAILED), mFlags(flags), in MemoryHeapBase()
67 : mFD(-1), mSize(0), mBase(MAP_FAILED), mFlags(flags), in MemoryHeapBase()
86 : mFD(-1), mSize(0), mBase(MAP_FAILED), mFlags(flags), in MemoryHeapBase()
102 mFlags = flags; in init()
126 if ((mFlags & DONT_MAP_LOCALLY) == 0) { in mapfd()
180 return mFlags; in getFlags()
/frameworks/base/core/java/android/view/
DKeyEvent.java1219 private int mFlags; field in KeyEvent
1407 mFlags = flags; in KeyEvent()
1439 mFlags = flags; in KeyEvent()
1463 mFlags = flags; in KeyEvent()
1480 mFlags = origEvent.mFlags; in KeyEvent()
1506 mFlags = origEvent.mFlags; in KeyEvent()
1542 ev.mFlags = flags; in obtain()
1563 ev.mFlags = other.mFlags; in obtain()
1628 ret.mFlags = newFlags; in changeTimeRepeat()
1648 mFlags = origEvent.mFlags; in KeyEvent()
[all …]
/frameworks/base/libs/utils/
DRefBase.cpp58 volatile int32_t mFlags; member in android::RefBase::weakref_impl
66 , mFlags(0) in weakref_impl()
85 , mFlags(0) in weakref_impl()
358 if ((refs->mFlags&OBJECT_LIFETIME_MASK) == OBJECT_LIFETIME_STRONG) { in decStrong()
414 if ((impl->mFlags&OBJECT_LIFETIME_WEAK) == OBJECT_LIFETIME_STRONG) { in decWeak()
430 if ((impl->mFlags&OBJECT_LIFETIME_MASK) == OBJECT_LIFETIME_WEAK) { in decWeak()
461 allow = (impl->mFlags&OBJECT_LIFETIME_WEAK) != OBJECT_LIFETIME_WEAK in attemptIncStrong()
468 allow = (impl->mFlags&OBJECT_LIFETIME_WEAK) == OBJECT_LIFETIME_WEAK in attemptIncStrong()
562 if ((mRefs->mFlags & OBJECT_LIFETIME_MASK) != OBJECT_LIFETIME_STRONG) { in ~RefBase()
576 android_atomic_or(mode, &mRefs->mFlags); in extendObjectLifetime()
DVectorImpl.cpp44 : mStorage(0), mCount(0), mFlags(flags), mItemSize(itemSize) in VectorImpl()
50 mFlags(rhs.mFlags), mItemSize(rhs.mItemSize) in VectorImpl()
362 (mFlags & HAS_TRIVIAL_COPY) && in _grow()
363 (mFlags & HAS_TRIVIAL_DTOR)) in _grow()
414 (mFlags & HAS_TRIVIAL_COPY) && in _shrink()
415 (mFlags & HAS_TRIVIAL_DTOR)) in _shrink()
454 if (!(mFlags & HAS_TRIVIAL_CTOR)) { in _do_construct()
461 if (!(mFlags & HAS_TRIVIAL_DTOR)) { in _do_destroy()
468 if (!(mFlags & HAS_TRIVIAL_COPY)) { in _do_copy()
DObbFile.cpp78 , mFlags(0) in ObbFile()
201 mFlags = (int32_t) get4LE((unsigned char*)scanBuf + kFlagsOffset); in parseObbFile()
273 put4LE(intBuf, mFlags); in writeTo()
/frameworks/base/graphics/java/android/renderscript/
DMesh.java533 int mFlags; field in Mesh.TriangleMeshBuilder
555 mFlags = flags; in TriangleMeshBuilder()
571 if ((mFlags & COLOR) != 0) { in latch()
578 if ((mFlags & TEXTURE_0) != 0) { in latch()
583 if ((mFlags & NORMAL) != 0) { in latch()
642 if ((mFlags & TEXTURE_0) == 0) { in setTexture()
660 if ((mFlags & NORMAL) == 0) { in setNormal()
680 if ((mFlags & COLOR) == 0) { in setColor()
736 if ((mFlags & COLOR) != 0) { in create()
740 if ((mFlags & TEXTURE_0) != 0) { in create()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DGcSnapshot.java62 private final int mFlags; field in GcSnapshot
97 private final int mFlags; field in GcSnapshot.Layer
114 mFlags = 0; in Layer()
130 mFlags = flags; in Layer()
149 return mFlags; in getFlags()
157 return new Layer((Graphics2D) mGraphics.create(), mImage, mFlags); in makeCopy()
255 mFlags = 0; in GcSnapshot()
274 mFlags = flags; in GcSnapshot()
302 (mFlags & Canvas.HAS_ALPHA_LAYER_SAVE_FLAG) != 0 ? in GcSnapshot()
326 if ((mFlags & Canvas.CLIP_TO_LAYER_SAVE_FLAG) == 0) { in GcSnapshot()
[all …]
/frameworks/base/core/java/android/nfc/
DNdefRecord.java207 private final byte mFlags; field in NdefRecord
259 mFlags = flags; in NdefRecord()
276 mFlags = 0; in NdefRecord()
425 return generate(mFlags, mTnf, mType, mId, mPayload); in toByteArray()
433 dest.writeInt(mFlags); in writeToParcel()
/frameworks/base/media/libstagefright/rtsp/
DARTPWriter.cpp48 : mFlags(0), in ARTPWriter()
114 return (mFlags & kFlagEOS) != 0; in reachedEOS()
119 if (mFlags & kFlagStarted) { in start()
123 mFlags &= ~kFlagEOS; in start()
151 while (!(mFlags & kFlagStarted)) { in start()
160 if (!(mFlags & kFlagStarted)) { in stop()
166 while (mFlags & kFlagStarted) { in stop()
212 mFlags |= kFlagStarted; in onMessageReceived()
229 mFlags &= ~kFlagStarted; in onMessageReceived()
239 if (!(mFlags & kFlagStarted)) { in onMessageReceived()
[all …]
/frameworks/base/media/libmediaplayerservice/nuplayer/
DHTTPLiveSource.cpp43 mFlags(0), in HTTPLiveSource()
53 mFlags |= kFlagIncognito; in HTTPLiveSource()
73 (mFlags & kFlagIncognito) ? LiveSession::kFlagIncognito : 0, in start()
/frameworks/base/core/jni/
Dandroid_nfc_NdefRecord.cpp94 jfieldID mType, mId, mPayload, mTnf, mFlags; in android_nfc_NdefRecord_parseNdefRecord() local
151 mFlags = e->GetFieldID(record_cls, "mFlags", "B"); in android_nfc_NdefRecord_parseNdefRecord()
152 e->SetIntField(o, mFlags, record.Flags); in android_nfc_NdefRecord_parseNdefRecord()
Dandroid_view_KeyEvent.cpp43 jfieldID mFlags; member
83 jint flags = env->GetIntField(eventObj, gKeyEventClassInfo.mFlags); in android_view_KeyEvent_toNative()
159 GET_FIELD_ID(gKeyEventClassInfo.mFlags, gKeyEventClassInfo.clazz, in register_android_view_KeyEvent()
/frameworks/base/services/java/com/android/server/wm/
DDragState.java45 int mFlags; field in DragState
66 mFlags = flags; in DragState()
76 mFlags = 0; in reset()
196 if ((mFlags & View.DRAG_FLAG_GLOBAL) == 0) { in sendDragStartedLw()
297 if ((mFlags & View.DRAG_FLAG_GLOBAL) == 0) { in notifyMoveLw()

123