Lines Matching refs:view

134 // don't change the name of this view to anything other than "Status"!
166 // Create the time view
270 // this view has a fixed minimum width
323 // from context menu in clock and in this view
458 // Check from the point of view of fTime because we need to ignore
468 // Check from the point of view of fTime ignoring parent's state.
666 // get the view loading function symbol
672 BView* view = NULL;
679 view = (*entryFunction)(image, &ref, fMaxReplicantWidth,
683 view = (*itemFunction)(fMaxReplicantWidth, fMaxReplicantHeight);
689 if (view == NULL || IconExists(view->Name())) {
690 delete view;
696 view->Archive(data);
697 delete view;
836 * return the name of the replicant (name of view)
847 BView* view = ViewAt(&index, &temp, id, false);
848 if (view != NULL) {
849 *name = view->Name();
868 BView* view = ViewAt(&index, id, name);
870 return view != NULL ? B_OK : B_ERROR;
884 BView* view;
885 fShelf->ReplicantAt(index, &view, (uint32*)id, NULL);
886 if (view != NULL) {
887 *name = view->Name();
902 BView* view = ViewAt(&index, &id, target, byIndex);
904 return view && index >= 0;
918 BView* view = ViewAt(&index, &id, name);
920 return view != NULL && index >= 0;
931 /*! Message must contain an archivable view for later rehydration.
992 BView* view;
993 fShelf->ReplicantAt(count - 1, &view, (uint32*)id, NULL);
995 if (view != NULL && originalBounds != view->Bounds()) {
1024 BView* view = ViewAt(&index, &id, target, byIndex);
1025 if (view != NULL && index >= 0) {
1044 BView* view = ViewAt(&index, &id, name);
1045 if (view != NULL && index >= 0) {
1073 // resize view to accomodate the replicants, redraw as necessary
1080 * return the view and index
1088 BView* view;
1090 if (fShelf->ReplicantAt(target, &view, (uint32*)id)) {
1091 if (view != NULL) {
1094 return view;
1101 fShelf->ReplicantAt(repIndex, &view, (uint32*)&localid);
1102 if (localid == target && view != NULL) {
1106 return view;
1115 /** looking for a replicant with a view by name
1116 * return the view, index and the id of the replicant
1125 BView* view;
1128 fShelf->ReplicantAt(repIndex, &view, (uint32*)id);
1129 if (view != NULL && view->Name() != NULL
1130 && strcmp(name, view->Name()) == 0) {
1133 return view;
1222 BView* view = NULL;
1223 fShelf->ReplicantAt(i, &view);
1224 if (view == NULL || view->Frame().top != rowRect.top)
1228 replicantRect.left = view->Frame().right + sIconGap + 1;
1248 BView* view = NULL;
1249 fShelf->ReplicantAt(index - 1, &view);
1250 if (view != NULL) {
1252 loc.x = view->Frame().right + sIconGap + 1;
1274 BView* view = ViewAt(&index, &id, target, byIndex);
1276 return view != NULL ? view->Frame() : BRect(0, 0, 0, 0);
1288 BView* view = ViewAt(&index, &id, name);
1290 return view != NULL ? view->Frame() : BRect(0, 0, 0, 0);
1311 BView* view = NULL;
1313 fShelf->ReplicantAt(index, &view);
1314 if (view == NULL)
1317 float replicantWidth = view->Frame().Width();
1319 if (view->Frame().LeftTop() != loc)
1320 view->MoveTo(loc);