/packages/apps/Launcher3/src/com/android/launcher3/config/ |
D | FlagTogglerPrefUi.java | 52 for (TogglableFlag flag : FeatureFlags.getTogglableFlags()) { 53 if (flag.getKey().equals(key)) { 54 boolean prevValue = flag.get(); 55 flag.updateStorage(mContext, value); 57 if (flag.get() != prevValue) { 66 for (BaseTogglableFlag flag : FeatureFlags.getTogglableFlags()) { 67 if (flag.getKey().equals(key)) { 68 return flag.getFromStorage(mContext, defaultValue); 87 for (BaseTogglableFlag flag : FeatureFlags.getTogglableFlags()) { in applyTo() 89 switchPreference.setKey(flag.getKey()); in applyTo() [all …]
|
D | BaseFlags.java | 130 for (BaseTogglableFlag flag : sFlags) { in initialize() 131 flag.initialize(context); in initialize() 146 for (TogglableFlag flag : sFlags) { in getTogglableFlags() 147 flagsByKey.put(((BaseTogglableFlag) flag).getKey(), flag); in getTogglableFlags() local
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactEntryListFragment.java | 536 public void setSectionHeaderDisplayEnabled(boolean flag) { 537 if (mSectionHeaderDisplayEnabled != flag) { 538 mSectionHeaderDisplayEnabled = flag; 540 mAdapter.setSectionHeaderDisplayEnabled(flag); 550 public void setVisibleScrollbarEnabled(boolean flag) { 551 if (mVisibleScrollbarEnabled != flag) { 552 mVisibleScrollbarEnabled = flag; 578 public void setPhotoLoaderEnabled(boolean flag) { 579 mPhotoLoaderEnabled = flag; 594 public void setSelectionVisible(boolean flag) { [all …]
|
D | ContactsRequest.java | 134 public void setValid(boolean flag) { in setValid() argument 135 mValid = flag; in setValid() 158 public void setSearchMode(boolean flag) { in setSearchMode() argument 159 mSearchMode = flag; in setSearchMode() 182 public void setLegacyCompatibilityMode(boolean flag) { in setLegacyCompatibilityMode() argument 183 mLegacyCompatibilityMode = flag; in setLegacyCompatibilityMode() 194 public void setDirectorySearchEnabled(boolean flag) { in setDirectorySearchEnabled() argument 195 mDirectorySearchEnabled = flag; in setDirectorySearchEnabled()
|
D | ContactPickerFragment.java | 58 public void setCreateContactEnabled(boolean flag) { in setCreateContactEnabled() argument 59 this.mCreateContactEnabled = flag; in setCreateContactEnabled() 62 public void setEditMode(boolean flag) { in setEditMode() argument 63 mEditMode = flag; in setEditMode() 66 public void setShortcutRequested(boolean flag) { in setShortcutRequested() argument 67 mShortcutRequested = flag; in setShortcutRequested()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/jpegstream/ |
D | JPEGInputStream.java | 112 int flag = JpegConfig.J_ERROR_FATAL; in read() local 114 flag = readDecodedBytes(buffer, offset, count); in read() 116 if (flag < 0) { in read() 120 if (flag < 0) { in read() 121 switch (flag) { in read() 128 return flag; in read() 142 int flag = skipDecodedBytes((int) (0x7FFFFFFF & byteCount)); in skip() local 143 if (flag < 0) { in skip() 144 switch (flag) { in skip() 151 return flag; in skip() [all …]
|
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/structure/v4/content/ |
D | language_model_dict_content_test.cpp | 32 const int flag = 0xF0; in TEST() local 35 const ProbabilityEntry probabilityEntry(flag, probability); in TEST() 39 EXPECT_EQ(flag, entry.getFlags()); in TEST() 53 const int flag = 0xF0; in TEST() local 58 const ProbabilityEntry probabilityEntry(flag, &historicalInfo); in TEST() 61 EXPECT_EQ(flag, entry.getFlags()); in TEST() 94 const int flag = 0xFF; in TEST() local 102 const ProbabilityEntry probabilityEntry(flag, probability); in TEST() 104 const ProbabilityEntry bigramProbabilityEntry(flag, bigramProbability); in TEST() 110 const ProbabilityEntry trigramProbabilityEntry(flag, trigramProbability); in TEST()
|
D | probability_entry_test.cpp | 27 const int flag = 0xFF; in TEST() local 30 const ProbabilityEntry entry(flag, probability); in TEST() 35 EXPECT_EQ(flag, decodedEntry.getFlags()); in TEST() 40 const int flag = 0xF0; in TEST() local 45 const ProbabilityEntry entry(flag, &historicalInfo); in TEST() 52 EXPECT_EQ(flag, decodedEntry.getFlags()); in TEST()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/ |
D | Message.java | 116 private final void setFlagDirectlyForTest(String flag, boolean set) throws MessagingException { in setFlagDirectlyForTest() argument 118 getFlagSet().add(flag); in setFlagDirectlyForTest() 120 getFlagSet().remove(flag); in setFlagDirectlyForTest() 124 public void setFlag(String flag, boolean set) throws MessagingException { in setFlag() argument 125 setFlagDirectlyForTest(flag, set); in setFlag() 135 for (String flag : flags) { in setFlags() 136 setFlag(flag, set); in setFlags() 140 public boolean isSet(String flag) { in isSet() argument 141 return getFlagSet().contains(flag); in isSet()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | MetricConsts.java | 44 @IntDef(flag = true, value = { 75 @IntDef(flag = true, value = { 131 @IntDef(flag = true, value = { 169 @IntDef(flag = false, value = { 191 @IntDef(flag = false, value = { 244 @IntDef(flag = false, value = { 307 @IntDef(flag = true, value = { 329 @IntDef(flag = true, value = { 367 @IntDef(flag = true, value = { 385 @IntDef(flag = true, value = {
|
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/config/ |
D | FlagOverrideRule.java | 75 private void override(BaseTogglableFlag flag, boolean newValue) { 80 flag.setForTests(newValue); 98 for (TogglableFlag flag : FeatureFlags.getTogglableFlags()) { 99 if (flag.getKey().equals(flagOverride.key())) { 100 override(flag, flagOverride.value()); 114 for (BaseTogglableFlag flag : FeatureFlags.getTogglableFlags()) { 115 flag.setForTests(flag.getDefaultValue());
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
D | ExifModifier.java | 74 int flag = 0; in commit() local 84 flag |= ExifParser.OPTION_IFD_0; in commit() 87 flag |= ExifParser.OPTION_IFD_1; in commit() 90 flag |= ExifParser.OPTION_IFD_EXIF; in commit() 93 flag |= ExifParser.OPTION_IFD_GPS; in commit() 96 flag |= ExifParser.OPTION_IFD_INTEROPERABILITY; in commit() 99 ExifParser parser = ExifParser.parse(is, flag, mInterface); in commit()
|
/packages/apps/Messaging/src/com/android/messaging/util/exif/ |
D | ExifModifier.java | 74 int flag = 0; in commit() local 84 flag |= ExifParser.OPTION_IFD_0; in commit() 87 flag |= ExifParser.OPTION_IFD_1; in commit() 90 flag |= ExifParser.OPTION_IFD_EXIF; in commit() 93 flag |= ExifParser.OPTION_IFD_GPS; in commit() 96 flag |= ExifParser.OPTION_IFD_INTEROPERABILITY; in commit() 99 ExifParser parser = ExifParser.parse(is, flag, mInterface); in commit()
|
/packages/apps/Camera2/src/com/android/camera/exif/ |
D | ExifModifier.java | 73 int flag = 0; in commit() local 83 flag |= ExifParser.OPTION_IFD_0; in commit() 86 flag |= ExifParser.OPTION_IFD_1; in commit() 89 flag |= ExifParser.OPTION_IFD_EXIF; in commit() 92 flag |= ExifParser.OPTION_IFD_GPS; in commit() 95 flag |= ExifParser.OPTION_IFD_INTEROPERABILITY; in commit() 98 ExifParser parser = ExifParser.parse(is, flag, mInterface); in commit()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | AllAppsStore.java | 77 public void enableDeferUpdates(int flag) { in enableDeferUpdates() argument 78 mDeferUpdatesFlags |= flag; in enableDeferUpdates() 81 public void disableDeferUpdates(int flag) { in disableDeferUpdates() argument 82 mDeferUpdatesFlags &= ~flag; in disableDeferUpdates() 89 public void disableDeferUpdatesSilently(int flag) { in disableDeferUpdatesSilently() argument 90 mDeferUpdatesFlags &= ~flag; in disableDeferUpdatesSilently()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | FlagOp.java | 9 static FlagOp addFlag(int flag) { in addFlag() argument 10 return i -> i | flag; in addFlag() 13 static FlagOp removeFlag(int flag) { in removeFlag() argument 14 return i -> i & ~flag; in removeFlag()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | BaseActivity.java | 70 flag = true, 95 flag = true, 238 public void addForceInvisibleFlag(@InvisibilityFlags int flag) { in addForceInvisibleFlag() argument 239 mForceInvisible |= flag; in addForceInvisibleFlag() 242 public void clearForceInvisibleFlag(@InvisibilityFlags int flag) { in clearForceInvisibleFlag() argument 243 mForceInvisible &= ~flag; in clearForceInvisibleFlag()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/services/ |
D | FileOperation.java | 107 public void writeToParcel(Parcel out, int flag) { in writeToParcel() argument 109 out.writeParcelable(mSrcs, flag); in writeToParcel() 110 out.writeParcelable(mDestination, flag); in writeToParcel() 111 out.writeParcelable(mMessenger, flag); in writeToParcel() 283 public void writeToParcel(Parcel out, int flag) { in writeToParcel() argument 284 super.writeToParcel(out, flag); in writeToParcel() 285 out.writeParcelable(mSrcParent, flag); in writeToParcel()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/ |
D | ImapStore.java | 120 public void setFlagInternal(String flag, boolean set) throws MessagingException { in setFlagInternal() argument 121 super.setFlag(flag, set); in setFlagInternal() 125 public void setFlag(String flag, boolean set) throws MessagingException { in setFlag() argument 126 super.setFlag(flag, set); in setFlag() 127 folder.setFlags(new Message[] {this}, new String[] {flag}, set); in setFlag()
|
D | ImapFolder.java | 325 final ImapString flag = flags.getStringOrEmpty(i); in fetchInternal() local 326 if (flag.is(ImapConstants.FLAG_DELETED)) { in fetchInternal() 328 } else if (flag.is(ImapConstants.FLAG_ANSWERED)) { in fetchInternal() 330 } else if (flag.is(ImapConstants.FLAG_SEEN)) { in fetchInternal() 332 } else if (flag.is(ImapConstants.FLAG_FLAGGED)) { in fetchInternal() 682 String flag = flags[i]; in setFlags() local 683 if (flag == Flag.SEEN) { in setFlags() 685 } else if (flag == Flag.DELETED) { in setFlags() 687 } else if (flag == Flag.FLAGGED) { in setFlags() 689 } else if (flag == Flag.ANSWERED) { in setFlags()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | QueryParameterUtils.java | 25 final String flag = getQueryParameter(uri, name); in readBooleanQueryParameter() local 26 return flag == null in readBooleanQueryParameter() 28 : (!"false".equals(flag.toLowerCase()) && !"0".equals(flag.toLowerCase())); in readBooleanQueryParameter()
|
/packages/apps/Launcher3/src/com/android/launcher3/anim/ |
D | AnimatorSetBuilder.java | 86 public void addFlag(int flag) { in addFlag() argument 87 mFlags |= flag; in addFlag() 90 public boolean hasFlag(int flag) { in hasFlag() argument 91 return (mFlags & flag) != 0; in hasFlag()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/buffer/ |
D | SampleChunk.java | 409 private boolean isKeyFrame(int flag) { in isKeyFrame() argument 410 return (flag & BUFFER_FLAG_KEY_FRAME) == BUFFER_FLAG_KEY_FRAME; in isKeyFrame() 413 private boolean isDecodeOnly(int flag) { in isDecodeOnly() argument 414 return (flag & BUFFER_FLAG_DECODE_ONLY) == BUFFER_FLAG_DECODE_ONLY; in isDecodeOnly() 417 private boolean isEncrypted(int flag) { in isEncrypted() argument 418 return (flag & BUFFER_FLAG_ENCRYPTED) == BUFFER_FLAG_ENCRYPTED; in isEncrypted()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | BluetoothSocketManagerBinder.java | 44 BluetoothDevice device, int type, ParcelUuid uuid, int port, int flag) { in connectSocket() argument 53 flag, in connectSocket() 59 int type, String serviceName, ParcelUuid uuid, int port, int flag) { in createSocketChannel() argument 68 flag, in createSocketChannel()
|
/packages/apps/Dialer/java/com/android/dialer/commandline/ |
D | Arguments.java | 63 public Boolean getBoolean(String flag, boolean defaultValue) in getBoolean() argument 65 if (!getFlags().containsKey(flag)) { in getBoolean() 68 switch (getFlags().get(flag)) { in getBoolean() 74 throw new IllegalCommandLineArgumentException("boolean value expected for " + flag); in getBoolean()
|