Lines Matching refs:view

86 TruncFileSizeBase(BString* outString, int64 value, const View* view,
92 return view->StringWidth("-");
99 if (view->StringWidth(buffer.String()) > width) {
113 float resultWidth = view->StringWidth(buffer);
120 return TruncStringBase(outString, buffer.String(), buffer.Length(), view,
128 const View* view, float width, uint32 truncMode = B_TRUNCATE_MIDDLE)
135 if (view->StringWidth(inString, length) <= width)
145 view->GetFont(&font);
151 return view->StringWidth(outString->String(), outString->Length());
157 TruncTimeBase(BString* outString, int64 value, const View* view, float width)
179 resultWidth = view->StringWidth(date.String(), date.Length());
192 resultWidth = view->StringWidth(date.String(), date.Length());
198 (ssize_t)date.Length(), view, width);
211 const BColumn* column, const BPoseView* view)
250 return new OpenWithRelationAttributeText(model, column, view);
301 WidgetAttributeText::FittingText(const BPoseView* view)
305 CheckViewChanged(view);
314 WidgetAttributeText::CheckViewChanged(const BPoseView* view)
317 FitValue(&newText, view);
335 int32 length, const BPoseView* view, float width, uint32 truncMode)
337 return TruncStringBase(outString, inString, length, view, width, truncMode);
343 const BPoseView* view, float width)
345 return TruncFileSizeBase(outString, value, view, width);
351 const BPoseView* view, float width)
353 return TruncTimeBase(outString, value, view, width);
390 const char* attrName, int32 attrType, float width, BView* view,
410 TruncTimeBase(outString, value, view, width);
430 TruncStringBase(outString, tmp.String(), tmp.Length(), view,
440 // TruncFileSizeBase(outString, model->StatBuf()->st_size, view,
484 StringAttributeText::ValueAsText(const BPoseView* /*view*/)
509 StringAttributeText::FitValue(BString* outString, const BPoseView* view)
516 fFullValueText.Length(), view, fOldWidth);
529 StringAttributeText::Compare(WidgetAttributeText& attr, BPoseView* view)
538 compareTo->ValueAsText(view));
727 NameAttributeText::Compare(WidgetAttributeText& attr, BPoseView* view)
739 compareTo->ValueAsText(view));
753 NameAttributeText::FitValue(BString* outString, const BPoseView* view)
760 fFullValueText.Length(), view, fOldWidth, B_TRUNCATE_MIDDLE);
819 RealNameAttributeText::Compare(WidgetAttributeText& attr, BPoseView* view)
832 compareTo->ValueAsText(view));
846 RealNameAttributeText::FitValue(BString* outString, const BPoseView* view)
853 fFullValueText.Length(), view, fOldWidth, B_TRUNCATE_MIDDLE);
1066 TimeAttributeText::FitValue(BString* outString, const BPoseView* view)
1072 fTruncatedWidth = TruncTime(outString, fValue, view, fOldWidth);
1283 GenericAttributeText::FitValue(BString* outString, const BPoseView* view)
1293 fFullValueText.Length(), view, fOldWidth);
1302 TruncFileSizeBase(outString, fValue.int32t, view, fOldWidth);
1307 TruncFileSizeBase(outString, fValue.int32t, view, fOldWidth);
1316 fFullValueText.Length(), view, fOldWidth);
1323 TruncFileSize(&fFullValueText, fValue.off_tt, view, 100000);
1324 fTruncatedWidth = TruncFileSize(outString, fValue.off_tt, view,
1332 TruncTime(&fFullValueText, fValue.time_tt, view, 100000);
1333 fTruncatedWidth = TruncTime(outString, fValue.time_tt, view,
1351 fFullValueText.Length(), view, fOldWidth);
1413 fFullValueText.Length(), view, fOldWidth);
1418 view, fOldWidth);
1424 GenericAttributeText::ValueAsText(const BPoseView* view)
1429 FitValue(&outString, view);
1756 DurationAttributeText::FitValue(BString* outString, const BPoseView* view)
1767 fFullValueText.Length(), view, fOldWidth);
1819 fFullValueText.Length(), view, fOldWidth);
1848 CheckboxAttributeText::SetupEditing(BTextView* view)
1853 GenericAttributeText::SetupEditing(view);
1858 CheckboxAttributeText::FitValue(BString* outString, const BPoseView* view)
1869 fFullValueText.Length(), view, fOldWidth);
1899 fFullValueText.Length(), view, fOldWidth);
1918 RatingAttributeText::SetupEditing(BTextView* view)
1923 GenericAttributeText::SetupEditing(view);
1928 RatingAttributeText::FitValue(BString* ratingString, const BPoseView* view)
1978 fFullValueText.Length(), view, fOldWidth);
1986 const BColumn* column, const BPoseView* view)
1989 fPoseView(view)
1999 const OpenWithPoseView* view
2001 if (view != NULL) {
2002 fValue = view->OpenWithRelation(fModel);
2022 const BPoseView* view)
2027 ASSERT(view == fPoseView);
2029 = dynamic_cast<const OpenWithPoseView*>(view);
2035 fRelationText.Length(), view, fOldWidth, B_TRUNCATE_END);