Searched defs:range (Results 1 - 25 of 26) sorted by relevance

12

/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");
H A Dandroid_opengl_GLES20.cpp3452 /* void glGetShaderPrecisionFormat ( GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision ) */
3461 GLint *range = (GLint *) 0; local
3469 _exceptionMessage = "range == null";
3481 range = range_base + rangeOffset;
3503 (GLint *)range,
3521 /* void glGetShaderPrecisionFormat ( GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision ) */
3530 GLint *range = (GLint *) 0; local
3534 range = (GLint *)getPointer(_env, range_buf, &_rangeArray, &_rangeRemaining, &_rangeBufferOffset);
3536 if (range == NULL) {
3538 range
[all...]
/frameworks/av/media/libmedia/
H A Dautodetect.cpp856 const CharRange* range = &encodingRanges[i]; local
857 if (ch >= range->first && ch <= range->last)
859 if (ch > range->last)
/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/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/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)
H A Dmotion_est.cpp971 int range = rateCtrl->mvRange; local
980 int step, max_step = range >> 1;
1008 /* find limit of the search (adjusting search range)*/
1012 ilow = i0 - range;
1022 ihigh = i0 + range - 1;
1032 jlow = j0 - range;
1042 jhigh = j0 + range - 1;
1255 Purpose: Perform full-search motion estimation over the range of search
1264 int range = encvid->rateCtrl->mvRange; local
1291 for (k = 1; k <= range;
[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/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/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...]
H A Dvlc_encode.cpp2756 Int f_code, /* <-- MV range in 1/2 units: 1=32,2=64,...,7=2048 */
2762 Int range; local
2771 range = 32 * scale_factor;
2772 low = -range;
2773 high = range - 1;
2776 diff_vector += 2 * range;
2778 diff_vector -= 2 * 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 +
/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/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/wilhelm/src/android/
H A Dandroid_Effect.cpp281 // initialize number of bands, band level range, and number of presets
286 int16_t range[2] = {0, 0}; local
287 if (android::NO_ERROR == android_eq_getParam(ieq->mEqEffect, EQ_PARAM_LEVEL_RANGE, 0, range)) {
288 ieq->mBandLevelRangeMin = range[0];
289 ieq->mBandLevelRangeMax = range[1];
292 SL_LOGV(" EQ init: num bands = %u, band range=[%d %d]mB", num, range[0], range[1]);
/frameworks/base/core/java/android/text/
H A DTextUtils.java245 * Create a new String object containing the given range of characters
977 * or end after <code>end</code> but overlap this range are trimmed
981 * are out of range in <code>dest</code>.
1047 * report the start and end of the ellipsized range. TextDirection
1074 * report the start and end of the ellipsized range.
1683 * Pack 2 int values into a long, useful as a return value for a range
1693 * Get the start value from a range packed in a long by {@link #packRangeInLong(int, int)}
1698 public static int unpackRangeStartFromLong(long range) { argument
1699 return (int) (range >>> 32);
1703 * Get the end value from a range packe
1708 unpackRangeEndFromLong(long range) argument
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardWidgetPager.java546 * Returns the bounded set of pages that are re-orderable. The range is fully inclusive.
549 void boundByReorderablePages(boolean isReordering, int[] range) { argument
551 // Remove non-widget pages from the range
552 while (range[1] >= range[0] && !isWidgetPage(range[1])) {
553 range[1]--;
555 while (range[0] <= range[1] && !isWidgetPage(range[
[all...]
H A DPagedView.java153 // mOverScrollX is equal to getScrollX() when we're within the normal scroll range. Otherwise
828 void boundByReorderablePages(boolean isReordering, int[] range) { argument
833 protected void getVisiblePages(int[] range) { argument
834 range[0] = 0;
835 range[1] = getPageCount() - 1;
862 range[0] = Math.max(0, leftScreen - 1);
863 range[1] = Math.min(rightScreen + 1, getChildCount() - 1);
865 range[0] = -1;
866 range[1] = -1;
878 // mOverScrollX is equal to getScrollX() when we're within the normal scroll range
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DMyHandler.h1095 ssize_t i = response->mHeaders.indexOfKey("range");
1097 // Server doesn't even tell use what range it is going to
1102 AString range = response->mHeaders.valueAt(i); local
1103 ALOGV("Range: %s", range.c_str());
1106 CHECK(GetAttribute(range.c_str(), "npt", &val));
/frameworks/base/core/java/android/hardware/
H A DCamera.java1113 * @param value zoom value. The valid range is 0 to {@link
1374 * // Camera driver coordinates range from (-1000, -1000) to (1000, 1000).
1375 * // UI coordinates range from (0, 0) to (width, height).
1385 * <p>The confidence level for the detection of the face. The range is 1 to
1573 * view. Setting Areas with bounds outside that range is not allowed. Areas
1576 * <p>The weight must range from 1 to 1000, and represents a weight for
1624 * the field of view. Setting bounds outside that range is not
1634 * Weight of the area. The weight must range from 1 to 1000, and
1668 private static final String KEY_PREVIEW_FPS_RANGE = "preview-fps-range";
1865 * Capture a scene using high dynamic range imagin
2365 getPreviewFpsRange(int[] range) argument
[all...]
/frameworks/base/services/input/tests/
H A DInputReader_test.cpp1427 const InputDeviceInfo::MotionRange* range = info.getMotionRange(axis, source); local
1428 ASSERT_TRUE(range != NULL) << "Axis: " << axis << " Source: " << source;
1429 ASSERT_EQ(axis, range->axis) << "Axis: " << axis << " Source: " << source;
1430 ASSERT_EQ(source, range->source) << "Axis: " << axis << " Source: " << source;
1431 ASSERT_NEAR(min, range->min, EPSILON) << "Axis: " << axis << " Source: " << source;
1432 ASSERT_NEAR(max, range->max, EPSILON) << "Axis: " << axis << " Source: " << source;
1433 ASSERT_NEAR(flat, range->flat, EPSILON) << "Axis: " << axis << " Source: " << source;
1434 ASSERT_NEAR(fuzz, range->fuzz, EPSILON) << "Axis: " << axis << " Source: " << source;
1979 // Initially there may not be a valid motion range.
1985 // When the bounds are set, then there should be a valid motion range
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DGLES20.java1105 // C function void glGetShaderPrecisionFormat ( GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision )
1110 int[] range,
1116 // C function void glGetShaderPrecisionFormat ( GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision )
1121 java.nio.IntBuffer range,
1107 glGetShaderPrecisionFormat( int shadertype, int precisiontype, int[] range, int rangeOffset, int[] precision, int precisionOffset ) argument
1118 glGetShaderPrecisionFormat( int shadertype, int precisiontype, java.nio.IntBuffer range, java.nio.IntBuffer precision ) argument
/frameworks/base/services/input/
H A DInputReader.cpp875 const InputDeviceInfo::MotionRange& range = ranges.itemAt(i); local
876 const char* label = getAxisLabel(range.axis);
882 snprintf(name, sizeof(name), "%d", range.axis);
886 name, range.source, range.min, range.max, range.flat, range.fuzz);
1796 dump.appendFormat(INDENT4 "%s: unknown range\n", name);
3237 // Scale zooms to cover a smaller range o
[all...]

Completed in 623 milliseconds

12