Home
last modified time | relevance | path

Searched refs:kMaxOffset (Results 1 – 5 of 5) 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/vulkan/api/
DvktApiCopiesAndBlittingTests.cpp6892 static constexpr deUint32 kMaxOffset = 8u; member
6916 constexpr auto kMaxOffset = BufferOffsetParams::kMaxOffset; in bufferOffsetTest() local
6917 constexpr auto kBlockSize = kMaxOffset * 2u; in bufferOffsetTest()
6918 constexpr auto kBufferSize = kMaxOffset * kBlockSize; in bufferOffsetTest()
6920 DE_ASSERT(params.srcOffset < kMaxOffset); in bufferOffsetTest()
6921 DE_ASSERT(params.dstOffset < kMaxOffset); in bufferOffsetTest()
6951 copies.reserve(kMaxOffset); in bufferOffsetTest()
6952 for (deUint32 i = 0; i < kMaxOffset; ++i) in bufferOffsetTest()
6976 for (deUint32 blockIdx = 0; blockIdx < kMaxOffset; ++blockIdx) in bufferOffsetTest()
12698 for (deUint32 srcOffset = 0u; srcOffset < BufferOffsetParams::kMaxOffset; ++srcOffset) in addBufferCopyOffsetTests()
[all …]