Searched refs:dirty (Results 1 - 25 of 47) sorted by relevance

12

/frameworks/base/core/java/android/view/
H A DHardwareCanvas.java72 * @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 DViewOverlay.java224 public void invalidate(Rect dirty) { argument
225 super.invalidate(dirty);
227 mHostView.invalidate(dirty);
279 public void invalidateChildFast(View child, final Rect dirty) { argument
282 // using DisplayList properties and a dirty rect instead of causing a real
287 child.transformRect(dirty);
289 dirty.offset(left, top);
290 mHostView.invalidate(dirty);
295 public ViewParent invalidateChildInParent(int[] location, Rect dirty) { argument
297 dirty
[all...]
H A DSurfaceHolder.java205 * 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 DHardwareRenderer.java71 * System property used to enable or disable dirty regions invalidation.
142 * Turn on to draw dirty regions every other frame.
145 * "true", to enable dirty regions debugging
146 * "false", to disable dirty regions debugging
453 * @param dirty The dirty rectangle to update, can be null.
456 Rect dirty);
893 Log.d(LOG_TAG, "Debugging dirty regions");
939 * Indicates whether this renderer instance can track and update dirty regions.
1176 // want to set mDirtyRegions. We try to do this only if dirty
455 draw(View view, View.AttachInfo attachInfo, HardwareDrawCallbacks callbacks, Rect dirty) argument
1311 onPreDraw(Rect dirty) argument
1337 draw(View view, View.AttachInfo attachInfo, HardwareDrawCallbacks callbacks, Rect dirty) argument
1421 beginFrame(HardwareCanvas canvas, Rect dirty, int surfaceState) argument
1466 prepareFrame(Rect dirty) argument
1522 debugDirtyRegions(Rect dirty, HardwareCanvas canvas) argument
1800 onPreDraw(Rect dirty) argument
[all...]
H A DTextureView.java637 * 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
660 * @param dirty Area of the surface that will be modified.
667 public Canvas lockCanvas(Rect dirty) { argument
675 nLockCanvas(mNativeWindow, mCanvas, dirty);
814 private static native void nLockCanvas(int nativeWindow, Canvas canvas, Rect dirty); argument
H A DViewRootImpl.java864 public void invalidateChild(View child, Rect dirty) { argument
865 invalidateChildInParent(null, dirty);
868 public ViewParent invalidateChildInParent(int[] location, Rect dirty) { argument
870 if (DEBUG_DRAW) Log.v(TAG, "Invalidate child: " + dirty);
872 if (dirty == null) {
875 } else if (dirty.isEmpty() && !mIsAnimating) {
880 mTempRect.set(dirty);
881 dirty = mTempRect;
883 dirty.offset(0, -mCurScrollY);
886 mTranslator.translateRectInAppWindowToScreen(dirty);
2410 drawSoftware(Surface surface, AttachInfo attachInfo, int yoff, boolean scalingRequired, Rect dirty) argument
[all...]
/frameworks/base/core/java/com/android/internal/view/
H A DBaseSurfaceHolder.java160 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 DDeferredDisplayList.cpp52 virtual status_t replay(OpenGLRenderer& renderer, Rect& dirty, int index) = 0;
87 virtual status_t replay(OpenGLRenderer& renderer, Rect& dirty, int index) { argument
102 status |= op->applyDraw(renderer, dirty);
195 virtual status_t replay(OpenGLRenderer& renderer, Rect& dirty, int index) { argument
199 return DrawBatch::replay(renderer, dirty, false);
206 status_t status = op->multiDraw(renderer, dirty, mOps, mBounds);
221 virtual status_t replay(OpenGLRenderer& renderer, Rect& dirty, int index) { argument
241 virtual status_t replay(OpenGLRenderer& renderer, Rect& dirty, int index) { argument
263 virtual status_t replay(OpenGLRenderer& renderer, Rect& dirty, int index) { argument
525 OpenGLRenderer& renderer, Rect& dirty) {
524 replayBatchList(const Vector<Batch*>& batchList, OpenGLRenderer& renderer, Rect& dirty) argument
535 flush(OpenGLRenderer& renderer, Rect& dirty) argument
[all...]
H A DLayerRenderer.cpp55 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 DLayer.h203 return dirty;
206 inline void setDirty(bool dirty) { argument
207 this->dirty = dirty;
356 * When set to true, this layer is dirty and should be cleared
359 bool dirty; member in struct:android::uirenderer::Layer
H A DDeferredDisplayList.h69 status_t flush(OpenGLRenderer& renderer, Rect& dirty);
H A DDisplayListOp.h156 virtual status_t applyDraw(OpenGLRenderer& renderer, Rect& dirty) = 0;
165 virtual status_t multiDraw(OpenGLRenderer& renderer, Rect& dirty, argument
170 status |= ops[i]->applyDraw(renderer, dirty);
736 virtual status_t applyDraw(OpenGLRenderer& renderer, Rect& dirty) { argument
745 virtual status_t multiDraw(OpenGLRenderer& renderer, Rect& dirty, argument
801 virtual status_t applyDraw(OpenGLRenderer& renderer, Rect& dirty) { argument
828 virtual status_t applyDraw(OpenGLRenderer& renderer, Rect& dirty) { argument
856 virtual status_t applyDraw(OpenGLRenderer& renderer, Rect& dirty) { argument
881 virtual status_t applyDraw(OpenGLRenderer& renderer, Rect& dirty) { argument
916 virtual status_t applyDraw(OpenGLRenderer& renderer, Rect& dirty) { argument
953 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument
998 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument
1016 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument
1042 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument
1064 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument
1085 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument
1104 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument
1135 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument
1165 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument
1192 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument
1239 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument
1260 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument
1313 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument
1318 multiDraw(OpenGLRenderer& renderer, Rect& dirty, const Vector<DrawOp*>& ops, const Rect& bounds) argument
1359 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument
1396 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument
1419 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument
[all...]
H A DOpenGLRenderer.h157 * frame is assumed to be dirty. A clip will automatically be set to
160 * @param left The left coordinate of the dirty rectangle
161 * @param top The top coordinate of the dirty rectangle
162 * @param right The right coordinate of the dirty rectangle
163 * @param bottom The bottom coordinate of the dirty rectangle
166 * will be cleared in the specified dirty rectangle
191 ANDROID_API status_t invokeFunctors(Rect& dirty);
194 virtual status_t callDrawGLFunction(Functor* functor, Rect& dirty);
238 virtual status_t drawDisplayList(DisplayList* displayList, Rect& dirty, int32_t replayFlags);
438 * Marks the specified region as dirty a
[all...]
/frameworks/base/services/input/
H A DSpriteController.cpp194 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 DSpriteController.h179 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 DStrictModeFlash.java64 Rect dirty = new Rect(0, 0, dw, dh);
67 c = mSurface.lockCanvas(dirty);
H A DWatermark.java142 Rect dirty = new Rect(0, 0, dw, dh);
145 c = mSurface.lockCanvas(dirty);
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DSurfaceView.java93 public Canvas lockCanvas(Rect dirty) {
/frameworks/base/core/jni/
H A Dandroid_view_Surface.cpp211 // get dirty region
214 Rect dirty; local
215 dirty.left = env->GetIntField(dirtyRectObj, gRectClassInfo.left);
216 dirty.top = env->GetIntField(dirtyRectObj, gRectClassInfo.top);
217 dirty.right = env->GetIntField(dirtyRectObj, gRectClassInfo.right);
218 dirty.bottom = env->GetIntField(dirtyRectObj, gRectClassInfo.bottom);
219 if (!dirty.isEmpty()) {
220 dirtyRegion.set(dirty);
/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.cpp190 void DisplayDevice::flip(const Region& dirty) const
199 const Region newDirty(dirty.intersect(bounds()));
296 Region dirty; local
298 dirty.set(getBounds());
301 dirty = planeTransform.transform(this->dirtyRegion);
302 dirty.andSelf(getBounds());
304 return dirty;
/frameworks/native/opengl/libagl/
H A Dmatrix.cpp75 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 DCacheTexture.cpp225 void CacheTexture::setDirty(bool dirty) { argument
226 mDirty = dirty;
227 if (!dirty) {
H A DCacheTexture.h169 void setDirty(bool dirty);
/frameworks/base/services/java/com/android/server/power/
H A DPowerManagerService.java1088 * Updates the global power state based on dirty bits recorded in mDirty.
1151 private void updateIsPoweredLocked(int dirty) { argument
1152 if ((dirty & DIRTY_BATTERY_STATE) != 0) {
1232 private void updateStayOnLocked(int dirty) { argument
1233 if ((dirty & (DIRTY_BATTERY_STATE | DIRTY_SETTINGS)) != 0) {
1254 private void updateWakeLockSummaryLocked(int dirty) { argument
1255 if ((dirty & (DIRTY_WAKE_LOCKS | DIRTY_WAKEFULNESS)) != 0) {
1313 private void updateUserActivitySummaryLocked(long now, int dirty) { argument
1315 if ((dirty & (DIRTY_USER_ACTIVITY | DIRTY_WAKEFULNESS | DIRTY_SETTINGS)) != 0) {
1370 * This function must have no other side-effects besides setting the dirty
1409 updateWakefulnessLocked(int dirty) argument
1464 updateDreamLocked(int dirty) argument
1609 updateDisplayPowerStateLocked(int dirty) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DProgressBarICS.java713 final Rect dirty = dr.getBounds();
717 invalidate(dirty.left + scrollX, dirty.top + scrollY,
718 dirty.right + scrollX, dirty.bottom + scrollY);

Completed in 376 milliseconds

12