/packages/apps/Launcher3/src/com/android/launcher3/util/ |
H A D | FlagOp.java | 13 public static FlagOp addFlag(final int flag) { argument 17 return flags | flag; 22 public static FlagOp removeFlag(final int flag) { argument 26 return flags & ~flag;
|
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/structure/v4/content/ |
H A D | probability_entry_test.cpp | 27 const int flag = 0xFF; local 30 const ProbabilityEntry entry(flag, probability); 35 EXPECT_EQ(flag, decodedEntry.getFlags()); 40 const int flag = 0xF0; local 45 const ProbabilityEntry entry(flag, &historicalInfo); 52 EXPECT_EQ(flag, decodedEntry.getFlags());
|
H A D | language_model_dict_content_test.cpp | 32 const int flag = 0xF0; local 35 const ProbabilityEntry probabilityEntry(flag, probability); 39 EXPECT_EQ(flag, entry.getFlags()); 53 const int flag = 0xF0; local 58 const ProbabilityEntry probabilityEntry(flag, &historicalInfo); 61 EXPECT_EQ(flag, entry.getFlags()); 94 const int flag = 0xFF; local 102 const ProbabilityEntry probabilityEntry(flag, probability); 104 const ProbabilityEntry bigramProbabilityEntry(flag, bigramProbability); 110 const ProbabilityEntry trigramProbabilityEntry(flag, trigramProbabilit [all...] |
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/jpegstream/ |
H A D | JPEGInputStream.java | 112 int flag = JpegConfig.J_ERROR_FATAL; 114 flag = readDecodedBytes(buffer, offset, count); 116 if (flag < 0) { 120 if (flag < 0) { 121 switch (flag) { 128 return flag; 142 int flag = skipDecodedBytes((int) (0x7FFFFFFF & byteCount)); 143 if (flag < 0) { 144 switch (flag) { 151 return flag; [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
H A D | MosaicRenderer.java | 83 * the renderer as a viewfinder, we set the flag to false. To see the 84 * preview mosaic, we set the flag to true. 86 * @param flag boolean flag to set the warping to true or false. 88 public static native void setWarping(boolean flag); argument
|
H A D | MosaicRendererSurfaceViewRenderer.java | 80 public void setWarping(boolean flag) { argument 81 MosaicRenderer.setWarping(flag);
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
H A D | ContactsRequest.java | 134 public void setValid(boolean flag) { argument 135 mValid = flag; 158 public void setSearchMode(boolean flag) { argument 159 mSearchMode = flag; 182 public void setLegacyCompatibilityMode(boolean flag) { argument 183 mLegacyCompatibilityMode = flag; 194 public void setDirectorySearchEnabled(boolean flag) { argument 195 mDirectorySearchEnabled = flag;
|
H A D | ContactEntryListFragment.java | 116 // We use this flag to log LOAD events when the activity/fragment is initialized. 536 public void setSectionHeaderDisplayEnabled(boolean flag) { argument 537 if (mSectionHeaderDisplayEnabled != flag) { 538 mSectionHeaderDisplayEnabled = flag; 540 mAdapter.setSectionHeaderDisplayEnabled(flag); 550 public void setVisibleScrollbarEnabled(boolean flag) { argument 551 if (mVisibleScrollbarEnabled != flag) { 552 mVisibleScrollbarEnabled = flag; 578 public void setPhotoLoaderEnabled(boolean flag) { argument 579 mPhotoLoaderEnabled = flag; 594 setSelectionVisible(boolean flag) argument 598 setQuickContactEnabled(boolean flag) argument 602 setAdjustSelectionBoundsEnabled(boolean flag) argument 606 setIncludeFavorites(boolean flag) argument 613 setDisplayDirectoryHeader(boolean flag) argument 623 setSearchMode(boolean flag) argument 715 setLegacyCompatibilityMode(boolean flag) argument [all...] |
H A D | ContactPickerFragment.java | 58 public void setCreateContactEnabled(boolean flag) { argument 59 this.mCreateContactEnabled = flag; 62 public void setEditMode(boolean flag) { argument 63 mEditMode = flag; 66 public void setShortcutRequested(boolean flag) { argument 67 mShortcutRequested = flag;
|
H A D | DirectoryPartition.java | 113 public void setPhotoSupported(boolean flag) { argument 114 this.mPhotoSupported = flag;
|
/packages/apps/Email/tests/src/com/android/emailcommon/mail/ |
H A D | FlagTests.java | 36 for (Flag flag : Flag.values()) { 37 String name = flag.name();
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/ |
H A D | Message.java | 108 * Set/clear a flag directly, without involving overrides of {@link #setFlag} in subclasses. Only 112 private final void setFlagDirectlyForTest(String flag, boolean set) throws MessagingException { argument 114 getFlagSet().add(flag); 116 getFlagSet().remove(flag); 120 public void setFlag(String flag, boolean set) throws MessagingException { argument 121 setFlagDirectlyForTest(flag, set); 131 for (String flag : flags) { 132 setFlag(flag, set); 136 public boolean isSet(String flag) { argument 137 return getFlagSet().contains(flag); [all...] |
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/ |
H A D | Message.java | 110 * Set/clear a flag directly, without involving overrides of {@link #setFlag} in subclasses. 113 public final void setFlagDirectlyForTest(Flag flag, boolean set) throws MessagingException { argument 115 getFlagSet().add(flag); 117 getFlagSet().remove(flag); 121 public void setFlag(Flag flag, boolean set) throws MessagingException { argument 122 setFlagDirectlyForTest(flag, set); 131 for (Flag flag : flags) { 132 setFlag(flag, set); 136 public boolean isSet(Flag flag) { argument 137 return getFlagSet().contains(flag); [all...] |
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
H A D | QueryParameterUtils.java | 25 final String flag = getQueryParameter(uri, name); 26 return flag == null 28 : (!"false".equals(flag.toLowerCase()) && !"0".equals(flag.toLowerCase()));
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | LauncherAppWidgetInfo.java | 158 public final boolean hasRestoreFlag(int flag) { argument 159 return (restoreStatus & flag) == flag;
|
/packages/apps/Dialer/java/com/android/contacts/common/list/ |
H A D | ContactEntryListFragment.java | 497 public void setSectionHeaderDisplayEnabled(boolean flag) { argument 498 if (mSectionHeaderDisplayEnabled != flag) { 499 mSectionHeaderDisplayEnabled = flag; 501 mAdapter.setSectionHeaderDisplayEnabled(flag); 511 public void setVisibleScrollbarEnabled(boolean flag) { argument 512 if (mVisibleScrollbarEnabled != flag) { 513 mVisibleScrollbarEnabled = flag; 532 public void setPhotoLoaderEnabled(boolean flag) { argument 533 mPhotoLoaderEnabled = flag; 537 public void setQuickContactEnabled(boolean flag) { argument 541 setAdjustSelectionBoundsEnabled(boolean flag) argument 555 setSearchMode(boolean flag) argument [all...] |
H A D | DirectoryPartition.java | 102 public void setPhotoSupported(boolean flag) { argument 103 this.mPhotoSupported = flag;
|
/packages/apps/Camera2/src/com/android/camera/one/config/ |
H A D | OneCameraFeatureConfig.java | 52 /** Given the GServices override flag, returns the support level. */ 53 public static Optional<CaptureSupportLevel> fromFlag(int flag) { argument 54 switch (flag) {
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
H A D | TransitionAnimationView.java | 56 public void setMaskVisibility(boolean flag) { argument 57 if (flag) {
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
H A D | BatteryFlagParser.java | 34 public BatteryFlagParser(int accent, boolean state2, int flag) { argument 36 mFlag = flag;
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/ |
H A D | ImapStore.java | 120 public void setFlagInternal(String flag, boolean set) throws MessagingException { argument 121 super.setFlag(flag, set); 125 public void setFlag(String flag, boolean set) throws MessagingException { argument 126 super.setFlag(flag, set); 127 mFolder.setFlags(new Message[] {this}, new String[] {flag}, set);
|
/packages/apps/Camera2/src/com/android/camera/exif/ |
H A D | ExifModifier.java | 73 int flag = 0; 83 flag |= ExifParser.OPTION_IFD_0; 86 flag |= ExifParser.OPTION_IFD_1; 89 flag |= ExifParser.OPTION_IFD_EXIF; 92 flag |= ExifParser.OPTION_IFD_GPS; 95 flag |= ExifParser.OPTION_IFD_INTEROPERABILITY; 98 ExifParser parser = ExifParser.parse(is, flag, mInterface);
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
H A D | ExifModifier.java | 74 int flag = 0; 84 flag |= ExifParser.OPTION_IFD_0; 87 flag |= ExifParser.OPTION_IFD_1; 90 flag |= ExifParser.OPTION_IFD_EXIF; 93 flag |= ExifParser.OPTION_IFD_GPS; 96 flag |= ExifParser.OPTION_IFD_INTEROPERABILITY; 99 ExifParser parser = ExifParser.parse(is, flag, mInterface);
|
/packages/apps/Messaging/src/com/android/messaging/util/exif/ |
H A D | ExifModifier.java | 74 int flag = 0; 84 flag |= ExifParser.OPTION_IFD_0; 87 flag |= ExifParser.OPTION_IFD_1; 90 flag |= ExifParser.OPTION_IFD_EXIF; 93 flag |= ExifParser.OPTION_IFD_GPS; 96 flag |= ExifParser.OPTION_IFD_INTEROPERABILITY; 99 ExifParser parser = ExifParser.parse(is, flag, mInterface);
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | FabContainer.java | 52 flag = true,
|