Searched refs:range (Results 1 - 25 of 54) sorted by relevance

123

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DIntRangeManager.java26 * 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
116 if (range
[all...]
/frameworks/base/core/java/android/view/
H A DInputDevice.java84 * Use {@link #getMotionRange} to query the range of the pointing device. Some devices permit
85 * touches outside the display area so the effective range may be somewhat smaller or larger
98 * Use {@link #getMotionRange} to query the range of motion.
109 * Use {@link #getMotionRange} to query the range of positions.
118 * Use {@link #getMotionRange} to query the range of positions.
219 * Constant for retrieving the range of values for {@link MotionEvent#AXIS_X}.
228 * Constant for retrieving the range of values for {@link MotionEvent#AXIS_Y}.
237 * Constant for retrieving the range of values for {@link MotionEvent#AXIS_PRESSURE}.
246 * Constant for retrieving the range of values for {@link MotionEvent#AXIS_SIZE}.
255 * Constant for retrieving the range o
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_InputDevice.cpp64 const InputDeviceInfo::MotionRange& range = ranges.itemAt(i); local
66 range.axis, range.source, range.min, range.max, range.flat, range.fuzz);
H A Dandroid_hardware_SensorManager.cpp38 jfieldID range; member in struct:android::SensorOffsets
75 env->SetFloatField(sensor, sensorOffsets.range, list->getMaxValue());
159 sensorOffsets.range = _env->GetFieldID(sensorClass, "mMaxRange", "F");
/frameworks/compile/mclinker/lib/LD/
H A DLayout.cpp95 /// also set up the layout offsets of all the fragments in the same range.
132 /// 1. add a new range <pInputHdr, previous rear fragment>
149 // make a range and push it into the range list
150 Range* range = new Range(pInputHdr); local
151 range_list->push_back(range);
153 // set up previous rear of the range.
154 // FIXME: in current design, we can not add a range before finishing adding
155 // fragments in the previous range. If the limitation keeps, we can set
158 // if the pSD's fragment list is empty, the range
232 Range range = range_list->back(); local
277 Range range = range_list->back(); local
417 RangeList::iterator range, rangeEnd = range_list->end(); local
466 RangeList::iterator range, rangeEnd = range_list->end(); local
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dderinging_luma.cpp34 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/libs/androidfw/
H A DInputDevice.cpp162 const MotionRange& range = mMotionRanges.itemAt(i); local
163 if (range.axis == axis && range.source == source) {
164 return &range;
176 MotionRange range = { axis, source, min, max, flat, fuzz }; local
177 mMotionRanges.add(range);
180 void InputDeviceInfo::addMotionRange(const MotionRange& range) { argument
181 mMotionRanges.add(range);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DQuickSettingsScrollView.java52 final int range = getScrollRange();
53 if (range == 0) {
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
H A DomxVCM4P2_DecodePadMV_PVOP.c96 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/base/core/java/android/widget/
H A DScrollBarDrawable.java85 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));
247 return "ScrollBarDrawable: range=" + mRange + " offset=" + mOffset +
H A DHorizontalScrollView.java593 final int range = getScrollRange();
596 (overscrollMode == OVER_SCROLL_IF_CONTENT_SCROLLS && range > 0);
598 if (overScrollBy(deltaX, 0, mScrollX, 0, range, 0,
612 } else if (pulledToX > range) {
705 final int range = getScrollRange();
710 } else if (newScrollX > range) {
711 newScrollX = range;
1175 * <p>The scroll range of a scroll view is the overall width of all of its
1257 final int range = getScrollRange();
1260 (overscrollMode == OVER_SCROLL_IF_CONTENT_SCROLLS && range >
[all...]
H A DScrollView.java629 final int range = getScrollRange();
632 (overscrollMode == OVER_SCROLL_IF_CONTENT_SCROLLS && range > 0);
635 0, range, 0, mOverscrollDistance, true)) {
648 } else if (pulledToY > range) {
731 final int range = getScrollRange();
736 } else if (newScrollY > range) {
737 newScrollY = range;
1163 * <p>The scroll range of a scroll view is the overall height of all of its
1245 final int range = getScrollRange();
1248 (overscrollMode == OVER_SCROLL_IF_CONTENT_SCROLLS && range >
[all...]
/frameworks/base/tests/RenderScriptTests/SurfaceTexture/src/com/example/android/rs/sto/
H A DCameraCapture.java195 for (int[] range : supportedFpsRanges) {
196 int low = range[Camera.Parameters.PREVIEW_FPS_MIN_INDEX];
197 int high = range[Camera.Parameters.PREVIEW_FPS_MAX_INDEX];
201 closestRange = range;
206 Log.i("CC", "Found closest range: "
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dfindhalfpel.cpp78 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 Dmotion_est.cpp81 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 DCameraSource.java326 for (int[] range : supportedFpsRanges) {
327 if (range[Camera.Parameters.PREVIEW_FPS_MIN_INDEX] < fps*1000 &&
328 range[Camera.Parameters.PREVIEW_FPS_MAX_INDEX] > fps*1000 &&
329 range[Camera.Parameters.PREVIEW_FPS_MIN_INDEX] >
331 range[Camera.Parameters.PREVIEW_FPS_MAX_INDEX] <
333 closestRange = range;
337 + ".Closest frame rate range: ["
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardWidgetPager.java524 * Returns the bounded set of pages that are re-orderable. The range is fully inclusive.
527 void boundByReorderablePages(boolean isReordering, int[] range) { argument
529 // Remove non-widget pages from the range
530 while (range[1] >= range[0] && !isWidgetPage(range[1])) {
531 range[1]--;
533 while (range[0] <= range[1] && !isWidgetPage(range[
[all...]
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dvlc_encode.cpp51 AVCEnc_Status te_v(AVCEncBitstream *bitstream, uint value, uint range) argument
55 if (range > 1)
/frameworks/base/tools/orientationplot/
H A 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/
H A DVideoEditorHelper.java107 * @return boolean flag which confirms the range matching
110 long range = 0;
111 range = (100 * actual) / expected;
113 Log.i("checkRange", "Range = " + range);
114 if ((range > (100 - rangePercent)) && (range < (100 + rangePercent))) {
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
H A DMediaVisualizerTest.java164 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/base/media/tests/EffectsTest/src/com/android/effectstest/
H A DEnvReverbTest.java255 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);
/frameworks/base/tools/velocityplot/
H A Dvelocityplot.py91 yticks=range(-5000, 5000, 1000))
108 yticks=range(-5000, 5000, 1000))
143 axes.set_xticks(range(0, timespan + 1, timeticks))
/frameworks/base/include/androidfw/
H A DInputDevice.h87 void addMotionRange(const MotionRange& range);
/frameworks/ex/common/tools/
H A Dmake-iana-tld-pattern.py116 for letter in range(ord('b'), ord('z')):

Completed in 581 milliseconds

123