Home
last modified time | relevance | path

Searched refs:segment (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/compile/mclinker/lib/LD/
DELFSegmentFactory.cpp21 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/av/services/audiopolicy/common/managerdefinitions/src/
DGains.cpp207 int segment = 0; in volIndexToDb() local
211 segment = 0; in volIndexToDb()
213 segment = 1; in volIndexToDb()
215 segment = 2; in volIndexToDb()
221 float decibels = curve[segment].mDBAttenuation + in volIndexToDb()
222 ((float)(volIdx - curve[segment].mIndex)) * in volIndexToDb()
223 ( (curve[segment+1].mDBAttenuation - in volIndexToDb()
224 curve[segment].mDBAttenuation) / in volIndexToDb()
225 ((float)(curve[segment+1].mIndex - in volIndexToDb()
226 curve[segment].mIndex)) ); in volIndexToDb()
[all …]
/frameworks/base/libs/hwui/
DPatch.cpp111 const float segment = stepY - previousStepY; in Patch() local
114 y2 = y1 + floorf(segment * stretchY + 0.5f); in Patch()
116 y2 = y1 + segment * rescaleY; in Patch()
119 float vOffset = y1 == y2 ? 0.0f : 0.5 - (0.5 * segment / (y2 - y1)); in Patch()
159 const float segment = stepX - previousStepX; in generateRow() local
162 x2 = x1 + floorf(segment * stretchX + 0.5f); in generateRow()
164 x2 = x1 + segment * rescaleX; in generateRow()
167 float uOffset = x1 == x2 ? 0.0f : 0.5 - (0.5 * segment / (x2 - x1)); in generateRow()
/frameworks/rs/script_api/
DScanner.cpp45 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()
DScanner.h48 void readUpTo(char delimiter, std::string* segment);
52 void readRestOfLine(std::string* segment);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandler.java271 int segment = (0xFF & pdu[index++]); // >= 0 in processCdmaWapPdu() local
273 if (segment >= totalSegments) { in processCdmaWapPdu()
274 loge("WDP bad segment #" + segment + " expecting 0-" + (totalSegments - 1)); in processCdmaWapPdu()
281 if (segment == 0) { in processCdmaWapPdu()
299 + ", ID = " + referenceNumber + ", segment# = " + segment + '/' + totalSegments); in processCdmaWapPdu()
307 segment, totalSegments, true, HexDump.toHexString(userData)); in processCdmaWapPdu()
/frameworks/support/compat/java/android/support/v4/content/
DContextCompat.java330 for (String segment : segments) { in buildPath()
332 cur = new File(segment); in buildPath()
333 } else if (segment != null) { in buildPath()
334 cur = new File(cur, segment); in buildPath()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DCachedPathIteratorFactory.java219 float segment[] = new float[6]; in getFlatPathLength() local
225 int type = iterator.currentSegment(segment); in getFlatPathLength()
231 totalLength += Point2D.distance(previousPoint[0], previousPoint[1], segment[0], in getFlatPathLength()
232 segment[1]); in getFlatPathLength()
236 previousPoint[0] = segment[0]; in getFlatPathLength()
237 previousPoint[1] = segment[1]; in getFlatPathLength()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DJpegProcessor.cpp343 typedef struct segment { struct
401 segment_t *segment = (segment_t*)(jpegBuffer + size); in findJpegSize() local
402 uint8_t type = checkJpegMarker(segment->marker); in findJpegSize()
411 size_t length = ntohs(segment->length); in findJpegSize()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DLocalProvider.java161 String segment = url.getPathSegments().get(1); in update() local
162 rowId = Long.parseLong(segment); in update()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DPathMeasure_Delegate.java146 float segment[] = new float[6]; in native_isClosed() local
148 type = pi.currentSegment(segment); in native_isClosed()
DPath_Delegate.java492 float segment[] = new float[6]; in nApproximate() local
497 int type = iterator.currentSegment(segment); in nApproximate()
498 Point2D.Float currentPoint = new Point2D.Float(segment[0], segment[1]); in nApproximate()
/frameworks/base/services/core/java/com/android/server/content/
DContentService.java1337 String segment = getUriSegment(uri, index); in addObserverLocked() local
1338 if (segment == null) { in addObserverLocked()
1344 if (node.mName.equals(segment)) { in addObserverLocked()
1352 ObserverNode node = new ObserverNode(segment); in addObserverLocked()
1441 String segment = null; in collectObserversLocked() local
1449 segment = getUriSegment(uri, index); in collectObserversLocked()
1451 + segment); in collectObserversLocked()
1460 if (segment == null || node.mName.equals(segment)) { in collectObserversLocked()
1464 if (segment != null) { in collectObserversLocked()
/frameworks/base/core/java/android/os/
DEnvironment.java944 for (String segment : segments) { in buildPath()
946 cur = new File(segment); in buildPath()
948 cur = new File(cur, segment); in buildPath()
/frameworks/support/core-utils/java/android/support/v4/content/
DFileProvider.java788 for (String segment : segments) { in buildPath()
789 if (segment != null) { in buildPath()
790 cur = new File(cur, segment); in buildPath()
/frameworks/support/core-utils/tests/java/android/support/v4/content/
DFileProviderTest.java383 for (String segment : segments) { in buildPath()
385 cur = new File(segment); in buildPath()
387 cur = new File(cur, segment); in buildPath()
/frameworks/av/media/libstagefright/codecs/g711/dec/
DSoftG711.cpp323 int32_t segment = exponent + 1; in DecodeMLaw() local
326 int32_t step = 4 << segment; in DecodeMLaw()
/frameworks/av/media/libstagefright/webm/
DWebmWriter.cpp471 sp<WebmElement> ebml, segment, info, seekHead, tracks, cues; in start() local
473 segment = new WebmMaster(kMkvSegment); in start()
495 sp<WebmElement> elems[] = { ebml, segment, seekHead, info, tracks, cues }; in start()
/frameworks/compile/mclinker/tools/mcld/
DOptions.td209 HelpText<"Request creation of .eh_frame_hdr section and PT_GNU_EH_FRAME segment">;
399 HelpText<"Set the address of the bss segment">;
403 HelpText<"Set the address of the data segment">;
407 HelpText<"Set the address of the text segment">;
/frameworks/base/media/java/android/media/
DJetPlayer.java509 short segment, byte track, byte channel, byte controller, byte value); in onJetEvent() argument
/frameworks/base/cmds/bootanimation/
DFORMAT.md35 * **TYPE:** a single char indicating what type of animation segment this is:
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger_hwc1.cpp3129 for (const auto& segment : history) { in recordBufferingStats() local
3130 if (!segment.usedThirdBuffer) { in recordBufferingStats()
3131 stats.twoBufferTime += segment.totalTime; in recordBufferingStats()
3133 if (segment.occupancyAverage < 1.0f) { in recordBufferingStats()
3134 stats.doubleBufferedTime += segment.totalTime; in recordBufferingStats()
3135 } else if (segment.occupancyAverage < 2.0f) { in recordBufferingStats()
3136 stats.tripleBufferedTime += segment.totalTime; in recordBufferingStats()
3139 stats.totalTime += segment.totalTime; in recordBufferingStats()
DSurfaceFlinger.cpp3464 for (const auto& segment : history) { in recordBufferingStats() local
3465 if (!segment.usedThirdBuffer) { in recordBufferingStats()
3466 stats.twoBufferTime += segment.totalTime; in recordBufferingStats()
3468 if (segment.occupancyAverage < 1.0f) { in recordBufferingStats()
3469 stats.doubleBufferedTime += segment.totalTime; in recordBufferingStats()
3470 } else if (segment.occupancyAverage < 2.0f) { in recordBufferingStats()
3471 stats.tripleBufferedTime += segment.totalTime; in recordBufferingStats()
3474 stats.totalTime += segment.totalTime; in recordBufferingStats()
/frameworks/base/core/java/android/net/
DUri.java1009 void add(String segment) { in add() argument
1018 segments[size++] = segment; in add()
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...

12