/aosp14/frameworks/base/core/java/com/android/internal/util/ |
H A D | TypedProperties.java | 435 Object value = super.get(property); in getBoolean() 455 Object value = super.get(property); in getByte() 611 public byte getByte(String property) { in getByte() argument 612 return getByte(property, (byte)0); in getByte() 635 public int getInt(String property) { in getInt() argument 636 return getInt(property, 0); in getInt() 647 public long getLong(String property) { in getLong() argument 648 return getLong(property, 0L); in getLong() 660 return getFloat(property, 0.0f); in getFloat() 672 return getDouble(property, 0.0); in getDouble() [all …]
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/ |
H A D | PhysicsAnimationLayout.java | 291 mLayout.mEndActionForProperty.remove(property); 321 setUpAnimationsForProperty(property); 511 setUpAnimationForChild(property, child); 572 property, nextAnimInChain); 615 this.mProperty = property; 731 public PhysicsPropertyAnimator property( 733 mAnimatedProperties.put(property, value); 971 property.setValue(mView, mInitialPropertyValues.get(property)); 976 property, 978 mAnimatedProperties.get(property), [all …]
|
H A D | StackAnimationController.java | 446 DynamicAnimation.ViewProperty property, 495 cancelStackPositionAnimation(property); 659 cancelStackPositionAnimation(property); in springFirstBubbleWithStackFollowing() 676 if (property.equals(DynamicAnimation.TRANSLATION_X) in getNextAnimationInChain() 687 if (property.equals(DynamicAnimation.TRANSLATION_Y)) { in getOffsetForChainedPropertyAnimation() 897 property.setValue(mLayout.getChildAt(0), value); in moveFirstBubbleWithStackFollowing() 901 .property(property, newValue) in moveFirstBubbleWithStackFollowing() 990 if (mStackPositionAnimations.containsKey(property)) { in cancelStackPositionAnimation() 991 mStackPositionAnimations.get(property).cancel(); in cancelStackPositionAnimation() 1066 super(property.toString()); in StackPositionProperty() [all …]
|
/aosp14/system/core/rootdir/ |
H A D | init.usb.configfs.rc | 1 on property:sys.usb.config=none && property:sys.usb.configfs=1 17 on property:sys.usb.config=adb && property:sys.usb.configfs=1 20 on property:sys.usb.ffs.ready=1 && property:sys.usb.config=adb && property:sys.usb.configfs=1 26 on property:sys.usb.config=mtp && property:sys.usb.configfs=1 32 on property:sys.usb.config=mtp,adb && property:sys.usb.configfs=1 35 on property:sys.usb.ffs.ready=1 && property:sys.usb.config=mtp,adb && property:sys.usb.configfs=1 42 on property:sys.usb.config=ptp && property:sys.usb.configfs=1 51 on property:sys.usb.ffs.ready=1 && property:sys.usb.config=ptp,adb && property:sys.usb.configfs=1 67 on property:sys.usb.ffs.ready=1 && property:sys.usb.config=accessory,adb && property:sys.usb.config… 117 on property:sys.usb.ffs.ready=1 && property:sys.usb.config=midi,adb && property:sys.usb.configfs=1 [all …]
|
H A D | init-debug.rc | 1 on property:persist.mmc.max_read_speed=* 4 on property:persist.mmc.max_write_speed=* 7 on property:persist.mmc.cache_size=* 10 on early-init && property:ro.product.debugfs_restrictions.enabled=true 14 on property:sys.boot_completed=1 && property:ro.product.debugfs_restrictions.enabled=true && \ 15 property:persist.dbg.keep_debugfs_mounted=""
|
H A D | init.usb.rc | 22 on property:vendor.sys.usb.adb.disabled=* 31 on property:sys.usb.config=none && property:sys.usb.configfs=0 40 on property:sys.usb.config=adb && property:sys.usb.configfs=0 50 on property:sys.usb.config=accessory && property:sys.usb.configfs=0 59 on property:sys.usb.config=accessory,adb && property:sys.usb.configfs=0 69 on property:sys.usb.config=audio_source && property:sys.usb.configfs=0 78 on property:sys.usb.config=audio_source,adb && property:sys.usb.configfs=0 88 on property:sys.usb.config=accessory,audio_source && property:sys.usb.configfs=0 97 on property:sys.usb.config=accessory,audio_source,adb && property:sys.usb.configfs=0 116 on property:sys.usb.typec.mode=dfp [all …]
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/animation/ |
H A D | PhysicsAnimator.kt | 173 property: FloatPropertyCompat<in T>, 183 springConfigs[property] = 195 property: FloatPropertyCompat<in T>, 211 property: FloatPropertyCompat<in T>, 611 property, 612 { configureDynamicAnimation(SpringAnimation(target, property), property) 619 property, 620 { configureDynamicAnimation(FlingAnimation(target, property), property) 722 UpdateMap<T>().also { it[property] = undispatchedUpdates[property] }) 791 for (property in properties) { [all …]
|
H A D | PhysicsAnimatorTestUtils.kt | 122 for (property in properties) { 123 if (animator.isPropertyAnimating(property)) { 124 animatingProperties.add(property) 134 property: FloatPropertyCompat<in T>, 141 if (animatingProperties.contains(property)) { 249 property: FloatPropertyCompat<in T>, 255 if (!updateFrames.containsKey(property)) { 289 getAnimationUpdateFrames(animator).remove(property) 315 property: FloatPropertyCompat<in T>, 417 values.forEach { (property, value) -> [all …]
|
/aosp14/frameworks/base/tools/processors/view_inspector/src/java/android/processor/view/inspector/ |
H A D | InspectionCompanionGenerator.java | 187 fields.put(property, FieldSpec in generateIdFieldSpecs() 232 switch (property.getType()) { in generateMapProperties() 235 property, in generateMapProperties() 241 property, in generateMapProperties() 269 @NonNull Property property, in generateSimplePropertyMapperInvocation() 277 property.getName(), in generateSimplePropertyMapperInvocation() 300 @NonNull Property property, in generateIntEnumPropertyMapperInvocation() 325 property.getName(), in generateIntEnumPropertyMapperInvocation() 350 @NonNull Property property, in generateIntFlagPropertyMapperInvocation() 375 property.getName(), in generateIntFlagPropertyMapperInvocation() [all …]
|
/aosp14/frameworks/base/media/java/android/mtp/ |
H A D | MtpPropertyGroup.java | 183 for (Property property : mProperties) { in getPropertyList() 201 switch (property.code) { in getPropertyList() 204 list.append(id, property.code, property.type, 0); in getPropertyList() 218 list.append(id, property.code, property.type, object.getStorageId()); in getPropertyList() 221 list.append(id, property.code, property.type, object.getFormat()); in getPropertyList() 224 list.append(id, property.code, property.type, object.getSize()); in getPropertyList() 227 list.append(id, property.code, property.type, in getPropertyList() 235 list.append(id, property.code, property.type, puid); in getPropertyList() 264 switch(property.type) { in getPropertyList() 266 list.append(id, property.code, property.type, 0); in getPropertyList() [all …]
|
/aosp14/frameworks/base/tools/processors/view_inspector/test/java/android/processor/view/inspector/ |
H A D | InspectionCompanionGeneratorTest.java | 85 final Property property = addProperty( in testNoAttributeId() local 90 mModel.putProperty(property); in testNoAttributeId() 97 final Property property = addProperty( in testSuppliedAttributeId() local 101 property.setAttributeId(0xdecafbad); in testSuppliedAttributeId() 108 final Property property = addProperty( in testIntEnum() local 113 property.setIntEnumEntries(Arrays.asList( in testIntEnum() 118 mModel.putProperty(property); in testIntEnum() 125 final Property property = addProperty( in testIntFlag() local 131 property.setIntFlagEntries(Arrays.asList( in testIntFlag() 152 mModel.putProperty(property); in addProperty() [all …]
|
/aosp14/system/core/llkd/ |
H A D | llkd.rc | 2 on property:ro.debuggable=* 6 on property:ro.llk.enable=true 9 on property:llk.enable=1 12 on property:llk.enable=0 15 on property:ro.khungtask.enable=true 18 on property:khungtask.enable=1 21 on property:khungtask.enable=0 25 on property:khungtask.enable=true 31 on property:khungtask.enable=false 34 on property:llk.enable=true
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
H A D | PropertyAnimator.java | 60 Property<T, Float> property = animatableProperty.getProperty(); in startAnimation() local 71 if (filter == null || !filter.shouldAnimateProperty(property)) { in startAnimation() 86 property.set(view, newEndValue); in startAnimation() 91 Float currentValue = property.get(view); in startAnimation() 105 animation -> property.set(view, (Float) animation.getAnimatedValue())); in startAnimation() 137 cancelAnimation(view, property); in applyImmediately() 138 property.getProperty().set(view, newValue); in applyImmediately() 141 public static void cancelAnimation(View view, AnimatableProperty property) { in cancelAnimation() argument 142 ValueAnimator animator = (ValueAnimator) view.getTag(property.getAnimatorTag()); in cancelAnimation() 148 public static boolean isAnimating(View view, AnimatableProperty property) { in isAnimating() argument [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | TouchAnimator.java | 148 public Builder addInt(Object target, String property, int... values) { in addInt() argument 160 switch (property) { in getProperty() 184 return Property.of(target.getClass(), cls, property); in getProperty() 232 public static KeyframeSet ofInt(Property property, int... values) { in ofInt() argument 233 return new IntKeyframeSet((Property<?, Integer>) property, values); in ofInt() 236 public static KeyframeSet ofFloat(Property property, float... values) { in ofFloat() argument 237 return new FloatKeyframeSet((Property<?, Float>) property, values); in ofFloat() 245 public FloatKeyframeSet(Property<T, Float> property, float[] values) { in FloatKeyframeSet() argument 247 mProperty = property; in FloatKeyframeSet() 263 public IntKeyframeSet(Property<T, Integer> property, int[] values) { in IntKeyframeSet() argument [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PackageProperty.java | 162 final Property property = iter.next(); in addProperties() local 163 final String propertyName = property.getName(); in addProperties() 175 packageProperties.add(property); in addProperties() 207 final Property property = iter.next(); in removeProperties() local 208 final String propertyName = property.getName(); in removeProperties() 221 packageProperties.remove(property); in removeProperties() 249 final Property property = propertyList.get(i); in getProperty() local 251 return property; in getProperty() 259 Property property = null; in getComponentProperty() local 269 if (property == null && mServiceProperties != null) { in getComponentProperty() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
H A D | AnimationProperties.java | 44 public boolean shouldAnimateProperty(Property property) { in getAnimationFilter() 53 public AnimatorListenerAdapter getAnimationFinishListener(Property property) { 66 cancelAction.accept(property); 73 endAction.accept(property); 103 public Interpolator getCustomInterpolator(View child, Property property) { 104 return mInterpolatorMap != null ? mInterpolatorMap.get(property) : null; 121 public AnimationProperties setCustomInterpolator(Property property, Interpolator interpolator) { 125 mInterpolatorMap.put(property, interpolator);
|
/aosp14/frameworks/base/core/java/android/view/ |
H A D | RenderNodeAnimator.java | 31 public RenderNodeAnimator(int property, float finalValue) { in RenderNodeAnimator() argument 32 super(property, finalValue); in RenderNodeAnimator() 35 public RenderNodeAnimator(CanvasProperty<Float> property, float finalValue) { in RenderNodeAnimator() argument 36 super(property, finalValue); in RenderNodeAnimator() 39 public RenderNodeAnimator(CanvasProperty<Paint> property, int paintField, float finalValue) { in RenderNodeAnimator() argument 40 super(property, paintField, finalValue); in RenderNodeAnimator()
|
/aosp14/frameworks/base/core/java/android/animation/ |
H A D | PropertyValuesHolder.java | 143 mProperty = property; in PropertyValuesHolder() 144 if (property != null) { in PropertyValuesHolder() 145 mPropertyName = property.getName(); in PropertyValuesHolder() 1048 public void setProperty(Property property) { in setProperty() argument 1049 mProperty = property; in setProperty() 1168 super(property); in IntPropertyValuesHolder() 1183 super(property); in IntPropertyValuesHolder() 1195 super.setProperty(property); in setProperty() 1315 super(property); in FloatPropertyValuesHolder() 1330 super(property); in FloatPropertyValuesHolder() [all …]
|
H A D | ObjectAnimator.java | 136 public void setProperty(@NonNull Property property) { in setProperty() argument 142 valuesHolder.setProperty(property); in setProperty() 147 mPropertyName = property.getName(); in setProperty() 149 mProperty = property; in setProperty() 223 private <T> ObjectAnimator(T target, Property<T, ?> property) { in ObjectAnimator() argument 225 setProperty(property); in ObjectAnimator() 290 ObjectAnimator anim = new ObjectAnimator(target, property); in ofInt() 422 ObjectAnimator animator = ofInt(target, property, values); in ofArgb() 488 public static <T> ObjectAnimator ofFloat(T target, Property<T, Float> property, in ofFloat() argument 490 ObjectAnimator anim = new ObjectAnimator(target, property); in ofFloat() [all …]
|
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/animation/ |
H A D | PhysicsAnimationLayoutTestCase.java | 118 for (DynamicAnimation.ViewProperty property : properties) { in waitForPropertyAnimations() 119 mLayout.setTestEndActionForProperty(animLatch::countDown, property); in waitForPropertyAnimations() 196 Runnable action, DynamicAnimation.ViewProperty property) { in setTestEndActionForProperty() argument 197 final Runnable realEndAction = mEndActionForProperty.get(property); in setTestEndActionForProperty() 198 mLayout.mEndActionForProperty.put(property, () -> { in setTestEndActionForProperty() 218 property, view, value, startVel, startDelay, stiffness, dampingRatio, in animateValueForChild() 256 int getNextAnimationInChain(DynamicAnimation.ViewProperty property, int index) { in getNextAnimationInChain() argument 257 return mWrappedController.getNextAnimationInChain(property, index); in getNextAnimationInChain() 261 float getOffsetForChainedPropertyAnimation(DynamicAnimation.ViewProperty property, in getOffsetForChainedPropertyAnimation() argument 267 SpringForce getSpringForce(DynamicAnimation.ViewProperty property, View view) { in getSpringForce() argument [all …]
|
/aosp14/frameworks/base/media/jni/ |
H A D | android_mtp_MtpDatabase.cpp | 448 static_cast<jint>(property), in getObjectPropertyValue() 598 if (!getObjectPropertyInfo(property, type)) in setObjectPropertyValue() 629 if (!getDevicePropertyInfo(property, type)) in getDevicePropertyValue() 694 if (!getDevicePropertyInfo(property, type)) in setDevicePropertyValue() 736 static_cast<jint>(property), in getObjectPropertyList() 1096 MtpObjectProperty property; member 1141 if (entry->property == property) { in getObjectPropertyInfo() 1153 if (entry->property == property) { in getDevicePropertyInfo() 1219 switch (property) { in getObjectPropertyDesc() 1288 (jint)property, mLongBuffer, mStringBuffer); in getDevicePropertyDesc() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
H A D | MenuAnimationController.java | 204 property.equals(DynamicAnimation.TRANSLATION_X) 208 property.equals(DynamicAnimation.TRANSLATION_X) 232 cancelAnimation(property); 233 mPositionAnimations.put(property, flingAnimation); 265 cancelAnimation(property); 266 mPositionAnimations.put(property, springAnimation); 331 if (!mPositionAnimations.containsKey(property)) { in cancelAnimation() 335 mPositionAnimations.get(property).cancel(); in cancelAnimation() 451 MenuPositionProperty(DynamicAnimation.ViewProperty property) { 452 super(property.toString()); [all …]
|
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/display/ |
H A D | SmallAreaDetectionControllerTest.java | 99 final String property = PKG_A + ":" + THRESHOLD_A + "," + PKG_B + ":" + THRESHOLD_B; in testUpdateAllowlist_validProperty() local 100 mSmallAreaDetectionController.updateAllowlist(property); in testUpdateAllowlist_validProperty() 110 final String property = PKG_A + "," + PKG_B + ":" + THRESHOLD_B; in testUpdateAllowlist_includeInvalidRow() local 111 mSmallAreaDetectionController.updateAllowlist(property); in testUpdateAllowlist_includeInvalidRow() 121 final String property = in testUpdateAllowlist_includeNotInstalledPkg() local 123 mSmallAreaDetectionController.updateAllowlist(property); in testUpdateAllowlist_includeNotInstalledPkg() 133 final String property = PKG_A; in testUpdateAllowlist_invalidProperty() local 134 mSmallAreaDetectionController.updateAllowlist(property); in testUpdateAllowlist_invalidProperty()
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/pkg/component/ |
H A D | ParsedComponentUtils.java | 106 final Property property = result.getResult(); in addMetaData() local 107 if (property != null) { in addMetaData() 108 component.setMetaData(property.toBundle(component.getMetaData())); in addMetaData() 120 final Property property = result.getResult(); in addProperty() local 121 if (property != null) { in addProperty() 122 component.addProperty(property); in addProperty() 124 return input.success(property); in addProperty()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
H A D | ReferenceExt.kt | 20 override fun getValue(thisRef: Any?, property: KProperty<*>): T? { 24 override fun setValue(thisRef: Any?, property: KProperty<*>, value: T?) { 42 override fun getValue(thisRef: Any?, property: KProperty<*>): T? { 46 override fun setValue(thisRef: Any?, property: KProperty<*>, value: T?) {
|