Searched defs:ranges (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/core/jni/
H A Dandroid_view_InputDevice.cpp71 const Vector<InputDeviceInfo::MotionRange>& ranges = deviceInfo.getMotionRanges(); local
72 for (size_t i = 0; i < ranges.size(); i++) {
73 const InputDeviceInfo::MotionRange& range = ranges.itemAt(i);
/frameworks/minikin/libs/minikin/
H A DSparseBitSet.cpp32 uint32_t SparseBitSet::calcNumPages(const uint32_t* ranges, size_t nRanges) { argument
37 uint32_t start = ranges[i * 2];
38 uint32_t end = ranges[i * 2 + 1];
56 void SparseBitSet::initFromRanges(const uint32_t* ranges, size_t nRanges) { argument
63 mMaxVal = ranges[nRanges * 2 - 1];
66 uint32_t nPages = calcNumPages(ranges, nRanges);
73 uint32_t start = ranges[i * 2];
74 uint32_t end = ranges[i * 2 + 1];
/frameworks/base/services/core/jni/
H A Dcom_android_server_ConsumerIrService.cpp72 consumerir_freq_range_t *ranges; local
79 ranges = new consumerir_freq_range_t[len];
81 len = dev->get_carrier_freqs(dev, len, ranges);
83 delete[] ranges;
91 delete[] ranges;
95 arr[i*2] = ranges[i].min;
96 arr[i*2+1] = ranges[i].max;
99 delete[] ranges;
/frameworks/base/media/java/android/media/
H A DUtils.java35 * @throws java.lang.IllegalArgumentException if ranges are not distinct
37 public static <T extends Comparable<? super T>> void sortDistinctRanges(Range<T>[] ranges) { argument
38 Arrays.sort(ranges, new Comparator<Range<T>>() {
47 "sample rate ranges must be distinct (" + lhs + " and " + rhs + ")");
53 * Returns the intersection of two sets of non-intersecting ranges
54 * @param one a sorted set of non-intersecting ranges in ascending order
55 * @param another another sorted set of non-intersecting ranges in ascending order
83 * Returns the index of the range that contains a value in a sorted array of distinct ranges.
84 * @param ranges a sorted array of non-intersecting ranges i
91 binarySearchDistinctRanges(Range<T>[] ranges, T value) argument
[all...]
/frameworks/base/tools/aapt2/compile/
H A DPseudolocaleGenerator.cpp42 // The ranges are all represented with a single value. This is the start of one range and
58 // Construct the ranges. The ranges are represented like so: [0, 2, 5, 7]
59 // The ranges are the spaces in between. In this example, with a total string length of 9,
62 std::vector<Range> ranges; local
63 ranges.push_back(Range{ 0 });
64 ranges.push_back(Range{ originalText.size() - 1 });
69 auto iter = std::lower_bound(ranges.begin(), ranges.end(), span.firstChar, cmp);
70 if (iter != ranges
[all...]
/frameworks/native/opengl/libagl/
H A DTokenizer.cpp164 const run_t* ranges = mRanges.array(); local
168 ALOGD("%zu: (%u, %u)\n", i, ranges[i].first, ranges[i].length);
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/
H A DPdfManipulationService.java238 public void removePages(PageRange[] ranges) { argument
245 ranges = PageRangeUtils.normalize(ranges);
249 final int rangeCount = ranges.length;
251 PageRange range = ranges[i];
/frameworks/base/core/java/android/net/
H A DNetworkAgent.java104 * Sent by the NetworkAgent to ConnectivityService to add new UID ranges
111 * Sent by the NetworkAgent to ConnectivityService to remove UID ranges
393 * Called by the VPN code when it wants to add ranges of UIDs to be routed
396 public void addUidRanges(UidRange[] ranges) { argument
397 queueOrSendMessage(EVENT_UID_RANGES_ADDED, ranges);
401 * Called by the VPN code when it wants to remove ranges of UIDs from being routed
404 public void removeUidRanges(UidRange[] ranges) { argument
405 queueOrSendMessage(EVENT_UID_RANGES_REMOVED, ranges);
/frameworks/av/media/libstagefright/
H A DMediaCodecList.cpp924 || !strcmp(attrs[i], "ranges")
1009 AString max, value, ranges; local
1022 (found = msg->findString("ranges", &ranges))) {
1023 return limitFoundMissingAttr(name, "ranges", found);
1037 } else if (ranges.size()) {
1039 tag.append("-ranges");
1040 mCurrentInfo->addDetail(tag, ranges);
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DVpn.java846 * the UID ranges will match the app whitelist or blacklist specified there. Otherwise, all UIDs
849 * @param userHandle The userId to create UID ranges for along with any of its restricted
858 final Set<UidRange> ranges = new ArraySet<>();
860 // Assign the top-level user to the set of ranges
861 addUserToRanges(ranges, userHandle, allowedApplications, disallowedApplications);
874 addUserToRanges(ranges, user.id, allowedApplications, disallowedApplications);
878 return ranges;
886 * the UID ranges will match the app whitelist or blacklist specified there. Otherwise, all UIDs
889 * @param ranges {@link Set} of {@link UidRange}s to which to add.
890 * @param userHandle The userId to add to {@param ranges}
895 addUserToRanges(@onNull Set<UidRange> ranges, @UserIdInt int userHandle, @Nullable List<String> allowedApplications, @Nullable List<String> disallowedApplications) argument
1056 setAllowOnlyVpnForUids(boolean enforce, Collection<UidRange> ranges) argument
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DNetworkManagementService.java2037 public void addVpnUidRanges(int netId, UidRange[] ranges) { argument
2044 // Avoid overly long commands by limiting number of UID ranges per command.
2045 for (int i = 0; i < ranges.length; i++) {
2046 argv[argc++] = ranges[i].toString();
2047 if (i == (ranges.length - 1) || argc == argv.length) {
2059 public void removeVpnUidRanges(int netId, UidRange[] ranges) { argument
2066 // Avoid overly long commands by limiting number of UID ranges per command.
2067 for (int i = 0; i < ranges.length; i++) {
2068 argv[argc++] = ranges[i].toString();
2069 if (i == (ranges
[all...]
/frameworks/native/services/inputflinger/
H A DInputReader.cpp967 const Vector<InputDeviceInfo::MotionRange>& ranges = deviceInfo.getMotionRanges(); local
968 if (!ranges.isEmpty()) {
970 for (size_t i = 0; i < ranges.size(); i++) {
971 const InputDeviceInfo::MotionRange& range = ranges.itemAt(i);
3568 // Compute oriented precision, scales and ranges.
/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 1822 milliseconds