Home
last modified time | relevance | path

Searched refs:range (Results 1 – 25 of 156) sorted by relevance

1234567

/frameworks/base/telephony/java/com/android/internal/telephony/
DIntRangeManager.java112 void insert(ClientRange range) { in insert() argument
116 if (range.startId <= nextRange.startId) { in insert()
118 if (!range.equals(nextRange)) { in insert()
119 clients.add(i, range); in insert()
124 clients.add(range); // append to end of list in insert()
191 IntRange range = mRanges.get(startIndex); in enableRange() local
192 if (startId < range.startId) { in enableRange()
195 if ((endId + 1) < range.startId) { in enableRange()
203 } else if (endId <= range.endId) { in enableRange()
205 if (tryAddSingleRange(startId, range.startId - 1, true)) { in enableRange()
[all …]
/frameworks/compile/mclinker/lib/LD/
DLayout.cpp148 Range* range = new Range(pInputHdr); in addInputRange() local
149 range_list->push_back(range); in addInputRange()
158 range->prevRear = in addInputRange()
163 if (!isFirstRange(*range)) { in addInputRange()
164 setFragmentLayoutOrder(range->prevRear); in addInputRange()
165 setFragmentLayoutOffset(range->prevRear); in addInputRange()
230 Range range = range_list->back(); in getInputLDSection() local
231 if (isFirstRange(range)) { in getInputLDSection()
232 return range.header; in getInputLDSection()
234 while(range.prevRear->getLayoutOrder() > pFrag.getLayoutOrder()) { in getInputLDSection()
[all …]
/frameworks/base/core/java/android/view/
DInputDevice.java523 final MotionRange range = mMotionRanges.get(i); in getMotionRange() local
524 if (range.mAxis == axis) { in getMotionRange()
525 return range; in getMotionRange()
549 final MotionRange range = mMotionRanges.get(i); in getMotionRange() local
550 if (range.mAxis == axis && range.mSource == source) { in getMotionRange()
551 return range; in getMotionRange()
699 MotionRange range = mMotionRanges.get(i); in writeToParcel() local
700 out.writeInt(range.mAxis); in writeToParcel()
701 out.writeInt(range.mSource); in writeToParcel()
702 out.writeFloat(range.mMin); in writeToParcel()
[all …]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dderinging_luma.cpp34 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/
Dandroid_view_InputDevice.cpp64 const InputDeviceInfo::MotionRange& range = ranges.itemAt(i); in android_view_InputDevice_create() local
66 range.axis, range.source, range.min, range.max, range.flat, range.fuzz); in android_view_InputDevice_create()
Dandroid_hardware_SensorManager.cpp38 jfieldID range; member
75 env->SetFloatField(sensor, sensorOffsets.range, list->getMaxValue()); in sensors_module_get_next_sensor()
159 sensorOffsets.range = _env->GetFieldID(sensorClass, "mMaxRange", "F"); in nativeClassInit()
/frameworks/base/libs/androidfw/
DInputDevice.cpp162 const MotionRange& range = mMotionRanges.itemAt(i); in getMotionRange() local
163 if (range.axis == axis && range.source == source) { in getMotionRange()
164 return &range; in getMotionRange()
176 MotionRange range = { axis, source, min, max, flat, fuzz }; in addMotionRange() local
177 mMotionRanges.add(range); in addMotionRange()
180 void InputDeviceInfo::addMotionRange(const MotionRange& range) { in addMotionRange() argument
181 mMotionRanges.add(range); in addMotionRange()
/frameworks/av/media/libmedia/
Dautodetect.cpp856 const CharRange* range = &encodingRanges[i]; in charMatchesEncoding() local
857 if (ch >= range->first && ch <= range->last) in charMatchesEncoding()
859 if (ch > range->last) in charMatchesEncoding()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
DomxVCM4P2_DecodePadMV_PVOP.c96 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/
DScrollBarDrawable.java85 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()
DHorizontalScrollView.java580 final int range = getScrollRange(); in onTouchEvent() local
583 (overscrollMode == OVER_SCROLL_IF_CONTENT_SCROLLS && range > 0); in onTouchEvent()
585 if (overScrollBy(deltaX, 0, mScrollX, 0, range, 0, in onTouchEvent()
599 } else if (pulledToX > range) { in onTouchEvent()
692 final int range = getScrollRange(); in onGenericMotionEvent() local
697 } else if (newScrollX > range) { in onGenericMotionEvent()
698 newScrollX = range; in onGenericMotionEvent()
1244 final int range = getScrollRange(); in computeScroll() local
1247 (overscrollMode == OVER_SCROLL_IF_CONTENT_SCROLLS && range > 0); in computeScroll()
1249 overScrollBy(x - oldX, y - oldY, oldX, oldY, range, 0, in computeScroll()
[all …]
DScrollView.java608 final int range = getScrollRange(); in onTouchEvent() local
611 (overscrollMode == OVER_SCROLL_IF_CONTENT_SCROLLS && range > 0); in onTouchEvent()
614 0, range, 0, mOverscrollDistance, true)) { in onTouchEvent()
627 } else if (pulledToY > range) { in onTouchEvent()
710 final int range = getScrollRange(); in onGenericMotionEvent() local
715 } else if (newScrollY > range) { in onGenericMotionEvent()
716 newScrollY = range; in onGenericMotionEvent()
1224 final int range = getScrollRange(); in computeScroll() local
1227 (overscrollMode == OVER_SCROLL_IF_CONTENT_SCROLLS && range > 0); in computeScroll()
1229 overScrollBy(x - oldX, y - oldY, oldX, oldY, 0, range, in computeScroll()
[all …]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dfindhalfpel.cpp78 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()
Dmotion_est.cpp81 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/
DCameraSource.java326 for (int[] range : supportedFpsRanges) { in findClosestFpsRange()
327 if (range[Camera.Parameters.PREVIEW_FPS_MIN_INDEX] < fps*1000 && in findClosestFpsRange()
328 range[Camera.Parameters.PREVIEW_FPS_MAX_INDEX] > fps*1000 && in findClosestFpsRange()
329 range[Camera.Parameters.PREVIEW_FPS_MIN_INDEX] > in findClosestFpsRange()
331 range[Camera.Parameters.PREVIEW_FPS_MAX_INDEX] < in findClosestFpsRange()
333 closestRange = range; in findClosestFpsRange()
/frameworks/base/tests/RenderScriptTests/SurfaceTexture/src/com/example/android/rs/sto/
DCameraCapture.java195 for (int[] range : supportedFpsRanges) { in findClosestFpsRange()
196 int low = range[Camera.Parameters.PREVIEW_FPS_MIN_INDEX]; in findClosestFpsRange()
197 int high = range[Camera.Parameters.PREVIEW_FPS_MAX_INDEX]; in findClosestFpsRange()
201 closestRange = range; in findClosestFpsRange()
/frameworks/base/tools/orientationplot/
Dorientationplot.py88 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/
DMediaVisualizerTest.java164 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/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DVideoEditorHelper.java110 long range = 0; in checkRange() local
111 range = (100 * actual) / expected; in checkRange()
113 Log.i("checkRange", "Range = " + range); in checkRange()
114 if ((range > (100 - rangePercent)) && (range < (100 + rangePercent))) { in checkRange()
/frameworks/base/data/keyboards/
DVendor_045e_Product_028e.kl32 # 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/compile/slang/tests/F_set_target_api_9000/
Dstderr.txt.expect1 error: target API level '9000' is out of range ('11' - '16')
/frameworks/compile/slang/tests/F_set_target_api_10/
Dstderr.txt.expect1 error: target API level '10' is out of range ('11' - '16')
/frameworks/wilhelm/src/itf/
DIEqualizer.c265 SLmilliHertz range[2] = {0, 0}; // SLmilliHertz is SLuint32 in IEqualizer_GetBandFreqRange()
271 android_eq_getParam(thiz->mEqEffect, EQ_PARAM_BAND_FREQ_RANGE, band, range); in IEqualizer_GetBandFreqRange()
276 *pMin = range[0]; in IEqualizer_GetBandFreqRange()
279 *pMax = range[1]; in IEqualizer_GetBandFreqRange()
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
Dvlc_encode.cpp51 AVCEnc_Status te_v(AVCEncBitstream *bitstream, uint value, uint range) in te_v() argument
55 if (range > 1) in te_v()
/frameworks/base/tests/RenderScriptTests/ShadersTest/res/raw/
Ddepth_fs.glsl6 // the focus range

1234567