/frameworks/base/core/java/android/view/ |
H A D | HardwareCanvas.java | 43 * @param dirty The dirty rectangle to update, can be null. 45 abstract void onPreDraw(Rect dirty); argument 58 * @param dirty The dirty region to redraw in the next pass, matters only 64 abstract boolean drawDisplayList(DisplayList displayList, int width, int height, 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 | 66 * System property used to enable or disable dirty regions invalidation. 96 * Turn on to draw dirty regions every other frame. 266 * @param dirty The dirty rectangle to update, can be null. 268 * @return true if the dirty rect was ignored, false otherwise 271 Rect dirty); 465 * Indicates whether this renderer instance can track and update dirty regions. 688 // want to set mDirtyRegions. We try to do this only if dirty 802 void onPreDraw(Rect dirty) { argument 810 Rect dirty) { 270 draw(View view, View.AttachInfo attachInfo, HardwareDrawCallbacks callbacks, Rect dirty) argument 809 draw(View view, View.AttachInfo attachInfo, HardwareDrawCallbacks callbacks, Rect dirty) argument 1005 onPreDraw(Rect dirty) argument [all...] |
H A D | Surface.java | 70 public Canvas lockCanvas(Rect dirty) throws OutOfResourcesException, IllegalArgumentException { argument 72 * the dirty rectangle may be expanded to the surface's size, if for 76 return lockCanvasNative(dirty); 384 private native Canvas lockCanvasNative(Rect dirty); argument
|
H A D | TextureView.java | 560 * must be written. The only exception to this rule is when a dirty 561 * rectangle is specified, in which case, non-dirty pixels will be 578 * Just like {@link #lockCanvas()} but allows specification of a dirty 580 * pixels outside the dirty rectangle will be preserved by the next call 583 * @param dirty Area of the surface that will be modified. 590 public Canvas lockCanvas(Rect dirty) { argument 598 nLockCanvas(mNativeWindow, mCanvas, dirty); 709 private static native void nLockCanvas(int nativeWindow, Canvas canvas, Rect dirty); argument
|
H A D | SurfaceView.java | 723 public Canvas lockCanvas(Rect dirty) { 724 return internalLockCanvas(dirty); 727 private final Canvas internalLockCanvas(Rect dirty) { 735 if (dirty == null) { 740 dirty = mTmpDirty; 744 c = mSurface.lockCanvas(dirty);
|
H A D | ViewRootImpl.java | 721 public void invalidateChild(View child, Rect dirty) { argument 723 if (DEBUG_DRAW) Log.v(TAG, "Invalidate child: " + dirty); 724 if (dirty == null) { 730 mTempRect.set(dirty); 731 dirty = mTempRect; 733 dirty.offset(0, -mCurScrollY); 736 mTranslator.translateRectInAppWindowToScreen(dirty); 739 dirty.inset(-1, -1); 742 if (!mDirty.isEmpty() && !mDirty.contains(dirty)) { 746 mDirty.union(dirty); 770 invalidateChildInParent(final int[] location, final Rect dirty) argument [all...] |
H A D | GLES20Canvas.java | 249 void onPreDraw(Rect dirty) { argument 250 if (dirty != null) { 251 nPrepareDirty(mRenderer, dirty.left, dirty.top, dirty.right, dirty.bottom, mOpaque); 362 public boolean drawDisplayList(DisplayList displayList, int width, int height, Rect dirty) { argument 364 ((GLES20DisplayList) displayList).getNativeDisplayList(), width, height, dirty); 368 int width, int height, Rect dirty); 367 nDrawDisplayList(int renderer, int displayList, int width, int height, 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 | 49 Rect dirty(left, top, right, bottom); 50 if (dirty.isEmpty() || (dirty.left <= 0 && dirty.top <= 0 && 51 dirty.right >= width && dirty.bottom >= height)) { 53 dirty.set(0.0f, 0.0f, width, height); 55 dirty.intersect(0.0f, 0.0f, width, height); 56 android::Rect r(dirty.left, dirty [all...] |
H A D | DisplayListRenderer.h | 114 bool replay(OpenGLRenderer& renderer, Rect& dirty, uint32_t level = 0); 244 virtual bool callDrawGLFunction(Functor *functor, Rect& dirty); 269 Rect& dirty, uint32_t level = 0);
|
H A D | OpenGLRenderer.h | 75 virtual bool callDrawGLFunction(Functor *functor, Rect& dirty); 101 Rect& dirty, uint32_t level = 0); 150 * Marks the specified region as dirty at the specified bounds. 268 * Mark the layer as dirty at the specified coordinates. The coordinates 275 * Mark the layer as dirty at the specified coordinates. 396 * @param dirty True if calling this method should dirty the current layer 402 bool ignoreScale = false, bool dirty = true); 602 // Track dirty regions, true by default
|
/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))) { 402 uint32_t dirty; local 411 dirty = DIRTY_BITMAP | DIRTY_HOTSPOT; 413 dirty = DIRTY_BITMAP; 417 dirty 472 invalidateLocked(uint32_t dirty) argument [all...] |
H A D | SpriteController.h | 181 dirty(0), visible(false), 186 uint32_t dirty; member in struct:android::SpriteController::SpriteState 233 mLocked.state.dirty = 0; 252 void invalidateLocked(uint32_t dirty);
|
/frameworks/base/services/java/com/android/server/wm/ |
H A D | StrictModeFlash.java | 60 Rect dirty = new Rect(0, 0, dw, dh); 63 c = mSurface.lockCanvas(dirty);
|
H A D | Watermark.java | 138 Rect dirty = new Rect(0, 0, dw, dh); 141 c = mSurface.lockCanvas(dirty);
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | SurfaceView.java | 83 public Canvas lockCanvas(Rect dirty) {
|
/frameworks/base/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...] |
H A D | matrix.h | 52 if (c->transforms.dirty & want)
|
/frameworks/base/services/surfaceflinger/DisplayHardware/ |
H A D | DisplayHardware.h | 61 // Flip the front and back buffers if the back buffer is "dirty". Might 63 void flip(const Region& dirty) const;
|
H A D | DisplayHardware.cpp | 357 void DisplayHardware::flip(const Region& dirty) const 366 const Region newDirty(dirty.intersect(bounds())); 374 mNativeWindow->setUpdateRectangle(dirty.getBounds());
|
/frameworks/base/core/jni/ |
H A D | android_view_Surface.cpp | 333 // get dirty region 336 Rect dirty; local 337 dirty.left = env->GetIntField(dirtyRect, ro.l); 338 dirty.top = env->GetIntField(dirtyRect, ro.t); 339 dirty.right = env->GetIntField(dirtyRect, ro.r); 340 dirty.bottom= env->GetIntField(dirtyRect, ro.b); 341 if (!dirty.isEmpty()) { 342 dirtyRegion.set(dirty);
|
/frameworks/base/include/surfaceflinger/ |
H A D | Surface.h | 139 status_t lock(SurfaceInfo* info, Region* dirty = NULL);
|
/frameworks/base/core/java/android/widget/ |
H A D | ProgressBar.java | 906 final Rect dirty = dr.getBounds(); 910 invalidate(dirty.left + scrollX, dirty.top + scrollY, 911 dirty.right + scrollX, dirty.bottom + scrollY);
|
/frameworks/base/include/private/opengles/ |
H A D | gl_context.h | 350 uint8_t dirty; member in struct:android::gl::texture_unit_t 448 uint8_t dirty; member in struct:android::gl::matrix_stack_t 508 uint32_t dirty; member in struct:android::gl::transform_state_t
|