Searched refs:segment (Results 1 - 23 of 23) sorted by relevance

/frameworks/compile/mclinker/lib/LD/
H A DELFSegmentFactory.cpp21 iterator segment, segEnd = end(); local
22 for (segment = begin(); segment != segEnd; ++segment) {
23 if ((*segment)->type() == pType &&
24 ((*segment)->flag() & pFlagSet) == pFlagSet &&
25 ((*segment)->flag() & pFlagClear) == 0x0) {
26 return segment;
36 const_iterator segment, segEnd = end(); local
37 for (segment
49 iterator segment, segEnd = end(); local
65 const_iterator segment, segEnd = end(); local
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DGains.cpp207 int segment = 0; local
211 segment = 0;
213 segment = 1;
215 segment = 2;
221 float decibels = curve[segment].mDBAttenuation +
222 ((float)(volIdx - curve[segment].mIndex)) *
223 ( (curve[segment+1].mDBAttenuation -
224 curve[segment].mDBAttenuation) /
225 ((float)(curve[segment+1].mIndex -
226 curve[segment]
[all...]
/frameworks/rs/script_api/
H A DScanner.h45 /* Reads from the file, adding the characters to "segment" until
48 void readUpTo(char delimiter, std::string* segment);
49 /* Reads from the file, adding the characters to "segment" until
52 void readRestOfLine(std::string* segment);
H A DScanner.cpp45 void Scanner::readUpTo(char delimiter, string* segment) { argument
51 segment->push_back((char)c);
58 void Scanner::readRestOfLine(string* segment) { argument
64 segment->push_back((char)c);
/frameworks/base/libs/hwui/
H A DPatch.cpp111 const float segment = stepY - previousStepY; local
114 y2 = y1 + floorf(segment * stretchY + 0.5f);
116 y2 = y1 + segment * rescaleY;
119 float vOffset = y1 == y2 ? 0.0f : 0.5 - (0.5 * segment / (y2 - y1));
159 const float segment = stepX - previousStepX; local
162 x2 = x1 + floorf(segment * stretchX + 0.5f);
164 x2 = x1 + segment * rescaleX;
167 float uOffset = x1 == x2 ? 0.0f : 0.5 - (0.5 * segment / (x2 - x1));
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaInboundSmsHandler.java256 * @param pdu The WAP-WDP PDU segment
271 int segment = (0xFF & pdu[index++]); // >= 0
273 if (segment >= totalSegments) {
274 loge("WDP bad segment #" + segment + " expecting 0-" + (totalSegments - 1));
278 // Only the first segment contains sourcePort and destination Port
281 if (segment == 0) {
282 //process WDP segment
299 + ", ID = " + referenceNumber + ", segment# = " + segment
[all...]
/frameworks/support/compat/java/android/support/v4/content/
H A DContextCompat.java330 for (String segment : segments) {
332 cur = new File(segment);
333 } else if (segment != null) {
334 cur = new File(cur, segment);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
H A DCachedPathIteratorFactory.java36 * Coordinates or coords arrays store segment coordinates. They use the same format as
104 // We convert a SEG_CLOSE segment to a SEG_LINETO so we do not have to worry
152 // http://stackoverflow.com/questions/11703283/cubic-bezier-curve-segment
183 * Returns the end point of a given segment
185 * @param type the segment type
186 * @param coords the segment coordinates array
191 // start index of the end point for the segment type
198 * Returns the number of points stored in a coordinates array for the given segment type.
215 * segment that is not {@link PathIterator#SEG_CLOSE}, {@link PathIterator#SEG_MOVETO} or {@link
219 float segment[]
[all...]
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DLocalProvider.java161 String segment = url.getPathSegments().get(1);
162 rowId = Long.parseLong(segment);
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DJpegProcessor.cpp320 * Following it, "segment" sections begin with other markers, followed by a
321 * 2-byte length (in network byte order), then the segment data.
324 * the next segment. This is necessary because the data inside segments are
331 * image data to be interpreted as a segment. The only exception to this is at
343 typedef struct segment { struct in namespace:android::camera2
398 // Read JFIF segment markers, skip over segment data
401 segment_t *segment = (segment_t*)(jpegBuffer + size); local
402 uint8_t type = checkJpegMarker(segment->marker);
411 size_t length = ntohs(segment
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPathMeasure_Delegate.java146 float segment[] = new float[6];
148 type = pi.currentSegment(segment);
182 // If this segment is a MOVETO, then we just use that one. If not, then we issue
H A DPath_Delegate.java492 float segment[] = new float[6];
497 int type = iterator.currentSegment(segment);
498 Point2D.Float currentPoint = new Point2D.Float(segment[0], segment[1]);
808 * first point of the contour, a line segment is automatically added.
/frameworks/base/services/core/java/com/android/server/content/
H A DContentService.java1337 String segment = getUriSegment(uri, index);
1338 if (segment == null) {
1344 if (node.mName.equals(segment)) {
1352 ObserverNode node = new ObserverNode(segment);
1441 String segment = null;
1449 segment = getUriSegment(uri, index);
1451 + segment);
1460 if (segment == null || node.mName.equals(segment)) {
1464 if (segment !
[all...]
/frameworks/base/core/java/android/os/
H A DEnvironment.java944 for (String segment : segments) {
946 cur = new File(segment);
948 cur = new File(cur, segment);
/frameworks/support/core-utils/java/android/support/v4/content/
H A DFileProvider.java187 * A URI path segment. To enforce security, this value hides the name of the subdirectory
196 * segment, the <code>path</code> value is an actual subdirectory name. Notice that the
788 for (String segment : segments) {
789 if (segment != null) {
790 cur = new File(cur, segment);
/frameworks/support/core-utils/tests/java/android/support/v4/content/
H A DFileProviderTest.java383 for (String segment : segments) {
385 cur = new File(segment);
387 cur = new File(cur, segment);
/frameworks/av/media/libstagefright/codecs/g711/dec/
H A DSoftG711.cpp323 int32_t segment = exponent + 1; local
326 int32_t step = 4 << segment;
/frameworks/av/media/libstagefright/webm/
H A DWebmWriter.cpp471 sp<WebmElement> ebml, segment, info, seekHead, tracks, cues; local
473 segment = new WebmMaster(kMkvSegment);
495 sp<WebmElement> elems[] = { ebml, segment, seekHead, info, tracks, cues };
/frameworks/base/media/java/android/media/
H A DJetPlayer.java39 * segment can be dynamically affected by two mechanisms:
41 * <li>tracks in a segment can be muted or unmuted at any moment, individually or through
43 * <li>parts of tracks in a segment can be played at predefined points in the segment, in order
44 * to maintain synchronization with the other tracks in the segment. This is achieved through
87 private static final int JET_EVENT_SEG_MASK = 0xff000000; // mask for segment ID
91 private static final int JET_EVENT_SEG_SHIFT = 24; // shift to get segment ID to bit 0
245 * Starts playing the JET segment queue.
254 * Pauses the playback of the JET segment queue.
263 * Queues the specified segment i
508 onJetEvent(JetPlayer player, short segment, byte track, byte channel, byte controller, byte value) argument
[all...]
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp3464 for (const auto& segment : history) {
3465 if (!segment.usedThirdBuffer) {
3466 stats.twoBufferTime += segment.totalTime;
3468 if (segment.occupancyAverage < 1.0f) {
3469 stats.doubleBufferedTime += segment.totalTime;
3470 } else if (segment.occupancyAverage < 2.0f) {
3471 stats.tripleBufferedTime += segment.totalTime;
3474 stats.totalTime += segment.totalTime;
H A DSurfaceFlinger_hwc1.cpp3129 for (const auto& segment : history) {
3130 if (!segment.usedThirdBuffer) {
3131 stats.twoBufferTime += segment.totalTime;
3133 if (segment.occupancyAverage < 1.0f) {
3134 stats.doubleBufferedTime += segment.totalTime;
3135 } else if (segment.occupancyAverage < 2.0f) {
3136 stats.tripleBufferedTime += segment.totalTime;
3139 stats.totalTime += segment.totalTime;
/frameworks/base/core/java/android/net/
H A DUri.java317 * Gets the decoded last segment in the path.
319 * @return the decoded last segment or null if the path is empty
973 * Wrapper for path segment array.
1009 void add(String segment) { argument
1018 segments[size++] = segment;
1424 * Encodes the given segment and appends it to the path.
1431 * Appends the given segment to the path.
2151 // This check keeps us from adding a segment if the path starts
2152 // '/' and an empty segment for "//".
2161 // Add in the final path segment
[all...]
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 1525 milliseconds