Searched defs:property (Results 26 - 50 of 83) sorted by relevance

1234

/frameworks/base/services/core/java/com/android/server/display/
H A DRampAnimator.java24 * A custom animator that progressively updates a property value at
44 public RampAnimator(T object, IntProperty<T> property) { argument
46 mProperty = property;
53 * If this is the first time the property is being set or if the rate is 0,
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardParserImpl_V30.java168 protected void handleParamWithoutName(VCardProperty property, final String paramValue) { argument
169 handleType(property, paramValue);
185 protected void handleType(VCardProperty property, final String paramValue) { argument
186 splitAndPutParam(property, VCardConstants.PARAM_TYPE, paramValue);
201 private void splitAndPutParam(VCardProperty property, String paramName, String paramValue) { argument
218 property.addParameter(paramName, encodeParamValue(builder.toString()));
226 Log.w(LOG_TAG, "Unexpected Dquote inside property.");
231 property.addParameter(paramName, encodeParamValue(builder.toString()));
241 property.addParameter(paramName, encodeParamValue(builder.toString()));
263 property
277 handleAgent(VCardProperty property) argument
[all...]
/frameworks/support/dynamic-animation/src/android/support/animation/
H A DFlingAnimation.java55 * @param floatValueHolder the property to be animated
63 * This creates a FlingAnimation that animates the property of the given object.
65 * @param object the Object whose property will be animated
66 * @param property the property to be animated
67 * @param <K> the class on which the property is declared
69 public <K> FlingAnimation(K object, FloatPropertyCompat<K> property) { argument
70 super(object, property);
105 * @param minValue minimum value of the property to be animated
118 * @param maxValue maximum value of the property t
[all...]
/frameworks/base/cmds/idmap/
H A Dscan.cpp86 bool check_property(String16 property, String16 value) { argument
90 prop = strndup16to8(property.string(), property.size());
140 // Note that conditional property enablement/exclusion only applies if
143 // if property set & equal to value, then include overlay - otherwise skip
/frameworks/base/core/java/android/animation/
H A DObjectAnimator.java33 * as well as the name of the property that will be animated. Appropriate set/get functions
35 * animate the property.
77 * A weak reference to the target object on which the property exists, set
89 * Sets the name of the property that will be animated. This name is used to derive
91 * For example, a property name of <code>foo</code> will result
97 * name of the property being animated, use <code>float</code> or <code>int</code> typed values,
100 * property types and return types will work, but will have more overhead in processing
103 * <p>Note that the setter function derived from this property name
112 * @param propertyName The name of the property being animated. Should not be null.
125 // New property/value
136 setProperty(@onNull Property property) argument
223 ObjectAnimator(T target, Property<T, ?> property) argument
289 ofInt(T target, Property<T, Integer> property, int... values) argument
420 ofArgb(T target, Property<T, Integer> property, int... values) argument
488 ofFloat(T target, Property<T, Float> property, float... values) argument
666 ofObject(T target, Property<T, V> property, TypeEvaluator<V> evaluator, V... values) argument
701 ofObject(T target, Property<T, P> property, TypeConverter<V, P> converter, TypeEvaluator<V> evaluator, V... values) argument
728 ofObject(T target, @NonNull Property<T, V> property, @Nullable TypeConverter<PointF, V> converter, Path path) argument
[all...]
H A DPropertyValuesHolder.java33 * This class holds information about a property and the values that that property
41 * The name of the property associated with the values. This need not be a real property,
54 * PropertyValuesHolder, since it holds all of the per-property information. This
55 * property is automatically
62 * PropertyValuesHolder, since it holds all of the per-property information. This
63 * property is automatically
99 // These maps hold all property entries for a particular class. This map
100 // is used to speed up property/sette
142 PropertyValuesHolder(Property property) argument
167 ofInt(Property<?, Integer> property, int... values) argument
286 ofFloat(Property<?, Float> property, float... values) argument
454 ofObject(Property property, TypeEvaluator<V> evaluator, V... values) argument
487 ofObject(Property<?, V> property, TypeConverter<T, V> converter, TypeEvaluator<T> evaluator, T... values) argument
512 ofObject(Property<?, V> property, TypeConverter<PointF, V> converter, Path path) argument
561 ofKeyframe(Property property, Keyframe... values) argument
580 ofKeyframes(Property property, Keyframes keyframes) argument
1048 setProperty(Property property) argument
1167 IntPropertyValuesHolder(Property property, Keyframes.IntKeyframes keyframes) argument
1182 IntPropertyValuesHolder(Property property, int... values) argument
1191 setProperty(Property property) argument
1314 FloatPropertyValuesHolder(Property property, Keyframes.FloatKeyframes keyframes) argument
1329 FloatPropertyValuesHolder(Property property, float... values) argument
1338 setProperty(Property property) argument
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DTypedProperties.java45 * - property names: [._$a-zA-Z0-9]
144 /* A property name must be a valid fully-qualified class + package name.
177 // Read the property name.
180 throw new ParseException(st, "property name");
184 throw new ParseException(st, "valid property name");
207 // the same property is defined with a different type.
210 "(property previously declared as a different type)");
313 // This property is a float; make sure the value fits.
322 // This property is a double; no need to truncate.
355 * &lt;type&gt; &lt;property
419 TypeException(String property, Object value, String requestedType) argument
434 getBoolean(String property, boolean def) argument
454 getByte(String property, byte def) argument
474 getShort(String property, short def) argument
494 getInt(String property, int def) argument
514 getLong(String property, long def) argument
534 getFloat(String property, float def) argument
554 getDouble(String property, double def) argument
574 getString(String property, String def) argument
599 getBoolean(String property) argument
611 getByte(String property) argument
623 getShort(String property) argument
635 getInt(String property) argument
647 getLong(String property) argument
659 getFloat(String property) argument
671 getDouble(String property) argument
683 getString(String property) argument
702 getStringInfo(String property) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DDrawableHolder.java61 * Adds an animation that interpolates given property from its current value
66 * @param property the property to animate
71 String property, float toValue, boolean replace) {
73 if (replace) removeAnimationFor(property);
75 ObjectAnimator anim = ObjectAnimator.ofFloat(this, property, toValue);
85 * Stops all animations for the given property and removes it from the list.
87 * @param property
89 public void removeAnimationFor(String property) { argument
92 if (property
70 addAnimTo(long duration, long delay, String property, float toValue, boolean replace) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_RenderNodeAnimator.cpp95 static inline RenderPropertyAnimator::RenderProperty toRenderProperty(jint property) { argument
96 LOG_ALWAYS_FATAL_IF(property < 0 || property > RenderPropertyAnimator::ALPHA,
97 "Invalid property %d", property);
98 return static_cast<RenderPropertyAnimator::RenderProperty>(property);
110 RenderPropertyAnimator::RenderProperty property = toRenderProperty(propertyRaw); local
111 BaseRenderNodeAnimator* animator = new RenderPropertyAnimator(property, finalValue);
/frameworks/base/libs/hwui/
H A DAnimator.cpp332 RenderPropertyAnimator::RenderPropertyAnimator(RenderProperty property, float finalValue) argument
334 , mPropertyAccess(&(PROPERTY_ACCESSOR_LUT[property])) {
389 CanvasPropertyPrimitive* property, float finalValue)
391 , mProperty(property) {
411 CanvasPropertyPaint* property, PaintField field, float finalValue)
413 , mProperty(property)
388 CanvasPropertyPrimitiveAnimator( CanvasPropertyPrimitive* property, float finalValue) argument
410 CanvasPropertyPaintAnimator( CanvasPropertyPaint* property, PaintField field, float finalValue) argument
H A DProperties.cpp93 char property[PROPERTY_VALUE_MAX]; local
99 if (property_get(PROPERTY_DEBUG_OVERDRAW, property, nullptr) > 0) {
100 INIT_LOGD(" Overdraw debug enabled: %s", property);
101 if (!strcmp(property, "show")) {
104 } else if (!strcmp(property, "show_deuteranomaly")) {
111 if (property_get(PROPERTY_DEBUG_STENCIL_CLIP, property, nullptr) > 0) {
112 INIT_LOGD(" Stencil clip debug enabled: %s", property);
113 if (!strcmp(property, "hide")) {
115 } else if (!strcmp(property, "highlight")) {
117 } else if (!strcmp(property, "regio
[all...]
H A DVectorDrawable.cpp200 // Update staging property with property values from animation.
231 LOG_ALWAYS_FATAL("Error setting color property on FullPath: No valid property"
237 Property property = static_cast<Property>(propertyId); local
238 switch (property) {
258 LOG_ALWAYS_FATAL("Invalid property id: %d for animation", propertyId);
360 LOG_ALWAYS_FATAL("Invalid property index: %d", propertyId);
391 LOG_ALWAYS_FATAL("Invalid property index: %d", propertyId);
/frameworks/base/media/java/android/media/audiopolicy/
H A DAudioMixingRule.java270 * property to match against.
274 * @param property see the definition of each rule for the type to use (either an
281 public Builder addMixRule(int rule, Object property) throws IllegalArgumentException { argument
285 return checkAddRuleObjInternal(rule, property);
305 * @param property see the definition of each rule for the type to use (either an
311 public Builder excludeMixRule(int rule, Object property) throws IllegalArgumentException { argument
315 return checkAddRuleObjInternal(rule | RULE_EXCLUSION_MASK, property);
322 * @param property
326 private Builder checkAddRuleObjInternal(int rule, Object property) argument
328 if (property
[all...]
/frameworks/base/media/jni/
H A Dandroid_mtp_MtpServer.cpp144 android_mtp_MtpServer_send_device_property_changed(JNIEnv *env, jobject thiz, jint property) argument
150 server->sendDevicePropertyChanged(property);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DTouchAnimator.java131 public Builder addFloat(Object target, String property, float... values) { argument
132 add(target, KeyframeSet.ofFloat(getProperty(target, property, float.class), values));
136 public Builder addInt(Object target, String property, int... values) { argument
137 add(target, KeyframeSet.ofInt(getProperty(target, property, int.class), values));
146 private static Property getProperty(Object target, String property, Class<?> cls) { argument
148 switch (property) {
169 if (target instanceof TouchAnimator && "position".equals(property)) {
172 return Property.of(target.getClass(), cls, property);
221 public static KeyframeSet ofInt(Property property, int... values) { argument
222 return new IntKeyframeSet((Property<?, Integer>) property, value
225 ofFloat(Property property, float... values) argument
234 FloatKeyframeSet(Property<T, Float> property, float[] values) argument
252 IntKeyframeSet(Property<T, Integer> property, int[] values) argument
[all...]
/frameworks/native/include/input/
H A DKeyCharacterMap.h196 inline Property(int32_t property = 0, int32_t metaState = 0) :
197 property(property), metaState(metaState) { }
199 int32_t property; member in struct:android::KeyCharacterMap::Parser::Property
/frameworks/native/services/surfaceflinger/tests/hwc2/
H A DHwc2TestLayer.cpp21 Hwc2TestCoverage getCoverage(Hwc2TestPropertyName property, argument
24 auto exception = coverageExceptions.find(property);
69 for (auto property : mProperties) {
70 dmp << property->dump();
108 for (auto property : mProperties) {
109 property->reset();
115 for (auto property : mProperties) {
116 if (property->isSupported(mComposition.get()))
117 if (property->advance())
/frameworks/native/services/vr/virtual_touchpad/
H A DEvdevInjector.cpp96 int EvdevInjector::ConfigureInputProperty(int property) { argument
97 ALOGV("ConfigureInputProperty %d", property);
98 if (property < 0 || property >= INPUT_PROP_CNT) {
99 ALOGE("property 0x%X out of range [0,0x%X)", property, INPUT_PROP_CNT);
105 if (const int status = uinput_->IoctlSetInt(UI_SET_PROPBIT, property)) {
106 ALOGE("failed to set property %d", property);
/frameworks/support/v17/leanback/kitkat/android/support/v17/leanback/transition/
H A DSlideKitkat.java58 /** Returns the property to animate translation */
210 private Animator createAnimation(final View view, Property<View, Float> property, argument
215 start = View.TRANSLATION_Y == property ? startPosition[1] : startPosition[0];
218 final ObjectAnimator anim = ObjectAnimator.ofFloat(view, property, start, end);
220 SlideAnimatorListener listener = new SlideAnimatorListener(view, property, terminalValue, end,
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DParallax.java31 * rules to mapping property values to {@link ParallaxTarget}.
67 * Subclass must override {@link #updateValues()} to update property values and perform
81 * @param <PropertyT> Class of the property, e.g. {@link IntProperty} or {@link FloatProperty}.
86 public PropertyMarkerValue(PropertyT property) { argument
87 mProperty = property;
91 * @return Associated property.
99 * IntProperty provide access to an index based integer type property inside
232 IntPropertyMarkerValue(IntProperty property, int value) { argument
233 this(property, value, 0f);
236 IntPropertyMarkerValue(IntProperty property, in argument
384 FloatPropertyMarkerValue(FloatProperty property, float value) argument
388 FloatPropertyMarkerValue(FloatProperty property, float value, float fractionOfMax) argument
[all...]
/frameworks/base/libs/hwui/tests/common/
H A DTestUtils.h120 * Sets a property value temporarily, generally for the duration of a test, restoring the previous
128 ScopedProperty(T& property, T newValue) argument
129 : mPropertyPtr(&property)
130 , mOldValue(property) {
131 property = newValue;
214 // DeviceInfo::maxTextureSize() affects layer property
236 // DeviceInfo::maxTextureSize() affects layer property
265 // DeviceInfo::maxTextureSize() affects layer property
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DViewState.java254 public static boolean isAnimating(View view, PropertyAnimator.AnimatableProperty property) { argument
255 return getChildTag(view, property.getAnimatorTag()) != null;
406 private void updateAnimation(View view, PropertyAnimator.AnimatableProperty property, argument
408 PropertyAnimator.startAnimation(view, property, endValue, NO_NEW_ANIMATIONS);
/frameworks/av/media/mtp/
H A DMtpDevice.cpp263 MtpProperty* property = getDevicePropDesc(propCode); local
264 if (property)
265 mDeviceProperties.push(property);
290 MtpProperty* property = getDevicePropDesc(propCode); local
291 if (property) {
292 property->print();
293 delete property;
308 MtpProperty* property = getObjectPropDesc(prop, format); local
309 if (property) {
310 property
602 MtpProperty* property = new MtpProperty; local
623 MtpProperty* property = new MtpProperty; local
632 getObjectPropValue(MtpObjectHandle handle, MtpProperty* property) argument
[all...]
/frameworks/base/core/java/android/os/
H A DBuild.java38 /** Value used for when a build property is unknown. */
793 * Ensure that raw fingerprint system property is defined. If it was derived
795 * derived value into the property service.
804 Slog.e(TAG, "Failed to set fingerprint property", e);
951 private static String getString(String property) { argument
952 return SystemProperties.get(property, UNKNOWN);
955 private static String[] getStringList(String property, String separator) { argument
956 String value = SystemProperties.get(property);
964 private static long getLong(String property) { argument
966 return Long.parseLong(SystemProperties.get(property));
[all...]
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityWindowInfo.java642 * Gets the value of a boolean property.
644 * @param property The property.
647 private boolean getBooleanProperty(int property) { argument
648 return (mBooleanProperties & property) != 0;
652 * Sets a boolean property.
654 * @param property The property.
659 private void setBooleanProperty(int property, boolean value) { argument
661 mBooleanProperties |= property;
[all...]

Completed in 494 milliseconds

1234