Home
last modified time | relevance | path

Searched refs:Concat (Results 1 – 18 of 18) sorted by relevance

/frameworks/native/libs/ftl/
Dconcat_test.cpp23 TEST(Concat, Example) { in TEST() argument
25 ftl::Concat string(ftl::truncated<3>(name), ": ", -3, " dB"); in TEST()
31 TEST(Concat, Characters) { in TEST() argument
32 EXPECT_EQ(ftl::Concat(u'a', ' ', U'b').str(), "97 98"); in TEST()
35 TEST(Concat, References) { in TEST() argument
38 EXPECT_EQ(ftl::Concat(i[0], std::as_const(i[1]), u).str(), "-123"); in TEST()
42 EXPECT_EQ(ftl::Concat(b, "tt", c).str(), "falsetto"); in TEST()
47 static_assert(ftl::Concat{true, false, true}.str() == "truefalsetrue");
48 static_assert(ftl::Concat{':', '-', ')'}.str() == ":-)");
50 static_assert(ftl::Concat{"foo"}.str() == "foo");
[all …]
/frameworks/native/include/ftl/
Dconcat.h34 struct Concat;
37 struct Concat<N, T, Ts...> : Concat<N + details::StaticString<T>::N, Ts...> {
38 explicit constexpr Concat(T v, Ts... args) { append(v, args...); }
41 constexpr Concat() = default;
52 using Base = Concat<N + Str::N, Ts...>;
58 struct Concat<N> {
70 constexpr Concat() : end_(buffer_) {}
71 constexpr Concat(const Concat&) = delete;
81 Concat(Ts&&...) -> Concat<0, Ts...>;
/frameworks/base/libs/hwui/canvas/
DCanvasOpRasterizer.cpp39 destination->setMatrix(SkMatrix::Concat(currentGlobalTransform, op->transform())); in rasterizeCanvasBuffer()
/frameworks/base/libs/hwui/
DDisplayListOps.in21 X(Concat)
DLayer.cpp118 matrix = SkMatrix::Concat(layerTransform, textureMatrix); in draw()
DRecordingCanvas.cpp152 struct Concat final : Op { struct
153 static const auto kType = Type::Concat; argument
154 Concat(const SkM44& matrix) : matrix(matrix) {} in Concat() function
808 this->push<Concat>(0, m); in concat()
/frameworks/base/libs/hwui/jni/pdf/
DPdfEditor.cpp131 SkMatrix coordinateChange = SkMatrix::Concat(moveUp, reflectOnX); in nativeSetTransformAndClip()
134 SkMatrix matrix = SkMatrix::Concat(*reinterpret_cast<SkMatrix*>(transformPtr), in nativeSetTransformAndClip()
/frameworks/native/services/surfaceflinger/Scheduler/
DScheduler.cpp555 ATRACE_NAME(ftl::Concat(whence, ' ', id.value, ' ', enabled).c_str()); in onHardwareVsyncRequest()
560 ATRACE_NAME(ftl::Concat(whence, ' ', id.value, ' ', enabled).c_str()); in onHardwareVsyncRequest()
642 ATRACE_NAME(ftl::Concat(__func__, ' ', id.value).c_str()); in addPresentFence()
884 ? ftl::Concat("Pacesetter Display ", id.value).c_str() in dump()
885 : ftl::Concat("Follower Display ", id.value).c_str()); in dump()
DVSyncReactor.cpp139 ATRACE_INT64(ftl::Concat("VSR-", __func__, " ", mId.value).c_str(), in onDisplayModeChanged()
DVSyncDispatchTimerQueue.cpp52 ftl::Concat trace(ftl::truncated<5>(entry.name()), " alarm in ", in traceEntry()
385 ftl::Concat trace(ftl::truncated<5>(invocation.callback->name())); in timerCallback()
DRefreshRateSelector.h219 return ftl::Concat("{touch=", touch, ", idle=", idle, in toString()
DVSyncPredictor.cpp80 ATRACE_INT64(ftl::Concat(ftl::truncated<14>(name), " ", mId.value).c_str(), value); in traceInt64()
/frameworks/native/services/surfaceflinger/Scheduler/src/
DTimer.cpp192 ftl::Concat trace("TimerIteration #", iteration++); in dispatch()
/frameworks/base/cmds/screencap/
Dscreencap.cpp69 return std::string(ftl::Concat( in usage()
/frameworks/native/services/surfaceflinger/Display/
DDisplayModeController.cpp34 return std::string(ftl::Concat(str, ' ', snapshot.get().displayId().value).str()); in concatId()
/frameworks/native/services/surfaceflinger/
DDisplayDevice.cpp68 mPowerMode(ftl::Concat("PowerMode ", getId().value).c_str(), args.initialPowerMode),
DSurfaceFlinger.cpp1315 ATRACE_NAME(ftl::Concat(__func__, ' ', displayId.value).c_str()); in setDesiredMode()
1420 ATRACE_NAME(ftl::Concat(__func__, ' ', displayId.value).c_str()); in finalizeDisplayModeChange()
2229 ? ftl::Concat(__func__, ' ', hwcDisplayId, ' ', *vsyncPeriod, "ns").c_str() in onComposerHalVsync()
2230 : ftl::Concat(__func__, ' ', hwcDisplayId).c_str()); in onComposerHalVsync()
2606 ATRACE_NAME(ftl::Concat(__func__, ' ', ftl::to_underlying(vsyncId)).c_str()); in commit()
2759 ATRACE_NAME(ftl::Concat(__func__, ' ', ftl::to_underlying(vsyncId)).c_str()); in composite()
3582 const ftl::Concat displayString("display ", displayId.value, "(HAL ID ", hwcDisplayId, in configureLocked()
6525 utils::Dumper::Section section(dumper, ftl::Concat("Display ", id.value).str()); in dumpDisplays()
6538 ftl::Concat("Virtual Display ", displayId.value).str()); in dumpDisplays()
8713 ATRACE_NAME(ftl::Concat(__func__, ' ', displayId.value).c_str()); in setDesiredDisplayModeSpecsInternal()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.cpp181 ATRACE_INT(ftl::Concat("HW_VSYNC_", displayIdOpt->value).c_str(), in onVsync()
437 ATRACE_INT(ftl::Concat("HW_VSYNC_ON_", displayId.value).c_str(), in setVsyncEnabled()