Home
last modified time | relevance | path

Searched refs:properties (Results 1 – 25 of 274) sorted by relevance

1234567891011

/frameworks/base/libs/hwui/
DRenderNode.cpp88 (MathUtils::isZero(properties().getAlpha()) ? ", zero alpha" : ""), in output()
89 (properties().hasShadow() ? ", casting shadow" : ""), in output()
91 (properties().getProjectBackwards() ? ", projected" : ""), in output()
96 properties().debugOutputProperties(level); in output()
135 if (properties().getClipDamageToBounds()) { in damageSelf()
136 info.damageAccumulator->dirty(0, 0, properties().getWidth(), properties().getHeight()); in damageSelf()
146 LayerType layerType = properties().effectiveLayerType(); in prepareLayer()
161 LayerType layerType = properties().effectiveLayerType(); in pushLayerUpdate()
289 const LayerProperties& props = properties().layerProperties(); in applyLayerPropertiesToLayer()
397 properties().debugOutputProperties(handler.level() + 1); in setViewProperties()
[all …]
/frameworks/base/location/java/android/location/
DLocationProvider.java59 public LocationProvider(String name, ProviderProperties properties) { in LocationProvider() argument
64 mProperties = properties; in LocationProvider()
85 public static boolean propertiesMeetCriteria(String name, ProviderProperties properties, in propertiesMeetCriteria() argument
91 if (properties == null) { in propertiesMeetCriteria()
98 criteria.getAccuracy() < properties.mAccuracy) { in propertiesMeetCriteria()
102 criteria.getPowerRequirement() < properties.mPowerRequirement) { in propertiesMeetCriteria()
105 if (criteria.isAltitudeRequired() && !properties.mSupportsAltitude) { in propertiesMeetCriteria()
108 if (criteria.isSpeedRequired() && !properties.mSupportsSpeed) { in propertiesMeetCriteria()
111 if (criteria.isBearingRequired() && !properties.mSupportsBearing) { in propertiesMeetCriteria()
114 if (!criteria.isCostAllowed() && properties.mHasMonetaryCost) { in propertiesMeetCriteria()
/frameworks/base/tools/layoutlib/bridge/src/android/os/
DSystemProperties_Delegate.java43 Map<String, String> properties = Bridge.getPlatformProperties(); in native_get() local
44 String value = properties.get(key); in native_get()
53 Map<String, String> properties = Bridge.getPlatformProperties(); in native_get_int() local
54 String value = properties.get(key); in native_get_int()
64 Map<String, String> properties = Bridge.getPlatformProperties(); in native_get_long() local
65 String value = properties.get(key); in native_get_long()
79 Map<String, String> properties = Bridge.getPlatformProperties(); in native_get_boolean() local
80 String value = properties.get(key); in native_get_boolean()
97 Map<String, String> properties = Bridge.getPlatformProperties(); in native_set() local
98 properties.put(key, def); in native_set()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/animation/
DAppearAnimationUtils.java74 AppearAnimationProperties properties = getDelays(objects); in startAnimation2d() local
75 startAnimations(properties, objects, finishListener, creator); in startAnimation2d()
80 AppearAnimationProperties properties = getDelays(objects); in startAnimation() local
81 startAnimations(properties, objects, finishListener, creator); in startAnimation()
84 private <T> void startAnimations(AppearAnimationProperties properties, T[] objects, in startAnimations() argument
86 if (properties.maxDelayRowIndex == -1 || properties.maxDelayColIndex == -1) { in startAnimations()
90 for (int row = 0; row < properties.delays.length; row++) { in startAnimations()
91 long[] columns = properties.delays[row]; in startAnimations()
94 if (properties.maxDelayRowIndex == row && properties.maxDelayColIndex == 0) { in startAnimations()
98 ? mRowTranslationScaler.getRowTranslationScale(row, properties.delays.length) in startAnimations()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DFlingAnimationUtils.java106 AnimatorProperties properties = getProperties(currValue, endValue, velocity, in apply() local
108 animator.setDuration(properties.duration); in apply()
109 animator.setInterpolator(properties.interpolator); in apply()
125 AnimatorProperties properties = getProperties(currValue, endValue, velocity, in apply() local
127 animator.setDuration(properties.duration); in apply()
128 animator.setInterpolator(properties.interpolator); in apply()
173 AnimatorProperties properties = getDismissingProperties(currValue, endValue, velocity, in applyDismissing() local
175 animator.setDuration(properties.duration); in applyDismissing()
176 animator.setInterpolator(properties.interpolator); in applyDismissing()
193 AnimatorProperties properties = getDismissingProperties(currValue, endValue, velocity, in applyDismissing() local
[all …]
/frameworks/av/radio/
DIRadioService.cpp53 virtual status_t listModules(struct radio_properties *properties, in listModules() argument
56 if (numModules == NULL || (*numModules != 0 && properties == NULL)) { in listModules()
61 unsigned int numModulesReq = (properties == NULL) ? 0 : *numModules; in listModules()
74 reply.read(properties, numModulesReq * sizeof(struct radio_properties)); in listModules()
125 struct radio_properties *properties = in onTransact() local
128 if (properties == NULL) { in onTransact()
134 status_t status = listModules(properties, &numModules); in onTransact()
143 reply->write(properties, in onTransact()
146 free(properties); in onTransact()
/frameworks/av/services/radio/
DRadioService.cpp84 radio_properties_t properties; in onFirstRef() local
85 properties.handle = in onFirstRef()
88 ALOGI("loaded default module %s, handle %d", properties.product, properties.handle); in onFirstRef()
90 convertProperties(&properties, &halProperties); in onFirstRef()
91 sp<Module> module = new Module(dev, properties); in onFirstRef()
92 mModules.add(properties.handle, module); in onFirstRef()
102 status_t RadioService::listModules(struct radio_properties *properties, in listModules() argument
108 if (numModules == NULL || (*numModules != 0 && properties == NULL)) { in listModules()
114 properties[i] = mModules.valueAt(i)->properties(); in listModules()
206 void RadioService::convertProperties(radio_properties_t *properties, in convertProperties() argument
[all …]
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/
DProcessBindable.java113 HashSet<String> properties = new HashSet<String>(); in generateBRClasses() local
114 mProperties.captureProperties(properties); in generateBRClasses()
117 intermediate.captureProperties(properties); in generateBRClasses()
120 BRWriter brWriter = new BRWriter(properties, useFinalFields); in generateBRClasses()
234 void captureProperties(Set<String> properties); in captureProperties() argument
255 public void captureProperties(Set<String> properties) { in captureProperties() argument
257 properties.addAll(propertySet); in captureProperties()
263 HashSet<String> properties = mProperties.get(className); in addProperty() local
264 if (properties == null) { in addProperty()
265 properties = new HashSet<String>(); in addProperty()
[all …]
/frameworks/wilhelm/src/itf/
DIEnvironmentalReverb.c650 SLEnvironmentalReverbSettings properties = *pProperties; in IEnvironmentalReverb_SetEnvironmentalReverbProperties() local
651 if (!(properties.roomLevel <= 0)) in IEnvironmentalReverb_SetEnvironmentalReverbProperties()
653 if (!(properties.roomHFLevel <= 0)) in IEnvironmentalReverb_SetEnvironmentalReverbProperties()
655 if (!(100 <= properties.decayTime && properties.decayTime <= 20000)) in IEnvironmentalReverb_SetEnvironmentalReverbProperties()
657 if (!(100 <= properties.decayHFRatio && properties.decayHFRatio <= 2000)) in IEnvironmentalReverb_SetEnvironmentalReverbProperties()
659 if (!(properties.reflectionsLevel <= 1000)) in IEnvironmentalReverb_SetEnvironmentalReverbProperties()
661 if (!(/* 0 <= properties.reflectionsDelay && */ properties.reflectionsDelay <= 300)) in IEnvironmentalReverb_SetEnvironmentalReverbProperties()
663 if (!(properties.reverbLevel <= 2000)) in IEnvironmentalReverb_SetEnvironmentalReverbProperties()
665 if (!(/* 0 <= properties.reverbDelay && */ properties.reverbDelay <= 100)) in IEnvironmentalReverb_SetEnvironmentalReverbProperties()
667 if (!(0 <= properties.diffusion && properties.diffusion <= 1000)) in IEnvironmentalReverb_SetEnvironmentalReverbProperties()
[all …]
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbAlsaManager.java402 Bundle properties = new Bundle(); in usbDeviceAdded() local
414 properties.putString(MidiDeviceInfo.PROPERTY_NAME, name); in usbDeviceAdded()
415 properties.putString(MidiDeviceInfo.PROPERTY_MANUFACTURER, manufacturer); in usbDeviceAdded()
416 properties.putString(MidiDeviceInfo.PROPERTY_PRODUCT, product); in usbDeviceAdded()
417 properties.putString(MidiDeviceInfo.PROPERTY_VERSION, version); in usbDeviceAdded()
418 properties.putString(MidiDeviceInfo.PROPERTY_SERIAL_NUMBER, in usbDeviceAdded()
420 properties.putInt(MidiDeviceInfo.PROPERTY_ALSA_CARD, alsaDevice.mCard); in usbDeviceAdded()
421 properties.putInt(MidiDeviceInfo.PROPERTY_ALSA_DEVICE, alsaDevice.mDevice); in usbDeviceAdded()
422 properties.putParcelable(MidiDeviceInfo.PROPERTY_USB_DEVICE, usbDevice); in usbDeviceAdded()
424 UsbMidiDevice usbMidiDevice = UsbMidiDevice.create(mContext, properties, in usbDeviceAdded()
[all …]
/frameworks/rs/
DrsDefines.h487 static inline uint32_t getGlobalRsType(uint32_t properties) { in getGlobalRsType() argument
488 return properties & RS_GLOBAL_TYPE; in getGlobalRsType()
490 static inline bool isGlobalConstant(uint32_t properties) { in isGlobalConstant() argument
491 return properties & RS_GLOBAL_CONSTANT; in isGlobalConstant()
493 static inline bool isGlobalStatic(uint32_t properties) { in isGlobalStatic() argument
494 return properties & RS_GLOBAL_STATIC; in isGlobalStatic()
496 static inline bool isGlobalPointer(uint32_t properties) { in isGlobalPointer() argument
497 return properties & RS_GLOBAL_POINTER; in isGlobalPointer()
/frameworks/base/services/core/java/com/android/server/location/
DGpsXtraDownloader.java46 GpsXtraDownloader(Properties properties) { in GpsXtraDownloader() argument
49 String server1 = properties.getProperty("XTRA_SERVER_1"); in GpsXtraDownloader()
50 String server2 = properties.getProperty("XTRA_SERVER_2"); in GpsXtraDownloader()
51 String server3 = properties.getProperty("XTRA_SERVER_3"); in GpsXtraDownloader()
57 String agent = properties.getProperty("XTRA_USER_AGENT"); in GpsXtraDownloader()
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/writer/
DBRWriter.kt19 import kotlin.properties.Delegates
21 class BRWriter(properties: Set<String>, val useFinal : Boolean) {
22 val indexedProps = properties.sort().withIndex()
/frameworks/base/core/tests/coretests/src/android/animation/
DAutoCancelTest.java42 ObjectAnimator setupAnimator(long startDelay, String... properties) { in setupAnimator() argument
44 if (properties.length == 1) { in setupAnimator()
45 returnVal = ObjectAnimator.ofFloat(this, properties[0], 0, 1); in setupAnimator()
47 PropertyValuesHolder[] pvhArray = new PropertyValuesHolder[properties.length]; in setupAnimator()
48 for (int i = 0; i < properties.length; i++) { in setupAnimator()
49 pvhArray[i] = PropertyValuesHolder.ofFloat(properties[i], 0, 1); in setupAnimator()
/frameworks/ex/framesequence/samples/FrameSequenceSamples/
Dproject.properties6 # To customize properties used by the Ant build system edit
7 # "ant.properties", and override values to adapt the script to your
10 # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.d…
/frameworks/support/v17/leanback/
Dproject.properties6 # To customize properties used by the Ant build system edit
7 # "ant.properties", and override values to adapt the script to your
10 # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.d…
/frameworks/opt/colorpicker/
Dproject.properties6 # To customize properties used by the Ant build system edit
7 # "ant.properties", and override values to adapt the script to your
10 # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.d…
/frameworks/support/v7/mediarouter/
Dproject.properties6 # To customize properties used by the Ant build system edit
7 # "ant.properties", and override values to adapt the script to your
10 # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.d…
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/
Dproject.properties6 # To customize properties used by the Ant build system edit
7 # "ant.properties", and override values to adapt the script to your
10 # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.d…
/frameworks/support/v7/gridlayout/
Dproject.properties6 # To customize properties used by the Ant build system edit
7 # "ant.properties", and override values to adapt the script to your
10 # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.d…
/frameworks/opt/datetimepicker/
Dproject.properties6 # To customize properties used by the Ant build system edit
7 # "ant.properties", and override values to adapt the script to your
10 # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.d…
/frameworks/opt/timezonepicker/
Dproject.properties6 # To customize properties used by the Ant build system edit
7 # "ant.properties", and override values to adapt the script to your
10 # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.d…
/frameworks/opt/photoviewer/
Dproject.properties6 # To customize properties used by the Ant build system edit
7 # "ant.properties", and override values to adapt the script to your
10 # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.d…
/frameworks/support/v7/appcompat/
Dproject.properties6 # To customize properties used by the Ant build system edit
7 # "ant.properties", and override values to adapt the script to your
10 # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.d…
/frameworks/support/v7/palette/
Dproject.properties6 # To customize properties used by the Ant build system edit
7 # "ant.properties", and override values to adapt the script to your
10 # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.d…

1234567891011