Home
last modified time | relevance | path

Searched refs:preferred (Results 1 – 25 of 267) sorted by relevance

1234567891011

/haiku/src/preferences/filetypes/
H A DPreferredAppMenu.cpp103 char preferred[B_MIME_TYPE_LENGTH]; in update_preferred_app_menu() local
104 if (type->GetPreferredApp(preferred) != B_OK) in update_preferred_app_menu()
105 preferred[0] = '\0'; in update_preferred_app_menu()
165 if ((preferredFrom == NULL && !strcasecmp(signature, preferred)) in update_preferred_app_menu()
195 } else if ((preferredFrom == NULL && preferred[0]) in update_preferred_app_menu()
200 ? preferredFrom : preferred, what); in update_preferred_app_menu()
220 char preferred[B_MIME_TYPE_LENGTH]; in retrieve_preferred_app() local
228 if (nodeInfo.GetPreferredApp(preferred) != B_OK) in retrieve_preferred_app()
229 preferred[0] = '\0'; in retrieve_preferred_app()
231 if (!preferred[0]) { in retrieve_preferred_app()
[all …]
/haiku/src/kits/interface/
H A DLayoutUtils.cpp112 BLayoutUtils::FixSizeConstraints(float& min, float& max, float& preferred) in FixSizeConstraints() argument
116 if (preferred < min) in FixSizeConstraints()
117 preferred = min; in FixSizeConstraints()
118 else if (preferred > max) in FixSizeConstraints()
119 preferred = max; in FixSizeConstraints()
125 BLayoutUtils::FixSizeConstraints(BSize& min, BSize& max, BSize& preferred) in FixSizeConstraints() argument
127 FixSizeConstraints(min.width, max.width, preferred.width); in FixSizeConstraints()
128 FixSizeConstraints(min.height, max.height, preferred.height); in FixSizeConstraints()
293 BSize preferred = view->PreferredSize(); in _GetLayoutTreeDump() local
304 indent.String(), preferred.width, preferred.height); in _GetLayoutTreeDump()
[all …]
H A DCardLayout.cpp144 float* preferred) in GetHeightForWidth() argument
178 if (preferred) in GetHeightForWidth()
179 *preferred = preferredHeight; in GetHeightForWidth()
312 BSize preferred = item->PreferredSize(); in _ValidateMinMax() local
320 fPreferred.width = max_c(fPreferred.width, preferred.width); in _ValidateMinMax()
321 fPreferred.height = max_c(fPreferred.height, preferred.height); in _ValidateMinMax()
H A DBox.cpp40 BSize preferred; member
437 *_width = fLayoutData->preferred.width; in GetPreferredSize()
439 *_height = fLayoutData->preferred.height; in GetPreferredSize()
486 &data->preferred); in Perform()
541 : fLayoutData->preferred); in PreferredSize()
823 BSize preferred = child->PreferredSize(); in _ValidateLayoutData() local
827 preferred.width += addWidth; in _ValidateLayoutData()
828 preferred.height += addHeight; in _ValidateLayoutData()
834 BLayoutUtils::FixSizeConstraints(min, max, preferred); in _ValidateLayoutData()
838 fLayoutData->preferred = preferred; in _ValidateLayoutData()
[all …]
/haiku/src/tests/kits/app/broster/
H A DBRosterCases156 case 2: installed type mimeType, no preferred app =>
158 case 3: installed type mimeType, preferred app, app type not installed,
161 case 4: installed type mimeType, preferred app, app type not installed,
165 case 5: installed type mimeType, preferred app, app type installed,
169 case 6: installed type mimeType, preferred app, app type installed,
173 case 7: installed type mimeType, preferred app, app type installed,
178 case 8: installed type mimeType, preferred app, app type installed,
183 case 9: installed type mimeType, preferred app, app type installed,
188 case 10:installed type mimeType, preferred app, app type installed,
189 preferred app type has an app hint that points to an app with a
[all …]
/haiku/src/tests/kits/interface/layout/widget_layout_test/
H A DGroupView.cpp19 int32 preferred; member
25 preferred(0) in LayoutInfo()
35 if (addPreferred >= preferred) in AddConstraints()
36 preferred = (int32)addPreferred + 1; in AddConstraints()
43 if (preferred < min) in Normalize()
44 preferred = min; in Normalize()
45 if (preferred > max) in Normalize()
46 preferred = max; in Normalize()
205 BSize preferred = child->PreferredSize(); in _ValidateMinMax() local
209 preferred.width); in _ValidateMinMax()
[all …]
/haiku/src/kits/interface/layouter/
H A DSimpleLayouter.cpp40 int32 preferred; member in SimpleLayouter::ElementInfo
48 preferred(0), in ElementInfo()
58 preferred(0), in ElementInfo()
68 preferred = info.preferred; in Assign()
157 info.preferred = max_c(info.min, min); in AddConstraints()
350 if (info.preferred < info.min) in _ValidateMinMax()
351 info.preferred = info.min; in _ValidateMinMax()
352 else if (info.preferred > info.max) in _ValidateMinMax()
353 info.preferred = info.max; in _ValidateMinMax()
358 fPreferred = BLayoutUtils::AddSizesInt32(fPreferred, info.preferred); in _ValidateMinMax()
H A DCollapsingLayouter.cpp80 float preferred; member
135 float max, float preferred) in AddConstraints() argument
146 constraint->preferred = preferred; in AddConstraints()
317 c->preferred); in _AddConstraints()
H A DOneElementLayouter.cpp48 float min, float max, float preferred) in AddConstraints() argument
53 fPreferred = max_c(fPreferred, preferred); in AddConstraints()
/haiku/src/apps/cortex/addons/common/
H A DAudioFilterNode.h137 media_format preferred; in specializeInputFormat() local
138 preferred.type = B_MEDIA_RAW_AUDIO; in specializeInputFormat()
142 getPreferredInputFormat(preferred); in specializeInputFormat()
144 _specialize_raw_audio_format(preferred, ioFormat); in specializeInputFormat()
156 media_format preferred; in specializeOutputFormat() local
157 preferred.type = B_MEDIA_RAW_AUDIO; in specializeOutputFormat()
161 getPreferredOutputFormat(preferred); in specializeOutputFormat()
164 string_for_format(preferred, fmt_buffer, 255); in specializeOutputFormat()
169 _specialize_raw_audio_format(preferred, ioFormat); in specializeOutputFormat()
/haiku/src/apps/haikudepot/textview/
H A DTextView.cpp82 float* preferred) in GetHeightForWidth() argument
93 if (preferred != NULL) in GetHeightForWidth()
94 *preferred = height; in GetHeightForWidth()
/haiku/src/tests/kits/app/bmessenger/
H A DSMReplyTarget.cpp10 SMReplyTarget::SMReplyTarget(bool preferred) in SMReplyTarget() argument
17 if (!preferred) { in SMReplyTarget()
H A DSMTarget.cpp64 LocalSMTarget::LocalSMTarget(bool preferred) in LocalSMTarget() argument
72 if (!preferred) { in LocalSMTarget()
128 RemoteSMTarget::RemoteSMTarget(bool preferred) in RemoteSMTarget() argument
149 if (preferred) in RemoteSMTarget()
H A DBMessengerCases123 case 2: this is initialized to local target with preferred handler =>
127 case 4: this is initialized to local target with preferred handler =>
135 case 2: this is initialized to local target with preferred handler,
141 case 4: this is initialized to remote target with preferred handler,
152 case 2: this is initialized to local target with preferred handler,
158 case 4: this is initialized to local target with preferred handler,
164 case 6: this is initialized to remote target with preferred handler,
174 case 2: this is initialized to local target with preferred handler,
180 case 4: this is initialized to local target with preferred handler,
184 case 5: this is initialized to local target with preferred handler,
[all …]
H A DSMTarget.h27 LocalSMTarget(bool preferred);
45 RemoteSMTarget(bool preferred);
/haiku/headers/os/interface/
H A DLayoutUtils.h32 float& preferred);
34 BSize& preferred);
/haiku/data/catalogs/preferences/filetypes/
H A Dbe.catkeys12 Select same preferred application as FileTypes Window Выбраць такую ж пажаданую праграму, як і
27 Could not set preferred application FileTypes Window Не ўдалося
34 Select same preferred application as FileType Window Вылучыць тую самую пажаданую праграму як і ў
50 Select preferred application FileType Window Вылучыць пажаданую праграму
83 Select preferred application FileTypes Window Выбраць пажаданую праграму
121 Could not retrieve preferred application of this file Preferred App Menu Не ўдалося вызначыць пажа…
133 Set preferred application Preferred App Menu Прызначыць пажаданую праграму
H A Dru.catkeys13 Select same preferred application as FileTypes Window Выбрать такое же предпочтительное приложение…
29 Could not set preferred application FileTypes Window Невозможно назначить предпочтительное приложе…
37 Select same preferred application as FileType Window Выбрать такое же предпочтительное приложение …
56 Select preferred application FileType Window Выбрать предпочтительное приложение
91 Select preferred application FileTypes Window Выбрать предпочтительное приложение
136 Could not retrieve preferred application of this file Preferred App Menu Невозможно определить пре…
148 Set preferred application Preferred App Menu Установить предпочтительное приложение
H A Dja.catkeys13 Select same preferred application as FileTypes Window このタイプと同じ優先アプリケーションを選択
29 Could not set preferred application FileTypes Window 優先アプリケーションを設定できません
37 Select same preferred application as FileType Window このタイプと同じ優先アプリケーションを選択
56 Select preferred application FileType Window 優先アプリケーションの選択
91 Select preferred application FileTypes Window 優先アプリケーションを選択
136 Could not retrieve preferred application of this file Preferred App Menu このファイルの優先アプリケーションを検索できません。
148 Set preferred application Preferred App Menu 優先アプリケーションの設定
H A Del.catkeys13 Select same preferred application as FileTypes Window Επιλογή της ίδιας προτεινόμενης εφαρμογής ως
29 Could not set preferred application FileTypes Window Αδυναμία ορισμού προτεινόμενης εφαρμογής
37 Select same preferred application as FileType Window Επιλογή ίδιας προτεινόμενης εφαρμογής ως
56 Select preferred application FileType Window Επιλογή προτεινόμενης εφαρμογής
91 Select preferred application FileTypes Window Επιλογή προτεινόμενης εφαρμογής
136 Could not retrieve preferred application of this file Preferred App Menu Αδυναμία ανάκτησης προτει…
148 Set preferred application Preferred App Menu Ορισμός προεπιλεγμένης εφαρμογής
H A Dzh_Hans.catkeys13 Select same preferred application as FileTypes Window 选择同样的首选程序
29 Could not set preferred application FileTypes Window 无法设置首选程序
37 Select same preferred application as FileType Window 首选程序相同于
56 Select preferred application FileType Window 设置首选程序
91 Select preferred application FileTypes Window 选择首选程序
136 Could not retrieve preferred application of this file Preferred App Menu 未检索到该文件的首选程序
148 Set preferred application Preferred App Menu 设置首选应用
H A Duk.catkeys13 Select same preferred application as FileTypes Window Вибрати таку ж пріоритетну програму як у
29 Could not set preferred application FileTypes Window Неможливо встановити пріоритетну програму
37 Select same preferred application as FileType Window Вибрати таку ж пріоритетну програму як
56 Select preferred application FileType Window Вибрати пріоритетну програму
91 Select preferred application FileTypes Window Вибрати пріоритетну програму
136 Could not retrieve preferred application of this file Preferred App Menu Неможливо визначити пріор…
148 Set preferred application Preferred App Menu Вибрати пріоритетну програму
/haiku/docs/user/app/
H A DRoster.dox432 The method gets the signature of the supplied type's preferred application
433 and the signature of the super type's preferred application. It will also
435 list of candiate handlers. In the case that a preferred handler is
437 candidate list before the super-type preferred and supporting handlers,
448 means that if the preferred application of the provided MIME type cannot
449 be resolved, or if it does not have a preferred application associated,
451 type before it resorts to the preferred application or supporting
463 preferred application is associated and no other supporting
466 its preferred application could not be found.
478 The method first checks, if the file has a preferred application
[all …]
/haiku/headers/private/locale/
H A DLocaleRosterData.h62 bool preferred);
80 bool preferred);
/haiku/src/kits/locale/
H A DLocaleRosterData.cpp260 LocaleRosterData::SetFilesystemTranslationPreferred(bool preferred) in SetFilesystemTranslationPreferred() argument
266 _SetFilesystemTranslationPreferred(preferred); in SetFilesystemTranslationPreferred()
465 bool preferred; in _LoadLocaleSettings() local
466 if (settings.FindBool(kTranslateFilesystemField, &preferred) == B_OK) in _LoadLocaleSettings()
467 _SetFilesystemTranslationPreferred(preferred); in _LoadLocaleSettings()
630 LocaleRosterData::_SetFilesystemTranslationPreferred(bool preferred) in _SetFilesystemTranslationPreferred() argument
632 fIsFilesystemTranslationPreferred = preferred; in _SetFilesystemTranslationPreferred()

1234567891011