Searched refs:segments (Results 1 - 9 of 9) sorted by relevance

/frameworks/av/media/libmedia/
H A 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
[all...]
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/
H A DInteractionController.java473 * @param segments is Point array containing at least one Point object
477 public boolean swipe(Point[] segments, int segmentSteps) { argument
488 if(segments.length == 0)
492 ret = touchDown(segments[0].x, segments[0].y);
493 for(int seg = 0; seg < segments.length; seg++) {
494 if(seg + 1 < segments.length) {
496 xStep = ((double)(segments[seg+1].x - segments[seg].x)) / segmentSteps;
497 yStep = ((double)(segments[se
[all...]
H A DUiDevice.java458 * @param segments is Point array containing at least one Point object
463 public boolean swipe(Point[] segments, int segmentSteps) { argument
464 Tracer.trace(segments, segmentSteps);
465 return getAutomatorBridge().getInteractionController().swipe(segments, segmentSteps);
/frameworks/support/v4/java/android/support/v4/content/
H A DContextCompat.java289 private static File buildPath(File base, String... segments) { argument
291 for (String segment : segments) {
H A DFileProvider.java752 private static File buildPath(File base, String... segments) { argument
754 for (String segment : segments) {
/frameworks/base/core/java/android/net/
H A DUri.java306 * Gets the decoded path segments.
308 * @return decoded path segments, each without a leading or trailing '/'
971 final String[] segments; field in class:Uri.PathSegments
974 PathSegments(String[] segments, int size) { argument
975 this.segments = segments;
984 return segments[index];
997 String[] segments; field in class:Uri.PathSegmentsBuilder
1001 if (segments == null) {
1002 segments
[all...]
/frameworks/base/core/java/android/os/
H A DEnvironment.java789 * Append path segments to each given base path, returning result.
793 public static File[] buildPaths(File[] base, String... segments) { argument
796 result[i] = buildPath(base[i], segments);
802 * Append path segments to given base path, returning result.
806 public static File buildPath(File base, String... segments) { argument
808 for (String segment : segments) {
/frameworks/av/include/media/
H A DToneGenerator.h208 static const unsigned int TONEGEN_MAX_SEGMENTS = 12; // Maximun number of segments in a tone descriptor
218 // - The array segments[] is used to generate the tone pulses. A segment is a period of time
220 // correspond to tone ON state and segments with odd index to OFF state.
221 // The data stored in segments[] is the duration of the corresponding period in ms.
225 // - repeatCnt indicates the number of times the sequence described by segments[] array must be repeated.
241 ToneSegment segments[TONEGEN_MAX_SEGMENTS+1]; member in class:android::ToneGenerator::ToneDescriptor
257 unsigned short mCurSegment; // Current segment index in ToneDescriptor segments[]
/frameworks/support/tests/java/android/support/v4/content/
H A DFileProviderTest.java340 private static File buildPath(File base, String... segments) { argument
342 for (String segment : segments) {

Completed in 646 milliseconds