/frameworks/base/core/jni/ |
H A D | android_view_InputDevice.cpp | 71 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 D | SparseBitSet.cpp | 30 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 D | CmapCoverage.cpp | 82 // Returns merged range. This method assumes left and right are not invalid ranges and they have 89 // Returns Range from given ranges vector. Returns InvalidRange if i is out of range. 94 // Merge two sorted lists of ranges into one sorted list. 109 // No ranges left in rRanges. Just put all remaining ranges in lRanges. 117 // No ranges left in lRanges. Just put all remaining ranges in rRanges. 288 // Need to merge supported ranges from default UVS Table and non-default UVS Table. 390 std::vector<uint32_t> ranges; local 391 if (!getVSCoverage(&ranges, dat [all...] |
/frameworks/base/services/core/jni/ |
H A D | com_android_server_ConsumerIrService.cpp | 58 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 D | SparseBitSet.h | 39 // 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 D | Tokenizer.cpp | 164 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 D | Utils.java | 44 * @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 D | PdfManipulationService.java | 238 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 D | Parallax.java | 611 * 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/av/media/vndk/xmlparser/1.0/ |
H A D | MediaCodecsXmlParser.cpp | 651 || !strcmp(attrs[i], "ranges") 741 AString max, value, ranges; local 754 (found = msg->findString("ranges", &ranges))) { 755 return limitFoundMissingAttr(name, "ranges", found); 769 } else if (ranges.size()) { 771 tag.append("-ranges"); 772 mCurrentType->mDetails[tag] = ranges;
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkAgent.java | 104 * 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 D | CmapCoverageTest.cpp | 64 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/av/media/libstagefright/ |
H A D | MediaCodecList.cpp | 949 || !strcmp(attrs[i], "ranges") 1034 AString max, value, ranges; local 1047 (found = msg->findString("ranges", &ranges))) { 1048 return limitFoundMissingAttr(name, "ranges", found); 1062 } else if (ranges.size()) { 1064 tag.append("-ranges"); 1065 mCurrentInfo->addDetail(tag, ranges);
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | Vpn.java | 871 * the UID ranges will match the app whitelist or blacklist specified there. Otherwise, all UIDs 874 * @param userHandle The userId to create UID ranges for along with any of its restricted 883 final Set<UidRange> ranges = new ArraySet<>(); 885 // Assign the top-level user to the set of ranges 886 addUserToRanges(ranges, userHandle, allowedApplications, disallowedApplications); 899 addUserToRanges(ranges, user.id, allowedApplications, disallowedApplications); 903 return ranges; 911 * the UID ranges will match the app whitelist or blacklist specified there. Otherwise, all UIDs 914 * @param ranges {@link Set} of {@link UidRange}s to which to add. 915 * @param userHandle The userId to add to {@param ranges} 920 addUserToRanges(@onNull Set<UidRange> ranges, @UserIdInt int userHandle, @Nullable List<String> allowedApplications, @Nullable List<String> disallowedApplications) argument 1081 setAllowOnlyVpnForUids(boolean enforce, Collection<UidRange> ranges) argument [all...] |
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | Parameters.cpp | 1002 // Get supported preview fps ranges, up to default maximum. 1438 * Either way, in case of multiple ranges, break the tie by 1444 // all ranges which have previewFps 1472 Vector<Range>& ranges = local 1474 Range bestRange = ranges[0]; 1475 for (i = 1; i < ranges.size(); ++i) { 1476 Range r = ranges[i]; 1511 * Update Preview FPS and Preview FPS ranges based on
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | NetworkManagementService.java | 1869 public void addVpnUidRanges(int netId, UidRange[] ranges) { argument 1876 // Avoid overly long commands by limiting number of UID ranges per command. 1877 for (int i = 0; i < ranges.length; i++) { 1878 argv[argc++] = ranges[i].toString(); 1879 if (i == (ranges.length - 1) || argc == argv.length) { 1891 public void removeVpnUidRanges(int netId, UidRange[] ranges) { argument 1898 // Avoid overly long commands by limiting number of UID ranges per command. 1899 for (int i = 0; i < ranges.length; i++) { 1900 argv[argc++] = ranges[i].toString(); 1901 if (i == (ranges [all...] |
/frameworks/native/services/inputflinger/ |
H A D | InputReader.cpp | 1026 const Vector<InputDeviceInfo::MotionRange>& ranges = deviceInfo.getMotionRanges(); local 1027 if (!ranges.isEmpty()) { 1029 for (size_t i = 0; i < ranges.size(); i++) { 1030 const InputDeviceInfo::MotionRange& range = ranges.itemAt(i); 3690 // Compute oriented precision, scales and ranges.
|
/frameworks/data-binding/prebuilds/1.0-rc0/ |
H A D | databinding-studio-bundle.jar | META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ... |