Home
last modified time | relevance | path

Searched refs:inputFlags (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/jni/
Dandroid_content_res_Configuration.cpp57 out->inputFlags = env->GetIntField(clazz, gConfigurationClassInfo.keyboardHidden); in android_Configuration_getFromJava()
59 if (out->inputFlags == ACONFIGURATION_KEYSHIDDEN_NO in android_Configuration_getFromJava()
61 out->inputFlags = ACONFIGURATION_KEYSHIDDEN_SOFT; in android_Configuration_getFromJava()
63 out->inputFlags |= env->GetIntField(clazz, gConfigurationClassInfo.navigationHidden) in android_Configuration_getFromJava()
Dandroid_util_AssetManager.cpp336 configuration.inputFlags = static_cast<uint8_t>(keyboard_hidden); in NativeSetConfiguration()
/frameworks/base/native/android/
Dconfiguration.cpp88 return config->inputFlags&ResTable_config::MASK_KEYSHIDDEN; in AConfiguration_getKeysHidden()
92 return (config->inputFlags&ResTable_config::MASK_NAVHIDDEN) in AConfiguration_getNavHidden()
181 config->inputFlags = (config->inputFlags&~ResTable_config::MASK_KEYSHIDDEN) in AConfiguration_setKeysHidden()
186 config->inputFlags = (config->inputFlags&~ResTable_config::MASK_NAVHIDDEN) in AConfiguration_setNavHidden()
/frameworks/base/libs/androidfw/
DConfigDescription.cpp443 if (out) out->inputFlags = (out->inputFlags & ~mask) | value; in parseKeysHidden()
483 if (out) out->inputFlags = (out->inputFlags & ~mask) | value; in parseNavHidden()
947 if ((inputFlags | o.inputFlags) & MASK_KEYSHIDDEN) { in HasHigherPrecedenceThan()
948 return !(o.inputFlags & MASK_KEYSHIDDEN); in HasHigherPrecedenceThan()
950 if ((inputFlags | o.inputFlags) & MASK_NAVHIDDEN) { in HasHigherPrecedenceThan()
951 return !(o.inputFlags & MASK_NAVHIDDEN); in HasHigherPrecedenceThan()
987 !pred(inputFlags & MASK_KEYSHIDDEN, o.inputFlags & MASK_KEYSHIDDEN) || in ConflictsWith()
988 !pred(inputFlags & MASK_NAVHIDDEN, o.inputFlags & MASK_NAVHIDDEN) || in ConflictsWith()
DResourceTypes.cpp2199 if (((inputFlags^o.inputFlags)&(MASK_KEYSHIDDEN|MASK_NAVHIDDEN)) != 0) in diff()
2359 if (((inputFlags^o.inputFlags) & MASK_KEYSHIDDEN) != 0) { in isMoreSpecificThan()
2360 if (!(inputFlags & MASK_KEYSHIDDEN)) return false; in isMoreSpecificThan()
2361 if (!(o.inputFlags & MASK_KEYSHIDDEN)) return true; in isMoreSpecificThan()
2364 if (((inputFlags^o.inputFlags) & MASK_NAVHIDDEN) != 0) { in isMoreSpecificThan()
2365 if (!(inputFlags & MASK_NAVHIDDEN)) return false; in isMoreSpecificThan()
2366 if (!(o.inputFlags & MASK_NAVHIDDEN)) return true; in isMoreSpecificThan()
2714 const int keysHidden = inputFlags & MASK_KEYSHIDDEN; in isBetterThan()
2715 const int oKeysHidden = o.inputFlags & MASK_KEYSHIDDEN; in isBetterThan()
2718 requested->inputFlags & MASK_KEYSHIDDEN; in isBetterThan()
[all …]
/frameworks/av/services/audioflinger/
DPatchPanel.cpp500 audio_input_flags_t inputFlags = mAudioPatch.sources[0].config_mask & AUDIO_PORT_CONFIG_FLAGS ? in createConnections() local
508 inputFlags = (audio_input_flags_t) (inputFlags | AUDIO_INPUT_FLAG_FAST); in createConnections()
511 inputFlags = (audio_input_flags_t) (inputFlags & ~AUDIO_INPUT_FLAG_FAST); in createConnections()
531 (inputFlags & AUDIO_INPUT_FLAG_DIRECT) && (outputFlags & AUDIO_OUTPUT_FLAG_DIRECT); in createConnections()
547 inputFlags); in createConnections()
567 inputFlags); in createConnections()
DThreads.cpp7822 audio_input_flags_t inputFlags = mInput->flags; in createRecordTrack_l() local
7859 inputFlags = (audio_input_flags_t)(inputFlags | AUDIO_INPUT_FLAG_FAST); in createRecordTrack_l()
7863 if ((*flags & inputFlags) != *flags) { in createRecordTrack_l()
7866 *flags, inputFlags); in createRecordTrack_l()
7867 *flags = (audio_input_flags_t)(*flags & inputFlags); in createRecordTrack_l()
/frameworks/base/tools/aapt2/format/proto/
DProtoDeserialize.cpp283 out_config->inputFlags = (out_config->inputFlags & ~ConfigDescription::MASK_KEYSHIDDEN) | in DeserializeConfigFromPb()
288 out_config->inputFlags = (out_config->inputFlags & ~ConfigDescription::MASK_KEYSHIDDEN) | in DeserializeConfigFromPb()
293 out_config->inputFlags = (out_config->inputFlags & ~ConfigDescription::MASK_KEYSHIDDEN) | in DeserializeConfigFromPb()
320 out_config->inputFlags = (out_config->inputFlags & ~ConfigDescription::MASK_NAVHIDDEN) | in DeserializeConfigFromPb()
325 out_config->inputFlags = (out_config->inputFlags & ~ConfigDescription::MASK_NAVHIDDEN) | in DeserializeConfigFromPb()
DProtoSerialize.cpp218 switch (config.inputFlags & ConfigDescription::MASK_KEYSHIDDEN) { in SerializeConfig()
246 switch (config.inputFlags & ConfigDescription::MASK_NAVHIDDEN) { in SerializeConfig()
/frameworks/base/tools/aapt2/test/
DBuilders.h255 ConfigDescriptionBuilder& setInputFlags(uint8_t inputFlags) { in setInputFlags() argument
256 config_.inputFlags = inputFlags; in setInputFlags()
/frameworks/av/media/libaudioclient/fuzzer/
DREADME.md25 13. Input Flags (parameter name: `inputFlags`)
44 | `inputFlags` | 9 values of type `audio_input_flags_t` | Value chosen from valid values by obtaini…
/frameworks/base/tools/aapt/
DAaptConfig.cpp688 if (out) out->inputFlags = (out->inputFlags&~mask) | value; in parseKeysHidden()
728 if (out) out->inputFlags = (out->inputFlags&~mask) | value; in parseNavHidden()
DResourceTable.cpp3173 config.inputFlags, in flatten()
3218 tHeader->config.inputFlags, in flatten()
3953 config->inputFlags, in getEntry()
DResource.cpp142 mParams.inputFlags, mParams.navigation); in next()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h1075 uint8_t inputFlags; member