/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/ |
D | RampDownAdapterTest.java | 50 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testPrebakedAndPrimitiveSegments_keepsListUnchanged() local 64 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testRampAndStepSegments_withNoOffSegment_keepsListUnchanged() local 80 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testRampAndStepSegments_withNoRampDownDuration_keepsOriginalSteps() local 96 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testStepSegments_withShortZeroSegment_replaceWithStepsDown() local 110 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testStepSegments_withLongZeroSegment_replaceWithStepsDownWithRemainingOffSegment() local 129 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testStepSegments_withZeroSegmentBeforeRepeat_fixesRepeat() local 148 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testStepSegments_withZeroSegmentAfterRepeat_preservesRepeat() local 164 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testStepSegments_withZeroSegmentAtRepeat_fixesRepeatAndAppendOriginalToListEnd() local 189 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testStepSegments_withRepeatToNonZeroSegment_keepsOriginalSteps() local 201 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testStepSegments_withRepeatToShortZeroSegment_skipAndAppendRampDown() local [all …]
|
D | PrimitiveDelayAdapterTest.java | 66 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testPrimitiveSegments_flagDisabled_keepsListUnchanged() local 80 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testNonPrimitiveSegments_keepsListUnchanged() local 97 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testPrimitiveWithPause_keepsListUnchanged() local 114 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testPrimitiveWithRelativeDelay_afterPrimitive_usesPrimitiveStartTimeForDelay() local 136 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testPrimitiveWithRelativeDelay_afterRepeatIndex_usesPauseAsFirstDelay() local 155 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testPrimitiveWithRelativeDelayAfter_afterStep_usesSegmentStartTimeForDelay() local 170 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testPrimitiveWithRelativeDelayAfter_afterUnknownDuration_usesZeroAsDuration() local
|
D | StepToRampAdapterTest.java | 64 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testRampAndPrebakedAndPrimitiveSegments_returnsOriginalSegments() local 83 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testStepAndRampSegments_withoutPwleCapability_keepsListUnchanged() local 97 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testStepAndRampSegments_withPwleCapabilityAndNoFrequency_keepsOriginalSteps() local 115 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testStepAndRampSegments_withPwleCapabilityAndStepNextToRamp_convertsStepsToRamps() local 145 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testStepSegments_withPwleCapabilityAndFrequency_convertsStepsToRamps() local
|
D | SplitPwleSegmentsAdapterTest.java | 63 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testSplitPwleSegmentsAdapter_withFeatureFlagDisabled_returnsOriginalSegments() local 83 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testSplitPwleSegmentsAdapter_noPwleCapability_returnsOriginalSegments() local 102 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testSplitPwleSegmentsAdapter_noMaxEnvelopeEffectSize_returnsOriginalSegments() local 120 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testSplitPwleSegmentsAdapter_withPwleCapability_adaptSegmentsCorrectly() local
|
D | BasicToPwleSegmentAdapterTest.java | 69 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testBasicPwleSegments_withFeatureFlagDisabled_returnsOriginalSegments() local 90 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testBasicPwleSegments_noPwleCapability_returnsOriginalSegments() local 110 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testBasicPwleSegments_invalidFrequencyProfile_returnsOriginalSegments() local 130 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testBasicPwleSegments_withPwleCapability_adaptSegmentsCorrectly() local
|
D | RampToStepAdapterTest.java | 65 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testStepAndPrebakedAndPrimitiveSegments_keepsListUnchanged() local 83 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testRampSegments_withPwleCapability_keepsListUnchanged() local 98 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testRampSegments_withoutPwleCapability_convertsRampsToSteps() local
|
D | SplitSegmentsAdapterTest.java | 68 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testStepAndPrebakedAndPrimitiveSegments_returnsOriginalSegments() local 90 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testRampSegments_noPwleCapabilities_returnsOriginalSegments() local 108 List<VibrationEffectSegment> segments = new ArrayList<>(Arrays.asList( in testRampSegments_withPwleDurationLimit_splitsLongRampsAndPreserveOtherSegments() local
|
/frameworks/base/core/java/com/android/internal/vibrator/persistence/ |
D | VibrationEffectSerializer.java | 80 List<VibrationEffectSegment> segments = composed.getSegments(); in serialize() local 97 List<VibrationEffectSegment> segments, int repeatIndex, @XmlConstants.Flags int flags) in serializeRepeatingEffect() 116 List<VibrationEffectSegment> segments, @XmlConstants.Flags int flags) in serializeNonRepeatingEffect() 128 List<VibrationEffectSegment> segments, @XmlConstants.Flags int flags) in serializeEffectEntries() 140 List<VibrationEffectSegment> segments, int flags) throws XmlSerializerException { in trySerializeNonWaveformEffect() 160 List<VibrationEffectSegment> segments, @XmlConstants.Flags int flags) in serializePredefinedEffect() 163 "Unsupported multiple segments in predefined effect: %s", segments); in serializePredefinedEffect() local 173 List<VibrationEffectSegment> segments) throws XmlSerializerException { in serializePrimitiveEffect() 184 List<VibrationEffectSegment> segments) throws XmlSerializerException { in serializeWaveformEnvelopeEffect() 205 List<VibrationEffectSegment> segments) throws XmlSerializerException { in serializeBasicEnvelopeEffect() [all …]
|
D | LegacyVibrationEffectXmlSerializer.java | 96 List<VibrationEffectSegment> segments = effect.getSegments(); in serializePredefinedEffect() local 111 List<VibrationEffectSegment> segments = effect.getSegments(); in serializePrimitiveEffect() local 127 List<VibrationEffectSegment> segments = effect.getSegments(); in serializeWaveformEnvelopeEffect() local 150 List<VibrationEffectSegment> segments = effect.getSegments(); in serializeBasicEnvelopeEffect() local 175 List<VibrationEffectSegment> segments = effect.getSegments(); in serializeWaveformEffect() local
|
D | SerializedComposedEffect.java | 49 SerializedComposedEffect(@NonNull SerializedSegment[] segments) { in SerializedComposedEffect()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/ |
D | NotificationProgressBarTest.java | 48 List<ProgressStyle.Segment> segments = new ArrayList<>(); in processAndConvertToParts_segmentsIsEmpty() local 59 List<ProgressStyle.Segment> segments = new ArrayList<>(); in processAndConvertToParts_segmentsLengthNotMatchingProgressMax() local 72 List<ProgressStyle.Segment> segments = new ArrayList<>(); in processAndConvertToParts_segmentLengthIsNegative() local 85 List<ProgressStyle.Segment> segments = new ArrayList<>(); in processAndConvertToParts_segmentLengthIsZero() local 98 List<ProgressStyle.Segment> segments = new ArrayList<>(); in processAndConvertToParts_progressIsNegative() local 111 List<ProgressStyle.Segment> segments = new ArrayList<>(); in processAndConvertToParts_progressIsZero() local 160 List<ProgressStyle.Segment> segments = new ArrayList<>(); in processAndConvertToParts_progressAtMax() local 203 List<ProgressStyle.Segment> segments = new ArrayList<>(); in processAndConvertToParts_progressAboveMax() local 215 List<ProgressStyle.Segment> segments = new ArrayList<>(); in processAndConvertToParts_pointPositionIsNegative() local 228 List<ProgressStyle.Segment> segments = new ArrayList<>(); in processAndConvertToParts_pointPositionIsZero() local [all …]
|
D | NotificationProgressModelTest.java | 89 final List<Notification.ProgressStyle.Segment> segments = List.of( in save_and_restore_determinate_progress_model() local 120 final List<Notification.ProgressStyle.Segment> segments = List.of( in save_and_restore_non_determinate_progress_model_segments_fallback_color_invalid() local
|
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | RampDownAdapter.java | 55 public int adaptToVibrator(VibratorInfo info, List<VibrationEffectSegment> segments, in adaptToVibrator() 78 private int addRampDownToZeroAmplitudeSegments(List<VibrationEffectSegment> segments, in addRampDownToZeroAmplitudeSegments() 149 private int addRampDownToLoop(List<VibrationEffectSegment> segments, int repeatIndex) { in addRampDownToLoop()
|
D | ComposePwleVibratorStep.java | 102 List<RampSegment> segments = new ArrayList<>(limit); in unrollRampSegments() local 147 private boolean isBetterBreakPosition(List<RampSegment> segments, in isBetterBreakPosition()
|
D | VibrationSegmentsValidator.java | 34 boolean hasValidSegments(VibratorInfo info, List<VibrationEffectSegment> segments); in hasValidSegments()
|
D | VibrationSegmentsAdapter.java | 40 int adaptToVibrator(VibratorInfo info, List<VibrationEffectSegment> segments, int repeatIndex); in adaptToVibrator()
|
D | PrimitiveSegmentsValidator.java | 38 public boolean hasValidSegments(VibratorInfo info, List<VibrationEffectSegment> segments) { in hasValidSegments()
|
D | PwleSegmentsValidator.java | 49 public boolean hasValidSegments(VibratorInfo info, List<VibrationEffectSegment> segments) { in hasValidSegments()
|
D | StepToRampAdapter.java | 39 public int adaptToVibrator(VibratorInfo info, List<VibrationEffectSegment> segments, in adaptToVibrator()
|
D | PrimitiveDelayAdapter.java | 43 public int adaptToVibrator(VibratorInfo info, List<VibrationEffectSegment> segments, in adaptToVibrator()
|
D | ClippingAmplitudeAndFrequencyAdapter.java | 38 public int adaptToVibrator(VibratorInfo info, List<VibrationEffectSegment> segments, in adaptToVibrator()
|
/frameworks/base/core/java/android/text/ |
D | SegmentFinder.java | 91 public PrescribedSegmentFinder(@NonNull int[] segments) { in PrescribedSegmentFinder() 197 private static void checkSegmentsValid(int[] segments) { in checkSegmentsValid()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | NotificationProgressModel.java | 64 public NotificationProgressModel( in NotificationProgressModel() 159 final List<Segment> segments = in fromBundle() local
|
/frameworks/base/core/java/android/content/ |
D | ContentUris.java | 134 final List<String> segments = contentUri.getPathSegments(); in removeId() local
|
/frameworks/native/libs/gui/ |
D | OccupancyTracker.cpp | 89 std::vector<Segment> segments(mSegmentHistory.cbegin(), in getSegmentHistory() local
|