Lines Matching refs:mLocked
45 mLocked.transactionNestingCount = 0; in SpriteController()
46 mLocked.deferredSpriteUpdate = false; in SpriteController()
65 mLocked.transactionNestingCount += 1; in openTransaction()
71 LOG_ALWAYS_FATAL_IF(mLocked.transactionNestingCount == 0, in closeTransaction()
74 mLocked.transactionNestingCount -= 1; in closeTransaction()
75 if (mLocked.transactionNestingCount == 0 && mLocked.deferredSpriteUpdate) { in closeTransaction()
76 mLocked.deferredSpriteUpdate = false; in closeTransaction()
82 bool wasEmpty = mLocked.invalidatedSprites.isEmpty(); in invalidateSpriteLocked()
83 mLocked.invalidatedSprites.push(sprite); in invalidateSpriteLocked()
85 if (mLocked.transactionNestingCount != 0) { in invalidateSpriteLocked()
86 mLocked.deferredSpriteUpdate = true; in invalidateSpriteLocked()
94 bool wasEmpty = mLocked.disposedSurfaces.isEmpty(); in disposeSurfaceLocked()
95 mLocked.disposedSurfaces.push(surfaceControl); in disposeSurfaceLocked()
123 numSprites = mLocked.invalidatedSprites.size(); in doUpdateSprites()
125 const sp<SpriteImpl>& sprite = mLocked.invalidatedSprites.itemAt(i); in doUpdateSprites()
130 mLocked.invalidatedSprites.clear(); in doUpdateSprites()
356 disposedSurfaces = mLocked.disposedSurfaces; in doDisposeSurfaces()
357 mLocked.disposedSurfaces.clear(); in doDisposeSurfaces()
397 if (mLocked.state.surfaceControl != NULL) { in ~SpriteImpl()
398 mController->disposeSurfaceLocked(mLocked.state.surfaceControl); in ~SpriteImpl()
399 mLocked.state.surfaceControl.clear(); in ~SpriteImpl()
408 icon.bitmap.copyTo(&mLocked.state.icon.bitmap, kN32_SkColorType); in setIcon()
410 if (!mLocked.state.icon.isValid() in setIcon()
411 || mLocked.state.icon.hotSpotX != icon.hotSpotX in setIcon()
412 || mLocked.state.icon.hotSpotY != icon.hotSpotY) { in setIcon()
413 mLocked.state.icon.hotSpotX = icon.hotSpotX; in setIcon()
414 mLocked.state.icon.hotSpotY = icon.hotSpotY; in setIcon()
419 } else if (mLocked.state.icon.isValid()) { in setIcon()
420 mLocked.state.icon.bitmap.reset(); in setIcon()
432 if (mLocked.state.visible != visible) { in setVisible()
433 mLocked.state.visible = visible; in setVisible()
441 if (mLocked.state.positionX != x || mLocked.state.positionY != y) { in setPosition()
442 mLocked.state.positionX = x; in setPosition()
443 mLocked.state.positionY = y; in setPosition()
451 if (mLocked.state.layer != layer) { in setLayer()
452 mLocked.state.layer = layer; in setLayer()
460 if (mLocked.state.alpha != alpha) { in setAlpha()
461 mLocked.state.alpha = alpha; in setAlpha()
470 if (mLocked.state.transformationMatrix != matrix) { in setTransformationMatrix()
471 mLocked.state.transformationMatrix = matrix; in setTransformationMatrix()
477 bool wasDirty = mLocked.state.dirty; in invalidateLocked()
478 mLocked.state.dirty |= dirty; in invalidateLocked()