Lines Matching refs:view

137 	View* view = fFirstChild;
138 while (view) {
139 View* toast = view;
140 view = view->fNextSibling;
178 // insert view into local token space
193 // remove view from local token space
236 View::AddChild(View* view)
238 if (view->fParent) {
243 view->fParent = this;
247 fFirstChild = view;
249 // append view to formerly last child
250 fLastChild->fNextSibling = view;
251 view->fPreviousSibling = fLastChild;
253 fLastChild = view;
255 view->UpdateVisibleDeep(fVisible);
257 if (view->IsVisible())
261 view->AttachedToWindow(fWindow);
263 if (view->IsVisible()) {
265 IntRect clippedFrame = view->Frame();
277 View::RemoveChild(View* view)
279 if (view == NULL || view->fParent != this) {
281 "this (%p) view!\n", view, view ? view->Name() : NULL, this);
285 view->fParent = NULL;
287 if (fLastChild == view)
288 fLastChild = view->fPreviousSibling;
289 // view->fNextSibling would be NULL
291 if (fFirstChild == view )
292 fFirstChild = view->fNextSibling;
293 // view->fPreviousSibling would be NULL
295 // connect child before and after view
296 if (view->fPreviousSibling)
297 view->fPreviousSibling->fNextSibling = view->fNextSibling;
299 if (view->fNextSibling)
300 view->fNextSibling->fPreviousSibling = view->fPreviousSibling;
302 // view has no siblings anymore
303 view->fPreviousSibling = NULL;
304 view->fNextSibling = NULL;
306 if (view->IsVisible()) {
307 Overlay* overlay = view->_Overlay();
315 view->DetachedFromWindow();
317 if (fVisible && view->IsVisible()) {
319 IntRect clippedFrame = view->Frame();
335 // returns the top level view of the hirarchy,
426 View::HasView(View* view)
428 if (view == this)
432 if (child->HasView(view))
454 View* view = child->ViewAt(where);
455 if (view != NULL)
456 return view;
479 // Child view with B_TRANSPARENT_BACKGROUND flag change clipping of
480 // parent view.
556 // recursively ask children of this view
571 const View* view = this;
575 offsetX += view->fFrame.left - view->fScrollingOffset.x;
576 offsetY += view->fFrame.top - view->fScrollingOffset.y;
577 view = view->fParent;
578 } while (view != NULL);
587 const View* view = this;
591 offsetX += view->fScrollingOffset.x - view->fFrame.left;
592 offsetY += view->fScrollingOffset.y - view->fFrame.top;
593 view = view->fParent;
594 } while (view != NULL);
662 // the top view's screen clipping does not change,
733 // view bitmap
788 // area hidden underneath the parent view
791 // find the area of the view that can be scrolled,
821 // the screen clipping of this view and it's
975 // In BeAPI, B_SUBPIXEL_PRECISE is a view flag, and not affected by the
976 // view state. Our implementation moves it to the draw state, but let's
1077 // draw view bitmap
1107 // tile across entire view
1162 // fill visible region with view color,
1237 // children's clipping as well when the view will be visible
1310 // This check will prevent descending the view hierarchy
1379 // if this view does not draw over children,
1456 // this messes up the logic that for any given view with