Home
last modified time | relevance | path

Searched refs:flag (Results 1 – 18 of 18) sorted by relevance

/development/samples/IntentPlayground/src/com/example/android/intentplayground/
DFlagUtils.java99 allFlags.forEach(flag -> {
100 if (hasSuffix(flag, "BROUGHT_TO_FRONT", "LAUNCHED_FROM_HISTORY")) {
101 nonUser.add(flag);
102 } else if (hasSuffix(flag, "RECENTS", "LAUNCH_ADJACENT", "NO_ANIMATION", "NO_HISTORY",
104 recentsAndUi.add(flag);
105 } else if (hasSuffix(flag, "MULTIPLE_TASK", "NEW_TASK", "NEW_DOCUMENT",
107 newTask.add(flag);
108 } else if (hasSuffix(flag, "CLEAR_TASK", "CLEAR_TOP", "CLEAR_WHEN_TASK_RESET")) {
109 clearTask.add(flag);
110 } else if (hasSuffix(flag, "REORDER_TO_FRONT", "SINGLE_TOP", "TASK_ON_HOME")) {
[all …]
DIntentBuilderView.java186 IntentFlag flag = FlagUtils.getFlagForString(item); in fillCheckBoxLayout() local
187 itemView.setTag(TAG_FLAG, flag); in fillCheckBoxLayout()
235 IntentFlag flag = (IntentFlag) compoundButton.getTag(TAG_FLAG); in onCheckedChanged() local
236 if (flag != null && mVerifyMode) { in onCheckedChanged()
239 suggestFlags(flag); in onCheckedChanged()
240 selectFlags(flag.getRequests()); in onCheckedChanged()
260 getCheckedFlags().forEach(flag -> disableFlags(flag.getConflicts())); in refreshConstraints()
263 private void suggestFlags(IntentFlag flag) { in suggestFlags() argument
265 List<String> suggestions = flag.getComplements().stream().map(IntentFlag::getName) in suggestFlags()
276 IntentFlag flag = (IntentFlag) box.getTag(TAG_FLAG); in hasSuggestion() local
[all …]
DNode.java228 FlagUtils.discoverFlags(mIntent).forEach(flag -> { in toString()
229 output.append(flag.replace(FlagUtils.INTENT_FLAG_PREFIX, "")).append(','); in toString()
/development/tools/bugreport/src/com/android/bugreport/
DOptions.java81 String flag; in parseArgs() local
83 while ((flag = argParser.nextFlag()) != null) { in parseArgs()
84 if ("--monkey".equals(flag)) { in parseArgs()
90 } else if ("--html".equals(flag)) { in parseArgs()
96 } else if ("--logcat".equals(flag)) { in parseArgs()
104 "Unknown flag: " + flag); in parseArgs()
/development/tools/repo_diff/service/repodiff/
Dcommandline.go7 var optionDiff = flag.Bool("execute-diff", true, "Specifies if a new (expensive) differential shoul…
8 var optionDenorm = flag.Bool("denormalize-data", true, "Specifies if existing historical data shoul…
9 var optionReport = flag.Bool("generate-report", true, "Specifies if denormalized tables should be e…
26 flag.Parse()
/development/samples/ToyVpn/server/linux/
DToyVpnServer.cpp88 int flag = 1; in get_tunnel() local
89 setsockopt(tunnel, SOL_SOCKET, SO_REUSEADDR, &flag, sizeof(flag)); in get_tunnel()
90 flag = 0; in get_tunnel()
91 setsockopt(tunnel, IPPROTO_IPV6, IPV6_V6ONLY, &flag, sizeof(flag)); in get_tunnel()
/development/samples/browseable/CommitContentSampleIME/src/com.example.android.commitcontent.ime/
DImageKeyboard.java102 final int flag; in doCommitContent() local
108 flag = InputConnectionCompat.INPUT_CONTENT_GRANT_READ_URI_PERMISSION; in doCommitContent()
115 flag = 0; in doCommitContent()
132 flag, null); in doCommitContent() local
/development/apps/Development/src/com/android/development/
DAppHwPref.java97 boolean flag = false; in displayFlag()
101 flag = true; in displayFlag()
105 if(flag) { in displayFlag()
/development/samples/training/threadsample/src/com/example/android/threadsample/
DDisplayActivity.java86 int flag = fullscreen ? View.SYSTEM_UI_FLAG_LOW_PROFILE : 0; in setFullScreen() local
92 flag |= View.SYSTEM_UI_FLAG_HIDE_NAVIGATION; in setFullScreen()
96 mMainView.setSystemUiVisibility(flag); in setFullScreen()
/development/samples/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/
DBluetoothLeService.java130 int flag = characteristic.getProperties(); in broadcastUpdate() local
132 if ((flag & 0x01) != 0) { in broadcastUpdate()
/development/scripts/
Dcargo2android.py368 def add_codegens_flag(self, flag): argument
371 if not (flag.startswith('debuginfo=') or
372 flag.startswith('extra-filename=') or
373 flag.startswith('incremental=') or
374 flag.startswith('metadata=') or
375 flag == 'prefer-dynamic'):
376 self.codegens.append(flag)
/development/python-packages/adb/
Ddevice.py116 def _get_device_by_type(flag, adb_path): argument
122 [adb_path, flag, 'get-serialno']).decode('utf-8').strip()
/development/vndk/tools/vndk-compliance/
DREADME.md3 ## Enable VNDK flag
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
DMatrixTrackingGL.java188 public void glDepthMask(boolean flag) { in glDepthMask() argument
189 mgl.glDepthMask(flag); in glDepthMask()
/development/vndk/tools/definition-tool/
Dvndk_definition_tool.py2744 for flag in arg.split(','):
2745 if flag == 'follow':
2747 elif flag == 'warn':
2749 elif flag == 'ignore':
2752 raise ValueError('unknown action \"{}\"'.format(flag))
/development/tools/winscope/
Dyarn.lock2283 has-flag@^1.0.0:
2285 …resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-1.0.0.tgz#9d9e793165ce017a00f00418c43f9…
2288 has-flag@^3.0.0:
2290 …resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a0…
4929 has-flag "^1.0.0"
4936 has-flag "^3.0.0"
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/
Dcommit.csv315 …OtgJnVeMkw@fakeemail.com,unsquashfs: make {disable|enable}_progress_bar contingent on progress flag
321 …form/hardware/qcom/display,fake_bMCOe3XKSl6teJt6Ic6S3Q@fakeemail.com,hwc2 : Fix layer updating flag
420 …/hardware/qcom/display,fake_bMCOe3XKSl6teJt6Ic6S3Q@fakeemail.com,msm8994: Use gralloc1 adapter flag
1643 …,platform/cts,fake_XS0O1HOETRCiH40ZBPoyOQ@fakeemail.com,Follow removal of NetworkInfo metered flag.
2422 …rm/cts,fake_vGkRrayISaC6H5ijCsLTww@fakeemail.com,Restore tests for SHOW_WITH_INSECURE_KEYGUARD flag
2580 …8ec8,platform/cts,fake_kbEkXpsfS6KMXV-8N_Y9-g@fakeemail.com,Additional CTS Test for noHistory flag.
3059 …8f218173d,platform/cts,fake_WYa7hmHCQ42NYhfobk58Bw@fakeemail.com,CTS for test-only-flag inheritance
3065 …2,platform/cts,fake_JhfzatpaRiGgjn8MaEjyng@fakeemail.com,Test a11y volume flag and service state l…
3304 …37b99a6100fe,platform/cts,fake_n2cTpJEcTAapUrhCL7ZN-A@fakeemail.com,Update DPM.lockNow() flag name.
3532 …eac3,platform/cts,fake_9cG5jHCMRaadyb7hNcahCw@fakeemail.com,CTS test to test restoreAnyVersion flag
[all …]
/development/samples/SearchableDictionary/res/raw/
Ddefinitions.txt391 flag - n. emblem usually consisting of a rectangular piece of cloth of distinctive design
698 pennant - n. a long flag; often tapering