Home
last modified time | relevance | path

Searched refs:flags (Results 1 – 25 of 86) sorted by relevance

1234

/development/samples/IntentPlayground/src/com/example/android/intentplayground/
DFlagUtils.java52 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 …]
DInlineAdapter.java121 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()
DIntentFlags.java99 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/
DMainActivity.java108 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/
Dadb_api_private_defines.h39 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
Dadb_interface_enum.cpp40 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/
DActionBarDisplayOptions.java84 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()
DRotationAnimation.java81 winParams.flags |= WindowManager.LayoutParams.FLAG_FULLSCREEN; in setFullscreen()
83 winParams.flags &= ~WindowManager.LayoutParams.FLAG_FULLSCREEN; in setFullscreen()
DNotifyingService.java125 int flags) throws RemoteException {
126 return super.onTransact(code, data, reply, flags);
DAlarmService_Service.java128 int flags) throws RemoteException {
129 return super.onTransact(code, data, reply, flags);
/development/vndk/tools/header-checker/utils/
Dutils.py106 export_include_dirs=tuple(), flags=tuple()):
113 cmd += flags
114 if '-output-format' not in flags:
135 flags=tuple()): argument
139 cmd += flags
140 if '-input-format' not in flags:
142 if '-output-format' not in flags:
286 flags=tuple()): argument
292 abi_diff_cmd += flags
293 if '-input-format-old' not in flags:
[all …]
/development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/
DMediaCodecWrapper.java189 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/
DMediaCodecWrapper.java189 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/
DMediaCodecWrapper.java189 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/flickerlib/
DObjectFormatter.ts233 const flags = []; constant
250 flags.push(mapping[flagValue]);
256 if (flags.length === 0) {
264 flags.push(leftOver);
267 return flags.join(' | ');
/development/samples/SpellChecker/SampleSpellCheckerService/src/com/example/android/samplespellcheckerservice/
DSampleSpellCheckerService.java69 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/samples/devbytes/telephony/SmsSampleProject/app/
Dproguard-rules.pro2 # By default, the flags in this file are appended to flags specified
/development/samples/ApiDemos/src/com/example/android/apis/view/
DSystemUIModes.java120 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/
Dproguard-project.txt5 # By default, the flags in this file are appended to flags specified
/development/samples/training/NsdChat/
Dproguard.cfg5 # By default, the flags in this file are appended to flags specified
/development/samples/MultiClientInputMethod/src/com/example/android/multiclientinputmethod/
DClientCallbackImpl.java99 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/BackupRestore/
DAndroid.bp14 proguard_flags_files: ["proguard.flags"],
/development/samples/Alarm/src/com/example/android/newalarm/
DAlarmService.java118 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/
DImmersiveActivity.java44 public void onSystemUiVisibilityChange(int flags) { in onCreate()
45 boolean visible = (flags & View.SYSTEM_UI_FLAG_HIDE_NAVIGATION) == 0; in onCreate()
/development/vndk/tools/header-checker/tests/
Dtest.py80 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)

1234