/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 | 68 const InputDeviceInfo::MotionRange& range = ranges.itemAt(i); local 69 env->CallVoidMethod(inputDeviceObj.get(), gInputDeviceClassInfo.addMotionRange, range.axis, 70 range.source, range.min, range.max, range.flat, range.fuzz, range.resolution);
|
/frameworks/base/media/java/android/media/ |
H A D | Utils.java | 36 * Sorts distinct (non-intersecting) range array in ascending order. 64 for (Range<T> range: another) { 66 one[ix].getUpper().compareTo(range.getLower()) < 0) { 70 one[ix].getUpper().compareTo(range.getUpper()) < 0) { 71 result.add(range.intersect(one[ix])); 77 if (one[ix].getLower().compareTo(range.getUpper()) <= 0) { 78 result.add(range.intersect(one[ix])); 85 * Returns the index of the range that contains a value in a sorted array of distinct ranges. 88 * @return if the value is in one of the ranges, it returns the index of that range. Otherwise, 89 * the return value is {@code (-1-index)} for the {@code index} of the range tha 133 factorRange(Range<Integer> range, int factor) argument 144 factorRange(Range<Long> range, long factor) argument 160 scaleRange(Range<Rational> range, int num, int den) argument 169 alignRange(Range<Integer> range, int align) argument [all...] |
H A D | MediaCodecInfo.java | 502 * Returns the range of supported bitrates in bits/second. 610 for (Range<Integer> range: mSampleRateRanges) { 611 if (!range.getLower().equals(range.getUpper())) { 712 if (info.containsKey("bitrate-range")) { 775 * Returns the range of supported bitrates in bits/second. 782 * Returns the range of supported video widths. 789 * Returns the range of supported video heights. 833 * Returns the range of supported frame rates. 845 * 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 | 97 * Use {@link #getMotionRange} to query the range of the pointing device. Some devices permit 98 * touches outside the display area so the effective range may be somewhat smaller or larger 111 * Use {@link #getMotionRange} to query the range of motion. 122 * Use {@link #getMotionRange} to query the range of positions. 131 * Use {@link #getMotionRange} to query the range of positions. 251 * Constant for retrieving the range of values for {@link MotionEvent#AXIS_X}. 260 * Constant for retrieving the range of values for {@link MotionEvent#AXIS_Y}. 269 * Constant for retrieving the range of values for {@link MotionEvent#AXIS_PRESSURE}. 278 * Constant for retrieving the range of values for {@link MotionEvent#AXIS_SIZE}. 287 * Constant for retrieving the range o [all...] |
/frameworks/native/libs/input/ |
H A D | InputDevice.cpp | 163 const MotionRange& range = mMotionRanges.itemAt(i); local 164 if (range.axis == axis && range.source == source) { 165 return ⦥ 177 MotionRange range = { axis, source, min, max, flat, fuzz, resolution }; local 178 mMotionRanges.add(range); 181 void InputDeviceInfo::addMotionRange(const MotionRange& range) { argument 182 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 | 96 OMX_S16 high, low, range; local 136 range = ( 64 * scaleFactor); 210 /* Checking the range and keeping it within the limits */ 213 pDstMVCurMB[iBlk].dx += range; 217 pDstMVCurMB[iBlk].dx -= range; 222 pDstMVCurMB[iBlk].dy += range; 226 pDstMVCurMB[iBlk].dy -= range;
|
/frameworks/minikin/libs/minikin/ |
H A D | FontCollection.cpp | 86 Range* range = &mRanges.back(); local 88 ALOGD("i=%d: range start = %d\n", i, offset); 90 range->start = offset; 103 range->end = offset; 125 const Range& range = mRanges[ch >> kLogCharsPerPage]; local 127 ALOGD("querying range %d:%d\n", range.start, range.end); 131 for (size_t i = range.start; i < range [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | ScrollBarDrawable.java | 85 public void setParameters(int range, int offset, int extent, boolean vertical) { argument 90 if (mRange != range || mOffset != offset || mExtent != extent) { 94 mRange = range; 104 final int range = mRange; 108 if (extent <= 0 || range <= extent) { 124 int length = Math.round((float) size * extent / range); 125 int offset = Math.round((float) (size - length) * mOffset / (range - extent)); 265 return "ScrollBarDrawable: range=" + mRange + " offset=" + mOffset +
|
H A D | HorizontalScrollView.java | 603 final int range = getScrollRange(); 606 (overscrollMode == OVER_SCROLL_IF_CONTENT_SCROLLS && range > 0); 610 if (overScrollBy(deltaX, 0, mScrollX, 0, range, 0, 624 } else if (pulledToX > range) { 718 final int range = getScrollRange(); 723 } else if (newScrollX > range) { 724 newScrollX = range; 1191 * <p>The scroll range of a scroll view is the overall width of all of its 1273 final int range = getScrollRange(); 1276 (overscrollMode == OVER_SCROLL_IF_CONTENT_SCROLLS && range > [all...] |
H A D | ScrollView.java | 659 final int range = getScrollRange(); 662 (overscrollMode == OVER_SCROLL_IF_CONTENT_SCROLLS && range > 0); 666 if (overScrollBy(0, deltaY, 0, mScrollY, 0, range, 0, mOverscrollDistance, true) 686 } else if (pulledToY > range) { 771 final int range = getScrollRange(); 776 } else if (newScrollY > range) { 777 newScrollY = range; 1206 * <p>The scroll range of a scroll view is the overall height of all of its 1288 final int range = getScrollRange(); 1291 (overscrollMode == OVER_SCROLL_IF_CONTENT_SCROLLS && range > [all...] |
/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/testing/support/src/android/support/test/internal/runner/listener/ |
H A D | ActivityFinisherRunListener.java | 47 for (Stage s : EnumSet.range(Stage.CREATED, Stage.PAUSED)) {
|
/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/base/packages/PrintSpooler/src/com/android/printspooler/renderer/ |
H A D | PdfManipulationService.java | 240 PageRange range = ranges[i]; 241 for (int j = range.getEnd(); j >= range.getStart(); j--) {
|
/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/compile/mclinker/lib/Target/Hexagon/ |
H A D | HexagonRelocator.cpp | 556 uint32_t range = 1 << effectiveBits; local 557 if (result > (range - 1)) 671 int64_t range = 1LL << (effectiveBits - 1); local 672 if ((pResult > (range - 1)) || (pResult < -range)) 786 uint32_t range = 1 << 16; local 794 if (result < range - 1) { 889 int32_t range = 1 << (effectiveBits - 1); local 890 if ((result > range - 1) || (result < -range)) [all...] |
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
H A D | EnvReverbTest.java | 255 static float linToExp(int lin, int range) { argument 257 return (float)Math.pow((double)10,(double)72*(lin-range)/(20*range)); 260 static int expToLin(float exp, int range) { argument 262 return (int)(20*range*Math.log10((double)exp)/72 + range);
|