Searched refs:range (Results 76 - 100 of 225) sorted by relevance

123456789

/frameworks/ml/nn/runtime/test/specs/V1_1/
H A Dmax_pool_float_3_relaxed.mod.py47 input_values = (lambda s = std, r = input_range: [x % s + 1 for x in range(r)])()
50 output_values = (lambda r = output_range: [ 6 for _ in range(r)])()
H A Dlstm2_relaxed.mod.py133 scratch_buffer: [ 0 for x in range(n_batch * n_cell * 3) ],
139 input0[output_state_in] = [ 0 for _ in range(n_batch * n_output) ]
140 input0[cell_state_in] = [ 0 for _ in range(n_batch * n_cell) ]
H A Dlstm2_state2_relaxed.mod.py133 scratch_buffer: [ 0 for x in range(n_batch * n_cell * 3) ],
134 cell_state_out: [ 0 for x in range(n_batch * n_cell) ],
135 output_state_out: [ 0 for x in range(n_batch * n_output) ],
H A Dlstm3_relaxed.mod.py622 input0[cell_state_in] = [ 0 for _ in range(n_batch * n_cell) ]
623 input0[output_state_in] = [ 0 for _ in range(n_batch * n_output) ]
625 scratch_buffer: [ 0 for x in range(n_batch * n_cell * 4) ],
H A Dlstm3_state3_relaxed.mod.py645 scratch_buffer: [ 0 for x in range(n_batch * n_cell * 4) ],
646 cell_state_out: [ 0 for x in range(n_batch * n_cell) ],
647 output_state_out: [ 0 for x in range(n_batch * n_output) ],
H A Dlstm_state2_relaxed.mod.py141 scratch_buffer: [ 0 for x in range(n_batch * n_cell * 4) ],
142 cell_state_out: [ 0 for x in range(n_batch * n_cell) ],
143 output_state_out: [ 0 for x in range(n_batch * n_output) ],
/frameworks/native/services/surfaceflinger/
H A DLayerStats.h45 static const char* destinationLocation(int32_t location, int32_t range, bool isHorizontal);
47 static const char* destinationSize(int32_t size, int32_t range, bool isWidth);
/frameworks/support/frameworks/support/samples/SupportSliceDemos/src/main/java/com/example/androidx/slice/demos/
H A DSliceBroadcastReceiver.java56 int range = i.getExtras().getInt(EXTRA_RANGE_VALUE, 0);
57 Toast.makeText(context, "value: " + range, Toast.LENGTH_SHORT).show();
/frameworks/support/samples/SupportSliceDemos/src/main/java/com/example/androidx/slice/demos/
H A DSliceBroadcastReceiver.java56 int range = i.getExtras().getInt(EXTRA_RANGE_VALUE, 0);
57 Toast.makeText(context, "value: " + range, Toast.LENGTH_SHORT).show();
/frameworks/av/include/media/stagefright/foundation/
H A DColorUtils.h109 // using int32_t for media range/standard/transfers to denote extended ranges
113 static int32_t wrapColorAspectsIntoColorRange(ColorAspects::Range range);
118 int32_t range, ColorAspects::Range *aspect);
126 int32_t range, int32_t standard, int32_t transfer, ColorAspects &aspects);
128 const ColorAspects &aspects, int32_t *range, int32_t *standard, int32_t *transfer);
164 const sp<AMessage> &format, int *range, int *standard, int *transfer);
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
H A DColorUtils.h109 // using int32_t for media range/standard/transfers to denote extended ranges
113 static int32_t wrapColorAspectsIntoColorRange(ColorAspects::Range range);
118 int32_t range, ColorAspects::Range *aspect);
126 int32_t range, int32_t standard, int32_t transfer, ColorAspects &aspects);
128 const ColorAspects &aspects, int32_t *range, int32_t *standard, int32_t *transfer);
164 const sp<AMessage> &format, int *range, int *standard, int *transfer);
/frameworks/av/media/libstagefright/include/media/stagefright/foundation/
H A DColorUtils.h109 // using int32_t for media range/standard/transfers to denote extended ranges
113 static int32_t wrapColorAspectsIntoColorRange(ColorAspects::Range range);
118 int32_t range, ColorAspects::Range *aspect);
126 int32_t range, int32_t standard, int32_t transfer, ColorAspects &aspects);
128 const ColorAspects &aspects, int32_t *range, int32_t *standard, int32_t *transfer);
164 const sp<AMessage> &format, int *range, int *standard, int *transfer);
/frameworks/base/libs/hwui/hwui/
H A DMinikinUtils.cpp57 const minikin::Range range(start, start + count);
63 layout.doLayout(textBuf,range, bidiFlags, minikinPaint, startHyphen, endHyphen);
65 mt->buildLayout(textBuf, range, minikinPaint, bidiFlags, startHyphen, endHyphen, &layout);
75 const minikin::Range range(start, start + count);
80 return minikin::Layout::measureText(textBuf, range, bidiFlags, minikinPaint, startHyphen,
/frameworks/minikin/include/minikin/
H A DLayout.h88 void doLayout(const U16StringPiece& str, const Range& range, Bidi bidiFlags,
91 void doLayoutWithPrecomputedPieces(const U16StringPiece& str, const Range& range,
96 const Range& range,
101 static float measureText(const U16StringPiece& str, const Range& range, Bidi bidiFlags,
163 static float doLayoutRunCached(const U16StringPiece& textBuf, const Range& range, bool isRtl,
/frameworks/base/core/java/android/widget/
H A DScrollBarDrawable.java102 public void setParameters(int range, int offset, int extent, boolean vertical) { argument
109 if (mRange != range || mOffset != offset || mExtent != extent) {
110 mRange = range;
122 final int range = mRange;
126 if (extent <= 0 || range <= extent) {
144 ScrollBarUtils.getThumbLength(scrollBarLength, thickness, extent, range);
146 ScrollBarUtils.getThumbOffset(scrollBarLength, thumbLength, extent, range,
382 return "ScrollBarDrawable: range=" + mRange + " offset=" + mOffset +
/frameworks/minikin/libs/minikin/
H A DLayout.cpp228 void Layout::doLayout(const U16StringPiece& textBuf, const Range& range, Bidi bidiFlags, argument
231 const uint32_t count = range.getLength();
236 for (const BidiText::RunInfo& runInfo : BidiText(textBuf, range, bidiFlags)) {
237 doLayoutRunCached(textBuf, runInfo.range, runInfo.isRtl, paint, range.getStart(),
243 void Layout::doLayoutWithPrecomputedPieces(const U16StringPiece& textBuf, const Range& range, argument
247 const uint32_t count = range.getLength();
252 for (const BidiText::RunInfo& runInfo : BidiText(textBuf, range, bidiFlags)) {
253 doLayoutRunCached(textBuf, runInfo.range, runInfo.isRtl, paint, range
258 getBoundsWithPrecomputedPieces(const U16StringPiece& textBuf, const Range& range, Bidi bidiFlags, const MinikinPaint& paint, const LayoutPieces& pieces) argument
273 measureText(const U16StringPiece& textBuf, const Range& range, Bidi bidiFlags, const MinikinPaint& paint, StartHyphenEdit startHyphen, EndHyphenEdit endHyphen, float* advances, MinikinExtent* extents, LayoutPieces* pieces) argument
289 doLayoutRunCached(const U16StringPiece& textBuf, const Range& range, bool isRtl, const MinikinPaint& paint, size_t dstStart, StartHyphenEdit startHyphen, EndHyphenEdit endHyphen, const LayoutPieces* lpIn, Layout* layout, float* advances, MinikinExtent* extents, MinikinRect* bounds, LayoutPieces* lpOut) argument
344 LayoutAppendFunctor(const U16StringPiece& textBuf, const Range& range, const MinikinPaint& paint, bool dir, StartHyphenEdit startEdit, EndHyphenEdit endEdit, Layout* layout, float* advances, MinikinExtent* extents, LayoutPieces* pieces, float* totalAdvance, MinikinRect* bounds, uint32_t outOffset, float wordSpacing) argument
[all...]
/frameworks/ml/nn/runtime/test/specs/V1_0/
H A Dlstm2.mod.py132 scratch_buffer: [ 0 for x in range(n_batch * n_cell * 3) ],
138 input0[output_state_in] = [ 0 for _ in range(n_batch * n_output) ]
139 input0[cell_state_in] = [ 0 for _ in range(n_batch * n_cell) ]
H A Dlstm2_state2.mod.py132 scratch_buffer: [ 0 for x in range(n_batch * n_cell * 3) ],
133 cell_state_out: [ 0 for x in range(n_batch * n_cell) ],
134 output_state_out: [ 0 for x in range(n_batch * n_output) ],
H A Dlstm3.mod.py621 input0[cell_state_in] = [ 0 for _ in range(n_batch * n_cell) ]
622 input0[output_state_in] = [ 0 for _ in range(n_batch * n_output) ]
624 scratch_buffer: [ 0 for x in range(n_batch * n_cell * 4) ],
H A Dlstm3_state3.mod.py644 scratch_buffer: [ 0 for x in range(n_batch * n_cell * 4) ],
645 cell_state_out: [ 0 for x in range(n_batch * n_cell) ],
646 output_state_out: [ 0 for x in range(n_batch * n_output) ],
H A Dlstm_state2.mod.py140 scratch_buffer: [ 0 for x in range(n_batch * n_cell * 4) ],
141 cell_state_out: [ 0 for x in range(n_batch * n_cell) ],
142 output_state_out: [ 0 for x in range(n_batch * n_output) ],
/frameworks/support/car/src/main/java/androidx/car/widget/
H A DPagedScrollBarView.java158 * Sets the range, offset and extent of the scroll bar. The range represents the size of a
165 * @param range The range of the scrollbar's thumb
169 * position specified by the given range, offset and extent.
176 @IntRange(from = 0) int range,
185 if (getVisibility() == View.GONE || range == 0) {
189 int thumbLength = calculateScrollThumbLength(range, extent);
190 int thumbOffset = calculateScrollThumbOffset(range, offset, thumbLength);
211 * @param range Th
175 setParameters( @ntRangefrom = 0) int range, @IntRange(from = 0) int offset, @IntRange(from = 0) int extent, boolean animate) argument
217 setParametersInLayout(int range, int offset, int extent) argument
490 calculateScrollThumbLength(int range, int extent) argument
505 calculateScrollThumbOffset(int range, int offset, int thumbLength) argument
[all...]
/frameworks/base/tools/aapt2/compile/
H A DNinePatch.cpp78 // range,
109 // We are ending a range. Which range?
117 // We are starting a range. Which range?
236 const Range& range = padding.front(); local
237 *padding_start = range.start;
238 *padding_end = length - range.end;
257 const Range& range = layout_bounds.front(); local
261 if (range
271 const Range& range = layout_bounds.back(); local
497 const Range& range = unexpected_ranges[0]; local
513 const Range& range = unexpected_ranges[0]; local
679 operator <<(::std::ostream& out, const Range& range) argument
[all...]
/frameworks/base/tests/net/java/android/net/
H A DUidRangeTest.java90 fail("Exception not thrown for negative-length UID range");
100 private static byte[] marshall(UidRange range) { argument
102 range.writeToParcel(p, /* flags */ 0);
/frameworks/support/slices/view/src/main/java/androidx/slice/
H A DSliceMetadata.java201 * Gets the input range action associated for this slice, if it exists.
203 * @return the {@link android.app.PendingIntent} for the input range.
209 SliceItem range = rc.getRange();
210 if (range != null) {
211 return range.getAction();
218 * Gets the range information associated with a progress bar or input range associated with this
221 * @return a pair where the first item is the minimum value of the range and the second item is
222 * the maximum value of the range.
229 SliceItem range
[all...]

Completed in 963 milliseconds

123456789