/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | IntRangeManager.java | 112 void insert(ClientRange range) { in insert() argument 117 if (range.mStartId <= nextRange.mStartId) { in insert() 119 if (!range.equals(nextRange)) { in insert() 121 if (range.mStartId == nextRange.mStartId in insert() 122 && range.mEndId > nextRange.mEndId) { in insert() 131 mClients.add(i, range); in insert() 137 mClients.add(insert, range); in insert() 140 mClients.add(range); // append to end of list in insert() 207 IntRange range = mRanges.get(startIndex); in enableRange() local 208 if ((startId) >= range.mStartId && (endId) <= range.mEndId) { in enableRange() [all …]
|
/frameworks/base/core/java/android/util/ |
D | Range.java | 131 public boolean contains(Range<T> range) { in contains() argument 132 checkNotNull(range, "value must not be null"); in contains() 134 boolean gteLower = range.mLower.compareTo(mLower) >= 0; in contains() 135 boolean lteUpper = range.mUpper.compareTo(mUpper) <= 0; in contains() 204 public Range<T> intersect(Range<T> range) { in intersect() argument 205 checkNotNull(range, "range must not be null"); in intersect() 207 int cmpLower = range.mLower.compareTo(mLower); in intersect() 208 int cmpUpper = range.mUpper.compareTo(mUpper); in intersect() 215 return range; in intersect() 218 cmpLower <= 0 ? mLower : range.mLower, in intersect() [all …]
|
/frameworks/base/media/java/android/media/ |
D | Utils.java | 64 for (Range<T> range: another) { in intersectSortedDistinctRanges() 66 one[ix].getUpper().compareTo(range.getLower()) < 0) { in intersectSortedDistinctRanges() 70 one[ix].getUpper().compareTo(range.getUpper()) < 0) { in intersectSortedDistinctRanges() 71 result.add(range.intersect(one[ix])); in intersectSortedDistinctRanges() 77 if (one[ix].getLower().compareTo(range.getUpper()) <= 0) { in intersectSortedDistinctRanges() 78 result.add(range.intersect(one[ix])); in intersectSortedDistinctRanges() 133 static Range<Integer>factorRange(Range<Integer> range, int factor) { 135 return range; 137 return Range.create(divUp(range.getLower(), factor), range.getUpper() / factor); 144 static Range<Long>factorRange(Range<Long> range, long factor) { [all …]
|
D | MediaCodecInfo.java | 610 for (Range<Integer> range: mSampleRateRanges) { in limitSampleRates() 611 if (!range.getLower().equals(range.getUpper())) { in limitSampleRates() 850 Range<Integer> range = mWidthRange; in getSupportedWidthsFor() local 866 range = range.intersect( in getSupportedWidthsFor() 872 range = range.intersect(1, mSmallerDimensionUpperLimit); in getSupportedWidthsFor() 876 range = range.intersect( in getSupportedWidthsFor() 880 return range; in getSupportedWidthsFor() 894 Range<Integer> range = mHeightRange; in getSupportedHeightsFor() local 910 range = range.intersect( in getSupportedHeightsFor() 916 range = range.intersect(1, mSmallerDimensionUpperLimit); in getSupportedHeightsFor() [all …]
|
/frameworks/base/services/core/jni/ |
D | com_android_server_PersistentDataBlockService.cpp | 49 uint64_t range[2]; in wipe_block_device() local 53 range[0] = 0; in wipe_block_device() 54 range[1] = len; in wipe_block_device() 56 if (range[1] == 0) in wipe_block_device() 59 ret = ioctl(fd, BLKSECDISCARD, &range); in wipe_block_device() 62 range[0] = 0; in wipe_block_device() 63 range[1] = len; in wipe_block_device() 64 ret = ioctl(fd, BLKDISCARD, &range); in wipe_block_device()
|
/frameworks/base/core/java/android/view/ |
D | InputDevice.java | 644 final MotionRange range = mMotionRanges.get(i); in getMotionRange() local 645 if (range.mAxis == axis) { in getMotionRange() 646 return range; in getMotionRange() 669 final MotionRange range = mMotionRanges.get(i); in getMotionRange() local 670 if (range.mAxis == axis && range.mSource == source) { in getMotionRange() 671 return range; in getMotionRange() 856 MotionRange range = mMotionRanges.get(i); in writeToParcel() local 857 out.writeInt(range.mAxis); in writeToParcel() 858 out.writeInt(range.mSource); in writeToParcel() 859 out.writeFloat(range.mMin); in writeToParcel() [all …]
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
D | deringing_luma.cpp | 34 int thres[4], range[4], max_range_blk, max_thres_blk; in Deringing_Luma() local 66 range[blks] = max_blk - min_blk; in Deringing_Luma() 68 if (range[blks] >= max_range_blk) in Deringing_Luma() 70 max_range_blk = range[blks]; in Deringing_Luma() 86 if (range[blks]<32 && max_range_blk >= 64) in Deringing_Luma() 120 range[blks] = max_blk - min_blk; in Deringing_Luma() 122 if (range[blks] >= max_range_blk) in Deringing_Luma() 124 max_range_blk = range[blks]; in Deringing_Luma() 140 if (range[blks]<32 && max_range_blk >= 64) in Deringing_Luma() 178 range[blks] = max_blk - min_blk; in Deringing_Luma() [all …]
|
/frameworks/base/core/jni/ |
D | android_view_InputDevice.cpp | 68 const InputDeviceInfo::MotionRange& range = ranges.itemAt(i); in android_view_InputDevice_create() local 69 env->CallVoidMethod(inputDeviceObj.get(), gInputDeviceClassInfo.addMotionRange, range.axis, in android_view_InputDevice_create() 70 range.source, range.min, range.max, range.flat, range.fuzz, range.resolution); in android_view_InputDevice_create()
|
/frameworks/native/libs/input/ |
D | InputDevice.cpp | 163 const MotionRange& range = mMotionRanges.itemAt(i); in getMotionRange() local 164 if (range.axis == axis && range.source == source) { in getMotionRange() 165 return ⦥ in getMotionRange() 177 MotionRange range = { axis, source, min, max, flat, fuzz, resolution }; in addMotionRange() local 178 mMotionRanges.add(range); in addMotionRange() 181 void InputDeviceInfo::addMotionRange(const MotionRange& range) { in addMotionRange() argument 182 mMotionRanges.add(range); in addMotionRange()
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
D | omxVCM4P2_DecodePadMV_PVOP.c | 96 OMX_S16 high, low, range; in omxVCM4P2_DecodePadMV_PVOP() local 136 range = ( 64 * scaleFactor); in omxVCM4P2_DecodePadMV_PVOP() 213 pDstMVCurMB[iBlk].dx += range; in omxVCM4P2_DecodePadMV_PVOP() 217 pDstMVCurMB[iBlk].dx -= range; in omxVCM4P2_DecodePadMV_PVOP() 222 pDstMVCurMB[iBlk].dy += range; in omxVCM4P2_DecodePadMV_PVOP() 226 pDstMVCurMB[iBlk].dy -= range; in omxVCM4P2_DecodePadMV_PVOP()
|
/frameworks/base/core/java/android/widget/ |
D | ScrollBarDrawable.java | 85 public void setParameters(int range, int offset, int extent, boolean vertical) { in setParameters() argument 90 if (mRange != range || mOffset != offset || mExtent != extent) { in setParameters() 94 mRange = range; in setParameters() 104 final int range = mRange; in draw() local 108 if (extent <= 0 || range <= extent) { in draw() 124 int length = Math.round((float) size * extent / range); in draw() 125 int offset = Math.round((float) (size - length) * mOffset / (range - extent)); in draw()
|
D | HorizontalScrollView.java | 603 final int range = getScrollRange(); in onTouchEvent() local 606 (overscrollMode == OVER_SCROLL_IF_CONTENT_SCROLLS && range > 0); in onTouchEvent() 610 if (overScrollBy(deltaX, 0, mScrollX, 0, range, 0, in onTouchEvent() 624 } else if (pulledToX > range) { in onTouchEvent() 718 final int range = getScrollRange(); in onGenericMotionEvent() local 723 } else if (newScrollX > range) { in onGenericMotionEvent() 724 newScrollX = range; in onGenericMotionEvent() 1273 final int range = getScrollRange(); in computeScroll() local 1276 (overscrollMode == OVER_SCROLL_IF_CONTENT_SCROLLS && range > 0); in computeScroll() 1278 overScrollBy(x - oldX, y - oldY, oldX, oldY, range, 0, in computeScroll() [all …]
|
/frameworks/minikin/libs/minikin/ |
D | FontCollection.cpp | 86 Range* range = &mRanges.back(); in FontCollection() local 90 range->start = offset; in FontCollection() 103 range->end = offset; in FontCollection() 125 const Range& range = mRanges[ch >> kLogCharsPerPage]; in getInstanceForChar() local 127 ALOGD("querying range %d:%d\n", range.start, range.end); in getInstanceForChar() 131 for (size_t i = range.start; i < range.end; i++) { in getInstanceForChar()
|
/frameworks/base/core/java/android/hardware/ |
D | ConsumerIrManager.java | 145 CarrierFrequencyRange[] range = new CarrierFrequencyRange[freqs.length / 2]; in getCarrierFrequencies() local 148 range[i / 2] = new CarrierFrequencyRange(freqs[i], freqs[i+1]); in getCarrierFrequencies() 150 return range; in getCarrierFrequencies()
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
D | findhalfpel.cpp | 78 Int range = video->encParams->SearchRange; in FindHalfPelMB() local 95 ilow = xpos - range; in FindHalfPelMB() 96 jlow = ypos - range; in FindHalfPelMB() 199 Int range = video->encParams->SearchRange; in FindHalfPelBlk() local 217 ilow = xpos + ((comp & 1) << 3) - range; in FindHalfPelBlk() 218 jlow = ypos + ((comp & 2) << 2) - range; in FindHalfPelBlk()
|
D | motion_est.cpp | 81 Int *imin, Int *jmin, Int ilow, Int ihigh, Int jlow, Int jhigh, Int range); 785 Int range = encParams->SearchRange; in MBMotionSearch() local 798 Int step, max_step = range >> 1; in MBMotionSearch() 809 ilow = i0 - range; in MBMotionSearch() 812 ihigh = i0 + range - 1; in MBMotionSearch() 815 jlow = j0 - range; in MBMotionSearch() 818 jhigh = j0 + range - 1; in MBMotionSearch() 824 ilow = i0 - range; in MBMotionSearch() 827 ihigh = i0 + range - 1; in MBMotionSearch() 830 jlow = j0 - range; in MBMotionSearch() [all …]
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/ |
D | CameraSource.java | 319 for (int[] range : supportedFpsRanges) { in findClosestFpsRange() 320 if (range[Camera.Parameters.PREVIEW_FPS_MIN_INDEX] < fps*1000 && in findClosestFpsRange() 321 range[Camera.Parameters.PREVIEW_FPS_MAX_INDEX] > fps*1000 && in findClosestFpsRange() 322 range[Camera.Parameters.PREVIEW_FPS_MIN_INDEX] > in findClosestFpsRange() 324 range[Camera.Parameters.PREVIEW_FPS_MAX_INDEX] < in findClosestFpsRange() 326 closestRange = range; in findClosestFpsRange()
|
/frameworks/base/tools/orientationplot/ |
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/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
D | MediaVisualizerTest.java | 164 int[] range = mVisualizer.getCaptureSizeRange(); in test1_1CaptureSize() local 166 range[0] <= MAX_CAPTURE_SIZE_MIN); in test1_1CaptureSize() 168 range[1] >= MIN_CAPTURE_SIZE_MAX); in test1_1CaptureSize() 169 mVisualizer.setCaptureSize(range[0]); in test1_1CaptureSize() 171 range[0], mVisualizer.getCaptureSize()); in test1_1CaptureSize() 172 mVisualizer.setCaptureSize(range[1]); in test1_1CaptureSize() 174 range[1], mVisualizer.getCaptureSize()); in test1_1CaptureSize()
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
D | KeyguardWidgetPager.java | 579 void boundByReorderablePages(boolean isReordering, int[] range) { 582 while (range[1] >= range[0] && !isWidgetPage(range[1])) { 583 range[1]--; 585 while (range[0] <= range[1] && !isWidgetPage(range[0])) { 586 range[0]++;
|
/frameworks/compile/slang/tests/F_set_target_api_10/ |
D | stderr.txt.expect | 1 error: target API level '10' is out of range ('11' - '21')
|
/frameworks/compile/slang/tests/F_set_target_api_9000/ |
D | stderr.txt.expect | 1 error: target API level '9000' is out of range ('11' - '21')
|
/frameworks/base/data/keyboards/ |
D | Vendor_045e_Product_028e.kl | 32 # The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd. 34 # settles in a flat range of +/- 4096 or so.
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
D | TiledImageRenderer.java | 276 Rect range = mTileRange; in layoutTiles() local 277 getRange(range, mCenterX, mCenterY, mLevel, mScale, mRotation); in layoutTiles() 278 mOffsetX = Math.round(mViewWidth / 2f + (range.left - mCenterX) * mScale); in layoutTiles() 279 mOffsetY = Math.round(mViewHeight / 2f + (range.top - mCenterY) * mScale); in layoutTiles() 291 Rect range[] = mActiveRange; in layoutTiles() local 293 getRange(range[i - fromLevel], mCenterX, mCenterY, i, mRotation); in layoutTiles() 313 || !range[level - fromLevel].contains(tile.mX, tile.mY)) { in layoutTiles() 324 Rect r = range[i - fromLevel]; in layoutTiles()
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
D | HexagonRelocator.cpp | 556 uint32_t range = 1 << effectiveBits; in applyAbs() local 557 if (result > (range - 1)) in applyAbs() 671 int64_t range = 1LL << (effectiveBits - 1); in applyRel() local 672 if ((pResult > (range - 1)) || (pResult < -range)) in applyRel() 786 uint32_t range = 1 << 16; in relocGPREL() local 794 if (result < range - 1) { in relocGPREL() 889 int32_t range = 1 << (effectiveBits - 1); in relocGOT() local 890 if ((result > range - 1) || (result < -range)) in relocGOT()
|