Home
last modified time | relevance | path

Searched defs:segments (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/
DRampDownAdapterTest.java50 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 …]
DPrimitiveDelayAdapterTest.java66 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
DStepToRampAdapterTest.java64 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
DSplitPwleSegmentsAdapterTest.java63 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
DBasicToPwleSegmentAdapterTest.java69 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
DRampToStepAdapterTest.java65 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
DSplitSegmentsAdapterTest.java68 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/
DVibrationEffectSerializer.java80 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 …]
DLegacyVibrationEffectXmlSerializer.java96 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
DSerializedComposedEffect.java49 SerializedComposedEffect(@NonNull SerializedSegment[] segments) { in SerializedComposedEffect()
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DNotificationProgressBarTest.java48 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 …]
DNotificationProgressModelTest.java89 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/
DRampDownAdapter.java55 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()
DComposePwleVibratorStep.java102 List<RampSegment> segments = new ArrayList<>(limit); in unrollRampSegments() local
147 private boolean isBetterBreakPosition(List<RampSegment> segments, in isBetterBreakPosition()
DVibrationSegmentsValidator.java34 boolean hasValidSegments(VibratorInfo info, List<VibrationEffectSegment> segments); in hasValidSegments()
DVibrationSegmentsAdapter.java40 int adaptToVibrator(VibratorInfo info, List<VibrationEffectSegment> segments, int repeatIndex); in adaptToVibrator()
DPrimitiveSegmentsValidator.java38 public boolean hasValidSegments(VibratorInfo info, List<VibrationEffectSegment> segments) { in hasValidSegments()
DPwleSegmentsValidator.java49 public boolean hasValidSegments(VibratorInfo info, List<VibrationEffectSegment> segments) { in hasValidSegments()
DStepToRampAdapter.java39 public int adaptToVibrator(VibratorInfo info, List<VibrationEffectSegment> segments, in adaptToVibrator()
DPrimitiveDelayAdapter.java43 public int adaptToVibrator(VibratorInfo info, List<VibrationEffectSegment> segments, in adaptToVibrator()
DClippingAmplitudeAndFrequencyAdapter.java38 public int adaptToVibrator(VibratorInfo info, List<VibrationEffectSegment> segments, in adaptToVibrator()
/frameworks/base/core/java/android/text/
DSegmentFinder.java91 public PrescribedSegmentFinder(@NonNull int[] segments) { in PrescribedSegmentFinder()
197 private static void checkSegmentsValid(int[] segments) { in checkSegmentsValid()
/frameworks/base/core/java/com/android/internal/widget/
DNotificationProgressModel.java64 public NotificationProgressModel( in NotificationProgressModel()
159 final List<Segment> segments = in fromBundle() local
/frameworks/base/core/java/android/content/
DContentUris.java134 final List<String> segments = contentUri.getPathSegments(); in removeId() local
/frameworks/native/libs/gui/
DOccupancyTracker.cpp89 std::vector<Segment> segments(mSegmentHistory.cbegin(), in getSegmentHistory() local

12