Searched defs:ranges (Results 1 - 16 of 16) 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.cpp30 uint32_t SparseBitSet::calcNumPages(const uint32_t* ranges, size_t nRanges) { argument
35 uint32_t start = ranges[i * 2];
36 uint32_t end = ranges[i * 2 + 1];
54 void SparseBitSet::initFromRanges(const uint32_t* ranges, size_t nRanges) { argument
58 const uint32_t maxVal = ranges[nRanges * 2 - 1];
64 uint32_t nPages = calcNumPages(ranges, nRanges);
70 uint32_t start = ranges[i * 2];
71 uint32_t end = ranges[i * 2 + 1];
H A DCmapCoverage.cpp92 // Returns merged range. This method assumes left and right are not invalid ranges and they have
99 // Returns Range from given ranges vector. Returns InvalidRange if i is out of range.
104 // Merge two sorted lists of ranges into one sorted list.
119 // No ranges left in rRanges. Just put all remaining ranges in lRanges.
127 // No ranges left in lRanges. Just put all remaining ranges in rRanges.
308 // Need to merge supported ranges from default UVS Table and non-default UVS Table.
426 std::vector<uint32_t> ranges; local
427 if (!getVSCoverage(&ranges, dat
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_ConsumerIrService.cpp58 hidl_vec<ConsumerIrFreqRange> ranges; local
62 ranges = vec;
70 len = ranges.size();
79 arr[i*2] = static_cast<jint>(ranges[i].min);
80 arr[i*2+1] = static_cast<jint>(ranges[i].max);
/frameworks/minikin/include/minikin/
H A DSparseBitSet.h39 // Initialize the set to a new value, represented by ranges. For
40 // simplicity, these ranges are arranged as pairs of values,
42 SparseBitSet(const uint32_t* ranges, size_t nRanges) : SparseBitSet() { argument
43 initFromRanges(ranges, nRanges);
69 void initFromRanges(const uint32_t* ranges, size_t nRanges);
83 static uint32_t calcNumPages(const uint32_t* ranges, size_t nRanges);
/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/media/java/android/media/
H A DUtils.java44 * @throws java.lang.IllegalArgumentException if ranges are not distinct
46 public static <T extends Comparable<? super T>> void sortDistinctRanges(Range<T>[] ranges) { argument
47 Arrays.sort(ranges, new Comparator<Range<T>>() {
56 "sample rate ranges must be distinct (" + lhs + " and " + rhs + ")");
62 * Returns the intersection of two sets of non-intersecting ranges
63 * @param one a sorted set of non-intersecting ranges in ascending order
64 * @param another another sorted set of non-intersecting ranges in ascending order
92 * Returns the index of the range that contains a value in a sorted array of distinct ranges.
93 * @param ranges a sorted array of non-intersecting ranges i
100 binarySearchDistinctRanges(Range<T>[] ranges, T value) argument
[all...]
/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/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DParallax.java611 * provided set of ranges.
613 * @param ranges A list of marker values that defines the ranges.
616 public ParallaxEffect addEffect(PropertyMarkerValue... ranges) { argument
618 if (ranges[0].getProperty() instanceof IntProperty) {
623 effect.setPropertyRanges(ranges);
/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/minikin/tests/unittest/
H A DCmapCoverageTest.cpp64 static std::vector<uint8_t> buildCmapFormat4Table(const std::vector<uint16_t>& ranges) { argument
65 uint16_t segmentCount = ranges.size() / 2 + 1 /* +1 for end marker */;
90 for (size_t i = 0; i < ranges.size() / 2; ++i) {
91 const uint16_t begin = ranges[i * 2];
92 const uint16_t end = ranges[i * 2 + 1];
115 static std::vector<uint8_t> buildCmapFormat12Table(const std::vector<uint32_t>& ranges) { argument
116 uint32_t numGroups = ranges.size() / 2;
130 const uint32_t start = ranges[2 * i];
131 const uint32_t end = ranges[2 * i + 1];
254 const std::vector<uint16_t>& ranges) {
253 buildSingleFormat4Cmap(uint16_t platformId, uint16_t encodingId, const std::vector<uint16_t>& ranges) argument
260 buildSingleFormat12Cmap(uint16_t platformId, uint16_t encodingId, const std::vector<uint32_t>& ranges) argument
[all...]
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DVpn.java989 * the UID ranges will match the app whitelist or blacklist specified there. Otherwise, all UIDs
992 * @param userHandle The userId to create UID ranges for along with any of its restricted
1001 final Set<UidRange> ranges = new ArraySet<>();
1003 // Assign the top-level user to the set of ranges
1004 addUserToRanges(ranges, userHandle, allowedApplications, disallowedApplications);
1017 addUserToRanges(ranges, user.id, allowedApplications, disallowedApplications);
1021 return ranges;
1029 * the UID ranges will match the app whitelist or blacklist specified there. Otherwise, all UIDs
1032 * @param ranges {@link Set} of {@link UidRange}s to which to add.
1033 * @param userHandle The userId to add to {@param ranges}
1038 addUserToRanges(@onNull Set<UidRange> ranges, @UserIdInt int userHandle, @Nullable List<String> allowedApplications, @Nullable List<String> disallowedApplications) argument
1206 setAllowOnlyVpnForUids(boolean enforce, Collection<UidRange> ranges) argument
[all...]
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DParameters.cpp1003 // Get supported preview fps ranges, up to default maximum.
1439 * Either way, in case of multiple ranges, break the tie by
1445 // all ranges which have previewFps
1473 Vector<Range>& ranges = local
1475 Range bestRange = ranges[0];
1476 for (i = 1; i < ranges.size(); ++i) {
1477 Range r = ranges[i];
1512 * Update Preview FPS and Preview FPS ranges based on
/frameworks/base/services/core/java/com/android/server/
H A DNetworkManagementService.java1983 public void addVpnUidRanges(int netId, UidRange[] ranges) { argument
1990 // Avoid overly long commands by limiting number of UID ranges per command.
1991 for (int i = 0; i < ranges.length; i++) {
1992 argv[argc++] = ranges[i].toString();
1993 if (i == (ranges.length - 1) || argc == argv.length) {
2005 public void removeVpnUidRanges(int netId, UidRange[] ranges) { argument
2012 // Avoid overly long commands by limiting number of UID ranges per command.
2013 for (int i = 0; i < ranges.length; i++) {
2014 argv[argc++] = ranges[i].toString();
2015 if (i == (ranges
[all...]
/frameworks/native/services/inputflinger/
H A DInputReader.cpp1084 const Vector<InputDeviceInfo::MotionRange>& ranges = deviceInfo.getMotionRanges(); local
1085 if (!ranges.isEmpty()) {
1087 for (size_t i = 0; i < ranges.size(); i++) {
1088 const InputDeviceInfo::MotionRange& range = ranges.itemAt(i);
3813 // 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 520 milliseconds