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

123456789

/frameworks/ml/nn/common/include/
H A DUtils.h127 std::string toString(const std::vector<Type>& range) { argument
129 for (size_t i = 0; i < range.size(); ++i) {
130 os += (i == 0 ? "" : ", ") + toString(range[i]);
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DAsyncListUtilTest.java249 public void extendRangeInto(int[] range, int[] outRange, int scrollHint) { argument
250 outRange[0] = range[0] - mStartPreload;
251 outRange[1] = range[1] + mEndPreload;
H A DAsyncListUtilLayoutTest.java236 public void extendRangeInto(int[] range, int[] outRange, int scrollHint) { argument
237 outRange[0] = range[0] - mStartPrefetch;
238 outRange[1] = range[1] + mEndPrefetch;
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
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/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DAsyncListUtil.java37 * {@link AsyncListUtil} queries the currently visible range through {@link ViewCallback},
88 * @param viewCallback Callback for querying visible item range and update notifications.
111 * Updates the currently visible item range.
120 return; // Will update range will the refresh result arrives.
130 * range. To be called when the data item count and/or contents has changed.
144 * this position stays outside of the cached item range (as defined by
184 // Invalid range may arrive soon after the refresh.
227 // There will be no scroll event if the size change does not affect the current range.
332 log("requesting tile range: %d..%d",
496 * tiles that is required to cover the range returne
576 extendRangeInto(@onNull int[] range, @NonNull int[] outRange, int scrollHint) argument
[all...]
/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/av/media/libstagefright/xmlparser/
H A DMediaCodecsXmlParser.cpp694 } else if (strEq(attrs[i], "range")) {
696 ALOGE("addLimit: range is null");
731 // measured-frame-rate, measured-blocks-per-second: range
732 // quality: range + default + [scale]
733 // complexity: range + default
739 std::string range; local
750 // "range" is specified in exactly one of the following forms:
753 // 3) range
757 return limitError(a_name, "has 'min' and 'max' as well as 'range' or "
760 range
[all...]
/frameworks/compile/mclinker/lib/Target/Hexagon/
H A DHexagonRelocator.cpp571 uint32_t range = 1 << effectiveBits; local
572 if (result > (range - 1))
686 int64_t range = 1LL << (effectiveBits - 1); local
687 if ((pResult > (range - 1)) || (pResult < -range))
801 uint32_t range = 1 << 16; local
809 if (result < range - 1) {
903 int32_t range = 1 << (effectiveBits - 1); local
904 if ((result > range - 1) || (result < -range))
[all...]
/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/cmds/statsd/src/matchers/
H A Dmatcher_util.cpp129 // Now we have zoomed in to a new range
198 // start and end are still pointing to the matched range.
202 // If any range matches all matchers, good.
203 for (const auto& range : ranges) {
206 if (!matchesSimple(uidMap, subMatcher, values, range.first, range.second,
217 // If the field matcher ends with ANY, then we have [start, end) range > 1.
/frameworks/base/core/java/android/widget/
H A DHorizontalScrollView.java627 final int range = getScrollRange();
630 (overscrollMode == OVER_SCROLL_IF_CONTENT_SCROLLS && range > 0);
634 if (overScrollBy(deltaX, 0, mScrollX, 0, range, 0,
648 } else if (pulledToX > range) {
748 final int range = getScrollRange();
753 } else if (newScrollX > range) {
754 newScrollX = range;
1230 * <p>The scroll range of a scroll view is the overall width of all of its
1315 final int range = getScrollRange();
1318 (overscrollMode == OVER_SCROLL_IF_CONTENT_SCROLLS && range >
[all...]
H A DScrollView.java685 final int range = getScrollRange();
688 (overscrollMode == OVER_SCROLL_IF_CONTENT_SCROLLS && range > 0);
692 if (overScrollBy(0, deltaY, 0, mScrollY, 0, range, 0, mOverscrollDistance, true)
712 } else if (pulledToY > range) {
803 final int range = getScrollRange();
808 } else if (newScrollY > range) {
809 newScrollY = range;
1248 * <p>The scroll range of a scroll view is the overall height of all of its
1336 final int range = getScrollRange();
1339 (overscrollMode == OVER_SCROLL_IF_CONTENT_SCROLLS && range >
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DStaticMetadata.java315 * Get the exposure time value and clamp to the range if needed.
318 * @return Exposure value in the legal range.
430 checkTrueForKey(key, " value is out of range" ,
488 checkTrueForKey(key, "mode value " + mode + " is out if range",
854 * Get the sensitivity value and clamp to the range if needed.
857 * @return Sensitivity value in legal range.
929 checkTrueForKey(key, String.format(" hyperfocal distance %f should be in the range of"
930 + " should be in the range of (%f, %f]", hyperfocalDistance, 0.0f,
939 * Get the minimum value for a sensitivity range from android.sensor.info.sensitivityRange.
952 * Get the minimum value for a sensitivity range fro
[all...]
/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/tools/aapt2/compile/
H A DImage.h67 * A range of pixel values, starting at 'start' and ending before 'end'
203 ::std::ostream& operator<<(::std::ostream& out, const Range& range);
/frameworks/ml/nn/runtime/test/specs/V1_0/
H A Dlstm.mod.py140 scratch_buffer: [ 0 for x in range(n_batch * n_cell * 4) ],
H A Dlstm3_state.mod.py644 scratch_buffer: [ 0 for x in range(n_batch * n_cell * 4) ],
H A Dlstm3_state2.mod.py644 scratch_buffer: [ 0 for x in range(n_batch * n_cell * 4) ],
H A Dlstm_state.mod.py140 scratch_buffer: [ 0 for x in range(n_batch * n_cell * 4) ],
/frameworks/ml/nn/runtime/test/specs/V1_1/
H A Dlstm2_state_relaxed.mod.py133 scratch_buffer: [ 0 for x in range(n_batch * n_cell * 3) ],
H A Dlstm3_state2_relaxed.mod.py645 scratch_buffer: [ 0 for x in range(n_batch * n_cell * 4) ],
H A Dlstm3_state_relaxed.mod.py645 scratch_buffer: [ 0 for x in range(n_batch * n_cell * 4) ],
H A Dlstm_relaxed.mod.py141 scratch_buffer: [ 0 for x in range(n_batch * n_cell * 4) ],
H A Dlstm_state_relaxed.mod.py141 scratch_buffer: [ 0 for x in range(n_batch * n_cell * 4) ],
/frameworks/native/include/input/
H A DInputDevice.h96 void addMotionRange(const MotionRange& range);

Completed in 932 milliseconds

123456789