Home
last modified time | relevance | path

Searched refs:kMaxOffset (Results 1 – 6 of 6) sorted by relevance

/third_party/flutter/flutter/packages/flutter/test/scheduler/
Dpriority_test.dart11 Priority priority = Priority.idle + (Priority.kMaxOffset + 100);
12 expect(priority.value, equals(Priority.idle.value + Priority.kMaxOffset));
14 priority = Priority.animation - (Priority.kMaxOffset + 100);
15 expect(priority.value, equals(Priority.animation.value - Priority.kMaxOffset));
/third_party/flutter/flutter/packages/flutter/lib/src/scheduler/
Dpriority.dart30 static const int kMaxOffset = 10000;
36 /// The parameter [offset] is clamped to ±[kMaxOffset].
38 if (offset.abs() > kMaxOffset) {
40 offset = kMaxOffset * offset.sign;
49 /// The parameter [offset] is clamped to ±[kMaxOffset].
/third_party/skia/bench/
DFSRectBench.cpp28 static const SkScalar kMaxOffset = 100 * SK_Scalar1; in onDelayedSetup() local
29 static const SkScalar kOffsetRange = kMaxOffset - kMinOffset; in onDelayedSetup()
/third_party/flutter/skia/bench/
DFSRectBench.cpp28 static const SkScalar kMaxOffset = 100 * SK_Scalar1; in onDelayedSetup() local
29 static const SkScalar kOffsetRange = kMaxOffset - kMinOffset; in onDelayedSetup()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
DvktApiCopiesAndBlittingTests.cpp8437 static constexpr deUint32 kMaxOffset = 8u; member
8461 constexpr auto kMaxOffset = BufferOffsetParams::kMaxOffset; in bufferOffsetTest() local
8462 constexpr auto kBlockSize = kMaxOffset * 2u; in bufferOffsetTest()
8463 constexpr auto kBufferSize = kMaxOffset * kBlockSize; in bufferOffsetTest()
8465 DE_ASSERT(params.srcOffset < kMaxOffset); in bufferOffsetTest()
8466 DE_ASSERT(params.dstOffset < kMaxOffset); in bufferOffsetTest()
8496 copies.reserve(kMaxOffset); in bufferOffsetTest()
8497 for (deUint32 i = 0; i < kMaxOffset; ++i) in bufferOffsetTest()
8521 for (deUint32 blockIdx = 0; blockIdx < kMaxOffset; ++blockIdx) in bufferOffsetTest()
14890 for (deUint32 srcOffset = 0u; srcOffset < BufferOffsetParams::kMaxOffset; ++srcOffset) in addBufferCopyOffsetTests()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiCopiesAndBlittingTests.cpp8437 static constexpr deUint32 kMaxOffset = 8u; member
8461 constexpr auto kMaxOffset = BufferOffsetParams::kMaxOffset; in bufferOffsetTest() local
8462 constexpr auto kBlockSize = kMaxOffset * 2u; in bufferOffsetTest()
8463 constexpr auto kBufferSize = kMaxOffset * kBlockSize; in bufferOffsetTest()
8465 DE_ASSERT(params.srcOffset < kMaxOffset); in bufferOffsetTest()
8466 DE_ASSERT(params.dstOffset < kMaxOffset); in bufferOffsetTest()
8496 copies.reserve(kMaxOffset); in bufferOffsetTest()
8497 for (deUint32 i = 0; i < kMaxOffset; ++i) in bufferOffsetTest()
8521 for (deUint32 blockIdx = 0; blockIdx < kMaxOffset; ++blockIdx) in bufferOffsetTest()
14890 for (deUint32 srcOffset = 0u; srcOffset < BufferOffsetParams::kMaxOffset; ++srcOffset) in addBufferCopyOffsetTests()
[all …]