Lines Matching refs:view

315 	PartitionLayout(BView* view, SpaceIDMap& spaceIDMap)
317 fView(view),
335 PartitionView* view = new PartitionView(name, 1.0,
337 fViewMap.Put(device->ID(), view);
338 fView->GetLayout()->AddView(view);
339 _AddSpaces(device, view);
364 PartitionView* view = new PartitionView(name.String(), scale, offset,
366 view->SetSelected(id == fSelectedPartition);
369 layout->AddView(_FindInsertIndex(view, layout), view, scale);
371 fViewMap.Put(partition->ID(), view);
372 _AddSpaces(partition, view);
383 PartitionView* view = fViewMap.Get(fSelectedPartition);
384 view->SetSelected(false);
390 PartitionView* view = fViewMap.Get(fSelectedPartition);
391 view->SetSelected(true);
419 PartitionView* view = new PartitionView(
423 fViewMap.Put(id, view);
425 layout->AddView(_FindInsertIndex(view, layout), view, scale);
429 int32 _FindInsertIndex(PartitionView* view, BGroupLayout* layout) const
439 if (sibling && sibling->Offset() > view->Offset())
477 PartitionView* view;
479 view = new PartitionView("Disk", scale, 0, 0, -1);
480 layout->AddView(view, scale);
482 layout = view->GroupLayout();
485 view = new PartitionView("Primary", scale, 1, 50, -1);
486 layout->AddView(view, scale);
488 view = new PartitionView("Extended", scale, 1, 100, -1);
489 layout->AddView(view, scale);
491 layout = view->GroupLayout();
494 view = new PartitionView("Logical", scale, 2, 200, -1);
495 layout->AddView(view, scale);
498 view = new PartitionView("Logical", scale, 2, 250, -1);
499 layout->AddView(view, scale);
502 view = new PartitionView("Logical", scale, 2, 290, -1);
503 layout->AddView(view, scale);
506 view = new PartitionView("Logical", scale, 2, 420, -1);
507 layout->AddView(view, scale);
586 while (BView* view = ChildAt(0)) {
587 view->RemoveSelf();
588 delete view;