/frameworks/compile/mclinker/lib/LD/ |
D | ELFSegmentFactory.cpp | 21 iterator segment, segEnd = end(); in find() local 22 for (segment = begin(); segment != segEnd; ++segment) { in find() 23 if ((*segment)->type() == pType && in find() 24 ((*segment)->flag() & pFlagSet) == pFlagSet && in find() 25 ((*segment)->flag() & pFlagClear) == 0x0) { in find() 26 return segment; in find() 36 const_iterator segment, segEnd = end(); in find() local 37 for (segment = begin(); segment != segEnd; ++segment) { in find() 38 if ((*segment)->type() == pType && in find() 39 ((*segment)->flag() & pFlagSet) == pFlagSet && in find() [all …]
|
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | ClippingAmplitudeAndFrequencyAdapter.java | 42 VibrationEffectSegment segment = segments.get(i); in apply() local 43 if (segment instanceof StepSegment) { in apply() 44 segments.set(i, apply((StepSegment) segment, info)); in apply() 45 } else if (segment instanceof RampSegment) { in apply() 46 segments.set(i, apply((RampSegment) segment, info)); in apply() 52 private StepSegment apply(StepSegment segment, VibratorInfo info) { in apply() argument 53 float clampedFrequency = clampFrequency(info, segment.getFrequencyHz()); in apply() 55 clampAmplitude(info, clampedFrequency, segment.getAmplitude()), in apply() 57 (int) segment.getDuration()); in apply() 60 private RampSegment apply(RampSegment segment, VibratorInfo info) { in apply() argument [all …]
|
D | RampDownAdapter.java | 212 private static VibrationEffectSegment updateDuration(VibrationEffectSegment segment, in updateDuration() argument 214 if (segment instanceof RampSegment) { in updateDuration() 215 RampSegment ramp = (RampSegment) segment; in updateDuration() 218 } else if (segment instanceof StepSegment) { in updateDuration() 219 StepSegment step = (StepSegment) segment; in updateDuration() 222 return segment; in updateDuration() 226 private static boolean isOffSegment(VibrationEffectSegment segment) { in isOffSegment() argument 227 if (segment instanceof StepSegment) { in isOffSegment() 228 StepSegment ramp = (StepSegment) segment; in isOffSegment() 230 } else if (segment instanceof RampSegment) { in isOffSegment() [all …]
|
D | Vibration.java | 436 for (VibrationEffectSegment segment : composed.getSegments()) { in dumpEffect() 437 dumpEffect(proto, VibrationEffectProto.SEGMENTS, segment); in dumpEffect() 444 VibrationEffectSegment segment) { in dumpEffect() argument 446 if (segment instanceof StepSegment) { in dumpEffect() 447 dumpEffect(proto, SegmentProto.STEP, (StepSegment) segment); in dumpEffect() 448 } else if (segment instanceof RampSegment) { in dumpEffect() 449 dumpEffect(proto, SegmentProto.RAMP, (RampSegment) segment); in dumpEffect() 450 } else if (segment instanceof PrebakedSegment) { in dumpEffect() 451 dumpEffect(proto, SegmentProto.PREBAKED, (PrebakedSegment) segment); in dumpEffect() 452 } else if (segment instanceof PrimitiveSegment) { in dumpEffect() [all …]
|
D | StepToRampAdapter.java | 54 VibrationEffectSegment segment = segments.get(i); in convertStepsToRamps() local 55 if (isStep(segment) && ((StepSegment) segment).getFrequencyHz() != 0) { in convertStepsToRamps() 56 segments.set(i, convertStepToRamp(info, (StepSegment) segment)); in convertStepsToRamps() 108 private static RampSegment convertStepToRamp(VibratorInfo info, StepSegment segment) { in convertStepToRamp() argument 109 float frequencyHz = fillEmptyFrequency(info, segment.getFrequencyHz()); in convertStepToRamp() 110 return new RampSegment(segment.getAmplitude(), segment.getAmplitude(), in convertStepToRamp() 111 frequencyHz, frequencyHz, (int) segment.getDuration()); in convertStepToRamp() 146 private static boolean isStep(VibrationEffectSegment segment) { in isStep() argument 147 return segment instanceof StepSegment; in isStep()
|
D | SetAmplitudeVibratorStep.java | 86 VibrationEffectSegment segment = effect.getSegments().get(segmentIndex); in play() local 87 if (!(segment instanceof StepSegment)) { in play() 89 "Ignoring wrong segment for a SetAmplitudeVibratorStep: " + segment); in play() 93 StepSegment stepSegment = (StepSegment) segment; in play() 121 long nextStartTime = startTime + segment.getDuration(); in play() 168 VibrationEffectSegment segment = segments.get(i); in getVibratorOnDuration() local 169 if (!(segment instanceof StepSegment) in getVibratorOnDuration() 170 || ((StepSegment) segment).getAmplitude() == 0) { in getVibratorOnDuration() 173 timing += segment.getDuration(); in getVibratorOnDuration()
|
D | PerformPrebakedVibratorStep.java | 49 VibrationEffectSegment segment = effect.getSegments().get(segmentIndex); in play() local 50 if (!(segment instanceof PrebakedSegment)) { in play() 52 + "PerformPrebakedVibratorStep: " + segment); in play() 56 PrebakedSegment prebaked = (PrebakedSegment) segment; in play()
|
D | ComposePrimitivesVibratorStep.java | 109 VibrationEffectSegment segment = effect.getSegments().get(i); in unrollPrimitiveSegments() local 110 if (segment instanceof PrimitiveSegment) { in unrollPrimitiveSegments() 111 segments.add((PrimitiveSegment) segment); in unrollPrimitiveSegments()
|
D | RampToStepAdapter.java | 52 VibrationEffectSegment segment = segments.get(i); in apply() local 53 if (!(segment instanceof RampSegment)) { in apply() 56 List<StepSegment> steps = apply(info, (RampSegment) segment); in apply()
|
D | ComposePwleVibratorStep.java | 115 VibrationEffectSegment segment = effect.getSegments().get(i); in unrollRampSegments() local 116 if (segment instanceof RampSegment) { in unrollRampSegments() 117 RampSegment rampSegment = (RampSegment) segment; in unrollRampSegments()
|
D | VibrationStepConductor.java | 132 VibrationEffectSegment segment = effect.getSegments().get(segmentIndex); in nextVibrateStep() local 133 if (segment instanceof PrebakedSegment) { in nextVibrateStep() 137 if (segment instanceof PrimitiveSegment) { in nextVibrateStep() 141 if (segment instanceof RampSegment) { in nextVibrateStep()
|
/frameworks/av/media/codecs/g711/decoder/ |
D | g711DecMlaw.cpp | 28 int32_t segment = exponent + 1; in DecodeMLaw() local 31 int32_t step = 4 << segment; in DecodeMLaw()
|
/frameworks/rs/script_api/ |
D | Scanner.cpp | 45 void Scanner::readUpTo(char delimiter, string* segment) { in readUpTo() argument 51 segment->push_back((char)c); in readUpTo() 58 void Scanner::readRestOfLine(string* segment) { in readRestOfLine() argument 64 segment->push_back((char)c); in readRestOfLine()
|
D | Scanner.h | 48 void readUpTo(char delimiter, std::string* segment); 52 void readRestOfLine(std::string* segment);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
D | CdmaInboundSmsHandler.java | 353 int segment = (0xFF & pdu[index++]); // >= 0 in processCdmaWapPdu() local 355 if (segment >= totalSegments) { in processCdmaWapPdu() 356 loge("WDP bad segment #" + segment + " expecting 0-" + (totalSegments - 1)); in processCdmaWapPdu() 363 if (segment == 0) { in processCdmaWapPdu() 381 + ", ID = " + referenceNumber + ", segment# = " + segment + '/' + totalSegments); in processCdmaWapPdu() 390 segment, totalSegments, true, HexDump.toHexString(userData), in processCdmaWapPdu()
|
/frameworks/base/libs/hwui/apex/ |
D | LayoutlibLoader.cpp | 143 string segment; in parseCsv() local 144 while(getline(stream, segment, ',')) in parseCsv() 146 result.push_back(segment); in parseCsv()
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | JpegProcessor.cpp | 328 typedef struct segment { struct 386 segment_t *segment = (segment_t*)(jpegBuffer + size); in findJpegSize() local 387 uint8_t type = checkJpegMarker(segment->marker); in findJpegSize() 396 size_t length = ntohs(segment->length); in findJpegSize()
|
/frameworks/base/core/java/android/os/ |
D | VibrationEffect.java | 630 Composed(@NonNull VibrationEffectSegment segment) { in Composed() argument 631 this(Arrays.asList(segment), /* repeatIndex= */ -1); in Composed() 656 VibrationEffectSegment segment = mSegments.get(i); in validate() local 657 segment.validate(); in validate() 659 hasNonZeroDuration |= segment.getDuration() != 0; in validate() 1042 private Composition addSegment(VibrationEffectSegment segment) { 1046 mSegments.add(segment);
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | LocalProvider.java | 161 String segment = url.getPathSegments().get(1); in update() local 162 rowId = Long.parseLong(segment); in update()
|
/frameworks/av/services/camera/libcameraservice/tests/ |
D | NV12Compressor.cpp | 283 segment_t *segment = (segment_t*)(jpegBuffer + *size); in findJpegSize() local 284 uint8_t type = checkJpegMarker(segment->marker); in findJpegSize() 292 size_t length = ntohs(segment->length); in findJpegSize()
|
/frameworks/base/core/java/com/android/internal/graphics/cam/ |
D | HctSolver.java | 552 double[][] segment = bisectToSegment(y, targetHue); in bisectToLimit() local 553 double[] left = segment[0]; in bisectToLimit() 555 double[] right = segment[1]; in bisectToLimit()
|
/frameworks/base/core/jni/ |
D | LayoutlibLoader.cpp | 187 string segment; in parseCsv() local 188 while(getline(stream, segment, ',')) in parseCsv() 190 result.push_back(segment); in parseCsv()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/ |
D | FakeVibratorControllerProvider.java | 72 void recordEffectSegment(long vibrationId, VibrationEffectSegment segment) { in recordEffectSegment() argument 73 mEffectSegments.computeIfAbsent(vibrationId, k -> new ArrayList<>()).add(segment); in recordEffectSegment()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | ContentService.java | 1770 String segment = getUriSegment(uri, index); in addObserverLocked() local 1771 if (segment == null) { in addObserverLocked() 1777 if (node.mName.equals(segment)) { in addObserverLocked() 1785 ObserverNode node = new ObserverNode(segment); in addObserverLocked() 1882 String segment = null; in collectObserversLocked() local 1889 segment = getUriSegment(uri, index); in collectObserversLocked() 1891 + segment); in collectObserversLocked() 1900 if (segment == null || node.mName.equals(segment)) { in collectObserversLocked() 1904 if (segment != null) { in collectObserversLocked()
|
/frameworks/av/media/libstagefright/codecs/g711/dec/ |
D | SoftG711.cpp | 372 int32_t segment = exponent + 1; in DecodeMLaw() local 375 int32_t step = 4 << segment; in DecodeMLaw()
|