/frameworks/base/tools/aapt2/ |
D | Flag.cpp | 11 namespace flag { namespace 62 for (const Flag& flag : sFlags) { in usageAndDie() local 63 if (flag.required) { in usageAndDie() 64 std::cerr << " " << flag.name << " arg"; in usageAndDie() 69 for (const Flag& flag : sFlags) { in usageAndDie() local 70 std::string command = flag.name; in usageAndDie() 71 if (!flag.flagResult) { in usageAndDie() 75 << flag.description << std::endl; in usageAndDie() 90 for (Flag& flag : sFlags) { in parse() 91 if (arg == flag.name) { in parse() [all …]
|
/frameworks/base/core/java/android/net/ |
D | InterfaceConfiguration.java | 52 public boolean hasFlag(String flag) { in hasFlag() argument 53 validateFlag(flag); in hasFlag() 54 return mFlags.contains(flag); in hasFlag() 57 public void clearFlag(String flag) { in clearFlag() argument 58 validateFlag(flag); in clearFlag() 59 mFlags.remove(flag); in clearFlag() 62 public void setFlag(String flag) { in setFlag() argument 63 validateFlag(flag); in setFlag() 64 mFlags.add(flag); in setFlag() 134 for (String flag : mFlags) { in writeToParcel() [all …]
|
/frameworks/base/core/java/android/webkit/ |
D | WebSettings.java | 823 public abstract void setLoadsImagesAutomatically(boolean flag); in setLoadsImagesAutomatically() argument 849 public abstract void setBlockNetworkImage(boolean flag); in setBlockNetworkImage() argument 877 public abstract void setBlockNetworkLoads(boolean flag); in setBlockNetworkLoads() argument 893 public abstract void setJavaScriptEnabled(boolean flag); in setJavaScriptEnabled() argument 915 public abstract void setAllowUniversalAccessFromFileURLs(boolean flag); in setAllowUniversalAccessFromFileURLs() argument 938 public abstract void setAllowFileAccessFromFileURLs(boolean flag); in setAllowFileAccessFromFileURLs() argument 950 public abstract void setPluginsEnabled(boolean flag); in setPluginsEnabled() argument 1015 public abstract void setAppCacheEnabled(boolean flag); in setAppCacheEnabled() argument 1055 public abstract void setDatabaseEnabled(boolean flag); in setDatabaseEnabled() argument 1062 public abstract void setDomStorageEnabled(boolean flag); in setDomStorageEnabled() argument [all …]
|
/frameworks/base/location/lib/java/com/android/location/provider/ |
D | GmsFusedBatchOptions.java | 70 public void setFlag(int flag) { in setFlag() argument 71 mOptions.setFlag(flag); in setFlag() 74 public void resetFlag(int flag) { in resetFlag() argument 75 mOptions.resetFlag(flag); in resetFlag() 78 public boolean isFlagSet(int flag) { in isFlagSet() argument 79 return mOptions.isFlagSet(flag); in isFlagSet()
|
/frameworks/base/location/java/android/location/ |
D | FusedBatchOptions.java | 79 public void setFlag(int flag) { in setFlag() argument 80 mFlags |= flag; in setFlag() 83 public void resetFlag(int flag) { in resetFlag() argument 84 mFlags &= ~flag; in resetFlag() 87 public boolean isFlagSet(int flag) { in isFlagSet() argument 88 return (mFlags & flag) != 0; in isFlagSet()
|
D | GpsClock.java | 492 private void setFlag(short flag) { in setFlag() argument 493 mFlags |= flag; in setFlag() 496 private void resetFlag(short flag) { in resetFlag() argument 497 mFlags &= ~flag; in resetFlag() 500 private boolean isFlagSet(short flag) { in isFlagSet() argument 501 return (mFlags & flag) == flag; in isFlagSet()
|
/frameworks/av/media/libstagefright/timedtext/ |
D | TimedText3GPPSource.cpp | 69 int32_t flag = TextDescriptions::LOCAL_DESCRIPTIONS; in extractAndAppendLocalDescriptions() local 80 flag |= TextDescriptions::IN_BAND_TEXT_3GPP; in extractAndAppendLocalDescriptions() 82 (const uint8_t *)data, size, flag, timeUs / 1000, parcel); in extractAndAppendLocalDescriptions() 93 int32_t flag = TextDescriptions::GLOBAL_DESCRIPTIONS; in extractGlobalDescriptions() local 108 flag |= TextDescriptions::IN_BAND_TEXT_3GPP; in extractGlobalDescriptions() 110 (const uint8_t *)data, size, flag, 0, parcel); in extractGlobalDescriptions()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/ |
D | SystemBarHelper.java | 94 public static void addVisibilityFlag(final View view, final int flag) { in addVisibilityFlag() argument 97 view.setSystemUiVisibility(vis | flag); in addVisibilityFlag() 104 public static void addVisibilityFlag(final Window window, final int flag) { in addVisibilityFlag() argument 107 attrs.systemUiVisibility |= flag; in addVisibilityFlag() 116 public static void removeVisibilityFlag(final View view, final int flag) { in removeVisibilityFlag() argument 119 view.setSystemUiVisibility(vis & ~flag); in removeVisibilityFlag() 127 public static void removeVisibilityFlag(final Window window, final int flag) { in removeVisibilityFlag() argument 130 attrs.systemUiVisibility &= ~flag; in removeVisibilityFlag()
|
/frameworks/base/cmds/svc/src/com/android/commands/svc/ |
D | DataCommand.java | 43 boolean flag = false; in run() 45 flag = true; in run() 48 flag = false; in run() 55 if (flag) { in run()
|
D | WifiCommand.java | 43 boolean flag = false; in run() 45 flag = true; in run() 48 flag = false; in run() 55 wifiMgr.setWifiEnabled(flag); in run()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | BidiRenderer.java | 142 int flag = Font.LAYOUT_NO_LIMIT_CONTEXT | Font.LAYOUT_NO_START_CONTEXT; in renderText() local 143 flag |= isRtl ? Font.LAYOUT_RIGHT_TO_LEFT : Font.LAYOUT_LEFT_TO_RIGHT; in renderText() 144 renderScript(run.start, run.limit, run.font, flag, advances, advancesIndex, draw); in renderText() 155 private void renderScript(int start, int limit, Font preferredFont, int flag, in renderScript() argument 166 render(start, limit, preferredFont, flag, advances, advancesIndex, draw); in renderScript() 171 render(start, canDisplayUpTo, preferredFont, flag, advances, advancesIndex, draw); in renderScript() 186 render(start, start+charCount, font, flag, advances, advancesIndex, draw); in renderScript() 198 render(start, start + charCount, preferredFont, flag, advances, advancesIndex, in renderScript() 216 private void render(int start, int limit, Font font, int flag, float[] advances, in render() argument 228 GlyphVector gv = font.layoutGlyphVector(frc, mText, start, limit, flag); in render()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/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()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | ConfigParsingUtils.cpp | 66 uint32_t flag = 0; in parseOutputFlagNames() local 73 flag |= ConfigParsingUtils::stringToEnum(sOutputFlagNameToEnumTable, in parseOutputFlagNames() 82 if ((flag & AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD) != 0) { in parseOutputFlagNames() 83 flag |= AUDIO_OUTPUT_FLAG_DIRECT; in parseOutputFlagNames() 86 return flag; in parseOutputFlagNames() 92 uint32_t flag = 0; in parseInputFlagNames() local 99 flag |= stringToEnum(sInputFlagNameToEnumTable, in parseInputFlagNames() 105 return flag; in parseInputFlagNames()
|
/frameworks/base/core/java/android/service/dreams/ |
D | DreamService.java | 500 int flag = View.SYSTEM_UI_FLAG_LOW_PROFILE; in setLowProfile() local 501 applySystemUiVisibilityFlags(mLowProfile ? flag : 0, flag); in setLowProfile() 525 int flag = WindowManager.LayoutParams.FLAG_FULLSCREEN; in setFullscreen() local 526 applyWindowFlags(mFullscreen ? flag : 0, flag); in setFullscreen() 547 int flag = WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON; in setScreenBright() local 548 applyWindowFlags(mScreenBright ? flag : 0, flag); in setScreenBright() 1025 private boolean getWindowFlagValue(int flag, boolean defaultValue) { in getWindowFlagValue() argument 1026 return mWindow == null ? defaultValue : (mWindow.getAttributes().flags & flag) != 0; in getWindowFlagValue() 1038 private boolean getSystemUiVisibilityFlagValue(int flag, boolean defaultValue) { in getSystemUiVisibilityFlagValue() argument 1040 return v == null ? defaultValue : (v.getSystemUiVisibility() & flag) != 0; in getSystemUiVisibilityFlagValue()
|
/frameworks/compile/mclinker/lib/LD/ |
D | ELFSegmentFactory.cpp | 24 ((*segment)->flag() & pFlagSet) == pFlagSet && in find() 25 ((*segment)->flag() & pFlagClear) == 0x0) { in find() 39 ((*segment)->flag() & pFlagSet) == pFlagSet && in find() 40 ((*segment)->flag() & pFlagClear) == 0x0) { in find()
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
D | omxVCM4P2_PredictReconCoefIntra.c | 104 OMX_U8 flag; in omxVCM4P2_PredictReconCoefIntra() local 118 flag = 0; in omxVCM4P2_PredictReconCoefIntra() 129 flag, in omxVCM4P2_PredictReconCoefIntra()
|
D | armVCM4P2_ACDCPredict.c | 96 OMX_U8 flag, in armVCM4P2_ACDCPredict() argument 173 if (flag) in armVCM4P2_ACDCPredict() 202 if (flag) in armVCM4P2_ACDCPredict() 235 if (flag) in armVCM4P2_ACDCPredict()
|
D | omxVCM4P2_TransRecBlockCoef_intra.c | 158 OMX_U8 flag; in omxVCM4P2_TransRecBlockCoef_intra() local 235 flag = 1; in omxVCM4P2_TransRecBlockCoef_intra() 255 flag, in omxVCM4P2_TransRecBlockCoef_intra()
|
/frameworks/av/media/img_utils/include/img_utils/ |
D | TiffHelpers.h | 27 #define BAIL_ON_FAIL(x, flag) \ argument 28 if ((flag = (x)) != OK) return flag;
|
/frameworks/base/docs/html/training/system-ui/ |
D | immersive.jd | 54 {@link android.view.View#SYSTEM_UI_FLAG_IMMERSIVE} flag for 56 go truly "full screen." This flag, when combined with the 64 This clears the {@link android.view.View#SYSTEM_UI_FLAG_HIDE_NAVIGATION} flag 65 (and the {@link android.view.View#SYSTEM_UI_FLAG_FULLSCREEN} flag, if applied) so the 70 {@link android.view.View#SYSTEM_UI_FLAG_IMMERSIVE_STICKY} flag. Note that the 71 "sticky" version of the flag doesn't trigger any listeners, as system bars temporarily 85 {@link android.view.View#SYSTEM_UI_FLAG_IMMERSIVE IMMERSIVE} flag, and the user swipes to 114 <li><strong>Sticky flag</strong>—This is the UI you see if you use the 115 {@link android.view.View#SYSTEM_UI_FLAG_IMMERSIVE_STICKY IMMERSIVE_STICKY} flag, 133 examples of when you would use one flag vs. the other:</p> [all …]
|
/frameworks/base/docs/html/guide/components/ |
D | recents.jd | 13 <li><a href="#flag-new-doc">Using the Intent flag to add a task</a></li> 68 <h3 id="flag-new-doc">Using the Intent flag to add a task</h3> 74 task in the overview screen, pass the {@link android.content.Intent#FLAG_ACTIVITY_NEW_DOCUMENT} flag 79 flag replaces the {@link android.content.Intent#FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET} flag, 82 <p>If you set the {@link android.content.Intent#FLAG_ACTIVITY_MULTIPLE_TASK} flag when you create 114 flag must have the {@code android:launchMode="standard"} attribute value (the default) set in the 120 flag, a new task will be created with the activity as its root. If it finds one, it brings that task 161 {@link android.content.Intent#FLAG_ACTIVITY_NEW_DOCUMENT} flag <em>without</em> setting the 162 {@link android.content.Intent#FLAG_ACTIVITY_MULTIPLE_TASK} flag, as described in 163 <a href="#flag-new-doc">Using the Intent flag to add a task</a>, above.</dd> [all …]
|
/frameworks/base/media/java/android/media/session/ |
D | PlaybackState.java | 495 long flag = 1; in getActionsFromRccControlFlags() local 496 while (flag <= rccFlags) { in getActionsFromRccControlFlags() 497 if ((flag & rccFlags) != 0) { in getActionsFromRccControlFlags() 498 actions |= getActionForRccFlag((int) flag); in getActionsFromRccControlFlags() 500 flag = flag << 1; in getActionsFromRccControlFlags() 520 private static long getActionForRccFlag(int flag) { in getActionForRccFlag() argument 521 switch (flag) { in getActionForRccFlag()
|
/frameworks/compile/mclinker/lib/Target/ |
D | GNULDBackend.cpp | 1316 if (0 == (pSectHdr.flag() & llvm::ELF::SHF_ALLOC)) in getSectionOrder() 1319 bool is_write = (pSectHdr.flag() & llvm::ELF::SHF_WRITE) != 0; in getSectionOrder() 1320 bool is_exec = (pSectHdr.flag() & llvm::ELF::SHF_EXECINSTR) != 0; in getSectionOrder() 1353 if ((pSectHdr.flag() & llvm::ELF::SHF_TLS) != 0x0) { in getSectionOrder() 1360 if ((pSectHdr.flag() & llvm::ELF::SHF_TLS) != 0x0) in getSectionOrder() 1600 uint32_t flags = pTo.flag(); in updateSectionFlags() 1601 flags |= (pFrom.flag() & (llvm::ELF::SHF_WRITE | llvm::ELF::SHF_ALLOC | in updateSectionFlags() 1605 if (0 == (pFrom.flag() & llvm::ELF::SHF_MERGE)) in updateSectionFlags() 1609 if (0 == (pFrom.flag() & llvm::ELF::SHF_STRINGS)) in updateSectionFlags() 1762 if (0 == (sect->flag() & llvm::ELF::SHF_ALLOC) && in createProgramHdrs() [all …]
|
/frameworks/ex/common/java/com/android/common/widget/ |
D | CompositeCursorAdapter.java | 143 public void setHasHeader(int partitionIndex, boolean flag) { in setHasHeader() argument 144 mPartitions.get(partitionIndex).hasHeader = flag; in setHasHeader() 148 public void setShowIfEmpty(int partitionIndex, boolean flag) { in setShowIfEmpty() argument 149 mPartitions.get(partitionIndex).showIfEmpty = flag; in setShowIfEmpty() 527 public void setNotificationsEnabled(boolean flag) { in setNotificationsEnabled() argument 528 mNotificationsEnabled = flag; in setNotificationsEnabled() 529 if (flag && mNotificationNeeded) { in setNotificationsEnabled()
|
/frameworks/volley/src/test/java/com/android/volley/mock/ |
D | MockHttpURLConnection.java | 40 public void setDoOutput(boolean flag) { in setDoOutput() argument 41 mDoOutput = flag; in setDoOutput()
|