/frameworks/native/libs/gui/ |
D | Sensor.cpp | 41 mMaxDelay(0), mFlags(0) { in Sensor() 59 mFlags = 0; in Sensor() 95 mFlags |= SENSOR_FLAG_CONTINUOUS_MODE; in Sensor() 99 mFlags |= SENSOR_FLAG_ON_CHANGE_MODE; in Sensor() 103 mFlags |= SENSOR_FLAG_CONTINUOUS_MODE; in Sensor() 107 mFlags |= SENSOR_FLAG_CONTINUOUS_MODE; in Sensor() 111 mFlags |= SENSOR_FLAG_CONTINUOUS_MODE; in Sensor() 115 mFlags |= SENSOR_FLAG_CONTINUOUS_MODE; in Sensor() 119 mFlags |= SENSOR_FLAG_CONTINUOUS_MODE; in Sensor() 126 mFlags |= SENSOR_FLAG_ON_CHANGE_MODE; in Sensor() [all …]
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | MenuItemImpl.java | 72 private int mFlags = ENABLED; field in MenuItemImpl 178 return (mFlags & ENABLED) != 0; in isEnabled() 183 mFlags |= ENABLED; in setEnabled() 185 mFlags &= ~ENABLED; in setEnabled() 416 return (mFlags & CHECKABLE) == CHECKABLE; in isCheckable() 420 final int oldFlags = mFlags; in setCheckable() 421 mFlags = (mFlags & ~CHECKABLE) | (checkable ? CHECKABLE : 0); in setCheckable() 422 if (oldFlags != mFlags) { in setCheckable() 430 mFlags = (mFlags & ~EXCLUSIVE) | (exclusive ? EXCLUSIVE : 0); in setExclusiveCheckable() 434 return (mFlags & EXCLUSIVE) != 0; in isExclusiveCheckable() [all …]
|
D | ActionMenuItem.java | 52 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()
|
/frameworks/base/core/java/android/view/animation/ |
D | AnimationSet.java | 62 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/core/java/android/net/ |
D | InterfaceConfiguration.java | 34 private HashSet<String> mFlags = Sets.newHashSet(); field in InterfaceConfiguration 49 return mFlags; in getFlags() 54 return mFlags.contains(flag); in hasFlag() 59 mFlags.remove(flag); in clearFlag() 64 mFlags.add(flag); in setFlag() 71 mFlags.remove(FLAG_DOWN); in setInterfaceUp() 72 mFlags.add(FLAG_UP); in setInterfaceUp() 79 mFlags.remove(FLAG_UP); in setInterfaceDown() 80 mFlags.add(FLAG_DOWN); in setInterfaceDown() 133 dest.writeInt(mFlags.size()); in writeToParcel() [all …]
|
D | UrlQuerySanitizer.java | 120 private int mFlags; field in UrlQuerySanitizer.IllegalCharacterValueSanitizer 285 mFlags = flags; in IllegalCharacterValueSanitizer() 307 if ((mFlags & SCRIPT_URL_OK) != 0) { in sanitize() 319 if ( (mFlags & ALL_WHITESPACE_OK) == 0) { in sanitize() 330 if ((mFlags & SPACE_OK) != 0) { in sanitize() 393 case ' ' : return (mFlags & SPACE_OK) != 0; in characterIsLegal() 395 return (mFlags & OTHER_WHITESPACE_OK) != 0; in characterIsLegal() 396 case '\"': return (mFlags & DQUOTE_OK) != 0; in characterIsLegal() 397 case '\'': return (mFlags & SQUOTE_OK) != 0; in characterIsLegal() 398 case '<' : return (mFlags & LT_OK) != 0; in characterIsLegal() [all …]
|
/frameworks/base/core/java/android/os/ |
D | Bundle.java | 51 mFlags = FLAG_HAS_FDS_KNOWN | FLAG_ALLOW_FDS; in Bundle() 62 mFlags = FLAG_HAS_FDS_KNOWN | FLAG_ALLOW_FDS; in Bundle() 64 mFlags |= FLAG_HAS_FDS; in Bundle() 70 mFlags = FLAG_HAS_FDS_KNOWN | FLAG_ALLOW_FDS; in Bundle() 72 mFlags |= FLAG_HAS_FDS; in Bundle() 85 mFlags = FLAG_HAS_FDS_KNOWN | FLAG_ALLOW_FDS; in Bundle() 96 mFlags = FLAG_HAS_FDS_KNOWN | FLAG_ALLOW_FDS; in Bundle() 107 mFlags = b.mFlags; in Bundle() 118 mFlags = FLAG_HAS_FDS_KNOWN | FLAG_ALLOW_FDS; in Bundle() 153 final boolean orig = (mFlags & FLAG_ALLOW_FDS) != 0; in setAllowFds() [all …]
|
D | DropBoxManager.java | 97 private final int mFlags; field in DropBoxManager.Entry 107 mFlags = IS_EMPTY; in Entry() 119 mFlags = IS_TEXT; in Entry() 136 mFlags = flags; in Entry() 153 mFlags = flags; in Entry() 168 mFlags = flags; in Entry() 183 public int getFlags() { return mFlags & ~IS_GZIPPED; } // getInputStream() decompresses. in getFlags() 190 if ((mFlags & IS_TEXT) == 0) return null; in getText() 221 return (mFlags & IS_GZIPPED) != 0 ? new GZIPInputStream(is) : is; in getInputStream() 247 out.writeInt(mFlags & ~HAS_BYTE_ARRAY); // Clear bit just to be safe in writeToParcel() [all …]
|
/frameworks/base/keystore/java/android/security/ |
D | KeyStoreParameter.java | 51 private final int mFlags; field in KeyStoreParameter 55 mFlags = flags; in KeyStoreParameter() 62 return mFlags; in getFlags() 79 return (mFlags & KeyStore.FLAG_ENCRYPTED) != 0; in isEncryptionRequired() 103 private int mFlags; field in KeyStoreParameter.Builder 133 mFlags |= KeyStore.FLAG_ENCRYPTED; in setEncryptionRequired() 135 mFlags &= ~KeyStore.FLAG_ENCRYPTED; in setEncryptionRequired() 149 mFlags); in build()
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/ |
D | MenuItemImpl.java | 76 private int mFlags = ENABLED; field in MenuItemImpl 179 return (mFlags & ENABLED) != 0; in isEnabled() 185 mFlags |= ENABLED; in setEnabled() 187 mFlags &= ~ENABLED; in setEnabled() 453 return (mFlags & CHECKABLE) == CHECKABLE; in isCheckable() 458 final int oldFlags = mFlags; in setCheckable() 459 mFlags = (mFlags & ~CHECKABLE) | (checkable ? CHECKABLE : 0); in setCheckable() 460 if (oldFlags != mFlags) { in setCheckable() 468 mFlags = (mFlags & ~EXCLUSIVE) | (exclusive ? EXCLUSIVE : 0); in setExclusiveCheckable() 472 return (mFlags & EXCLUSIVE) != 0; in isExclusiveCheckable() [all …]
|
D | ActionMenuItem.java | 56 private int mFlags = ENABLED; field in ActionMenuItem 122 return (mFlags & CHECKABLE) != 0; in isCheckable() 126 return (mFlags & CHECKED) != 0; in isChecked() 130 return (mFlags & ENABLED) != 0; in isEnabled() 134 return (mFlags & HIDDEN) == 0; in isVisible() 143 mFlags = (mFlags & ~CHECKABLE) | (checkable ? CHECKABLE : 0); in setCheckable() 148 mFlags = (mFlags & ~EXCLUSIVE) | (exclusive ? EXCLUSIVE : 0); in setExclusiveCheckable() 153 mFlags = (mFlags & ~CHECKED) | (checked ? CHECKED : 0); in setChecked() 158 mFlags = (mFlags & ~ENABLED) | (enabled ? ENABLED : 0); in setEnabled() 211 mFlags = (mFlags & HIDDEN) | (visible ? 0 : HIDDEN); in setVisible()
|
/frameworks/base/include/androidfw/ |
D | ObbFile.h | 67 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/core/java/android/app/ |
D | RemoteInput.java | 76 private final int mFlags; field in RemoteInput 84 this.mFlags = flags; in RemoteInput() 117 return (mFlags & FLAG_ALLOW_FREE_FORM_INPUT) != 0; in getAllowFreeFormInput() 134 private int mFlags = DEFAULT_FLAGS; field in RemoteInput.Builder 187 setFlag(mFlags, allowFreeFormInput); in setAllowFreeFormInput() 216 mFlags |= mask; in setFlag() 218 mFlags &= ~mask; in setFlag() 227 return new RemoteInput(mResultKey, mLabel, mChoices, mFlags, mExtras); in build() 235 mFlags = in.readInt(); in RemoteInput() 296 out.writeInt(mFlags); in writeToParcel()
|
/frameworks/base/core/java/android/content/pm/permission/ |
D | RuntimePermissionPresentationInfo.java | 39 private final int mFlags; field in RuntimePermissionPresentationInfo 58 mFlags = flags; in RuntimePermissionPresentationInfo() 63 mFlags = parcel.readInt(); in RuntimePermissionPresentationInfo() 70 return (mFlags & FLAG_GRANTED) != 0; in isGranted() 77 return (mFlags & FLAG_STANDARD) != 0; in isStandard() 97 parcel.writeInt(mFlags); in writeToParcel()
|
/frameworks/av/media/libstagefright/ |
D | MediaCodec.cpp | 266 mFlags(0), in MediaCodec() 473 MediaResource::Type type = (mFlags & kFlagIsSecure) ? in configure() 572 MediaResource::Type type = (mFlags & kFlagIsSecure) ? in start() 671 mFlags = 0; // clear all flags in reset() 987 if (mFlags & kFlagDequeueInputPending) { in cancelPendingDequeueOperations() 992 mFlags &= ~kFlagDequeueInputPending; in cancelPendingDequeueOperations() 995 if (mFlags & kFlagDequeueOutputPending) { in cancelPendingDequeueOperations() 1000 mFlags &= ~kFlagDequeueOutputPending; in cancelPendingDequeueOperations() 1005 if (!isExecuting() || (mFlags & kFlagIsAsync) in handleDequeueInputBuffer() 1006 || (newRequest && (mFlags & kFlagDequeueInputPending))) { in handleDequeueInputBuffer() [all …]
|
/frameworks/base/core/java/android/app/assist/ |
D | AssistStructure.java | 555 int mFlags; field in AssistStructure.ViewNode 573 mFlags = in.readInt(); in ViewNode() 574 final int flags = mFlags; in ViewNode() 636 int flags = mFlags & ~FLAGS_ALL_CONTROL; in writeSelfToParcel() 829 return mFlags&ViewNode.FLAGS_VISIBILITY_MASK; in getVisibility() 836 return (mFlags&ViewNode.FLAGS_ASSIST_BLOCKED) != 0; in isAssistBlocked() 843 return (mFlags&ViewNode.FLAGS_DISABLED) == 0; in isEnabled() 850 return (mFlags&ViewNode.FLAGS_CLICKABLE) != 0; in isClickable() 857 return (mFlags&ViewNode.FLAGS_FOCUSABLE) != 0; in isFocusable() 865 return (mFlags&ViewNode.FLAGS_FOCUSED) != 0; in isFocused() [all …]
|
/frameworks/base/tools/aapt2/ |
D | Flags.cpp | 35 mFlags.push_back(Flag{ name.toString(), description.toString(), func, true, 1, false}); in requiredFlag() 46 mFlags.push_back(Flag{ name.toString(), description.toString(), func, true, 1, false }); in requiredFlagList() 57 mFlags.push_back(Flag{ name.toString(), description.toString(), func, false, 1, false }); in optionalFlag() 68 mFlags.push_back(Flag{ name.toString(), description.toString(), func, false, 1, false }); in optionalFlagList() 79 mFlags.push_back(Flag{ name.toString(), description.toString(), func, false, 0, false }); in optionalSwitch() 87 for (const Flag& flag : mFlags) { in usage() 95 for (const Flag& flag : mFlags) { in usage() 128 for (Flag& flag : mFlags) { in parse() 154 for (const Flag& flag : mFlags) { in parse()
|
/frameworks/base/media/java/android/media/ |
D | AudioFocusInfo.java | 37 private int mFlags; field in AudioFocusInfo 57 mFlags = flags; in AudioFocusInfo() 104 public int getFlags() { return mFlags; } in getFlags() 118 dest.writeInt(mFlags); in writeToParcel() 124 return Objects.hash(mAttributes, mClientId, mPackageName, mGainRequest, mFlags); in hashCode() 152 if (mFlags != other.mFlags) { in equals()
|
D | AudioAttributes.java | 254 private int mFlags = 0x0; field in AudioAttributes 295 return (mFlags & (FLAG_ALL_PUBLIC)); in getFlags() 306 return (mFlags & FLAG_ALL); in getAllFlags() 355 private int mFlags = 0x0; field in AudioAttributes.Builder 378 mFlags = aa.mFlags; in Builder() 393 aa.mFlags = mFlags; in build() 481 mFlags |= flags; in setFlags() 541 mFlags |= FLAG_AUDIBILITY_ENFORCED; in setInternalLegacyStreamType() 560 mFlags |= FLAG_SCO; in setInternalLegacyStreamType() 650 dest.writeInt(mFlags); in writeToParcel() [all …]
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/ |
D | Callable.java | 37 private final int mFlags; field in Callable 48 mFlags = flags; in Callable() 60 return (mFlags & DYNAMIC) != 0; in isDynamic() 64 return (mFlags & STATIC) != 0; in isStatic() 68 return (mFlags & CAN_BE_INVALIDATED) != 0; in canBeInvalidated()
|
/frameworks/base/location/java/android/location/ |
D | FusedBatchOptions.java | 29 private volatile int mFlags = 0; field in FusedBatchOptions 80 mFlags |= flag; in setFlag() 84 mFlags &= ~flag; in resetFlag() 88 return (mFlags & flag) != 0; in isFlagSet() 92 return mFlags; in getFlags() 145 parcel.writeInt(mFlags); in writeToParcel()
|
D | GpsClock.java | 61 private short mFlags; field in GpsClock 80 mFlags = clock.mFlags; in set() 402 gpsClock.mFlags = (short) parcel.readInt(); 423 parcel.writeInt(mFlags); in writeToParcel() 480 mFlags = HAS_NO_FLAGS; in initialize() 493 mFlags |= flag; in setFlag() 497 mFlags &= ~flag; in resetFlag() 501 return (mFlags & flag) == flag; in isFlagSet()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | Row.java | 28 private int mFlags = FLAG_ID_USE_HEADER; field in Row 101 if ( (mFlags & FLAG_ID_USE_MASK) == FLAG_ID_USE_HEADER) { in getId() 113 mFlags = (mFlags & ~mask) | (flags & mask); in setFlags() 117 return mFlags; in getFlags()
|
/frameworks/base/core/java/android/view/ |
D | KeyEvent.java | 1235 private int mFlags; field in KeyEvent 1422 mFlags = flags; in KeyEvent() 1454 mFlags = flags; in KeyEvent() 1478 mFlags = flags; in KeyEvent() 1495 mFlags = origEvent.mFlags; in KeyEvent() 1521 mFlags = origEvent.mFlags; in KeyEvent() 1557 ev.mFlags = flags; in obtain() 1578 ev.mFlags = other.mFlags; in obtain() 1647 ret.mFlags = newFlags; in changeTimeRepeat() 1667 mFlags = origEvent.mFlags; in KeyEvent() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | CrossProfileIntentFilter.java | 44 final int mFlags; field in CrossProfileIntentFilter 51 mFlags = flags; in CrossProfileIntentFilter() 59 return mFlags; in getFlags() 69 mFlags = getIntFromXml(parser, ATTR_FLAGS, 0); in CrossProfileIntentFilter() 123 serializer.attribute(null, ATTR_FLAGS, Integer.toString(mFlags)); in writeToXml() 139 && mFlags == other.mFlags; in equalsIgnoreFilter()
|