/development/samples/IntentPlayground/src/com/example/android/intentplayground/ |
D | FlagUtils.java | 52 int flags = intent.getFlags(); in discoverFlags() local 57 return (flags & f.getInt(intent)) > 0; in discoverFlags() 193 EnumSet<ActivityFlag> flags = EnumSet.noneOf(ActivityFlag.class); 198 return flags; 201 if ((info.flags & ActivityInfo.FLAG_CLEAR_TASK_ON_LAUNCH) > 0) { 202 flags.add(ActivityFlag.CLEAR_TASK_ON_LAUNCH); 204 if ((info.flags & ActivityInfo.FLAG_ALLOW_TASK_REPARENTING) > 0) { 205 flags.add(ActivityFlag.ALLOW_TASK_REPARENTING); 209 flags.add(ActivityFlag.LAUNCH_MODE_SINGLE_INSTANCE); 212 flags.add(ActivityFlag.LAUNCH_MODE_SINGLE_TASK); [all …]
|
D | InlineAdapter.java | 121 List<String> flags; in setTask() 123 flags = FlagUtils.discoverFlags(intent); in setTask() 124 if (flags.size() == 0) { in setTask() 125 flags.add("None"); in setTask() 128 flags = Collections.singletonList("None"); in setTask() 131 flags, task.id); in setTask() 151 String shortClassName, List<String> flags, int taskId) { in showDialogWithFlags() argument 152 IntentDialogFragment.newInstance(shortClassName, flags, taskId).show(manager, in showDialogWithFlags()
|
D | IntentBuilderView.java | 328 public void selectFlags(List<String> flags) { in selectFlags() argument 330 if (flags.contains(box.getText())) { in selectFlags() 341 public void selectFlags(Collection<IntentFlag> flags) { in selectFlags() argument 342 selectFlags(flags.stream().map(IntentFlag::getName).collect(Collectors.toList())); in selectFlags() 359 private void disableFlags(Collection<IntentFlag> flags) { in disableFlags() argument 360 flags.forEach(flag -> getCheckBox(flag).setEnabled(false)); in disableFlags()
|
/development/samples/browseable/CommitContentSampleApp/src/com.example.android.commitcontent.app/ |
D | MainActivity.java | 108 private boolean onCommitContent(InputContentInfoCompat inputContentInfo, int flags, in onCommitContent() argument 139 return onCommitContentInternal(inputContentInfo, flags); in onCommitContent() 142 private boolean onCommitContentInternal(InputContentInfoCompat inputContentInfo, int flags) { in onCommitContentInternal() argument 143 if ((flags & InputConnectionCompat.INPUT_CONTENT_GRANT_READ_URI_PERMISSION) != 0) { in onCommitContentInternal() 158 mFlags.setText(flagsToString(flags)); in onCommitContentInternal() 168 mCurrentFlags = flags; in onCommitContentInternal() 214 int flags, Bundle opts) { in createEditTextWithContentMimeTypes() 216 inputContentInfo, flags, opts, mimeTypes); in createEditTextWithContentMimeTypes() 238 private static String flagsToString(int flags) { in flagsToString() argument 240 if ((flags & InputConnectionCompat.INPUT_CONTENT_GRANT_READ_URI_PERMISSION) != 0) { in flagsToString() [all …]
|
/development/vndk/tools/header-checker/utils/ |
D | utils.py | 105 export_include_dirs=tuple(), flags=tuple()): 112 cmd += flags 113 if '-output-format' not in flags: 134 flags=tuple()): argument 138 cmd += flags 139 if '-input-format' not in flags: 141 if '-output-format' not in flags: 285 flags=tuple()): argument 291 abi_diff_cmd += flags 292 if '-input-format-old' not in flags: [all …]
|
/development/host/windows/usb/api/ |
D | adb_api_private_defines.h | 39 Set(proto.device_name().c_str(), proto.class_id(), proto.flags()); in AdbInstanceEnumEntry() 55 Set(proto.device_name().c_str(), proto.class_id(), proto.flags()); 81 info->flags = flags(); in Save() 96 DWORD flags() const { in flags() function
|
D | adb_interface_enum.cpp | 40 DWORD flags = DIGCF_DEVICEINTERFACE; in InitializeEnum() local 42 flags |= DIGCF_PRESENT; in InitializeEnum() 46 flags, in InitializeEnum()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | ActionBarDisplayOptions.java | 84 int flags = 0; in onClick() local 87 flags = ActionBar.DISPLAY_HOME_AS_UP; in onClick() 90 flags = ActionBar.DISPLAY_SHOW_HOME; in onClick() 93 flags = ActionBar.DISPLAY_USE_LOGO; in onClick() 96 flags = ActionBar.DISPLAY_SHOW_TITLE; in onClick() 99 flags = ActionBar.DISPLAY_SHOW_CUSTOM; in onClick() 136 int change = bar.getDisplayOptions() ^ flags; in onClick() 137 bar.setDisplayOptions(change, flags); in onClick()
|
D | RotationAnimation.java | 81 winParams.flags |= WindowManager.LayoutParams.FLAG_FULLSCREEN; in setFullscreen() 83 winParams.flags &= ~WindowManager.LayoutParams.FLAG_FULLSCREEN; in setFullscreen()
|
D | NotifyingService.java | 125 int flags) throws RemoteException { 126 return super.onTransact(code, data, reply, flags);
|
/development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/ |
D | MediaCodecWrapper.java | 189 final int flags) throws MediaCodec.CryptoException, WriteException { in writeSample() argument 213 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); in writeSample() 215 mDecoder.queueSecureInputBuffer(index, 0, crypto, presentationTimeUs, flags); in writeSample() 245 int flags) { in writeSample() argument 256 flags |= MediaCodec.BUFFER_FLAG_END_OF_STREAM; in writeSample() 262 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); in writeSample() 265 mDecoder.queueSecureInputBuffer(index, 0, cryptoInfo, presentationTimeUs, flags); in writeSample() 293 info.flags); in peekSample()
|
/development/samples/browseable/MediaRecorder/src/com.example.android.common.media/ |
D | MediaCodecWrapper.java | 189 final int flags) throws MediaCodec.CryptoException, WriteException { in writeSample() argument 213 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); in writeSample() 215 mDecoder.queueSecureInputBuffer(index, 0, crypto, presentationTimeUs, flags); in writeSample() 245 int flags) { in writeSample() argument 256 flags |= MediaCodec.BUFFER_FLAG_END_OF_STREAM; in writeSample() 262 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); in writeSample() 265 mDecoder.queueSecureInputBuffer(index, 0, cryptoInfo, presentationTimeUs, flags); in writeSample() 293 info.flags); in peekSample()
|
/development/samples/browseable/BasicRenderScript/src/com.example.android.common.media/ |
D | MediaCodecWrapper.java | 189 final int flags) throws MediaCodec.CryptoException, WriteException { in writeSample() argument 213 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); in writeSample() 215 mDecoder.queueSecureInputBuffer(index, 0, crypto, presentationTimeUs, flags); in writeSample() 245 int flags) { in writeSample() argument 256 flags |= MediaCodec.BUFFER_FLAG_END_OF_STREAM; in writeSample() 262 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); in writeSample() 265 mDecoder.queueSecureInputBuffer(index, 0, cryptoInfo, presentationTimeUs, flags); in writeSample() 293 info.flags); in peekSample()
|
/development/tools/winscope/src/ |
D | transform_sf.js | 159 if (!layer.flags) return; 161 if (layer.flags & FLAG_HIDDEN) { 164 if (layer.flags & FLAG_OPAQUE) { 167 if (layer.flags & FLAG_SECURE) { 171 layer.flags = verboseFlags.join('|') + " (" + layer.flags + ")"; 176 var hidden = (layer.flags & FLAG_HIDDEN) != 0 || parentHidden; 203 if (layer.flags && (layer.flags & FLAG_HIDDEN != 0)) {
|
/development/samples/SpellChecker/SampleSpellCheckerService/src/com/example/android/samplespellcheckerservice/ |
D | SampleSpellCheckerService.java | 69 final int flags = length <= 3 ? SuggestionsInfo.RESULT_ATTR_IN_THE_DICTIONARY in onGetSuggestions() local 71 return new SuggestionsInfo(flags, in onGetSuggestions() 125 final int flags = length <= 3 ? SuggestionsInfo.RESULT_ATTR_IN_THE_DICTIONARY in onGetSentenceSuggestionsMultiple() local 127 final SuggestionsInfo si = new SuggestionsInfo(flags, in onGetSentenceSuggestionsMultiple()
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | SystemUIModes.java | 120 winParams.flags |= bits; in setFullscreen() 122 winParams.flags &= ~bits; in setFullscreen() 132 winParams.flags |= bits; in setOverscan() 134 winParams.flags &= ~bits; in setOverscan() 144 winParams.flags |= bits; in setTranslucentStatus() 146 winParams.flags &= ~bits; in setTranslucentStatus() 156 winParams.flags |= bits; in setTranslucentNavigation() 158 winParams.flags &= ~bits; in setTranslucentNavigation()
|
/development/vndk/tools/header-checker/tests/ |
D | test.py | 80 expected_return_code, flags=[]): argument 81 actual_output = run_abi_diff(old_dump, new_dump, arch, lib, flags) 85 target_arch, expected_return_code, flags=[]): argument 88 expected_return_code, flags) 96 expected_return_code, flags=[], argument 110 expected_return_code, flags)
|
/development/samples/MultiClientInputMethod/src/com/example/android/multiclientinputmethod/ |
D | ClientCallbackImpl.java | 99 public void onHideSoftInput(int flags, ResultReceiver resultReceiver) { in onHideSoftInput() argument 101 Log.v(TAG, "onHideSoftInput clientId=" + mClientId + " flags=" + flags); in onHideSoftInput() 115 public void onShowSoftInput(int flags, ResultReceiver resultReceiver) { in onShowSoftInput() argument 117 Log.v(TAG, "onShowSoftInput clientId=" + mClientId + " flags=" + flags); in onShowSoftInput()
|
/development/samples/devbytes/telephony/SmsSampleProject/app/ |
D | proguard-rules.pro | 2 # By default, the flags in this file are appended to flags specified
|
/development/samples/ControllerSample/ |
D | proguard-project.txt | 5 # By default, the flags in this file are appended to flags specified
|
/development/samples/training/NsdChat/ |
D | proguard.cfg | 5 # By default, the flags in this file are appended to flags specified
|
/development/apps/Development/src/com/android/development/ |
D | ShowActivity.java | 108 (mActivityInfo.flags&ActivityInfo.FLAG_MULTIPROCESS) != 0 in onCreate() 111 (mActivityInfo.flags&ActivityInfo.FLAG_CLEAR_TASK_ON_LAUNCH) != 0 in onCreate() 114 (mActivityInfo.flags&ActivityInfo.FLAG_STATE_NOT_NEEDED) != 0 in onCreate()
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
D | MonkeyPermissionUtil.java | 98 && (info.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) { in shouldTargetPackage() 105 int flags = mPm.getPermissionFlags(pi.name, pkg, UserHandle.myUserId()); in shouldTargetPermission() local 109 && ((flags & fixedPermFlags) == 0) in shouldTargetPermission()
|
/development/samples/browseable/StorageProvider/src/com.example.android.storageprovider/ |
D | MyCloudProvider.java | 482 int flags = 0; 491 flags |= Document.FLAG_DIR_SUPPORTS_CREATE; 496 flags |= Document.FLAG_SUPPORTS_WRITE; 497 flags |= Document.FLAG_SUPPORTS_DELETE; 505 flags |= Document.FLAG_SUPPORTS_THUMBNAIL; 514 row.add(Document.COLUMN_FLAGS, flags);
|
/development/samples/ThemedNavBarKeyboard/src/com/example/android/themednavbarkeyboard/ |
D | ThemedNavBarKeyboard.java | 234 private void updateSystemUiFlag(int flags) { in updateSystemUiFlag() argument 239 setSystemUiVisibility((visFlags & ~maskFlags) | (flags & maskFlags)); in updateSystemUiFlag() 248 final int prevFlags = mWindow.getAttributes().flags; in switchToFloatingMode()
|