/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 | IntentFlags.java | 99 protected static Set<IntentFlag> setOf(IntentFlag... flags) { in setOf() argument 100 return Arrays.stream(flags).collect(Collectors.toSet()); in setOf()
|
/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/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/vndk/tools/header-checker/utils/ |
D | utils.py | 107 flags=tuple()): 113 export_include_dirs, cflags, flags) 119 flags=tuple()): argument 126 cmd += flags 127 if '-output-format' not in flags: 147 flags=tuple()): argument 151 cmd += flags 152 if '-input-format' not in flags: 154 if '-output-format' not in flags: 298 flags=tuple()): argument [all …]
|
/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 | AlarmService_Service.java | 128 int flags) throws RemoteException { 129 return super.onTransact(code, data, reply, flags);
|
D | NotifyingService.java | 125 int flags) throws RemoteException { 126 return super.onTransact(code, data, reply, flags);
|
/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/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/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() 126 final int flags = length <= 3 ? SuggestionsInfo.RESULT_ATTR_IN_THE_DICTIONARY in onGetSentenceSuggestionsMultiple() local 128 final SuggestionsInfo si = new SuggestionsInfo(flags, in onGetSentenceSuggestionsMultiple()
|
/development/tools/winscope/src/ |
D | sf_visibility.js | 30 function flags_to_string(flags) { argument 31 if (!flags) return ''; 33 if (flags & FLAG_HIDDEN) verboseFlags.push("HIDDEN"); 34 if (flags & FLAG_OPAQUE) verboseFlags.push("OPAQUE"); 35 if (flags & FLAG_SECURE) verboseFlags.push("SECURE"); 36 return verboseFlags.join('|') + " (" + flags + ")"; 108 return layer.flags & FLAG_HIDDEN == FLAG_HIDDEN || 286 layer.verboseFlags = flags_to_string(layer.flags);
|
/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/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/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/samples/BackupRestore/ |
D | Android.bp | 10 proguard_flags_files: ["proguard.flags"],
|
/development/vndk/tools/header-checker/tests/ |
D | test.py | 73 expected_return_code, flags=[]): argument 74 actual_output = run_abi_diff(old_dump, new_dump, arch, lib, flags) 78 target_arch, expected_return_code, flags=[]): argument 81 expected_return_code, flags) 89 expected_return_code, flags=[], argument 103 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/Alarm/src/com/example/android/newalarm/ |
D | AlarmService.java | 118 protected boolean onTransact(int code, Parcel data, Parcel reply, int flags) in onTransact() argument 122 return super.onTransact(code, data, reply, flags); in onTransact()
|
/development/samples/devbytes/ui/ImmersiveMode/src/main/java/com/example/android/immersive/ |
D | ImmersiveActivity.java | 44 public void onSystemUiVisibilityChange(int flags) { in onCreate() 45 boolean visible = (flags & View.SYSTEM_UI_FLAG_HIDE_NAVIGATION) == 0; in onCreate()
|