Searched defs:dirty (Results 1 - 25 of 32) sorted by relevance

12

/frameworks/base/core/java/android/view/
H A DHardwareCanvas.java45 * @param dirty The dirty rectangle to update, can be null.
51 public abstract int onPreDraw(Rect dirty); argument
74 * @param dirty Ignored, can be null.
83 public abstract int drawRenderNode(RenderNode renderNode, Rect dirty, int flags); argument
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 DGraphicBuffer.java148 * 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 DViewOverlay.java241 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 DTextureView.java617 * must be written. The only exception to this rule is when a dirty
618 * rectangle is specified, in which case, non-dirty pixels will be
635 * Just like {@link #lockCanvas()} but allows specification of a dirty
637 * pixels outside the dirty rectangle will be preserved by the next call
645 * @param dirty Area of the surface that will be modified.
653 public Canvas lockCanvas(Rect dirty) { argument
661 if (!nLockCanvas(mNativeWindow, mCanvas, dirty)) {
808 private static native boolean nLockCanvas(long nativeWindow, Canvas canvas, Rect dirty); argument
H A DSurface.java44 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
H A DGLES20Canvas.java194 public int onPreDraw(Rect dirty) { argument
195 if (dirty != null) {
196 return nPrepareDirty(mRenderer, dirty.left, dirty.top, dirty.right, dirty.bottom,
232 public int drawRenderNode(RenderNode renderNode, Rect dirty, int flags) { argument
233 return nDrawRenderNode(mRenderer, renderNode.getNativeDisplayList(), dirty, flags);
237 Rect dirty, int flags);
236 nDrawRenderNode(long renderer, long renderNode, Rect dirty, int flags) argument
/frameworks/base/libs/hwui/
H A DAnimatorManager.cpp116 uint32_t dirty = animateCommon(info); local
122 return dirty;
H A DDamageAccumulator.cpp213 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 DDisplayList.h101 ReplayStateStruct(OpenGLRenderer& renderer, Rect& dirty, int replayFlags) argument
103 mDirty(dirty), mDrawGlStatus(DrawGlInfo::kStatusDone) {}
H A DDrawProfiler.cpp115 void DrawProfiler::unionDirty(SkRect* dirty) { argument
117 // Not worth worrying about minimizing the dirty region for debugging, so just
118 // dirty the entire viewport.
119 if (dirty) {
120 mDirtyRegion = *dirty;
121 dirty->setEmpty();
H A DDeferredDisplayList.cpp55 virtual status_t replay(OpenGLRenderer& renderer, Rect& dirty, int index) = 0;
94 virtual status_t replay(OpenGLRenderer& renderer, Rect& dirty, int index) { argument
109 status |= op->applyDraw(renderer, dirty);
272 virtual status_t replay(OpenGLRenderer& renderer, Rect& dirty, int index) { argument
277 return DrawBatch::replay(renderer, dirty, -1);
292 status_t status = op->multiDraw(renderer, dirty, mOps, mBounds);
316 virtual status_t replay(OpenGLRenderer& renderer, Rect& dirty, int index) { argument
338 virtual status_t replay(OpenGLRenderer& renderer, Rect& dirty, int index) { argument
362 virtual status_t replay(OpenGLRenderer& renderer, Rect& dirty, int index) { argument
652 OpenGLRenderer& renderer, Rect& dirty) {
651 replayBatchList(const Vector<Batch*>& batchList, OpenGLRenderer& renderer, Rect& dirty) argument
664 flush(OpenGLRenderer& renderer, Rect& dirty) argument
[all...]
H A DLayer.h230 return dirty;
233 inline void setDirty(bool dirty) { argument
234 this->dirty = dirty;
375 * When set to true, this layer is dirty and should be cleared
378 bool dirty; member in class:android::uirenderer::Layer
H A DDisplayListRenderer.cpp90 status_t DisplayListRenderer::callDrawGLFunction(Functor *functor, Rect& dirty) { argument
91 // Ignore dirty during recording, it matters only when we replay
181 status_t DisplayListRenderer::drawRenderNode(RenderNode* renderNode, Rect& dirty, int32_t flags) { argument
184 // dirty is an out parameter and should not be recorded,
H A DRenderNode.cpp153 info.damageAccumulator->dirty(0, 0, properties().getWidth(), properties().getHeight());
157 info.damageAccumulator->dirty(INT_MIN, INT_MIN, INT_MAX, INT_MAX);
204 SkRect dirty; local
205 info.damageAccumulator->peekAtDirty(&dirty);
224 if (dirty.intersect(0, 0, getWidth(), getHeight())) {
225 dirty.roundOut();
226 mLayer->updateDeferred(this, dirty.fLeft, dirty.fTop, dirty.fRight, dirty
[all...]
H A DDisplayListOp.h139 virtual status_t applyDraw(OpenGLRenderer& renderer, Rect& dirty) = 0;
148 virtual status_t multiDraw(OpenGLRenderer& renderer, Rect& dirty, argument
153 status |= ops[i].op->applyDraw(renderer, dirty);
654 virtual status_t applyDraw(OpenGLRenderer& renderer, Rect& dirty) { argument
675 virtual status_t multiDraw(OpenGLRenderer& renderer, Rect& dirty, argument
760 virtual status_t applyDraw(OpenGLRenderer& renderer, Rect& dirty) { argument
788 virtual status_t applyDraw(OpenGLRenderer& renderer, Rect& dirty) { argument
812 virtual status_t applyDraw(OpenGLRenderer& renderer, Rect& dirty) { argument
868 virtual status_t multiDraw(OpenGLRenderer& renderer, Rect& dirty, argument
917 // dirty rec
942 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument
982 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument
1029 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument
1054 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument
1080 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument
1112 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument
1139 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument
1160 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument
1181 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument
1200 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument
1231 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument
1261 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument
1288 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument
1338 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument
1359 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument
1403 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument
1410 multiDraw(OpenGLRenderer& renderer, Rect& dirty, const Vector<OpStatePair>& ops, const Rect& bounds) argument
1454 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument
1493 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument
1554 applyDraw(OpenGLRenderer& renderer, Rect& dirty) argument
1585 applyDraw(OpenGLRenderer& renderer, 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/font/
H A DCacheTexture.cpp226 void CacheTexture::setDirty(bool dirty) { argument
227 mDirty = dirty;
228 if (!dirty) {
/frameworks/base/libs/input/
H A DSpriteController.cpp194 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 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/libs/hwui/renderthread/
H A DCanvasContext.cpp208 SkRect dirty; local
209 mDamageAccumulator.finish(&dirty);
215 dirty.setEmpty();
217 dirty.setEmpty();
219 if (!dirty.isEmpty() && !dirty.intersect(0, 0, width, height)) {
221 SK_RECT_ARGS(dirty), width, height);
222 dirty.setEmpty();
224 profiler().unionDirty(&dirty);
228 if (!dirty
[all...]
/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.cpp187 void DisplayDevice::flip(const Region& dirty) const
196 const Region newDirty(dirty.intersect(bounds()));
202 (void) dirty; // Eliminate unused parameter warning
318 Region dirty; local
320 dirty.set(getBounds());
323 dirty = planeTransform.transform(this->dirtyRegion);
324 dirty.andSelf(getBounds());
326 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/core/jni/
H A Dandroid_view_GLES20Canvas.cpp159 android::uirenderer::Rect dirty; local
160 return renderer->callDrawGLFunction(functor, dirty);
799 jobject dirty, jint flags) {
804 if (status != DrawGlInfo::kStatusDone && dirty != NULL) {
805 env->CallVoidMethod(dirty, gRectClassInfo.set,
797 android_view_GLES20Canvas_drawRenderNode(JNIEnv* env, jobject clazz, jlong rendererPtr, jlong renderNodePtr, jobject dirty, jint flags) argument
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiConfiguration.java212 public boolean dirty; field in class:WifiConfiguration
963 dirty = true;
1578 dirty = source.dirty;

Completed in 373 milliseconds

12