• Home
  • Raw
  • Download

Lines Matching refs:mCurrentState

88     mCurrentState.active_legacy.w = args.w;  in Layer()
89 mCurrentState.active_legacy.h = args.h; in Layer()
90 mCurrentState.flags = layerFlags; in Layer()
91 mCurrentState.active_legacy.transform.set(0, 0); in Layer()
92 mCurrentState.crop_legacy.makeInvalid(); in Layer()
93 mCurrentState.requestedCrop_legacy = mCurrentState.crop_legacy; in Layer()
94 mCurrentState.z = 0; in Layer()
95 mCurrentState.color.a = 1.0f; in Layer()
96 mCurrentState.layerStack = 0; in Layer()
97 mCurrentState.sequence = 0; in Layer()
98 mCurrentState.requested_legacy = mCurrentState.active_legacy; in Layer()
99 mCurrentState.active.w = UINT32_MAX; in Layer()
100 mCurrentState.active.h = UINT32_MAX; in Layer()
101 mCurrentState.active.transform.set(0, 0); in Layer()
102 mCurrentState.transform = 0; in Layer()
103 mCurrentState.transformToDisplayInverse = false; in Layer()
104 mCurrentState.crop.makeInvalid(); in Layer()
105 mCurrentState.acquireFence = new Fence(-1); in Layer()
106 mCurrentState.dataspace = ui::Dataspace::UNKNOWN; in Layer()
107 mCurrentState.hdrMetadata.validTypes = 0; in Layer()
108 mCurrentState.surfaceDamageRegion.clear(); in Layer()
109 mCurrentState.cornerRadius = 0.0f; in Layer()
110 mCurrentState.api = -1; in Layer()
111 mCurrentState.hasColorTransform = false; in Layer()
112 mCurrentState.colorSpaceAgnostic = false; in Layer()
113 mCurrentState.metadata = args.metadata; in Layer()
116 mDrawingState = mCurrentState; in Layer()
164 if (mCurrentState.zOrderRelativeOf == nullptr) { in removeRelativeZ()
168 sp<Layer> strongRelative = mCurrentState.zOrderRelativeOf.promote(); in removeRelativeZ()
679 if (!mCurrentState.modified) { in pushPendingState()
688 if (mCurrentState.barrierLayer_legacy != nullptr && !isRemovedFromCurrentState()) { in pushPendingState()
689 sp<Layer> barrierLayer = mCurrentState.barrierLayer_legacy.promote(); in pushPendingState()
695 mCurrentState.barrierLayer_legacy = nullptr; in pushPendingState()
697 auto syncPoint = std::make_shared<SyncPoint>(mCurrentState.frameNumber_legacy, this); in pushPendingState()
700 ss << "Adding sync point " << mCurrentState.frameNumber_legacy; in pushPendingState()
706 mCurrentState.barrierLayer_legacy = nullptr; in pushPendingState()
714 mPendingStates.push_back(mCurrentState); in pushPendingState()
776 mCurrentState.modified = false; in applyPendingStates()
903 if (mCurrentState.inputInfoChanged) { in doTransaction()
905 mCurrentState.inputInfoChanged = false; in doTransaction()
910 mCurrentState.callbackHandles = {}; in doTransaction()
927 if (mCurrentState.requested_legacy.transform.tx() == x && in setPosition()
928 mCurrentState.requested_legacy.transform.ty() == y) in setPosition()
930 mCurrentState.sequence++; in setPosition()
935 mCurrentState.requested_legacy.transform.set(x, y); in setPosition()
941 mCurrentState.active_legacy.transform.set(x, y); in setPosition()
945 mCurrentState.modified = true; in setPosition()
978 if (mCurrentState.z == z && !usingRelativeZ(LayerVector::StateSet::Current)) return false; in setLayer()
979 mCurrentState.sequence++; in setLayer()
980 mCurrentState.z = z; in setLayer()
981 mCurrentState.modified = true; in setLayer()
984 if (mCurrentState.zOrderRelativeOf != nullptr) { in setLayer()
985 sp<Layer> strongRelative = mCurrentState.zOrderRelativeOf.promote(); in setLayer()
996 mCurrentState.zOrderRelatives.remove(relative); in removeZOrderRelative()
997 mCurrentState.sequence++; in removeZOrderRelative()
998 mCurrentState.modified = true; in removeZOrderRelative()
1003 mCurrentState.zOrderRelatives.add(relative); in addZOrderRelative()
1004 mCurrentState.modified = true; in addZOrderRelative()
1005 mCurrentState.sequence++; in addZOrderRelative()
1010 mCurrentState.zOrderRelativeOf = relativeOf; in setZOrderRelativeOf()
1011 mCurrentState.sequence++; in setZOrderRelativeOf()
1012 mCurrentState.modified = true; in setZOrderRelativeOf()
1026 if (mCurrentState.z == relativeZ && usingRelativeZ(LayerVector::StateSet::Current) && in setRelativeLayer()
1027 mCurrentState.zOrderRelativeOf == relative) { in setRelativeLayer()
1031 mCurrentState.sequence++; in setRelativeLayer()
1032 mCurrentState.modified = true; in setRelativeLayer()
1033 mCurrentState.z = relativeZ; in setRelativeLayer()
1035 auto oldZOrderRelativeOf = mCurrentState.zOrderRelativeOf.promote(); in setRelativeLayer()
1048 if (mCurrentState.requested_legacy.w == w && mCurrentState.requested_legacy.h == h) in setSize()
1050 mCurrentState.requested_legacy.w = w; in setSize()
1051 mCurrentState.requested_legacy.h = h; in setSize()
1052 mCurrentState.modified = true; in setSize()
1057 setDefaultBufferSize(mCurrentState.requested_legacy.w, mCurrentState.requested_legacy.h); in setSize()
1061 if (mCurrentState.color.a == alpha) return false; in setAlpha()
1062 mCurrentState.sequence++; in setAlpha()
1063 mCurrentState.color.a = alpha; in setAlpha()
1064 mCurrentState.modified = true; in setAlpha()
1070 if (!mCurrentState.bgColorLayer && alpha == 0) { in setBackgroundColor()
1073 mCurrentState.sequence++; in setBackgroundColor()
1074 mCurrentState.modified = true; in setBackgroundColor()
1077 if (!mCurrentState.bgColorLayer && alpha != 0) { in setBackgroundColor()
1081 mCurrentState.bgColorLayer = new ColorLayer( in setBackgroundColor()
1085 addChild(mCurrentState.bgColorLayer); in setBackgroundColor()
1089 mCurrentState.bgColorLayer->onRemovedFromCurrentState(); in setBackgroundColor()
1092 } else if (mCurrentState.bgColorLayer && alpha == 0) { in setBackgroundColor()
1093 mCurrentState.bgColorLayer->reparent(nullptr); in setBackgroundColor()
1094 mCurrentState.bgColorLayer = nullptr; in setBackgroundColor()
1098 mCurrentState.bgColorLayer->setColor(color); in setBackgroundColor()
1099 mCurrentState.bgColorLayer->setLayer(std::numeric_limits<int32_t>::min()); in setBackgroundColor()
1100 mCurrentState.bgColorLayer->setAlpha(alpha); in setBackgroundColor()
1101 mCurrentState.bgColorLayer->setDataspace(dataspace); in setBackgroundColor()
1107 if (mCurrentState.cornerRadius == cornerRadius) return false; in setCornerRadius()
1109 mCurrentState.sequence++; in setCornerRadius()
1110 mCurrentState.cornerRadius = cornerRadius; in setCornerRadius()
1111 mCurrentState.modified = true; in setCornerRadius()
1125 mCurrentState.sequence++; in setMatrix()
1126 mCurrentState.requested_legacy.transform.set(matrix.dsdx, matrix.dtdy, matrix.dtdx, in setMatrix()
1128 mCurrentState.modified = true; in setMatrix()
1134 mCurrentState.requestedTransparentRegion_legacy = transparent; in setTransparentRegionHint()
1135 mCurrentState.modified = true; in setTransparentRegionHint()
1140 const uint32_t newFlags = (mCurrentState.flags & ~mask) | (flags & mask); in setFlags()
1141 if (mCurrentState.flags == newFlags) return false; in setFlags()
1142 mCurrentState.sequence++; in setFlags()
1143 mCurrentState.flags = newFlags; in setFlags()
1144 mCurrentState.modified = true; in setFlags()
1150 if (mCurrentState.requestedCrop_legacy == crop) return false; in setCrop_legacy()
1151 mCurrentState.sequence++; in setCrop_legacy()
1152 mCurrentState.requestedCrop_legacy = crop; in setCrop_legacy()
1154 mCurrentState.crop_legacy = crop; in setCrop_legacy()
1158 mCurrentState.modified = true; in setCrop_legacy()
1171 if (!mCurrentState.metadata.merge(data, true /* eraseEmpty */)) return false; in setMetadata()
1172 mCurrentState.sequence++; in setMetadata()
1173 mCurrentState.modified = true; in setMetadata()
1179 if (mCurrentState.layerStack == layerStack) return false; in setLayerStack()
1180 mCurrentState.sequence++; in setLayerStack()
1181 mCurrentState.layerStack = layerStack; in setLayerStack()
1182 mCurrentState.modified = true; in setLayerStack()
1188 if (mCurrentState.colorSpaceAgnostic == agnostic) { in setColorSpaceAgnostic()
1191 mCurrentState.sequence++; in setColorSpaceAgnostic()
1192 mCurrentState.colorSpaceAgnostic = agnostic; in setColorSpaceAgnostic()
1193 mCurrentState.modified = true; in setColorSpaceAgnostic()
1208 mCurrentState.barrierLayer_legacy = barrierLayer; in deferTransactionUntil_legacy()
1209 mCurrentState.frameNumber_legacy = frameNumber; in deferTransactionUntil_legacy()
1212 mCurrentState.modified = true; in deferTransactionUntil_legacy()
1214 mCurrentState.barrierLayer_legacy = nullptr; in deferTransactionUntil_legacy()
1215 mCurrentState.frameNumber_legacy = 0; in deferTransactionUntil_legacy()
1216 mCurrentState.modified = false; in deferTransactionUntil_legacy()
1582 if (mCurrentState.colorTransform == matrix) { in setColorTransform()
1585 ++mCurrentState.sequence; in setColorTransform()
1586 mCurrentState.colorTransform = matrix; in setColorTransform()
1587 mCurrentState.hasColorTransform = matrix != identityMatrix; in setColorTransform()
1588 mCurrentState.modified = true; in setColorTransform()
1625 const State& state = useDrawing ? mDrawingState : mCurrentState; in usingRelativeZ()
1635 const State& state = useDrawing ? mDrawingState : mCurrentState; in makeTraversalList()
1651 const State& childState = useDrawing ? child->mDrawingState : child->mCurrentState; in makeTraversalList()
1738 const State& state = useDrawing ? mDrawingState : mCurrentState; in makeChildrenTraversalList()
1751 const State& childState = useDrawing ? child->mDrawingState : child->mCurrentState; in makeChildrenTraversalList()
1870 mCurrentState.inputInfo = info; in setInputInfo()
1871 mCurrentState.touchableRegionCrop = extractLayerFromBinder(info.touchableRegionCropHandle); in setInputInfo()
1872 mCurrentState.modified = true; in setInputInfo()
1873 mCurrentState.inputInfoChanged = true; in setInputInfo()
1881 const State& state = useDrawing ? mDrawingState : mCurrentState; in writeToProto()