Searched refs:weight (Results 1 - 25 of 83) sorted by relevance

1234

/haiku-fatelf/headers/libs/agg/
H A Dagg_pattern_filters_rgba.h72 calc_type weight; local
80 weight = (line_subpixel_scale - x) *
82 r += weight * ptr->r;
83 g += weight * ptr->g;
84 b += weight * ptr->b;
85 a += weight * ptr->a;
89 weight = x * (line_subpixel_scale - y);
90 r += weight * ptr->r;
91 g += weight * ptr->g;
92 b += weight * pt
[all...]
H A Dagg_span_image_filter_rgba.h134 unsigned weight; local
145 weight = (image_subpixel_scale - x_hr) *
147 fg[0] += weight * *fg_ptr++;
148 fg[1] += weight * *fg_ptr++;
149 fg[2] += weight * *fg_ptr++;
150 fg[3] += weight * *fg_ptr;
153 weight = x_hr * (image_subpixel_scale - y_hr);
154 fg[0] += weight * *fg_ptr++;
155 fg[1] += weight * *fg_ptr++;
156 fg[2] += weight * *fg_pt
246 unsigned weight; local
479 unsigned weight; local
620 int weight = (weight_y * weight_array[x_hr] + local
742 int weight = (weight_y * weight_array[x_hr] + local
870 int weight = (weight_y * weight_array[x_hr] + local
[all...]
H A Dagg_span_image_filter_rgb.h132 unsigned weight; local
142 weight = (image_subpixel_scale - x_hr) *
144 fg[0] += weight * *fg_ptr++;
145 fg[1] += weight * *fg_ptr++;
146 fg[2] += weight * *fg_ptr;
149 weight = x_hr * (image_subpixel_scale - y_hr);
150 fg[0] += weight * *fg_ptr++;
151 fg[1] += weight * *fg_ptr++;
152 fg[2] += weight * *fg_ptr;
155 weight
239 unsigned weight; local
467 unsigned weight; local
603 int weight = (weight_y * weight_array[x_hr] + local
722 int weight = (weight_y * weight_array[x_hr] + local
846 int weight = (weight_y * weight_array[x_hr] + local
[all...]
H A Dagg_span_image_filter_gray.h233 unsigned weight; local
248 weight = (image_subpixel_scale - x_hr) *
253 fg += weight *
255 src_alpha += weight * base_mask;
259 fg += back_v * weight;
260 src_alpha += back_a * weight;
265 weight = x_hr * (image_subpixel_scale - y_hr);
269 fg += weight *
271 src_alpha += weight * base_mask;
275 fg += back_v * weight;
382 unsigned weight; local
603 int weight = (weight_y * weight_array[x_hr] + local
714 int weight = (weight_y * weight_array[x_hr] + local
[all...]
/haiku-fatelf/src/kits/interface/
H A DGroupLayout.cpp21 const char* const kItemWeightField = "BGroupLayout:item:weight";
27 float weight; member in struct:BGroupLayout::ItemLayoutData
30 : weight(1)
105 return (data ? data->weight : 0);
110 BGroupLayout::SetItemWeight(int32 index, float weight) argument
116 data->weight = weight;
137 BGroupLayout::AddView(BView* child, float weight) argument
139 return AddView(-1, child, weight);
144 BGroupLayout::AddView(int32 index, BView* child, float weight) argument
169 AddItem(BLayoutItem* item, float weight) argument
176 AddItem(int32 index, BLayoutItem* item, float weight) argument
236 float weight; local
[all...]
H A DGroupLayoutBuilder.cpp94 BGroupLayoutBuilder::Add(BView* view, float weight) argument
97 layout->AddView(view, weight);
112 BGroupLayoutBuilder::Add(BLayoutItem* item, float weight) argument
115 layout->AddItem(item, weight);
122 float spacing, float weight)
127 if (layout->AddView(group, weight))
147 BGroupLayoutBuilder::AddGlue(float weight) argument
150 layout->AddItem(BSpaceLayoutItem::CreateGlue(), weight); local
121 AddGroup(enum orientation orientation, float spacing, float weight) argument
H A DGridLayoutBuilder.cpp87 BGridLayoutBuilder::SetColumnWeight(int32 column, float weight) argument
89 fLayout->SetColumnWeight(column, weight);
95 BGridLayoutBuilder::SetRowWeight(int32 row, float weight) argument
97 fLayout->SetRowWeight(row, weight);
H A DSplitLayoutBuilder.cpp52 BSplitLayoutBuilder::Add(BView* view, float weight) argument
54 fView->AddChild(view, weight);
68 BSplitLayoutBuilder::Add(BLayoutItem* item, float weight) argument
70 fView->AddChild(item, weight);
H A DSplitView.cpp142 BSplitView::SetItemWeight(int32 index, float weight, bool invalidateLayout) argument
144 fSplitLayout->SetItemWeight(index, weight, invalidateLayout);
149 BSplitView::SetItemWeight(BLayoutItem* item, float weight) argument
151 fSplitLayout->SetItemWeight(item, weight);
205 BSplitView::AddChild(BView* child, float weight) argument
207 return fSplitLayout->AddView(child, weight);
212 BSplitView::AddChild(int32 index, BView* child, float weight) argument
214 return fSplitLayout->AddView(index, child, weight);
226 BSplitView::AddChild(BLayoutItem* child, float weight) argument
228 return fSplitLayout->AddItem(child, weight);
233 AddChild(int32 index, BLayoutItem* child, float weight) argument
[all...]
/haiku-fatelf/src/libs/alm/
H A DRowColumnManager.cpp134 RowColumnManager::_PreferredHeight(Row* row, double& weight) argument
136 weight = 0;
147 weight += negPen;
151 weight = 1;
154 weight /= nAreas;
161 RowColumnManager::_PreferredWidth(Column* column, double& weight) argument
163 weight = 0;
175 weight += negPen;
179 weight = 1;
182 weight /
191 double weight; local
213 double weight; local
[all...]
H A DRowColumnManager.h54 double& weight);
56 double& weight);
/haiku-fatelf/headers/os/interface/
H A DSplitLayoutBuilder.h21 BSplitLayoutBuilder& Add(BView* view, float weight);
23 BSplitLayoutBuilder& Add(BLayoutItem* item, float weight);
H A DGroupLayoutBuilder.h27 BGroupLayoutBuilder& Add(BView* view, float weight);
29 BGroupLayoutBuilder& Add(BLayoutItem* item, float weight);
33 float weight = 1.0f);
36 BGroupLayoutBuilder& AddGlue(float weight = 1.0f);
H A DSplitView.h41 void SetItemWeight(int32 index, float weight,
43 void SetItemWeight(BLayoutItem* item, float weight);
56 bool AddChild(BView* child, float weight);
58 float weight);
61 bool AddChild(BLayoutItem* child, float weight);
63 float weight);
H A DGridLayoutBuilder.h28 BGridLayoutBuilder& SetColumnWeight(int32 column, float weight);
29 BGridLayoutBuilder& SetRowWeight(int32 row, float weight);
H A DGroupLayout.h24 void SetItemWeight(int32 index, float weight);
28 virtual BLayoutItem* AddView(BView* child, float weight);
30 float weight);
34 virtual bool AddItem(BLayoutItem* item, float weight);
36 float weight);
H A DLayoutBuilder.h76 inline ThisBuilder& Add(BView* view, float weight);
78 inline ThisBuilder& Add(BLayoutItem* item, float weight);
82 float weight = 1.0f);
84 float weight = 1.0f);
86 float weight = 1.0f);
91 float weight = 1.0f);
93 float weight = 1.0f);
95 float weight = 1.0f);
99 float weight = 1.0f);
101 float weight
454 Add(BView* view, float weight) argument
472 Add(BLayoutItem* item, float weight) argument
481 AddGroup(enum orientation orientation, float spacing, float weight) argument
493 AddGroup(BGroupView* groupView, float weight) argument
504 AddGroup(BGroupLayout* groupLayout, float weight) argument
515 AddGrid(float horizontalSpacing, float verticalSpacing, float weight) argument
527 AddGrid(BGridLayout* gridLayout, float weight) argument
538 AddGrid(BGridView* gridView, float weight) argument
549 AddSplit(enum orientation orientation, float spacing, float weight) argument
561 AddSplit(BSplitView* splitView, float weight) argument
572 AddGlue(float weight) argument
574 fLayout->AddItem(BSpaceLayoutItem::CreateGlue(), weight); local
898 SetColumnWeight(int32 column, float weight) argument
907 SetRowWeight(int32 row, float weight) argument
1041 Add(BView* view, float weight) argument
1059 Add(BLayoutItem* item, float weight) argument
1068 AddGroup(enum orientation orientation, float spacing, float weight) argument
1080 AddGroup(BGroupView* groupView, float weight) argument
1091 AddGroup(BGroupLayout* groupLayout, float weight) argument
1102 AddGrid(float horizontalSpacing, float verticalSpacing, float weight) argument
1114 AddGrid(BGridView* gridView, float weight) argument
1125 AddGrid(BGridLayout* layout, float weight) argument
1136 AddSplit(enum orientation orientation, float spacing, float weight) argument
[all...]
/haiku-fatelf/src/add-ons/kernel/partitioning_systems/atari/
H A Datari.cpp82 float weight = 0.5; local
93 weight -= 0.1; /* possible but likely a PC sector */
95 weight -= 10;
98 weight -= 20;
109 weight -= 10.0;
112 weight -= 1.0;
114 weight -= 1.0;
116 weight -= 1.0;
120 weight -= 10;
128 weight
[all...]
/haiku-fatelf/src/add-ons/media/plugins/ffmpeg/libbz2/
H A Dhuffman.c37 while (weight[tmp] < weight[heap[zz >> 1]]) { \
52 weight[heap[yy+1]] < weight[heap[yy]]) \
54 if (weight[tmp] < weight[heap[yy]]) break; \
76 Int32 weight [ BZ_MAX_ALPHA_SIZE * 2 ]; local
80 weight[i+1] = (freq[i] == 0 ? 1 : freq[i]) << 8;
88 weight[0] = 0;
105 weight[nNode
[all...]
/haiku-fatelf/src/kits/interface/layouter/
H A DSimpleLayouter.cpp41 float weight; member in class:SimpleLayouter::ElementInfo
49 weight(1),
59 weight(1),
69 weight = info.weight;
164 SimpleLayouter::SetWeight(int32 element, float weight) argument
171 fElements[element].weight = weight;
259 info->weight = weights[i];
267 int64 weight local
295 int64 weight = 0; local
[all...]
H A DOneElementLayouter.h20 virtual void SetWeight(int32 element, float weight);
H A DCollapsingLayouter.cpp85 float weight; member in struct:CollapsingLayouter::ElementInfo
92 weight(0),
105 weight = other.weight;
173 CollapsingLayouter::SetWeight(int32 element, float weight) argument
179 elementInfo.weight = weight;
182 fLayouter->SetWeight(elementInfo.position, weight);
328 fLayouter->SetWeight(fElements[i].position, fElements[i].weight);
/haiku-fatelf/src/apps/debugger/user_interface/gui/util/
H A DGuiSettingsUtils.cpp20 if (settings.AddFloat("weight", view->ItemWeight(i)) != B_OK)
36 float weight; local
37 if (settings.FindFloat("weight", i, &weight) == B_OK)
38 view->SetItemWeight(i, weight, i == view->CountItems() - 1);
/haiku-fatelf/src/add-ons/translators/hpgs/lib/
H A Dhpgslabel.c110 int weight,
126 if (weight >= 3)
186 int weight,
234 posture,weight,left_vec,up_vec,space_vec);
246 int weight,
260 posture,weight,left_vec,up_vec,space_vec);
103 hpgs_device_label_internal(hpgs_device *dev, hpgs_point *pos, const char *str, int str_len, int face, iconv_t encoding, const char* encoding_name, int posture, int weight, const hpgs_point *left_vec, const hpgs_point *up_vec, const hpgs_point *space_vec) argument
181 hpgs_reader_label(hpgs_reader *reader, const char *str, int str_len, int face, int encoding, int posture, int weight, const hpgs_point *left_vec, const hpgs_point *up_vec, const hpgs_point *space_vec) argument
240 hpgs_device_label(hpgs_device *dev, hpgs_point *pos, const char *str, int str_len, int face, const char *encoding, int posture, int weight, const hpgs_point *left_vec, const hpgs_point *up_vec, const hpgs_point *space_vec) argument
/haiku-fatelf/src/libs/print/libgutenprint/doc/gutenprint/html/
H A Ddoxygen.css16 font-weight: bold;
29 font-weight: bold;
58 font-weight: bold;
92 font-weight: normal;
105 font-weight: bold;
109 font-weight: bold;
120 font-weight: bold;
158 font-weight: bold;
177 font-weight: bold;
199 font-weight
[all...]

Completed in 276 milliseconds

1234