/frameworks/base/location/java/android/location/ |
H A D | LocationProvider.java | 59 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 D | RenderNodeDrawable.cpp | 90 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 D | SkiaRenderPropertiesTests.cpp | 77 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 D | VectorDrawableTests.cpp | 351 //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/base/tools/layoutlib/bridge/src/android/os/ |
H A D | SystemProperties_Delegate.java | 43 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/av/drm/libmediadrm/ |
H A D | DrmPluginPath.cpp | 21 #include <cutils/properties.h>
|
/frameworks/base/libs/hwui/ |
H A D | RenderNode.cpp | 91 << (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 D | VectorDrawable.cpp | 127 const FullPathProperties& properties = useStagingData ? mStagingProperties : mProperties; local 128 bool setFillPath = properties.getFillGradient() != nullptr 129 || properties.getFillColor() != SK_ColorTRANSPARENT; 131 SkPath::FillType ft = static_cast<SkPath::FillType>(properties.getFillType()); 151 const FullPathProperties& properties = useStagingData ? mStagingProperties : mProperties; local 158 if (properties.getFillGradient() != nullptr) { 159 paint.setColor(applyAlpha(SK_ColorBLACK, properties.getFillAlpha())); 160 paint.setShader(sk_sp<SkShader>(SkSafeRef(properties.getFillGradient()))); 162 } else if (properties.getFillColor() != SK_ColorTRANSPARENT) { 163 paint.setColor(applyAlpha(properties 309 getLocalMatrix(SkMatrix* outMatrix, const GroupProperties& properties) argument [all...] |
H A D | FrameBuilder.cpp | 130 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/native/services/surfaceflinger/ |
H A D | StartBootAnimThread.cpp | 17 #include <cutils/properties.h>
|
/frameworks/base/location/lib/java/com/android/location/provider/ |
H A D | ProviderPropertiesUnbundled.java | 40 private ProviderPropertiesUnbundled(ProviderProperties properties) { argument 41 mProperties = properties;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
H A D | ExpandableViewState.java | 182 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 D | ViewState.java | 37 * 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 D | RtlProperties.h | 20 #include <cutils/properties.h>
|
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/writer/ |
H A D | BRWriter.kt | 21 class BRWriter(properties: Set<String>, val useFinal : Boolean) { 22 val indexedProps = properties.sorted().withIndex()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/animation/ |
H A D | AppearAnimationUtils.java | 74 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/av/radio/ |
H A D | IRadioService.cpp | 52 virtual status_t listModules(struct radio_properties *properties, argument 55 if (numModules == NULL || (*numModules != 0 && properties == NULL)) { 60 uint32_t numModulesReq = (properties == NULL) ? 0 : *numModules; 73 reply.read(properties, numModulesReq * sizeof(struct radio_properties)); 127 struct radio_properties *properties = local 130 if (properties == NULL) { 136 status_t status = listModules(properties, &numModules); 145 reply->write(properties, 148 free(properties);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | FlingAnimationUtils.java | 137 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 D | Hwc2TestClientTarget.cpp | 66 for (auto property : properties) { 75 for (auto property : properties) { 82 for (auto property : properties) {
|
/frameworks/av/services/radio/ |
H A D | HidlUtils.cpp | 77 void HidlUtils::convertPropertiesFromHal(radio_hal_properties_t *properties, argument 80 properties->class_id = static_cast<radio_class_t>(halProperties->classId); 81 strlcpy(properties->implementor, halProperties->implementor.c_str(), RADIO_STRING_LEN_MAX); 82 strlcpy(properties->product, halProperties->product.c_str(), RADIO_STRING_LEN_MAX); 83 strlcpy(properties->version, halProperties->version.c_str(), RADIO_STRING_LEN_MAX); 84 strlcpy(properties->serial, halProperties->serial.c_str(), RADIO_STRING_LEN_MAX); 85 properties->num_tuners = halProperties->numTuners; 86 properties->num_audio_sources = halProperties->numAudioSources; 87 properties->supports_capture = halProperties->supportsCapture; 88 properties [all...] |
H A D | RadioInterface.h | 34 * Retrieve implementation properties. 37 * - properties: where to return the module properties 43 virtual int getProperties(radio_hal_properties_t *properties) = 0;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
H A D | PropertyAnimator.java | 33 * 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 D | AutoCancelTest.java | 42 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 D | ProcessBindable.java | 110 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 D | main_mediadrmserver.cpp | 27 #include <cutils/properties.h>
|