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

/frameworks/base/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/base/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/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/jni/
H A Dandroid_hardware_SensorManager.cpp38 jfieldID range; member in struct:android::SensorOffsets
75 env->SetFloatField(sensor, sensorOffsets.range, list->getMaxValue());
156 sensorOffsets.range = _env->GetFieldID(sensorClass, "mMaxRange", "F");
H A Dandroid_opengl_GLES20.cpp2757 /* void glGetShaderPrecisionFormat ( GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision ) */
2764 GLint *range = (GLint *) 0; local
2771 jniThrowException(_env, "java/lang/IllegalArgumentException", "range == null");
2782 range = range_base + rangeOffset;
2802 (GLint *)range,
2817 /* void glGetShaderPrecisionFormat ( GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision ) */
2825 GLint *range = (GLint *) 0; local
2829 range = (GLint *)getPointer(_env, range_buf, &_rangeArray, &_rangeRemaining);
2834 (GLint *)range,
2841 releasePointer(_env, _precisionArray, range, _exceptio
[all...]
/frameworks/base/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/telephony/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/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 DTextView.java3052 "/" + ss.selEnd + " out of range for " + restored +
5817 // Now set the selection position... make sure it is in range, to
7021 * one character (a selection range). This will only work if the
7542 * @param start The offset of the start of the range of the text that was
7608 // Removes all spans that are inside or actually overlap the start..end range
8841 private static int extractRangeStartFromLong(long range) { argument
8842 return (int) (range >>> 32);
8845 private static int extractRangeEndFromLong(long range) { argument
8846 return (int) (range & 0x00000000FFFFFFFFL);
8913 long range
[all...]
/frameworks/base/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/libs/ui/
H A DInput.cpp1201 const MotionRange& range = mMotionRanges.itemAt(i); local
1202 if (range.axis == axis && range.source == source) {
1203 return &range;
1215 MotionRange range = { axis, source, min, max, flat, fuzz }; local
1216 mMotionRanges.add(range);
1219 void InputDeviceInfo::addMotionRange(const MotionRange& range) { argument
1220 mMotionRanges.add(range);
/frameworks/base/media/libstagefright/rtsp/
H A DMyHandler.h1087 ssize_t i = response->mHeaders.indexOfKey("range");
1089 // Server doesn't even tell use what range it is going to
1094 AString range = response->mHeaders.valueAt(i); local
1095 LOGV("Range: %s", range.c_str());
1098 CHECK(GetAttribute(range.c_str(), "npt", &val));
/frameworks/base/opengl/libs/GLES2_dbg/src/
H A Dapi.cpp1654 void Debug_glGetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision) argument
1660 GLint* range; member in struct:__anon1071
1664 _c->glGetShaderPrecisionFormat(shadertype, precisiontype, range, precision);
1670 caller.range = range;
1675 msg.set_arg2(ToInt(range));
3527 void Debug_glGetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision);
/frameworks/base/services/jni/
H A Dcom_android_server_InputManager.cpp1248 const InputDeviceInfo::MotionRange& range = ranges.itemAt(i); local
1250 range.axis, range.source, range.min, range.max, range.flat, range.fuzz);
/frameworks/base/core/java/android/hardware/
H A DCamera.java964 * @param value zoom value. The valid range is 0 to {@link
1185 * // Camera driver coordinates range from (-1000, -1000) to (1000, 1000).
1186 * // UI coordinates range from (0, 0) to (width, height).
1196 * The confidence level for the detection of the face. The range is 1 to 100. 100 is the
1366 * view. Setting Areas with bounds outside that range is not allowed. Areas
1369 * <p>The weight must range from 1 to 1000, and represents a weight for
1417 * the field of view. Setting bounds outside that range is not
1427 * Weight of the area. The weight must range from 1 to 1000, and
1461 private static final String KEY_PREVIEW_FPS_RANGE = "preview-fps-range";
2052 * @param quality the JPEG quality of the EXIF thumbnail. The range i
2150 getPreviewFpsRange(int[] range) argument
[all...]
/frameworks/base/services/input/tests/
H A DInputReader_test.cpp1459 const InputDeviceInfo::MotionRange* range = info.getMotionRange(axis, source); local
1460 ASSERT_TRUE(range != NULL) << "Axis: " << axis << " Source: " << source;
1461 ASSERT_EQ(axis, range->axis) << "Axis: " << axis << " Source: " << source;
1462 ASSERT_EQ(source, range->source) << "Axis: " << axis << " Source: " << source;
1463 ASSERT_NEAR(min, range->min, EPSILON) << "Axis: " << axis << " Source: " << source;
1464 ASSERT_NEAR(max, range->max, EPSILON) << "Axis: " << axis << " Source: " << source;
1465 ASSERT_NEAR(flat, range->flat, EPSILON) << "Axis: " << axis << " Source: " << source;
1466 ASSERT_NEAR(fuzz, range->fuzz, EPSILON) << "Axis: " << axis << " Source: " << source;
1917 // Initially there may not be a valid motion range.
1923 // When the bounds are set, then there should be a valid motion range
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DGLES20.java1068 // C function void glGetShaderPrecisionFormat ( GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision )
1073 int[] range,
1079 // C function void glGetShaderPrecisionFormat ( GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision )
1084 java.nio.IntBuffer range,
1070 glGetShaderPrecisionFormat( int shadertype, int precisiontype, int[] range, int rangeOffset, int[] precision, int precisionOffset ) argument
1081 glGetShaderPrecisionFormat( int shadertype, int precisiontype, java.nio.IntBuffer range, java.nio.IntBuffer precision ) argument
/frameworks/base/services/input/
H A DInputReader.cpp873 const InputDeviceInfo::MotionRange& range = ranges.itemAt(i); local
874 const char* label = getAxisLabel(range.axis);
880 snprintf(name, sizeof(name), "%d", range.axis);
884 name, range.source, range.min, range.max, range.flat, range.fuzz);
1723 dump.appendFormat(INDENT4 "%s: unknown range\n", name);
2948 // Scale zooms to cover a smaller range o
[all...]

Completed in 520 milliseconds