/frameworks/base/core/java/android/view/ |
H A D | HardwareCanvas.java | 43 * @param dirty The dirty rectangle to update, can be null. 47 public abstract int onPreDraw(Rect dirty); argument 58 * @param dirty The dirty region to redraw in the next pass, matters only 67 public abstract int drawDisplayList(DisplayList displayList, Rect dirty, int flags); argument 105 * @param dirty The region to redraw when the functors return {@link DisplayList#STATUS_DRAW} 110 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 | HardwareRenderer.java | 70 * System property used to enable or disable dirty regions invalidation. 130 * Turn on to draw dirty regions every other frame. 133 * "true", to enable dirty regions debugging 134 * "false", to disable dirty regions debugging 418 * @param dirty The dirty rectangle to update, can be null. 420 * @return true if the dirty rect was ignored, false otherwise 423 Rect dirty); 711 Log.d(LOG_TAG, "Debugging dirty regions"); 746 * Indicates whether this renderer instance can track and update dirty region 422 draw(View view, View.AttachInfo attachInfo, HardwareDrawCallbacks callbacks, Rect dirty) argument 1111 onPreDraw(Rect dirty) argument 1137 draw(View view, View.AttachInfo attachInfo, HardwareDrawCallbacks callbacks, Rect dirty) argument 1466 onPreDraw(Rect dirty) argument [all...] |
H A D | SurfaceView.java | 760 public Canvas lockCanvas(Rect dirty) { 761 return internalLockCanvas(dirty); 764 private final Canvas internalLockCanvas(Rect dirty) { 772 if (dirty == null) { 777 dirty = mTmpDirty; 781 c = mSurface.lockCanvas(dirty);
|
H A D | TextureView.java | 629 * must be written. The only exception to this rule is when a dirty 630 * rectangle is specified, in which case, non-dirty pixels will be 647 * Just like {@link #lockCanvas()} but allows specification of a dirty 649 * pixels outside the dirty rectangle will be preserved by the next call 652 * @param dirty Area of the surface that will be modified. 659 public Canvas lockCanvas(Rect dirty) { argument 667 nLockCanvas(mNativeWindow, mCanvas, dirty); 806 private static native void nLockCanvas(int nativeWindow, Canvas canvas, Rect dirty); argument
|
H A D | ViewRootImpl.java | 849 public void invalidateChild(View child, Rect dirty) { argument 850 invalidateChildInParent(null, dirty); 853 public ViewParent invalidateChildInParent(int[] location, Rect dirty) { argument 855 if (DEBUG_DRAW) Log.v(TAG, "Invalidate child: " + dirty); 857 if (dirty == null) { 860 } else if (dirty.isEmpty() && !mIsAnimating) { 865 mTempRect.set(dirty); 866 dirty = mTempRect; 868 dirty.offset(0, -mCurScrollY); 871 mTranslator.translateRectInAppWindowToScreen(dirty); 2191 drawSoftware(Surface surface, AttachInfo attachInfo, int yoff, boolean scalingRequired, Rect dirty) argument [all...] |
H A D | GLES20Canvas.java | 234 public int onPreDraw(Rect dirty) { argument 235 if (dirty != null) { 236 return nPrepareDirty(mRenderer, dirty.left, dirty.top, dirty.right, dirty.bottom, 280 public int invokeFunctors(Rect dirty) { argument 281 return nInvokeFunctors(mRenderer, dirty); 284 private static native int nInvokeFunctors(int renderer, Rect dirty); argument 392 public int drawDisplayList(DisplayList displayList, Rect dirty, in argument 397 nDrawDisplayList(int renderer, int displayList, Rect dirty, int flags) argument [all...] |
H A D | Surface.java | 243 private native Canvas nativeLockCanvas(Rect dirty); argument 441 * @param dirty A rectangle that represents the dirty region that the caller wants 442 * to redraw. This function may choose to expand the dirty rectangle if for example 444 * not available. The caller should redraw the entire dirty region as represented 445 * by the contents of the dirty rect upon return from this function. 450 public Canvas lockCanvas(Rect dirty) argument 452 return nativeLockCanvas(dirty);
|
/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 | Layer.h | 166 return dirty; 169 inline void setDirty(bool dirty) { argument 170 this->dirty = dirty; 298 * When set to true, this layer is dirty and should be cleared 301 bool dirty; member in struct:android::uirenderer::Layer
|
H A D | Layer.cpp | 34 dirty = false;
|
H A D | OpenGLRenderer.h | 102 * frame is assumed to be dirty. A clip will automatically be set to 105 * @param left The left coordinate of the dirty rectangle 106 * @param top The top coordinate of the dirty rectangle 107 * @param right The right coordinate of the dirty rectangle 108 * @param bottom The bottom coordinate of the dirty rectangle 111 * will be cleared in the specified dirty rectangle 136 ANDROID_API status_t invokeFunctors(Rect& dirty); 139 virtual status_t callDrawGLFunction(Functor* functor, Rect& dirty); 169 virtual status_t drawDisplayList(DisplayList* displayList, Rect& dirty, int32_t flags, 294 * Marks the specified region as dirty a [all...] |
/frameworks/base/services/input/ |
H A D | SpriteController.cpp | 192 if ((update.state.dirty & DIRTY_BITMAP) && update.state.surfaceDrawn) { 250 || (wantSurfaceVisibleAndDrawn && (update.state.dirty & (DIRTY_ALPHA 260 && (becomingVisible || (update.state.dirty & DIRTY_ALPHA))) { 268 && (becomingVisible || (update.state.dirty & (DIRTY_POSITION 280 || (update.state.dirty & DIRTY_TRANSFORMATION_MATRIX))) { 293 && (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/libs/hwui/font/ |
H A D | CacheTexture.h | 167 inline void setDirty(bool dirty) { argument 168 mDirty = dirty; 169 if (!dirty) {
|
/frameworks/base/services/java/com/android/server/wm/ |
H A D | StrictModeFlash.java | 61 Rect dirty = new Rect(0, 0, dw, dh); 64 c = mSurface.lockCanvas(dirty);
|
H A D | Watermark.java | 141 Rect dirty = new Rect(0, 0, dw, dh); 144 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 | 191 void DisplayDevice::flip(const Region& dirty) const 200 const Region newDirty(dirty.intersect(bounds())); 304 Region dirty; local 306 dirty.set(getBounds()); 309 dirty = planeTransform.transform(this->dirtyRegion); 310 dirty.andSelf(getBounds()); 312 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/services/java/com/android/server/power/ |
H A D | PowerManagerService.java | 1063 * Updates the global power state based on dirty bits recorded in mDirty. 1126 private void updateIsPoweredLocked(int dirty) { argument 1127 if ((dirty & DIRTY_BATTERY_STATE) != 0) { 1207 private void updateStayOnLocked(int dirty) { argument 1208 if ((dirty & (DIRTY_BATTERY_STATE | DIRTY_SETTINGS)) != 0) { 1229 private void updateWakeLockSummaryLocked(int dirty) { argument 1230 if ((dirty & (DIRTY_WAKE_LOCKS | DIRTY_WAKEFULNESS)) != 0) { 1288 private void updateUserActivitySummaryLocked(long now, int dirty) { argument 1290 if ((dirty & (DIRTY_USER_ACTIVITY | DIRTY_WAKEFULNESS | DIRTY_SETTINGS)) != 0) { 1345 * This function must have no other side-effects besides setting the dirty 1384 updateWakefulnessLocked(int dirty) argument 1439 updateDreamLocked(int dirty) argument 1584 updateDisplayPowerStateLocked(int dirty) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_view_Surface.cpp | 383 // get dirty region 386 Rect dirty; local 387 dirty.left = env->GetIntField(dirtyRectObj, gRectClassInfo.left); 388 dirty.top = env->GetIntField(dirtyRectObj, gRectClassInfo.top); 389 dirty.right = env->GetIntField(dirtyRectObj, gRectClassInfo.right); 390 dirty.bottom = env->GetIntField(dirtyRectObj, gRectClassInfo.bottom); 391 if (!dirty.isEmpty()) { 392 dirtyRegion.set(dirty);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | KeyguardWidgetFrame.java | 350 boolean dirty = mMaxChallengeTop != top; 354 if (dirty && mIsSmall) { 357 } else if (dirty && mWidgetLockedSmall) {
|
/frameworks/native/include/gui/ |
H A D | Surface.h | 136 status_t lock(SurfaceInfo* info, Region* dirty = NULL);
|