/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | WorkspaceAndHotseatScrim.java | 59 public static Property<WorkspaceAndHotseatScrim, Float> SCRIM_PROGRESS = 60 new Property<WorkspaceAndHotseatScrim, Float>(Float.TYPE, "scrimProgress") { 62 public Float get(WorkspaceAndHotseatScrim scrim) { 67 public void set(WorkspaceAndHotseatScrim scrim, Float value) { 72 public static Property<WorkspaceAndHotseatScrim, Float> SYSUI_PROGRESS = 73 new Property<WorkspaceAndHotseatScrim, Float>(Float.TYPE, "sysUiProgress") { 75 public Float get(WorkspaceAndHotseatScrim scrim) { 80 public void set(WorkspaceAndHotseatScrim scrim, Float value) { 85 private static Property<WorkspaceAndHotseatScrim, Float> SYSUI_ANIM_MULTIPLIER = 86 new Property<WorkspaceAndHotseatScrim, Float>(Float.TYPE, "sysUiAnimMultiplier") { [all …]
|
D | PreloadIconDrawable.java | 47 private static final Property<PreloadIconDrawable, Float> INTERNAL_STATE = 48 new Property<PreloadIconDrawable, Float>(Float.TYPE, "internalStateProgress") { 50 public Float get(PreloadIconDrawable object) { 55 public void set(PreloadIconDrawable object, Float value) { 217 if (Float.compare(finalProgress, mInternalStateProgress) == 0) { in updateInternalState()
|
/packages/apps/Car/Cluster/src/android/car/cluster/sensors/ |
D | Sensors.java | 50 public static final Sensor<Float> SENSOR_FUEL = registerSensor( 52 value -> (Float) value.getValue()); 54 public static final Sensor<Float> SENSOR_FUEL_CAPACITY = registerSensor( 57 value -> (Float) value.getValue()); 59 public static final Sensor<Float> SENSOR_RPM = registerSensor( 62 value -> (Float) value.getValue()); 64 public static final Sensor<Float> SENSOR_FUEL_RANGE = registerSensor( 67 value -> (Float) value.getValue()); 69 public static final Sensor<Float> SENSOR_SPEED = registerSensor( 72 value -> (Float) value.getValue());
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | CarPropertyUtils.java | 55 } else if (Float.class == clazz) { in toCarPropertyValue() 64 } else if (Float[].class == clazz) { in toCarPropertyValue() 65 Float[] values = new Float[v.floatValues.size()]; in toCarPropertyValue() 113 } else if (o instanceof Float) { in toVehiclePropValue() 114 v.floatValues.add((Float) o); in toVehiclePropValue() 115 } else if (o instanceof Float[]) { in toVehiclePropValue() 116 Collections.addAll(v.floatValues, (Float[]) o); in toVehiclePropValue() 170 } else if (classMatched(Float.class, clazz)) { in toCarPropertyConfig() 175 classMatched(Float[].class, clazz) || in toCarPropertyConfig() 216 return Float.class; in getJavaClass() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/keyboard/ |
D | FocusIndicatorHelper.java | 45 public static final Property<FocusIndicatorHelper, Float> ALPHA = 46 new Property<FocusIndicatorHelper, Float>(Float.TYPE, "alpha") { 48 public void set(FocusIndicatorHelper object, Float value) { 53 public Float get(FocusIndicatorHelper object) { 58 public static final Property<FocusIndicatorHelper, Float> SHIFT = 59 new Property<FocusIndicatorHelper, Float>( 60 Float.TYPE, "shift") { 63 public void set(FocusIndicatorHelper object, Float value) { 68 public Float get(FocusIndicatorHelper object) {
|
/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/dynamicui/ |
D | ColorExtractionAlgorithm.java | 116 Float.NEGATIVE_INFINITY, Float.POSITIVE_INFINITY); in extractInto() 215 float minError = Float.POSITIVE_INFINITY; in bestFit() 240 float error = Float.POSITIVE_INFINITY; in findTonalPalette() 302 float minHue = Float.POSITIVE_INFINITY; in TonalPalette() 303 float maxHue = Float.NEGATIVE_INFINITY; in TonalPalette() 747 private Range<Float> mHue; 748 private Range<Float> mSaturation; 749 private Range<Float> mLightness; 751 ColorRange(Range<Float> hue, Range<Float> saturation, Range<Float> lightness) { in ColorRange()
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarPropertyConfigTest.java | 32 private CarPropertyConfig<Float> createFloatPropertyConfig() { in createFloatPropertyConfig() 33 CarPropertyConfig<Float> config = CarPropertyConfig in createFloatPropertyConfig() 34 .newBuilder(Float.class, FLOAT_PROPERTY_ID, CAR_AREA_TYPE) in createFloatPropertyConfig() 41 assertEquals(Float.class, config.getPropertyType()); in createFloatPropertyConfig() 55 CarPropertyConfig<Float> config = createFloatPropertyConfig(); in testWriteReadFloat() 58 CarPropertyConfig<Float> configRead = readFromParcel(); in testWriteReadFloat() 62 assertEquals(Float.class, configRead.getPropertyType()); in testWriteReadFloat() 143 CarPropertyConfig<Float> config = createFloatPropertyConfig(); in testWriteReadUnexpectedType()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | MultiValueAlpha.java | 29 public static final Property<AlphaProperty, Float> VALUE = 30 new Property<AlphaProperty, Float>(Float.TYPE, "value") { 33 public Float get(AlphaProperty alphaProperty) { 38 public void set(AlphaProperty object, Float value) { 110 return Float.toString(mValue); in toString()
|
/packages/modules/ExtServices/src/android/ext/services/resolver/ |
D | LRResolverRankerService.java | 60 private ArrayMap<String, Float> mFeatureWeights; 74 ArrayMap<String, Float> features = getFeatures(target); in onPredictSharingProbabilities() 88 final ArrayMap<String, Float> positive = getFeatures(targets.get(selectedPosition)); in onTrainRankingModel() 95 final ArrayMap<String, Float> negative = getFeatures(targets.get(i)); in onTrainRankingModel() 128 private ArrayMap<String, Float> getFeatures(ResolverTarget target) { in getFeatures() 129 ArrayMap<String, Float> features = new ArrayMap<>(4); in getFeatures() 137 private float predict(ArrayMap<String, Float> target) { in predict() 151 private void update(ArrayMap<String, Float> target, float predict, boolean isSelected) { in update()
|
/packages/services/Car/car-lib/src/com/android/car/internal/ |
D | CarRatedFloatListeners.java | 33 private final Map<T, Float> mListenersToRate = new HashMap<>(4); 66 Float updateRate = Collections.max(mListenersToRate.values()); in remove() 86 Float oldUpdateRate = mListenersToRate.put(listener, updateRate); in addAndUpdateRate() 92 Float newUpdateRate = Collections.max(mListenersToRate.values()); in addAndUpdateRate() 110 Float updateRate = mListenersToRate.get(listener); in needUpdate() 116 Float cycle = NANOSECOND_PER_SECOND / updateRate; in needUpdate()
|
/packages/apps/Camera2/src/com/android/camera/settings/ |
D | ResolutionUtil.java | 69 private static Float[] sDesiredAspectRatios = { 82 public Float aspectRatio; 133 List<Float> sortedDesiredAspectRatios = new ArrayList<Float>(); in getDisplayableSizesFromSupported() 141 Float aspectRatio = bucket.aspectRatio; in getDisplayableSizesFromSupported() 149 for (Float targetRatio : sortedDesiredAspectRatios) { in getDisplayableSizesFromSupported() 241 … HashMap<Float, ResolutionBucket> aspectRatioToBuckets = new HashMap<Float, ResolutionBucket>(); in parseAvailableSizes() 244 Float aspectRatio = (float) size.getWidth() / (float) size.getHeight(); in parseAvailableSizes()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | BubbleTextView.java | 76 private static final Property<BubbleTextView, Float> DOT_SCALE_PROPERTY 77 = new Property<BubbleTextView, Float>(Float.TYPE, "dotScale") { 79 public Float get(BubbleTextView bubbleTextView) { 84 public void set(BubbleTextView bubbleTextView, Float value) { 90 public static final Property<BubbleTextView, Float> TEXT_ALPHA_PROPERTY 91 = new Property<BubbleTextView, Float>(Float.class, "textAlpha") { 93 public Float get(BubbleTextView bubbleTextView) { 98 public void set(BubbleTextView bubbleTextView, Float alpha) { 470 if (Float.compare(mTextAlpha, 1) == 0) { in setTextColor()
|
D | InterruptibleInOutAnimator.java | 37 private static final Property<InterruptibleInOutAnimator, Float> VALUE = 38 new Property<InterruptibleInOutAnimator, Float>(Float.TYPE, "value") { 40 public Float get(InterruptibleInOutAnimator anim) { 45 public void set(InterruptibleInOutAnimator anim, Float value) {
|
/packages/apps/Car/Hvac/src/com/android/car/hvac/ |
D | HvacPolicy.java | 52 mMaxHardwareTemp = Float.MAX_VALUE; in HvacPolicy() 53 mMinHardwareTemp = -Float.MAX_VALUE; in HvacPolicy() 55 Float newValue = (Float) config.getMaxValue(areaId); in HvacPolicy() 59 newValue = (Float) config.getMinValue(areaId); in HvacPolicy()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/ |
D | ClearAllButton.java | 30 public static final Property<ClearAllButton, Float> VISIBILITY_ALPHA = 31 new Property<ClearAllButton, Float>(Float.class, "visibilityAlpha") { 33 public Float get(ClearAllButton view) { 38 public void set(ClearAllButton view, Float visibilityAlpha) {
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/query/ |
D | DatabaseResultTask.java | 130 FutureTask<List<Pair<String, Float>>> rankerTask = mFeatureProvider.getRankerTask( in query() 149 List<Pair<String, Float>> searchRankScores = rankerTask.get(timeoutMs, in query() 306 final List<Pair<String, Float>> searchRankScores) { in getDynamicRankedResults() 333 Float getRankingScoreByKey(List<Pair<String, Float>> searchRankScores, String key) { in getRankingScoreByKey() 334 for (Pair<String, Float> rankingScore : searchRankScores) { in getRankingScoreByKey() 342 return -Float.MAX_VALUE; in getRankingScoreByKey()
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
D | EndianUtils.java | 97 return Float.intBitsToFloat( swapInteger( Float.floatToIntBits( value ) ) ); in swapFloat() 241 writeSwappedInteger( data, offset, Float.floatToIntBits( value ) ); in writeSwappedFloat() 252 return Float.intBitsToFloat( readSwappedInteger( data, offset ) ); in readSwappedFloat() 430 writeSwappedInteger( output, Float.floatToIntBits( value ) ); in writeSwappedFloat() 443 return Float.intBitsToFloat( readSwappedInteger( input ) ); in readSwappedFloat()
|
/packages/apps/Camera2/src/com/android/camera/stats/ |
D | CaptureSessionStatsCollector.java | 38 protected Float mZoom = new Float(0.0f); 45 protected Float mTimerSeconds; 49 protected Float mLensFocusDistance; 156 Float processingTime = (getElapsedRealTime() - mCaptureTimeMillis) / 1000f; in photoCaptureDoneEvent()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | ControlPoint.java | 41 if (Float.floatToIntBits(x) != Float.floatToIntBits(other.x)) { in sameValues() 44 if (Float.floatToIntBits(y) != Float.floatToIntBits(other.y)) { in sameValues()
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | AbstractSlideInView.java | 43 protected static Property<AbstractSlideInView, Float> TRANSLATION_SHIFT = 44 new Property<AbstractSlideInView, Float>(Float.class, "translationShift") { 47 public Float get(AbstractSlideInView view) { 52 public void set(AbstractSlideInView view, Float value) {
|
/packages/apps/Launcher3/src/com/android/launcher3/pageindicators/ |
D | WorkspacePageIndicator.java | 78 private static final Property<WorkspacePageIndicator, Float> NUM_PAGES 79 = new Property<WorkspacePageIndicator, Float>(Float.class, "num_pages") { 81 public Float get(WorkspacePageIndicator obj) { 86 public void set(WorkspacePageIndicator obj, Float numPages) { 179 if (Float.compare(numMarkers, mNumPagesFloat) != 0) { in setMarkersCount()
|
D | PageIndicatorDots.java | 61 private static final Property<PageIndicatorDots, Float> CURRENT_POSITION 62 = new Property<PageIndicatorDots, Float>(float.class, "current_position") { 64 public Float get(PageIndicatorDots obj) { 69 public void set(PageIndicatorDots obj, Float pos) { 152 if (mAnimator == null && Float.compare(mCurrentPosition, mFinalPosition) != 0) { in animateToPosition() 196 mEntryAnimationRadiusFactors[index] = (Float) animation.getAnimatedValue(); in playEntryAnimation()
|
/packages/apps/Camera2/src_pd/com/android/camera/stats/ |
D | UsageStatistics.java | 76 Float timerSeconds, Float processingTime, in photoCaptureDoneEvent() 78 List<Camera2FaceProxy> faces, Float lensDistance, in photoCaptureDoneEvent() 92 public void tapToFocus(TouchCoordinate touch, Float duration) { in tapToFocus()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
D | TransitionUtils.java | 46 animator.setIntValues(Float.valueOf(startAlpha.getFloat() * 255).intValue(), in createActivityFadeInAnimator() 47 Float.valueOf(endAlpha.getFloat() * 255).intValue()); in createActivityFadeInAnimator() 66 animator.setIntValues(Float.valueOf(startAlpha.getFloat() * 255).intValue(), in createActivityFadeOutAnimator() 67 Float.valueOf(endAlpha.getFloat() * 255).intValue()); in createActivityFadeOutAnimator()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | TypefaceUtils.java | 33 private static final SparseArray<Float> sTextHeightCache = new SparseArray<>(); 40 final Float cachedValue = sTextHeightCache.get(key); in getCharHeight() 53 private static final SparseArray<Float> sTextWidthCache = new SparseArray<>(); 60 final Float cachedValue = sTextWidthCache.get(key); in getCharWidth()
|