/frameworks/base/core/java/android/view/ |
H A D | ViewOverlay.java | 233 public void invalidate(Rect dirty) { argument 234 super.invalidate(dirty); 236 mHostView.invalidate(dirty); 288 public void invalidateChildFast(View child, final Rect dirty) { argument 291 // using DisplayList properties and a dirty rect instead of causing a real 296 child.transformRect(dirty); 298 dirty.offset(left, top); 299 mHostView.invalidate(dirty); 307 protected ViewParent invalidateChildInParentFast(int left, int top, Rect dirty) { argument 309 return ((ViewGroup) mHostView).invalidateChildInParentFast(left, top, dirty); 315 invalidateChildInParent(int[] location, Rect dirty) argument [all...] |
H A D | GLES20RecordingCanvas.java | 66 public int drawDisplayList(DisplayList displayList, Rect dirty, int flags) { argument 67 int status = super.drawDisplayList(displayList, dirty, flags);
|
H A D | HardwareCanvas.java | 72 * @param dirty The dirty rectangle to update, can be null. 78 public abstract int onPreDraw(Rect dirty); argument 101 * @param dirty The dirty region to redraw in the next pass, matters only 112 public abstract int drawDisplayList(DisplayList displayList, Rect dirty, int flags); argument 156 * @param dirty The region to redraw when the functors return {@link DisplayList#STATUS_DRAW} 163 public int invokeFunctors(Rect dirty) { argument
|
H A D | SurfaceHolder.java | 205 * must be written. The only exception to this rule is when a dirty 206 * rectangle is specified, in which case, non-dirty pixels will be 228 * Just like {@link #lockCanvas()} but allows specification of a dirty rectangle. 231 * the dirty rectangle will be preserved by the next call to lockCanvas(). 235 * @param dirty Area of the Surface that will be modified. 238 public Canvas lockCanvas(Rect dirty); argument
|
H A D | GraphicBuffer.java | 148 * Just like {@link #lockCanvas()} but allows specification of a dirty 154 * @param dirty Area of the buffer that may be modified. 162 public Canvas lockCanvas(Rect dirty) { argument 171 if (nLockCanvas(mNativeObject, mCanvas, dirty)) { 290 private static native boolean nLockCanvas(int nativeObject, Canvas canvas, Rect dirty); argument
|
H A D | GLES20RenderLayer.java | 107 HardwareCanvas start(Canvas currentCanvas, Rect dirty) { argument 113 canvas.onPreDraw(dirty);
|
H A D | HardwareRenderer.java | 76 * System property used to enable or disable dirty regions invalidation. 147 * Turn on to draw dirty regions every other frame. 150 * "true", to enable dirty regions debugging 151 * "false", to disable dirty regions debugging 506 * @param dirty The dirty rectangle to update, can be null. 509 Rect dirty); 956 Log.d(LOG_TAG, "Debugging dirty regions"); 1017 * Indicates whether this renderer instance can track and update dirty regions. 1261 // want to set mDirtyRegions. We try to do this only if dirty 508 draw(View view, View.AttachInfo attachInfo, HardwareDrawCallbacks callbacks, Rect dirty) argument 1401 onPreDraw(Rect dirty) argument 1426 draw(View view, View.AttachInfo attachInfo, HardwareDrawCallbacks callbacks, Rect dirty) argument 1508 debugOverdraw(View.AttachInfo attachInfo, Rect dirty, HardwareCanvas canvas, DisplayList displayList) argument 1580 beginFrame(HardwareCanvas canvas, Rect dirty, int surfaceState) argument 1625 prepareFrame(Rect dirty) argument 1681 debugDirtyRegions(Rect dirty, HardwareCanvas canvas) argument 2007 onPreDraw(Rect dirty) argument [all...] |
H A D | GLES20TextureLayer.java | 66 HardwareCanvas start(Canvas currentCanvas, Rect dirty) { argument
|
H A D | HardwareLayer.java | 168 * @param dirty The dirty area to repaint 171 abstract HardwareCanvas start(Canvas currentCanvas, Rect dirty); argument 217 * @param dirtyRect The dirty region of the layer that needs to be redrawn
|
H A D | TextureView.java | 637 * must be written. The only exception to this rule is when a dirty 638 * rectangle is specified, in which case, non-dirty pixels will be 655 * Just like {@link #lockCanvas()} but allows specification of a dirty 657 * pixels outside the dirty rectangle will be preserved by the next call 665 * @param dirty Area of the surface that will be modified. 673 public Canvas lockCanvas(Rect dirty) { argument 681 if (!nLockCanvas(mNativeWindow, mCanvas, dirty)) { 819 private static native boolean nLockCanvas(int nativeWindow, Canvas canvas, Rect dirty); argument
|
/frameworks/base/core/java/com/android/internal/view/ |
H A D | BaseSurfaceHolder.java | 160 public Canvas lockCanvas(Rect dirty) { argument 161 return internalLockCanvas(dirty); 164 private final Canvas internalLockCanvas(Rect dirty) { argument 175 if (dirty == null) { 180 dirty = mTmpDirty; 184 c = mSurface.lockCanvas(dirty);
|
/frameworks/base/libs/hwui/ |
H A D | LayerRenderer.cpp | 55 Rect dirty(left, top, right, bottom); 56 if (dirty.isEmpty() || (dirty.left <= 0 && dirty.top <= 0 && 57 dirty.right >= width && dirty.bottom >= height)) { 59 dirty.set(0.0f, 0.0f, width, height); 61 dirty.intersect(0.0f, 0.0f, width, height); 62 android::Rect r(dirty.left, dirty [all...] |
H A D | DeferredDisplayList.cpp | 54 virtual status_t replay(OpenGLRenderer& renderer, Rect& dirty, int index) = 0; 93 virtual status_t replay(OpenGLRenderer& renderer, Rect& dirty, int index) { argument 108 status |= op->applyDraw(renderer, dirty); 263 virtual status_t replay(OpenGLRenderer& renderer, Rect& dirty, int index) { argument 268 return DrawBatch::replay(renderer, dirty, -1); 283 status_t status = op->multiDraw(renderer, dirty, mOps, mBounds); 307 virtual status_t replay(OpenGLRenderer& renderer, Rect& dirty, int index) { argument 329 virtual status_t replay(OpenGLRenderer& renderer, Rect& dirty, int index) { argument 353 virtual status_t replay(OpenGLRenderer& renderer, Rect& dirty, int index) { argument 643 OpenGLRenderer& renderer, Rect& dirty) { 642 replayBatchList(const Vector<Batch*>& batchList, OpenGLRenderer& renderer, Rect& dirty) argument 655 flush(OpenGLRenderer& renderer, Rect& dirty) argument [all...] |
H A D | Layer.h | 204 return dirty; 207 inline void setDirty(bool dirty) { argument 208 this->dirty = dirty; 328 * When set to true, this layer is dirty and should be cleared 331 bool dirty; member in struct:android::uirenderer::Layer
|
H A D | DisplayListOp.h | 135 virtual status_t applyDraw(OpenGLRenderer& renderer, Rect& dirty) = 0; 144 virtual status_t multiDraw(OpenGLRenderer& renderer, Rect& dirty, argument 149 status |= ops[i].op->applyDraw(renderer, dirty); 742 virtual status_t applyDraw(OpenGLRenderer& renderer, Rect& dirty) { argument 766 virtual status_t multiDraw(OpenGLRenderer& renderer, Rect& dirty, argument 847 virtual status_t applyDraw(OpenGLRenderer& renderer, Rect& dirty) { argument 874 virtual status_t applyDraw(OpenGLRenderer& renderer, Rect& dirty) { argument 902 virtual status_t applyDraw(OpenGLRenderer& renderer, Rect& dirty) { argument 927 virtual status_t applyDraw(OpenGLRenderer& renderer, Rect& dirty) { argument 988 virtual status_t multiDraw(OpenGLRenderer& renderer, Rect& dirty, argument 1062 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument 1102 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument 1147 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument 1172 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument 1198 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument 1220 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument 1241 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument 1260 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument 1291 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument 1321 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument 1348 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument 1394 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument 1415 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument 1456 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument 1463 multiDraw(OpenGLRenderer& renderer, Rect& dirty, const Vector<OpStatePair>& ops, const Rect& bounds) argument 1507 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument 1544 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument 1567 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument [all...] |
H A D | OpenGLRenderer.h | 168 * frame is assumed to be dirty. A clip will automatically be set to 171 * @param left The left coordinate of the dirty rectangle 172 * @param top The top coordinate of the dirty rectangle 173 * @param right The right coordinate of the dirty rectangle 174 * @param bottom The bottom coordinate of the dirty rectangle 177 * will be cleared in the specified dirty rectangle 210 ANDROID_API status_t invokeFunctors(Rect& dirty); 213 virtual status_t callDrawGLFunction(Functor* functor, Rect& dirty); 283 virtual status_t drawDisplayList(DisplayList* displayList, Rect& dirty, int32_t replayFlags); 492 * Marks the specified region as dirty a [all...] |
/frameworks/base/services/input/ |
H A D | SpriteController.cpp | 194 if ((update.state.dirty & DIRTY_BITMAP) && update.state.surfaceDrawn) { 251 || (wantSurfaceVisibleAndDrawn && (update.state.dirty & (DIRTY_ALPHA 261 && (becomingVisible || (update.state.dirty & DIRTY_ALPHA))) { 269 && (becomingVisible || (update.state.dirty & (DIRTY_POSITION 281 || (update.state.dirty & DIRTY_TRANSFORMATION_MATRIX))) { 294 && (becomingVisible || (update.state.dirty & DIRTY_LAYER))) { 403 uint32_t dirty; local 412 dirty = DIRTY_BITMAP | DIRTY_HOTSPOT; 414 dirty = DIRTY_BITMAP; 418 dirty 473 invalidateLocked(uint32_t dirty) argument [all...] |
H A D | SpriteController.h | 179 dirty(0), visible(false), 184 uint32_t dirty; member in struct:android::SpriteController::SpriteState 231 mLocked.state.dirty = 0; 250 void invalidateLocked(uint32_t dirty);
|
/frameworks/base/services/java/com/android/server/wm/ |
H A D | StrictModeFlash.java | 65 Rect dirty = new Rect(0, 0, dw, dh); 68 c = mSurface.lockCanvas(dirty);
|
H A D | Watermark.java | 142 Rect dirty = new Rect(0, 0, dw, dh); 145 c = mSurface.lockCanvas(dirty);
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | SurfaceView.java | 93 public Canvas lockCanvas(Rect dirty) {
|
/frameworks/native/services/surfaceflinger/ |
H A D | DisplayDevice.cpp | 182 void DisplayDevice::flip(const Region& dirty) const 191 const Region newDirty(dirty.intersect(bounds())); 309 Region dirty; local 311 dirty.set(getBounds()); 314 dirty = planeTransform.transform(this->dirtyRegion); 315 dirty.andSelf(getBounds()); 317 return dirty;
|
/frameworks/native/opengl/libagl/ |
H A D | matrix.cpp | 75 c->transforms.dirty = transform_state_t::VIEWPORT | 120 int dirty = c->transforms.dirty & want; local 123 if (dirty & transform_state_t::MODELVIEW) { 128 if (dirty & transform_state_t::PROJECTION) { 133 if (dirty & transform_state_t::VIEWPORT) { 140 if (dirty & transform_state_t::MVP) { 147 if (dirty & transform_state_t::MVUI) { 153 if (dirty & transform_state_t::TEXTURE) { 159 if (dirty [all...] |
/frameworks/base/libs/hwui/font/ |
H A D | CacheTexture.cpp | 226 void CacheTexture::setDirty(bool dirty) { argument 227 mDirty = dirty; 228 if (!dirty) {
|
/frameworks/base/services/java/com/android/server/power/ |
H A D | PowerManagerService.java | 1127 * Updates the global power state based on dirty bits recorded in mDirty. 1193 private void updateIsPoweredLocked(int dirty) { argument 1194 if ((dirty & DIRTY_BATTERY_STATE) != 0) { 1274 private void updateStayOnLocked(int dirty) { argument 1275 if ((dirty & (DIRTY_BATTERY_STATE | DIRTY_SETTINGS)) != 0) { 1297 private void updateWakeLockSummaryLocked(int dirty) { argument 1298 if ((dirty & (DIRTY_WAKE_LOCKS | DIRTY_WAKEFULNESS)) != 0) { 1356 private void updateUserActivitySummaryLocked(long now, int dirty) { argument 1358 if ((dirty & (DIRTY_USER_ACTIVITY | DIRTY_WAKEFULNESS | DIRTY_SETTINGS)) != 0) { 1413 * This function must have no other side-effects besides setting the dirty 1452 updateWakefulnessLocked(int dirty) argument 1511 updateDreamLocked(int dirty) argument 1656 updateDisplayPowerStateLocked(int dirty) argument [all...] |