OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:recordedClip
(Results
1 - 5
of
5
) sorted by null
/frameworks/base/libs/hwui/tests/unit/
ClipAreaTests.cpp
202
ClipRect
recordedClip
(Rect(100, 100));
206
auto resolvedClip = area.serializeIntersectedClip(allocator, &
recordedClip
, translateScale);
211
EXPECT_EQ(resolvedClip, area.serializeIntersectedClip(allocator, &
recordedClip
, translateScale))
224
ClipRect
recordedClip
(Rect(100, 100));
225
auto resolvedClip = area.serializeIntersectedClip(allocator, &
recordedClip
, Matrix4::identity());
240
ClipRegion
recordedClip
;
241
recordedClip
.region.setPath(ovalPath, SkRegion(SkIRect::MakeWH(200, 200)));
242
recordedClip
.rect = Rect(200, 200);
246
auto resolvedClip = area.serializeIntersectedClip(allocator, &
recordedClip
,
267
ClipRect
recordedClip
(Rect(100.12, 100.74))
[
all
...]
/frameworks/base/libs/hwui/
Snapshot.cpp
253
const ClipBase*
recordedClip
, const Matrix4& recordedClipTransform) {
255
if (CC_UNLIKELY(
recordedClip
&&
recordedClip
->intersectWithRoot)) {
261
recordedClip
, recordedClipTransform);
264
void Snapshot::applyClip(const ClipBase*
recordedClip
, const Matrix4& transform) {
265
if (CC_UNLIKELY(
recordedClip
&&
recordedClip
->intersectWithRoot)) {
269
mClipArea->applyClip(
recordedClip
, transform);
ClipArea.cpp
418
const ClipBase*
recordedClip
, const Matrix4& recordedClipTransform) {
420
// if no
recordedClip
passed, just serialize current state
421
if (!
recordedClip
) return serializeClip(allocator);
424
if (CC_UNLIKELY(
recordedClip
->rect.isEmpty())|| mClipRect.isEmpty()) return &sEmptyClipRect;
427
||
recordedClip
!= mLastResolutionClip
429
mLastResolutionClip =
recordedClip
;
433
&&
recordedClip
->mode == ClipMode::Rectangle
436
auto rectClip = allocator.create<ClipRect>(
recordedClip
->rect);
442
||
recordedClip
->mode == ClipMode::Region
443
|| cannotFitInRectangleList(*this,
recordedClip
))) {
[
all
...]
ClipArea.h
179
const ClipBase*
recordedClip
, const Matrix4& recordedClipTransform);
180
void applyClip(const ClipBase*
recordedClip
, const Matrix4& recordedClipTransform);
Snapshot.h
174
const ClipBase*
recordedClip
, const Matrix4& recordedClipTransform);
Completed in 85 milliseconds