Searched refs:range (Results 126 - 150 of 166) sorted by relevance

1234567

/frameworks/av/media/libstagefright/
H A DUtils.cpp112 int32_t range = 0; local
116 meta->findInt32(kKeyColorRange, &range);
122 colorAspects.mRange = (ColorAspects::Range)range;
135 msg->setInt32("color-range", rangeMsg);
1271 int32_t range = 0, standard = 0, transfer = 0; local
1272 (void)msg->findInt32("color-range", &range);
1279 range, standard, transfer, colorAspects) != OK) {
H A DACodec.cpp73 // OMX errors are directly mapped into status_t range if
2189 ALOGW("compression level %d outside [0..8] range, "
2194 ALOGW("compression level %d outside [0..8] range, "
5219 int32_t range, standard, transfer; local
5220 convertCodecColorAspectsToPlatformAspects(aspects, &range, &standard, &transfer);
5223 if (range != 0) {
5224 range = (dataSpace & HAL_DATASPACE_RANGE_MASK) >> HAL_DATASPACE_RANGE_SHIFT;
5234 if (range != 0) {
5235 mOutputFormat->setInt32("color-range", range);
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
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/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DPrintActivity.java610 // the user may have used it to type copies or range.
1122 * Clear the selected page range and update the preview if needed.
1360 // Page range
1595 * @param disableRange If the range selection options should be disabled
3226 PageRange range = printedPages[i];
3230 final int endPageIdx = range.getStart() - 1;
3237 final int endPageIdx = range.getStart() - 1;
3245 if (range.getEnd() != Integer.MAX_VALUE) {
3246 rangesToShred.add(new PageRange(range.getEnd() + 1, Integer.MAX_VALUE));
3250 previousRange = range;
[all...]
/frameworks/av/media/libstagefright/matroska/
H A DMatroskaExtractor.cpp1156 if (color->range != mkvparser::Colour::kValueNotPresent
1157 && color->range != 0 /* MKV unspecified */) {
1158 // We only support MKV broadcast range (== limited) and full range.
1159 // We treat all other value as the default limited range.
1160 fullRange = color->range == 2 /* MKV fullRange */;
/frameworks/base/core/java/android/widget/
H A DProgressBar.java206 /** Value used to track progress animation, in the range [0...1]. */
218 * Create a new progress bar with range 0...100 and initial progress of 0.
1283 int range = mMax - mMin;
1284 final float scale = range > 0 ? (progress - mMin) / (float) range : 0;
1312 * @param progress the visual progress in the range [0...1]
1344 * @param progress the visual progress in the range [0...1]
1489 * <p>Return the lower limit of this progress bar's range.</p>
1503 * <p>Return the upper limit of this progress bar's range.</p>
1517 * <p>Set the lower range o
[all...]
H A DEditor.java887 long range = getCharClusterRange(minOffset);
888 selectionStart = TextUtils.unpackRangeStartFromLong(range);
889 selectionEnd = TextUtils.unpackRangeEndFromLong(range);
925 * Get the minimum range of paragraphs that contains startOffset and endOffset.
1729 // be redrawn after they get scrolled into drawing range.
1811 // brings this range of text back to the top left corner of the viewport
1874 * Invalidates all the sub-display lists that overlap the specified character range
2126 * the current cursor position or selection range. This method is consistent with the
2460 final long range = getCharClusterRange(start + DRAG_SHADOW_MAX_TEXT_LENGTH);
2461 end = TextUtils.unpackRangeEndFromLong(range);
[all...]
/frameworks/base/tools/apilint/
H A Dapilint.py32 BLACK, RED, GREEN, YELLOW, BLUE, MAGENTA, CYAN, WHITE = range(8)
652 for i in range(len(ranking)):
862 for i in range(len(args)):
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/
H A DomxVCM4P2_PredictReconCoefIntra_s.s43 ; * output coefficients are saturated to the range
/frameworks/base/core/java/android/text/
H A DTextUtils.java276 * Create a new String object containing the given range of characters
1055 * or end after <code>end</code> but overlap this range are trimmed
1059 * are out of range in <code>dest</code>.
1194 * report the start and end of the ellipsized range. TextDirection
1216 * report the start and end of the ellipsized range.
1936 * Pack 2 int values into a long, useful as a return value for a range
1946 * Get the start value from a range packed in a long by {@link #packRangeInLong(int, int)}
1951 public static int unpackRangeStartFromLong(long range) { argument
1952 return (int) (range >>> 32);
1956 * Get the end value from a range packe
1961 unpackRangeEndFromLong(long range) argument
[all...]
/frameworks/av/media/libstagefright/codec2/tests/
H A DC2Param_test.cpp2188 //supported.emplace_push(inputVideoConfigTuning->mNumber, range(16, 1920, 8));
2189 //supported.emplace_push(inputVideoConfigTuning->mHeight, range(16, 1088, 8));
2389 cout << ".range(" << get(sv.range.min, t);
2390 if (get(sv.range.step, t) != std::is_integral<T>::value) {
2391 cout << ":" << get(sv.range.step, t);
2393 if (get(sv.range.nom, t) != 1 || get(sv.range.denom, t) != 1) {
2394 cout << ":" << get(sv.range.nom, t) << "/" << get(sv.range
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DGLES20.java1079 // C function void glGetShaderPrecisionFormat ( GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision )
1084 int[] range,
1090 // C function void glGetShaderPrecisionFormat ( GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision )
1095 java.nio.IntBuffer range,
1081 glGetShaderPrecisionFormat( int shadertype, int precisiontype, int[] range, int rangeOffset, int[] precision, int precisionOffset ) argument
1092 glGetShaderPrecisionFormat( int shadertype, int precisiontype, java.nio.IntBuffer range, java.nio.IntBuffer precision ) argument
/frameworks/native/opengl/tools/glgen/specs/gles11/
H A DGLES20.spec71 void glGetShaderPrecisionFormat ( GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision )
/frameworks/support/core-ui/java/android/support/v4/widget/
H A DViewDragHelper.java146 * governing the range and draggability of child views.
253 * Return the magnitude of a draggable child view's horizontal range of motion in pixels.
257 * @return range of horizontal motion in pixels
264 * Return the magnitude of a draggable child view's vertical range of motion in pixels.
268 * @return range of vertical motion in pixels
443 * Return the size of an edge. This is the range in pixels along the edges of this view
642 final float range = (float) Math.abs(delta) / motionRange;
643 duration = (int) ((range + 1) * BASE_SETTLE_DURATION);
1033 // all in every dimension with a nonzero range, bail.
/frameworks/av/media/libstagefright/rtsp/
H A DMyHandler.h1440 ssize_t i = response->mHeaders.indexOfKey("range");
1442 // Server doesn't even tell use what range it is going to
1447 AString range = response->mHeaders.valueAt(i); local
1448 ALOGV("Range: %s", range.c_str());
1451 CHECK(GetAttribute(range.c_str(), "npt", &val));
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DVpn.java1078 for (UidRange range : mVpnUsers) {
1079 if (userRange.containsRange(range)) {
1080 ranges.add(range);
/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL.h2133 XAuint8 range
2141 XAuint8 range,
2146 XAuint8 range,
2197 XAuint8 range,
/frameworks/base/core/java/android/view/
H A DView.java5895 final int range = computeVerticalScrollRange();
5899 extent, range);
5901 extent, range, offset);
5922 final int range = computeHorizontalScrollRange();
5926 extent, range);
5928 extent, range, offset);
11473 final int[] range = forward ? iterator.following(current) : iterator.preceding(current);
11474 if (range == null) {
11477 final int segmentStart = range[0];
11478 final int segmentEnd = range[
[all...]
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES20.cpp3245 /* void glGetShaderPrecisionFormat ( GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision ) */
3254 GLint *range = (GLint *) 0; local
3262 _exceptionMessage = "range == null";
3280 range = range_base + rangeOffset;
3308 (GLint *)range,
3326 /* void glGetShaderPrecisionFormat ( GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision ) */
3338 GLint *range = (GLint *) 0; local
3345 _exceptionMessage = "range == null";
3348 range = (GLint *)getPointer(_env, range_buf, (jarray*)&_rangeArray, &_rangeRemaining, &_rangeBufferOffset);
3368 if (range
[all...]
/frameworks/native/services/inputflinger/
H A DInputReader.cpp1088 const InputDeviceInfo::MotionRange& range = ranges.itemAt(i); local
1089 const char* label = getAxisLabel(range.axis);
1095 snprintf(name, sizeof(name), "%d", range.axis);
1099 name, range.source, range.min, range.max, range.flat, range.fuzz,
1100 range.resolution);
2052 dump.appendFormat(INDENT4 "%s: unknown range\
[all...]
/frameworks/ml/nn/common/operations/internal/reference/
H A Dreference_ops.h1463 const Dims<4>& input_dims, int range,
1476 const int min_input_c = std::max(0, c - range);
1477 const int max_input_c = std::min(depth - 1, c + range);
1726 // min,max range contains 0.
1776 // The zero point should always be in the range of quantized value,
/frameworks/native/opengl/include/GLES2/
H A Dgl2.h452 typedef void (GL_APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
595 GL_APICALL void GL_APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
/frameworks/av/media/libmedia/include/media/omx/1.0/
H A DConversion.h493 (static_cast<uint32_t>(t.range) << 24) |
/frameworks/base/media/java/android/media/
H A DExifInterface.java1971 long[] range = new long[2];
1972 range[0] = mThumbnailOffset;
1973 range[1] = mThumbnailLength;
1975 return range;
/frameworks/compile/libbcc/gdb_plugin/
H A Dandroid-commands.py252 for serial_num_index in range(4, len(raw_output), 2):

Completed in 1191 milliseconds

1234567