/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | IntRangeManager.java | 26 * radio when the range of enabled message identifiers changes. 36 * of the caller) so that a call to remove a range can be mapped to the 37 * client that enabled that range (or else rejected). 48 * One or more clients forming the continuous range [startId, endId]. 62 * @param startId the first id included in the range 63 * @param endId the last id included in the range 64 * @param client the client requesting the enabled range 110 * @param range the new ClientRange to insert 112 void insert(ClientRange range) { argument 117 if (range [all...] |
/frameworks/base/services/core/jni/ |
H A D | com_android_server_PersistentDataBlockService.cpp | 49 uint64_t range[2]; local 53 range[0] = 0; 54 range[1] = len; 56 if (range[1] == 0) 59 ret = ioctl(fd, BLKSECDISCARD, &range); 62 range[0] = 0; 63 range[1] = len; 64 ret = ioctl(fd, BLKDISCARD, &range);
|
/frameworks/base/core/java/android/util/ |
H A D | Range.java | 24 * Immutable class for describing the range of two numeric values. 26 * A range (or "interval") defines the inclusive boundaries around a contiguous span of 31 * All ranges are bounded, and the left side of the range is always {@code >=} 32 * the right side of the range. 36 * stored must also be immutable. If mutable objects are stored here, then the range 41 * Create a new immutable range. 45 * is the range is bounded. {@code lower} must be {@link Comparable#compareTo lesser or equal} 64 * Create a new immutable range, with the argument types inferred. 68 * is the range is bounded. {@code lower} must be {@link Comparable#compareTo lesser or equal} 100 * Checks if the {@code value} is within the bounds of this range 131 contains(Range<T> range) argument 204 intersect(Range<T> range) argument 272 extend(Range<T> range) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_view_InputDevice.cpp | 73 const InputDeviceInfo::MotionRange& range = ranges.itemAt(i); local 74 env->CallVoidMethod(inputDeviceObj.get(), gInputDeviceClassInfo.addMotionRange, range.axis, 75 range.source, range.min, range.max, range.flat, range.fuzz, range.resolution);
|
/frameworks/base/media/java/android/media/ |
H A D | Utils.java | 34 * Sorts distinct (non-intersecting) range array in ascending order. 62 for (Range<T> range: another) { 64 one[ix].getUpper().compareTo(range.getLower()) < 0) { 68 one[ix].getUpper().compareTo(range.getUpper()) < 0) { 69 result.add(range.intersect(one[ix])); 75 if (one[ix].getLower().compareTo(range.getUpper()) <= 0) { 76 result.add(range.intersect(one[ix])); 83 * Returns the index of the range that contains a value in a sorted array of distinct ranges. 86 * @return if the value is in one of the ranges, it returns the index of that range. Otherwise, 87 * the return value is {@code (-1-index)} for the {@code index} of the range tha 131 factorRange(Range<Integer> range, int factor) argument 142 factorRange(Range<Long> range, long factor) argument 158 scaleRange(Range<Rational> range, int num, int den) argument 167 alignRange(Range<Integer> range, int align) argument [all...] |
H A D | MediaCodecInfo.java | 752 * Returns the range of supported bitrates in bits/second. 860 for (Range<Integer> range: mSampleRateRanges) { 861 if (!range.getLower().equals(range.getUpper())) { 962 if (info.containsKey("bitrate-range")) { 964 Utils.parseIntRange(info.getString("bitrate-range"), bitRates)); 1026 * Returns the range of supported bitrates in bits/second. 1033 * Returns the range of supported video widths. 1040 * Returns the range of supported video heights. 1084 * Returns the range o [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | deringing_luma.cpp | 34 int thres[4], range[4], max_range_blk, max_thres_blk; local 66 range[blks] = max_blk - min_blk; 68 if (range[blks] >= max_range_blk) 70 max_range_blk = range[blks]; 86 if (range[blks]<32 && max_range_blk >= 64) 120 range[blks] = max_blk - min_blk; 122 if (range[blks] >= max_range_blk) 124 max_range_blk = range[blks]; 140 if (range[blks]<32 && max_range_blk >= 64) 178 range[blk [all...] |
/frameworks/base/core/java/android/view/ |
H A D | InputDevice.java | 98 * Use {@link #getMotionRange} to query the range of the pointing device. Some devices permit 99 * touches outside the display area so the effective range may be somewhat smaller or larger 112 * Use {@link #getMotionRange} to query the range of motion. 123 * Use {@link #getMotionRange} to query the range of positions. 132 * Use {@link #getMotionRange} to query the range of positions. 281 * Constant for retrieving the range of values for {@link MotionEvent#AXIS_X}. 290 * Constant for retrieving the range of values for {@link MotionEvent#AXIS_Y}. 299 * Constant for retrieving the range of values for {@link MotionEvent#AXIS_PRESSURE}. 308 * Constant for retrieving the range of values for {@link MotionEvent#AXIS_SIZE}. 317 * Constant for retrieving the range o [all...] |
/frameworks/native/libs/input/ |
H A D | InputDevice.cpp | 166 const MotionRange& range = mMotionRanges.itemAt(i); local 167 if (range.axis == axis && range.source == source) { 168 return ⦥ 180 MotionRange range = { axis, source, min, max, flat, fuzz, resolution }; local 181 mMotionRanges.add(range); 184 void InputDeviceInfo::addMotionRange(const MotionRange& range) { argument 185 mMotionRanges.add(range);
|
/frameworks/base/core/java/android/hardware/ |
H A D | ConsumerIrManager.java | 92 * Represents a range of carrier frequencies (inclusive) on which the 100 * Create a segment of a carrier frequency range. 102 * @param min The minimum transmittable frequency in this range segment. 103 * @param max The maximum transmittable frequency in this range segment. 111 * Get the minimum (inclusive) frequency in this range segment. 118 * Get the maximum (inclusive) frequency in this range segment. 145 CarrierFrequencyRange[] range = new CarrierFrequencyRange[freqs.length / 2]; 148 range[i / 2] = new CarrierFrequencyRange(freqs[i], freqs[i+1]); 150 return range;
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
H A D | omxVCM4P2_DecodePadMV_PVOP.c | 111 OMX_S16 high, low, range; local 151 range = ( 64 * scaleFactor); 225 /* Checking the range and keeping it within the limits */ 228 pDstMVCurMB[iBlk].dx += range; 232 pDstMVCurMB[iBlk].dx -= range; 237 pDstMVCurMB[iBlk].dy += range; 241 pDstMVCurMB[iBlk].dy -= range;
|
/frameworks/minikin/libs/minikin/ |
H A D | FontCollection.cpp | 73 Range* range = &mRanges.back(); local 75 ALOGD("i=%d: range start = %d\n", i, offset); 77 range->start = offset; 90 range->end = offset; 111 const Range& range = mRanges[ch >> kLogCharsPerPage]; local 113 ALOGD("querying range %d:%d\n", range.start, range.end); 117 for (size_t i = range.start; i < range [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | ScrollBarDrawable.java | 99 public void setParameters(int range, int offset, int extent, boolean vertical) { argument 106 if (mRange != range || mOffset != offset || mExtent != extent) { 107 mRange = range; 119 final int range = mRange; 123 if (extent <= 0 || range <= extent) { 143 int length = Math.round((float) size * extent / range); 149 int offset = Math.round((float) (size - length) * mOffset / (range - extent)); 387 return "ScrollBarDrawable: range=" + mRange + " offset=" + mOffset +
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | findhalfpel.cpp | 78 Int range = video->encParams->SearchRange; local 91 /**************** check range ***************************/ 95 ilow = xpos - range; 96 jlow = ypos - range; 199 Int range = video->encParams->SearchRange; local 212 /**************** check range ***************************/ 217 ilow = xpos + ((comp & 1) << 3) - range; 218 jlow = ypos + ((comp & 2) << 2) - range;
|
H A D | motion_est.cpp | 81 Int *imin, Int *jmin, Int ilow, Int ihigh, Int jlow, Int jhigh, Int range); 785 Int range = encParams->SearchRange; local 798 Int step, max_step = range >> 1; 805 /* find limit of the search (adjusting search range)*/ 809 ilow = i0 - range; 812 ihigh = i0 + range - 1; 815 jlow = j0 - range; 818 jhigh = j0 + range - 1; 824 ilow = i0 - range; 827 ihigh = i0 + range 1182 Int range = video->encParams->SearchRange; local 1266 fullsearchBlk(VideoEncData *video, Vol *currVol, UChar *cent, UChar *cur, Int *imin, Int *jmin, Int ilow, Int ihigh, Int jlow, Int jhigh, Int range) argument [all...] |
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/ |
H A D | CameraSource.java | 319 for (int[] range : supportedFpsRanges) { 320 if (range[Camera.Parameters.PREVIEW_FPS_MIN_INDEX] < fps*1000 && 321 range[Camera.Parameters.PREVIEW_FPS_MAX_INDEX] > fps*1000 && 322 range[Camera.Parameters.PREVIEW_FPS_MIN_INDEX] > 324 range[Camera.Parameters.PREVIEW_FPS_MAX_INDEX] < 326 closestRange = range; 330 + ".Closest frame rate range: ["
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | AppBarLayout.java | 291 * Returns the scroll range of all children. 293 * @return the scroll range in px 300 int range = 0; 311 range += childHeight + lp.topMargin + lp.bottomMargin; 317 range -= ViewCompat.getMinimumHeight(child); 321 // As soon as a view doesn't have the scroll flag, we end the range calculation. 327 return mTotalScrollRange = (range - top); 335 * Return the scroll range when scrolling up from a nested pre-scroll. 342 * Return the scroll range when scrolling down from a nested pre-scroll. 350 int range [all...] |
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
H A D | vlc_encode.cpp | 51 AVCEnc_Status te_v(AVCEncBitstream *bitstream, uint value, uint range) argument 55 if (range > 1)
|
/frameworks/base/tools/orientationplot/ |
H A D | orientationplot.py | 88 yticks=range(-15, 16, 5)) 108 yticks=range(-15, 16, 5)) 123 yticks=range(-90, 91, 30)) 132 yticks=range(0, 361, 45)) 143 yticks=range(0, 4)) 159 yticks=range(0, 600, 100)) 174 yticks=range(0, 500, 100)) 217 axes.set_xticks(range(0, timespan + 1, timeticks))
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/ |
H A D | AsyncListUtilTest.java | 202 public void extendRangeInto(int[] range, int[] outRange, int scrollHint) { argument 203 outRange[0] = range[0] - mStartPreload; 204 outRange[1] = range[1] + mEndPreload;
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | AsyncListUtilLayoutTest.java | 213 public void extendRangeInto(int[] range, int[] outRange, int scrollHint) { argument 214 outRange[0] = range[0] - mStartPrefetch; 215 outRange[1] = range[1] + mEndPrefetch;
|
/frameworks/support/v7/recyclerview/src/android/support/v7/util/ |
H A D | AsyncListUtil.java | 34 * {@link AsyncListUtil} queries the currently visible range through {@link ViewCallback}, 85 * @param viewCallback Callback for querying visible item range and update notifications. 108 * Updates the currently visible item range. 117 return; // Will update range will the refresh result arrives. 127 * range. To be called when the data item count and/or contents has changed. 141 * this position stays outside of the cached item range (as defined by 180 // Invalid range may arrive soon after the refresh. 223 // There will be no scroll event if the size change does not affect the current range. 328 log("requesting tile range: %d..%d", 492 * tiles that is required to cover the range returne 572 extendRangeInto(int[] range, int[] outRange, int scrollHint) argument [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
H A D | MediaVisualizerTest.java | 164 int[] range = mVisualizer.getCaptureSizeRange(); 166 range[0] <= MAX_CAPTURE_SIZE_MIN); 168 range[1] >= MIN_CAPTURE_SIZE_MAX); 169 mVisualizer.setCaptureSize(range[0]); 171 range[0], mVisualizer.getCaptureSize()); 172 mVisualizer.setCaptureSize(range[1]); 174 range[1], mVisualizer.getCaptureSize());
|
/frameworks/minikin/tools/ |
H A D | mk_hyb_file.py | 111 for i in range(len(a)): 117 for ix in range(len(pattern)): 248 for ix in reversed(range(len(self.bfs_order))): 362 for i in range(n_trie): 465 for i in range(len(s) + 1): 517 for ch in range(min_ch, max_ch): 525 for i in range(n_entries):
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
H A D | HexagonRelocator.cpp | 571 uint32_t range = 1 << effectiveBits; local 572 if (result > (range - 1)) 686 int64_t range = 1LL << (effectiveBits - 1); local 687 if ((pResult > (range - 1)) || (pResult < -range)) 801 uint32_t range = 1 << 16; local 809 if (result < range - 1) { 903 int32_t range = 1 << (effectiveBits - 1); local 904 if ((result > range - 1) || (result < -range)) [all...] |