/toolchain/binutils/binutils-2.27/gas/testsuite/gas/tic6x/ |
parallel-bad-2.s | 1 # Test bad positions for parallel operations.
|
/dalvik/dx/tests/095-dex-const-string-jumbo/ |
run | 41 dx --debug --dex --no-optimize --positions=none --no-locals \
|
/dalvik/dx/tests/110-dex-preserve-this/ |
run | 17 dx --debug --dex --positions=none \
|
/external/icu/icu4c/source/samples/layout/ |
rsurface.cpp | 20 const float *positions, le_int32 x, le_int32 y, le_int32 width, le_int32 height) 24 rs->drawGlyphs((const LEFontInstance *) font, glyphs, count, positions, x, y, width, height);
|
RenderingSurface.h | 33 const float *positions, le_int32 x, le_int32 y, le_int32 width, le_int32 height) = 0;
|
rsurface.h | 20 const float *positions, le_int32 x, le_int32 y, le_int32 width, le_int32 height);
|
/dalvik/dx/tests/069-dex-source-position/ |
run | 17 dx --debug --dex --no-optimize --positions=none --no-locals \ 19 dx --debug --dex --no-optimize --positions=important --no-locals \ 21 dx --debug --dex --no-optimize --positions=lines --no-locals \
|
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/table/ |
SortIndex.java | 49 private int[] positions; field in class:SortIndex 75 if (positions == null || positions.length < items.size()) { 76 positions = new int[items.size()]; 80 positions[e.idx] = pos++; 93 return positions[idx];
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/ |
PlaybackTransportRowPresenterTest.java | 114 PlaybackSeekDataProvider provider, long[] positions) { 116 int lastThumbIndex = Math.min(lastHeroIndex + (mNumbThumbs / 2), positions.length - 1); 135 void verifyAtHeroIndex(long[] positions, int heroIndex) { 136 verifyAtHeroIndex(positions, heroIndex, null); 139 void verifyAtHeroIndex(long[] positions, int heroIndex, Bitmap[] thumbs) { 140 assertEquals(positions[heroIndex], mGlue.getControlsRow().getCurrentPosition()); 144 int end = Math.min(positions.length - 1, mViewHolder.mThumbHeroIndex + mNumbThumbs / 2); 331 final long[] positions = provider.getSeekPositions(); local 337 verifyAtHeroIndex(positions, 1); 339 verifyAtHeroIndex(positions, 2) 359 final long[] positions = provider.getSeekPositions(); local 401 final long[] positions = provider.getSeekPositions(); local 443 final long[] positions = provider.getSeekPositions(); local 469 final long[] positions = provider.getSeekPositions(); local 489 final long[] positions = provider.getSeekPositions(); local 513 final long[] positions = provider.getSeekPositions(); local 538 final long[] positions = provider.getSeekPositions(); local 567 final long[] positions = provider.getSeekPositions(); local 594 final long[] positions = provider.getSeekPositions(); local 621 final long[] positions = provider.getSeekPositions(); local 654 final long[] positions = provider.getSeekPositions(); local 680 final long[] positions = provider.getSeekPositions(); local 722 final long[] positions = provider.getSeekPositions(); local [all...] |
/frameworks/base/libs/hwui/ |
GradientCache.h | 40 positions = nullptr; 43 GradientCacheEntry(uint32_t* colors, float* positions, uint32_t count) { 44 copy(colors, positions, count); 48 copy(entry.colors.get(), entry.positions.get(), entry.count); 53 copy(entry.colors.get(), entry.positions.get(), entry.count); 68 std::unique_ptr<float[]> positions; member in struct:android::uirenderer::GradientCacheEntry 72 void copy(uint32_t* colors, float* positions, uint32_t count) { 75 this->positions.reset(new float[count]); 78 memcpy(this->positions.get(), positions, count * sizeof(float)) [all...] |
TextDropShadowCache.h | 46 , positions(nullptr) {} 50 const float* positions) 59 , positions(positions) {} 74 if (positions != nullptr) { 76 positionsCopy.appendArray(positions, glyphCount * 2); 77 positions = positionsCopy.array(); 89 const float* positions; member in struct:android::uirenderer::ShadowText 134 const float* positions);
|
/external/jline/src/src/main/java/jline/ |
MultiCompletor.java | 47 int[] positions = new int[completors.length]; local 53 positions[i] = completors[i].complete(buffer, pos, copies[i]); 58 for (int i = 0; i < positions.length; i++) { 59 maxposition = Math.max(maxposition, positions[i]); 65 if (positions[i] == maxposition) {
|
/frameworks/base/graphics/java/android/graphics/ |
SweepGradient.java | 48 * @param positions May be NULL. The relative position of 52 * If positions is NULL, then the colors are automatically 56 @NonNull @ColorInt int colors[], @Nullable float positions[]) { 60 if (positions != null && colors.length != positions.length) { 68 mPositions = positions != null ? positions.clone() : null; 115 int colors[], float positions[]);
|
/external/tensorflow/tensorflow/python/keras/_impl/keras/utils/ |
layer_utils.py | 41 def print_summary(model, line_length=None, positions=None, print_fn=None): 49 positions: Relative or absolute positions of log elements in each line. 94 positions = positions or [.45, .85, 1.] 95 if positions[-1] <= 1: 96 positions = [int(line_length * p) for p in positions] 101 positions = positions or [.33, .55, .67, 1. [all...] |
/frameworks/base/libs/hwui/tests/unit/ |
GradientCacheTests.cpp | 32 float positions[] = {1, 2, 3}; local 33 Texture* texture = cache.get(colors, positions, 3);
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
CacheUtils.java | 49 * Asserts that the positions passed are all resident in the view's cache. 51 static void verifyCacheContainsPositions(RecyclerView view, Integer... positions) { 52 for (Integer position : positions) { 62 static void verifyCacheContainsPrefetchedPositions(RecyclerView view, Integer... positions) { 63 verifyCacheContainsPositions(view, positions); 65 for (Integer position : positions) { 68 assertEquals(positions.length, view.mRecycler.mCachedViews.size()); 72 * Asserts that none of the positions passed are resident in the view's cache. 74 static void verifyCacheDoesNotContainPositions(RecyclerView view, Integer... positions) { 75 for (Integer position : positions) { [all...] |
/external/tensorflow/tensorflow/contrib/lite/kernels/ |
gather.cc | 39 TfLiteTensor* positions = GetInput(context, node, kInputPositions); local 41 // Only INT32 positions are supported. 42 TF_LITE_ENSURE_EQ(context, positions->type, kTfLiteInt32); 45 // TODO(mgubin): only 0D or 1D positions are currently supported. 46 TF_LITE_ENSURE(context, NumDimensions(positions) <= 1); 67 NumDimensions(input) + NumDimensions(positions) - 1; 74 for (int i = 0; i < positions->dims->size; ++i) { 75 output_shape->data[output_index++] = positions->dims->data[i]; 85 TfLiteTensor* positions = GetInput(context, node, kInputPositions); local 91 GetTensorData<index_type>(positions), GetTensorDims(positions), [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
SweepGradientTest.java | 64 final float[] positions = new float[] { 0f, 1f }; local 68 verifyColors(colors, positions, TOLERANCE); 74 final float[] positions = new float[] { 0f, 0.3f, 1f }; local 75 Shader shader = new SweepGradient(CENTER, CENTER, colors, positions); 79 verifyColors(colors, positions, TOLERANCE); 85 final float[] positions = new float[] { 0f, 0.25f, 0.5f, 1f }; local 87 Shader shader = new SweepGradient(CENTER, CENTER, colors, positions); 91 verifyColors(colors, positions, TOLERANCE); 94 private void verifyColors(int[] colors, float[] positions, int tolerance) { 106 for (idx = 0; idx < positions.length; idx++) [all...] |
/frameworks/layoutlib/bridge/src/android/graphics/ |
Gradient_Delegate.java | 46 * @param positions May be null. The relative positions [0..1] of each 50 protected Gradient_Delegate(long nativeMatrix, int colors[], float positions[]) { 54 if (positions == null) { 56 positions = new float[colors.length]; 57 positions[0] = 0.f; 58 positions[colors.length - 1] = 1.f; 60 positions[i] = spacing * i; 63 assert colors.length == positions.length : 68 mPositions = positions; [all...] |
/external/guice/core/src/com/google/inject/spi/ |
ElementSource.java | 149 * it returns -1 for all module positions. 153 Integer[] positions = new Integer[size]; local 155 positions[0] = chunkSize - 1; 159 positions[cursor] = positions[cursor - 1] + chunkSize; 162 return ImmutableList.<Integer>copyOf(positions);
|
/external/skia/bench/ |
HardStopGradientBench_ScaleNumHardStops.cpp | 59 // space positions after that 60 SkAutoTArray<SkScalar> positions(fColorCount); 64 positions[k++] = val / fColorCount; 65 positions[k++] = val / fColorCount; 68 positions[i] = i / (fColorCount - 1.0f); 73 positions.get(),
|
/external/skia/include/core/ |
SkVertices.h | 35 const SkPoint positions[], 42 const SkPoint positions[], 45 return MakeCopy(mode, vertexCount, positions, texs, colors, 0, nullptr); 63 SkPoint* positions(); 91 const SkPoint* positions() const { return fPositions; } function in class:SkVertices
|
/external/skqp/bench/ |
HardStopGradientBench_ScaleNumHardStops.cpp | 59 // space positions after that 60 SkAutoTArray<SkScalar> positions(fColorCount); 64 positions[k++] = val / fColorCount; 65 positions[k++] = val / fColorCount; 68 positions[i] = i / (fColorCount - 1.0f); 73 positions.get(),
|
/external/skqp/include/core/ |
SkVertices.h | 35 const SkPoint positions[], 42 const SkPoint positions[], 45 return MakeCopy(mode, vertexCount, positions, texs, colors, 0, nullptr); 63 SkPoint* positions(); 91 const SkPoint* positions() const { return fPositions; } function in class:SkVertices
|
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/ |
SortingCursorWrapper.java | 187 int[] positions, 190 final int count = positions.length; 192 final int pivotPosition = positions[start]; 241 positions[left + 2] = positions[left + 1]; 245 positions[left + 1] = positions[left]; 250 System.arraycopy(positions, left, positions, left + 1, n); 255 positions[left] = pivotPosition [all...] |