Searched refs:properties (Results 1 - 25 of 295) sorted by relevance

1234567891011>>

/frameworks/base/location/java/android/location/
H A DLocationProvider.java59 public LocationProvider(String name, ProviderProperties properties) { argument
64 mProperties = properties;
85 public static boolean propertiesMeetCriteria(String name, ProviderProperties properties, argument
91 if (properties == null) {
98 criteria.getAccuracy() < properties.mAccuracy) {
102 criteria.getPowerRequirement() < properties.mPowerRequirement) {
105 if (criteria.isAltitudeRequired() && !properties.mSupportsAltitude) {
108 if (criteria.isSpeedRequired() && !properties.mSupportsSpeed) {
111 if (criteria.isBearingRequired() && !properties.mSupportsBearing) {
114 if (!criteria.isCostAllowed() && properties
[all...]
/frameworks/base/libs/hwui/pipeline/skia/
H A DRenderNodeDrawable.cpp90 return mRenderNode->properties();
96 if ((!mInReorderingSection) || MathUtils::isZero(mRenderNode->properties().getZ())) {
110 // event that the properties change and it becomes visible.
119 const RenderProperties& properties = this->getNodeProperties(); local
122 ? &properties.getOutline() : nullptr;
123 if (!properties.getProjectBackwards()) {
140 static bool layerNeedsPaint(const LayerProperties& properties, argument
143 || properties.alpha() < 255
144 || properties.xferMode() != SkBlendMode::kSrcOver
145 || properties
157 const RenderProperties& properties = renderNode->properties(); local
219 setViewProperties(const RenderProperties& properties, SkCanvas* canvas, float* alphaMultiplier) argument
[all...]
/frameworks/base/libs/hwui/tests/unit/
H A DSkiaRenderPropertiesTests.cpp77 testProperty([](RenderProperties& properties) {
78 properties.setClipToBounds(true);
79 properties.setClipBounds(android::uirenderer::Rect(10, 20, 300, 400));
87 testProperty([](RenderProperties& properties) {
88 properties.mutableRevealClip().set(true, 50, 50, 25);
95 testProperty([](RenderProperties& properties) {
96 properties.mutableOutline().setShouldClip(true);
97 properties.mutableOutline().setRoundRect(10, 20, 30, 40, 5.0f, 0.5f);
104 testProperty([](RenderProperties& properties) {
105 properties
[all...]
H A DVectorDrawableTests.cpp351 //TODO: Also need to test property sync and dirty flag when properties change.
353 VectorDrawable::Group::GroupProperties* properties = group.mutateProperties(); local
355 EXPECT_EQ(0.0f, properties->getTranslateX());
356 properties->setTranslateX(1.0f);
357 EXPECT_EQ(1.0f, properties->getTranslateX());
359 EXPECT_EQ(0.0f, properties->getTranslateY());
360 properties->setTranslateY(1.0f);
361 EXPECT_EQ(1.0f, properties->getTranslateY());
363 EXPECT_EQ(0.0f, properties->getRotation());
364 properties
[all...]
/frameworks/layoutlib/bridge/src/android/os/
H A DSystemProperties_Delegate.java43 Map<String, String> properties = Bridge.getPlatformProperties();
44 String value = properties.get(key);
53 Map<String, String> properties = Bridge.getPlatformProperties();
54 String value = properties.get(key);
64 Map<String, String> properties = Bridge.getPlatformProperties();
65 String value = properties.get(key);
79 Map<String, String> properties = Bridge.getPlatformProperties();
80 String value = properties.get(key);
97 Map<String, String> properties = Bridge.getPlatformProperties();
98 properties
[all...]
/frameworks/base/libs/hwui/
H A DRenderNode.cpp91 << (MathUtils::isZero(properties().getAlpha()) ? ", zero alpha" : "")
92 << (properties().hasShadow() ? ", casting shadow" : "")
94 << (properties().getProjectBackwards() ? ", projected" : "")
98 properties().debugOutputProperties(output, level + 1);
113 pprops->set_left(properties().getLeft());
114 pprops->set_top(properties().getTop());
115 pprops->set_right(properties().getRight());
116 pprops->set_bottom(properties().getBottom());
117 pprops->set_clip_flags(properties().getClippingFlags());
118 pprops->set_alpha(properties()
[all...]
H A DVectorDrawable.cpp128 const FullPathProperties& properties = useStagingData ? mStagingProperties : mProperties; local
129 bool setFillPath = properties.getFillGradient() != nullptr
130 || properties.getFillColor() != SK_ColorTRANSPARENT;
132 SkPath::FillType ft = static_cast<SkPath::FillType>(properties.getFillType());
152 const FullPathProperties& properties = useStagingData ? mStagingProperties : mProperties; local
159 if (properties.getFillGradient() != nullptr) {
160 paint.setColor(applyAlpha(SK_ColorBLACK, properties.getFillAlpha()));
161 paint.setShader(sk_sp<SkShader>(SkSafeRef(properties.getFillGradient())));
163 } else if (properties.getFillColor() != SK_ColorTRANSPARENT) {
164 paint.setColor(applyAlpha(properties
310 getLocalMatrix(SkMatrix* outMatrix, const GroupProperties& properties) argument
[all...]
H A DFrameBuilder.cpp130 auto& props = node.properties();
211 const RenderProperties& properties = node.properties(); local
212 const Outline& outline = properties.getOutline();
213 if (properties.getAlpha() <= 0
215 || properties.getScaleX() == 0
216 || properties.getScaleY() == 0) {
220 if (properties.getLeft() != 0 || properties.getTop() != 0) {
221 mCanvasState.translate(properties
398 auto& properties = node.properties(); local
[all...]
/frameworks/av/drm/libmediadrm/
H A DDrmPluginPath.cpp21 #include <cutils/properties.h>
/frameworks/base/location/lib/java/com/android/location/provider/
H A DProviderPropertiesUnbundled.java40 private ProviderPropertiesUnbundled(ProviderProperties properties) { argument
41 mProperties = properties;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DExpandableViewState.java182 public void animateTo(View child, AnimationProperties properties) { argument
183 super.animateTo(child, properties);
188 AnimationFilter animationFilter = properties.getAnimationFilter();
192 startHeightAnimation(expandableView, properties);
199 startShadowAlphaAnimation(expandableView, properties);
206 startInsetAnimation(expandableView, properties);
219 properties.delay, properties.duration);
222 expandableView.setDark(this.dark, animationFilter.animateDark, properties.delay);
224 if (properties
234 startHeightAnimation(final ExpandableView child, AnimationProperties properties) argument
315 startShadowAlphaAnimation(final ExpandableView child, AnimationProperties properties) argument
378 startInsetAnimation(final ExpandableView child, AnimationProperties properties) argument
[all...]
H A DViewState.java37 * A state of a view. This can be used to apply a set of view properties to a view with
44 * Some animation properties that can be used to update running animations but not creating
261 * @param animationProperties the properties of the animation
324 private void startAlphaAnimation(final View child, AnimationProperties properties) { argument
332 AnimationFilter filter = properties.getAnimationFilter();
385 long newDuration = cancelAnimatorAndGetNewDuration(properties.duration, previousAnimator);
387 if (properties.delay > 0 && (previousAnimator == null
389 animator.setStartDelay(properties.delay);
391 AnimatorListenerAdapter listener = properties.getAnimationFinishListener();
411 private void startZTranslationAnimation(final View child, AnimationProperties properties) { argument
471 startXTranslationAnimation(final View child, AnimationProperties properties) argument
536 startYTranslationAnimation(final View child, AnimationProperties properties) argument
[all...]
/frameworks/base/core/jni/android/graphics/
H A DRtlProperties.h20 #include <cutils/properties.h>
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/writer/
H A DBRWriter.kt21 class BRWriter(properties: Set<String>, val useFinal : Boolean) {
22 val indexedProps = properties.sorted().withIndex()
/frameworks/native/services/surfaceflinger/
H A DStartPropertySetThread.cpp17 #include <cutils/properties.h>
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/animation/
H A DAppearAnimationUtils.java74 AppearAnimationProperties properties = getDelays(objects);
75 startAnimations(properties, objects, finishListener, creator);
80 AppearAnimationProperties properties = getDelays(objects);
81 startAnimations(properties, objects, finishListener, creator);
84 private <T> void startAnimations(AppearAnimationProperties properties, T[] objects, argument
86 if (properties.maxDelayRowIndex == -1 || properties.maxDelayColIndex == -1) {
90 for (int row = 0; row < properties.delays.length; row++) {
91 long[] columns = properties.delays[row];
94 if (properties
107 startAnimations(AppearAnimationProperties properties, T[][] objects, final Runnable finishListener, AppearAnimationCreator<T> creator) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DFlingAnimationUtils.java137 AnimatorProperties properties = getProperties(currValue, endValue, velocity,
139 animator.setDuration(properties.duration);
140 animator.setInterpolator(properties.interpolator);
156 AnimatorProperties properties = getProperties(currValue, endValue, velocity,
158 animator.setDuration(properties.duration);
159 animator.setInterpolator(properties.interpolator);
222 AnimatorProperties properties = getDismissingProperties(currValue, endValue, velocity,
224 animator.setDuration(properties.duration);
225 animator.setInterpolator(properties.interpolator);
242 AnimatorProperties properties
[all...]
/frameworks/native/services/surfaceflinger/tests/hwc2/
H A DHwc2TestClientTarget.cpp66 for (auto property : properties) {
75 for (auto property : properties) {
82 for (auto property : properties) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DPropertyAnimator.java33 * An animator to animate properties
39 AnimationProperties properties) {
50 AnimationFilter filter = properties.getAnimationFilter();
75 Interpolator customInterpolator = properties.getCustomInterpolator(view, property);
79 long newDuration = ViewState.cancelAnimatorAndGetNewDuration(properties.duration,
82 if (properties.delay > 0 && (previousAnimator == null
84 animator.setStartDelay(properties.delay);
86 AnimatorListenerAdapter listener = properties.getAnimationFinishListener();
37 startAnimation(final T view, AnimatableProperty animatableProperty, float newEndValue, AnimationProperties properties) argument
/frameworks/base/core/tests/coretests/src/android/animation/
H A DAutoCancelTest.java42 ObjectAnimator setupAnimator(long startDelay, String... properties) { argument
44 if (properties.length == 1) {
45 returnVal = ObjectAnimator.ofFloat(this, properties[0], 0, 1);
47 PropertyValuesHolder[] pvhArray = new PropertyValuesHolder[properties.length];
48 for (int i = 0; i < properties.length; i++) {
49 pvhArray[i] = PropertyValuesHolder.ofFloat(properties[i], 0, 1);
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/
H A DProcessBindable.java110 HashSet<String> properties = new HashSet<String>();
111 mProperties.captureProperties(properties);
114 intermediate.captureProperties(properties);
117 BRWriter brWriter = new BRWriter(properties, useFinalFields);
119 //writeBRClass(useFinalFields, pkg, properties);
231 void captureProperties(Set<String> properties); argument
252 public void captureProperties(Set<String> properties) { argument
254 properties.addAll(propertySet);
260 HashSet<String> properties = mProperties.get(className);
261 if (properties
[all...]
/frameworks/av/services/mediadrm/
H A Dmain_mediadrmserver.cpp27 #include <cutils/properties.h>
/frameworks/av/services/soundtrigger/
H A DSoundTriggerHalLegacy.h30 virtual int getProperties(struct sound_trigger_properties *properties);
/frameworks/native/vulkan/nulldrv/
H A Dnull_driver.cpp264 VkExtensionProperties* properties) {
277 if (!properties || *count > kExtensionsCount)
279 if (properties)
280 std::copy(kExtensions, kExtensions + *count, properties);
354 VkLayerProperties* /*properties*/) {
363 VkExtensionProperties* properties) {
379 if (!properties || *count > kExtensionsCount)
381 if (properties)
382 std::copy(kExtensions, kExtensions + *count, properties);
387 VkPhysicalDeviceProperties* properties) {
261 EnumerateInstanceExtensionProperties( const char* layer_name, uint32_t* count, VkExtensionProperties* properties) argument
360 EnumerateDeviceExtensionProperties(VkPhysicalDevice , const char* layer_name, uint32_t* count, VkExtensionProperties* properties) argument
386 GetPhysicalDeviceProperties(VkPhysicalDevice, VkPhysicalDeviceProperties* properties) argument
513 GetPhysicalDeviceProperties2KHR(VkPhysicalDevice physical_device, VkPhysicalDeviceProperties2KHR* properties) argument
540 GetPhysicalDeviceQueueFamilyProperties( VkPhysicalDevice, uint32_t* count, VkQueueFamilyProperties* properties) argument
555 GetPhysicalDeviceQueueFamilyProperties2KHR(VkPhysicalDevice physical_device, uint32_t* count, VkQueueFamilyProperties2KHR* properties) argument
561 GetPhysicalDeviceMemoryProperties( VkPhysicalDevice, VkPhysicalDeviceMemoryProperties* properties) argument
576 GetPhysicalDeviceMemoryProperties2KHR(VkPhysicalDevice physical_device, VkPhysicalDeviceMemoryProperties2KHR* properties) argument
[all...]
/frameworks/rs/
H A DrsDefines.h493 static inline uint32_t getGlobalRsType(uint32_t properties) { argument
494 return properties & RS_GLOBAL_TYPE;
496 static inline bool isGlobalConstant(uint32_t properties) { argument
497 return properties & RS_GLOBAL_CONSTANT;
499 static inline bool isGlobalStatic(uint32_t properties) { argument
500 return properties & RS_GLOBAL_STATIC;
502 static inline bool isGlobalPointer(uint32_t properties) { argument
503 return properties & RS_GLOBAL_POINTER;

Completed in 614 milliseconds

1234567891011>>