Home
last modified time | relevance | path

Searched refs:segments (Results 1 – 13 of 13) sorted by relevance

/frameworks/av/media/libaudioclient/
DToneGenerator.cpp31 … { .segments = { { .duration = ToneGenerator::TONEGEN_INF, .waveFreq = { 1336, 941, 0 }, 0, 0},
35 … { .segments = { { .duration = ToneGenerator::TONEGEN_INF, .waveFreq = { 1209, 697, 0 }, 0, 0 },
39 … { .segments = { { .duration = ToneGenerator::TONEGEN_INF, .waveFreq = { 1336, 697, 0 }, 0, 0 },
43 … { .segments = { { .duration = ToneGenerator::TONEGEN_INF, .waveFreq = { 1477, 697, 0 }, 0, 0 },
47 … { .segments = { { .duration = ToneGenerator::TONEGEN_INF, .waveFreq = { 1209, 770, 0 }, 0, 0 },
51 … { .segments = { { .duration = ToneGenerator::TONEGEN_INF, .waveFreq = { 1336, 770, 0 }, 0, 0 },
55 … { .segments = { { .duration = ToneGenerator::TONEGEN_INF, .waveFreq = { 1477, 770, 0 }, 0, 0 },
59 … { .segments = { { .duration = ToneGenerator::TONEGEN_INF, .waveFreq = { 1209, 852, 0 }, 0, 0 },
63 … { .segments = { { .duration = ToneGenerator::TONEGEN_INF, .waveFreq = { 1336, 852, 0 }, 0, 0 },
67 … { .segments = { { .duration = ToneGenerator::TONEGEN_INF, .waveFreq = { 1477, 852, 0 }, 0, 0 },
[all …]
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/
DClockOptionsProvider.java86 List<String> segments = uri.getPathSegments(); in getType() local
87 if (segments.size() > 0 && (KEY_PREVIEW.equals(segments.get(0)) in getType()
88 || KEY_THUMBNAIL.equals(segments.get(0)))) { in getType()
132 List<String> segments = uri.getPathSegments(); in openFile() local
133 if (segments.size() != 2 || !(KEY_PREVIEW.equals(segments.get(0)) in openFile()
134 || KEY_THUMBNAIL.equals(segments.get(0)))) { in openFile()
137 String id = segments.get(1); in openFile()
152 return openPipeHelper(uri, MIME_TYPE_PNG, null, KEY_PREVIEW.equals(segments.get(0)) in openFile()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DInteractionController.java475 public boolean swipe(Point[] segments, int segmentSteps) {
486 if(segments.length == 0)
490 ret = touchDown(segments[0].x, segments[0].y);
491 for(int seg = 0; seg < segments.length; seg++) {
492 if(seg + 1 < segments.length) {
494 xStep = ((double)(segments[seg+1].x - segments[seg].x)) / segmentSteps;
495 yStep = ((double)(segments[seg+1].y - segments[seg].y)) / segmentSteps;
498 ret &= touchMove(segments[seg].x + (int)(xStep * i),
499 segments[seg].y + (int)(yStep * i));
510 ret &= touchUp(segments[segments.length - 1].x, segments[segments.length -1].y);
DUiDevice.java466 public boolean swipe(Point[] segments, int segmentSteps) { in swipe() argument
467 Tracer.trace(segments, segmentSteps); in swipe()
468 return getAutomatorBridge().getInteractionController().swipe(segments, segmentSteps); in swipe()
/frameworks/base/core/java/android/content/
DContentUris.java133 final List<String> segments = contentUri.getPathSegments(); in removeId() local
136 for (int i = 0; i < segments.size() - 1; i++) { in removeId()
137 builder.appendPath(segments.get(i)); in removeId()
/frameworks/base/core/java/android/net/
DUri.java1008 final String[] segments; field in Uri.PathSegments
1011 PathSegments(String[] segments, int size) { in PathSegments() argument
1012 this.segments = segments; in PathSegments()
1021 return segments[index]; in get()
1034 String[] segments; field in Uri.PathSegmentsBuilder
1038 if (segments == null) { in add()
1039 segments = new String[4]; in add()
1040 } else if (size + 1 == segments.length) { in add()
1041 String[] expanded = new String[segments.length * 2]; in add()
1042 System.arraycopy(segments, 0, expanded, 0, segments.length); in add()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DSettingsToPropertiesMapper.java189 String[] segments = property_name.split("\\."); in getResetNativeCategories() local
190 if (segments.length < 3) { in getResetNativeCategories()
194 categories.add(segments[2]); in getResetNativeCategories()
/frameworks/native/libs/gui/
DOccupancyTracker.cpp89 std::vector<Segment> segments(mSegmentHistory.cbegin(), in getSegmentHistory() local
92 return segments; in getSegmentHistory()
/frameworks/base/services/core/java/com/android/server/slice/
DSliceClientPermissions.java285 final String[] segments = mPaths.valueAt(i); in writeTo() local
286 if (segments != null) { in writeTo()
288 out.text(encodeSegments(segments)); in writeTo()
/frameworks/base/core/java/android/os/
DEnvironment.java1248 public static File[] buildPaths(File[] base, String... segments) { in buildPaths() argument
1251 result[i] = buildPath(base[i], segments); in buildPaths()
1262 public static File buildPath(File base, String... segments) { in buildPath() argument
1264 for (String segment : segments) { in buildPath()
/frameworks/av/media/libaudioclient/include/media/
DToneGenerator.h273 ToneSegment segments[TONEGEN_MAX_SEGMENTS+1];
/frameworks/base/core/java/android/provider/
DMediaStore.java3265 final List<String> segments = uri.getPathSegments(); in getVolumeName() local
3266 if (uri.getAuthority().equals(AUTHORITY) && segments != null && segments.size() > 0) { in getVolumeName()
3267 return segments.get(0); in getVolumeName()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt30591 Landroid/icu/text/TransliterationRule;->segments:[Landroid/icu/text/UnicodeMatcher;
45418 Landroid/net/Uri$PathSegments;->segments:[Ljava/lang/String;
45423 Landroid/net/Uri$PathSegmentsBuilder;->segments:[Ljava/lang/String;