/frameworks/base/core/java/android/view/ |
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(long nativeObject, Canvas canvas, Rect dirty); argument
|
H A D | ViewOverlay.java | 241 public void invalidate(Rect dirty) { argument 242 super.invalidate(dirty); 244 mHostView.invalidate(dirty); 300 public void damageChild(View child, final Rect dirty) { argument 303 // using DisplayList properties and a dirty rect instead of causing a real 308 child.transformRect(dirty); 310 dirty.offset(left, top); 311 mHostView.invalidate(dirty); 319 protected ViewParent damageChildInParent(int left, int top, Rect dirty) { argument 321 return ((ViewGroup) mHostView).damageChildInParent(left, top, dirty); 327 invalidateChildInParent(int[] location, Rect dirty) argument [all...] |
H A D | TextureView.java | 615 * must be written. The only exception to this rule is when a dirty 616 * rectangle is specified, in which case, non-dirty pixels will be 633 * Just like {@link #lockCanvas()} but allows specification of a dirty 635 * pixels outside the dirty rectangle will be preserved by the next call 643 * @param dirty Area of the surface that will be modified. 651 public Canvas lockCanvas(Rect dirty) { argument 659 if (!nLockCanvas(mNativeWindow, mCanvas, dirty)) { 824 private static native boolean nLockCanvas(long nativeWindow, Canvas canvas, Rect dirty); argument
|
H A D | DisplayListCanvas.java | 189 * @param dirty The dirty rectangle to update, can be null. 191 public void onPreDraw(Rect dirty) { argument 192 if (dirty != null) { 193 nPrepareDirty(mNativeCanvasWrapper, dirty.left, dirty.top, dirty.right, dirty.bottom);
|
H A D | Surface.java | 44 private static native long nativeLockCanvas(long nativeObject, Canvas canvas, Rect dirty) argument 241 * @param inOutDirty A rectangle that represents the dirty region that the caller wants 242 * to redraw. This function may choose to expand the dirty rectangle if for example 244 * not available. The caller must redraw the entire dirty region as represented
|
/frameworks/base/libs/hwui/ |
H A D | AnimatorManager.cpp | 118 uint32_t dirty = animateCommon(info); local 123 return dirty;
|
H A D | DamageAccumulator.cpp | 213 void DamageAccumulator::dirty(float left, float top, float right, float bottom) { function in class:android::uirenderer::DamageAccumulator 223 // Root node never has a transform, so this is the fully mapped dirty rect
|
H A D | DisplayList.h | 100 ReplayStateStruct(OpenGLRenderer& renderer, Rect& dirty, int replayFlags) argument 102 mDirty(dirty) {}
|
H A D | FrameInfoVisualizer.cpp | 80 void FrameInfoVisualizer::unionDirty(SkRect* dirty) { argument 82 // Not worth worrying about minimizing the dirty region for debugging, so just 83 // dirty the entire viewport. 84 if (dirty) { 85 mDirtyRegion = *dirty; 86 dirty->setEmpty();
|
H A D | DeferredDisplayList.cpp | 56 virtual void replay(OpenGLRenderer& renderer, Rect& dirty, int index) = 0; 95 virtual void replay(OpenGLRenderer& renderer, Rect& dirty, int index) override { 107 op->applyDraw(renderer, dirty); 251 virtual void replay(OpenGLRenderer& renderer, Rect& dirty, int index) override { 256 DrawBatch::replay(renderer, dirty, -1); 268 op->multiDraw(renderer, dirty, mOps, mBounds); 291 virtual void replay(OpenGLRenderer& renderer, Rect& dirty, int index) override { 312 virtual void replay(OpenGLRenderer& renderer, Rect& dirty, int index) override { 334 virtual void replay(OpenGLRenderer& renderer, Rect& dirty, int index) { argument 625 OpenGLRenderer& renderer, Rect& dirty) { 624 replayBatchList(const Vector<Batch*>& batchList, OpenGLRenderer& renderer, Rect& dirty) argument 635 flush(OpenGLRenderer& renderer, Rect& dirty) argument [all...] |
H A D | Layer.h | 236 return dirty; 239 inline void setDirty(bool dirty) { argument 240 this->dirty = dirty; 381 * When set to true, this layer is dirty and should be cleared 384 bool dirty = false; member in class:android::uirenderer::Layer
|
H A D | RenderNode.cpp | 136 info.damageAccumulator->dirty(0, 0, properties().getWidth(), properties().getHeight()); 140 info.damageAccumulator->dirty(INT_MIN, INT_MIN, INT_MAX, INT_MAX); 187 SkRect dirty; local 188 info.damageAccumulator->peekAtDirty(&dirty); 207 if (dirty.intersect(0, 0, getWidth(), getHeight())) { 208 dirty.roundOut(&dirty); 209 mLayer->updateDeferred(this, dirty.fLeft, dirty.fTop, dirty [all...] |
H A D | DisplayListOp.h | 132 virtual void applyDraw(OpenGLRenderer& renderer, Rect& dirty) = 0; 141 virtual void multiDraw(OpenGLRenderer& renderer, Rect& dirty, argument 145 ops[i].op->applyDraw(renderer, dirty); 629 virtual void applyDraw(OpenGLRenderer& renderer, Rect& dirty) override { 650 virtual void multiDraw(OpenGLRenderer& renderer, Rect& dirty, 736 virtual void applyDraw(OpenGLRenderer& renderer, Rect& dirty) override { 765 virtual void applyDraw(OpenGLRenderer& renderer, Rect& dirty) override { 821 virtual void multiDraw(OpenGLRenderer& renderer, Rect& dirty, 870 // dirty rect to the object's bounds. 895 virtual void applyDraw(OpenGLRenderer& renderer, Rect& dirty) overrid [all...] |
H A D | OpenGLRenderer.cpp | 272 void OpenGLRenderer::callDrawGLFunction(Functor* functor, Rect& dirty) { argument 278 // Since we don't know what the functor will draw, let's dirty 304 // Scissor may have been modified, reset dirty clip 819 // drawing only the dirty region 1066 void OpenGLRenderer::drawRegionRects(const SkRegion& region, const SkPaint& paint, bool dirty) { argument 1079 drawColorRects(rects.array(), rects.size(), &paint, true, dirty, false); 1102 android::Rect dirty(bounds.left, bounds.top, bounds.right, bounds.bottom); 1103 if (!dirty.isEmpty()) { 1104 region->orSelf(dirty); 1135 // We must clear the list of dirty rect 1487 drawRenderNode(RenderNode* renderNode, Rect& dirty, int32_t replayFlags) argument 2535 drawColorRects(const float* rects, int count, const SkPaint* paint, bool ignoreTransform, bool dirty, bool clip) argument [all...] |
/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/font/ |
H A D | CacheTexture.cpp | 224 void CacheTexture::setDirty(bool dirty) { argument 225 mDirty = dirty; 226 if (!dirty) {
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | EglManager.cpp | 134 // Try again without dirty regions enabled 254 bool EglManager::swapBuffers(EGLSurface surface, const SkRect& dirty, argument 267 dirty.roundOut(&idirty); 281 EGLint numrects = dirty.isEmpty() ? 0 : 1;
|
H A D | CanvasContext.cpp | 96 void CanvasContext::swapBuffers(const SkRect& dirty, EGLint width, EGLint height) { argument 97 if (CC_UNLIKELY(!mEglManager.swapBuffers(mEglSurface, dirty, width, height))) { 229 SkRect dirty; local 230 mDamageAccumulator.finish(&dirty); 233 // if (dirty.isEmpty() && Properties::skipEmptyFrames) { 244 dirty.setEmpty(); 246 dirty.setEmpty(); 248 if (!dirty.isEmpty() && !dirty.intersect(0, 0, width, height)) { 250 SK_RECT_ARGS(dirty), widt [all...] |
/frameworks/base/libs/input/ |
H A D | SpriteController.cpp | 198 if ((update.state.dirty & DIRTY_BITMAP) && update.state.surfaceDrawn) { 254 || (wantSurfaceVisibleAndDrawn && (update.state.dirty & (DIRTY_ALPHA 264 && (becomingVisible || (update.state.dirty & DIRTY_ALPHA))) { 272 && (becomingVisible || (update.state.dirty & (DIRTY_POSITION 284 || (update.state.dirty & DIRTY_TRANSFORMATION_MATRIX))) { 297 && (becomingVisible || (update.state.dirty & DIRTY_LAYER))) { 407 uint32_t dirty; local 416 dirty = DIRTY_BITMAP | DIRTY_HOTSPOT; 418 dirty = DIRTY_BITMAP; 422 dirty 477 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/native/services/surfaceflinger/ |
H A D | DisplayDevice.cpp | 198 void DisplayDevice::flip(const Region& dirty) const 204 const Region newDirty(dirty.intersect(bounds())); 324 Region dirty; local 326 dirty.set(getBounds()); 329 dirty = planeTransform.transform(this->dirtyRegion); 330 dirty.andSelf(getBounds()); 332 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...] |
H A D | context.h | 354 uint8_t dirty; member in struct:android::gl::texture_unit_t 452 uint8_t dirty; member in struct:android::gl::matrix_stack_t 512 uint32_t dirty; member in struct:android::gl::transform_state_t
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiConfiguration.java | 217 public boolean dirty; field in class:WifiConfiguration 977 dirty = true; 1519 dirty = source.dirty;
|