Home
last modified time | relevance | path

Searched refs:inputFlags (Results 1 – 14 of 14) 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.cpp504 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()
944 if ((inputFlags | o.inputFlags) & MASK_KEYSHIDDEN) { in HasHigherPrecedenceThan()
945 return !(o.inputFlags & MASK_KEYSHIDDEN); in HasHigherPrecedenceThan()
947 if ((inputFlags | o.inputFlags) & MASK_NAVHIDDEN) { in HasHigherPrecedenceThan()
948 return !(o.inputFlags & MASK_NAVHIDDEN); in HasHigherPrecedenceThan()
984 !pred(inputFlags & MASK_KEYSHIDDEN, o.inputFlags & MASK_KEYSHIDDEN) || in ConflictsWith()
985 !pred(inputFlags & MASK_NAVHIDDEN, o.inputFlags & MASK_NAVHIDDEN) || in ConflictsWith()
DResourceTypes.cpp2084 if (((inputFlags^o.inputFlags)&(MASK_KEYSHIDDEN|MASK_NAVHIDDEN)) != 0) in diff()
2244 if (((inputFlags^o.inputFlags) & MASK_KEYSHIDDEN) != 0) { in isMoreSpecificThan()
2245 if (!(inputFlags & MASK_KEYSHIDDEN)) return false; in isMoreSpecificThan()
2246 if (!(o.inputFlags & MASK_KEYSHIDDEN)) return true; in isMoreSpecificThan()
2249 if (((inputFlags^o.inputFlags) & MASK_NAVHIDDEN) != 0) { in isMoreSpecificThan()
2250 if (!(inputFlags & MASK_NAVHIDDEN)) return false; in isMoreSpecificThan()
2251 if (!(o.inputFlags & MASK_NAVHIDDEN)) return true; in isMoreSpecificThan()
2599 const int keysHidden = inputFlags & MASK_KEYSHIDDEN; in isBetterThan()
2600 const int oKeysHidden = o.inputFlags & MASK_KEYSHIDDEN; in isBetterThan()
2603 requested->inputFlags & MASK_KEYSHIDDEN; in isBetterThan()
[all …]
/frameworks/av/services/audioflinger/
DPatchPanel.cpp469 audio_input_flags_t inputFlags = mAudioPatch.sources[0].config_mask & AUDIO_PORT_CONFIG_FLAGS ? in createConnections() local
477 inputFlags = (audio_input_flags_t) (inputFlags | AUDIO_INPUT_FLAG_FAST); in createConnections()
480 inputFlags = (audio_input_flags_t) (inputFlags & ~AUDIO_INPUT_FLAG_FAST); in createConnections()
500 (inputFlags & AUDIO_INPUT_FLAG_DIRECT) && (outputFlags & AUDIO_OUTPUT_FLAG_DIRECT); in createConnections()
516 inputFlags); in createConnections()
536 inputFlags); in createConnections()
DThreads.cpp7501 audio_input_flags_t inputFlags = mInput->flags; in createRecordTrack_l() local
7524 inputFlags = (audio_input_flags_t)(inputFlags | AUDIO_INPUT_FLAG_FAST); in createRecordTrack_l()
7528 if ((*flags & inputFlags) != *flags) { in createRecordTrack_l()
7531 *flags, inputFlags); in createRecordTrack_l()
7532 *flags = (audio_input_flags_t)(*flags & inputFlags); in createRecordTrack_l()
/frameworks/base/tools/aapt2/format/proto/
DProtoDeserialize.cpp281 out_config->inputFlags = (out_config->inputFlags & ~ConfigDescription::MASK_KEYSHIDDEN) | in DeserializeConfigFromPb()
286 out_config->inputFlags = (out_config->inputFlags & ~ConfigDescription::MASK_KEYSHIDDEN) | in DeserializeConfigFromPb()
291 out_config->inputFlags = (out_config->inputFlags & ~ConfigDescription::MASK_KEYSHIDDEN) | in DeserializeConfigFromPb()
318 out_config->inputFlags = (out_config->inputFlags & ~ConfigDescription::MASK_NAVHIDDEN) | in DeserializeConfigFromPb()
323 out_config->inputFlags = (out_config->inputFlags & ~ConfigDescription::MASK_NAVHIDDEN) | in DeserializeConfigFromPb()
DProtoSerialize.cpp216 switch (config.inputFlags & ConfigDescription::MASK_KEYSHIDDEN) { in SerializeConfig()
244 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/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.h1049 uint8_t inputFlags; member