Home
last modified time | relevance | path

Searched refs:aColors (Results 1 – 25 of 160) sorted by relevance

1234567

/dports/www/firefox/firefox-99.0/widget/
H A DScrollbarDrawing.cpp116 if (aColors.HighContrast()) { in ComputeScrollbarTrackColor()
117 return aColors.System(StyleSystemColor::Window); in ComputeScrollbarTrackColor()
133 return aColors.SystemOrElse(systemColor, [&] { in ComputeScrollbarTrackColor()
144 const Colors& aColors) { in ComputeScrollbarThumbColor() argument
156 if (aColors.HighContrast()) { in ComputeScrollbarThumbColor()
162 if (aColors.HighContrast()) { in ComputeScrollbarThumbColor()
167 if (aColors.HighContrast()) { in ComputeScrollbarThumbColor()
173 return aColors.SystemOrElse(systemColor, [&] { in ComputeScrollbarThumbColor()
187 const Colors& aColors, const DPIRatio& aDpiRatio) { in DoPaintDefaultScrollbar() argument
334 const Colors& aColors) { in ComputeScrollbarButtonColors() argument
[all …]
H A DTheme.cpp214 const Colors& aColors) { in ComputeCheckboxColors() argument
243 if (aColors.HighContrast()) { in ComputeCheckmarkColor()
256 if (aColors.HighContrast()) { in ComputeBorderColor()
276 bool dark = aColors.IsDark(); in ComputeBorderColor()
340 if (aColors.HighContrast()) { in ComputeRangeProgressColors()
357 return std::make_pair(aColors.Accent().Get(), aColors.Accent().GetDark()); in ComputeRangeProgressColors()
362 if (aColors.HighContrast()) { in ComputeRangeTrackColors()
382 if (aColors.HighContrast()) { in ComputeRangeThumbColors()
410 const Colors& aColors) { in ComputeProgressColors() argument
415 return std::make_pair(aColors.Accent().Get(), aColors.Accent().GetDark()); in ComputeProgressColors()
[all …]
H A DScrollbarDrawingWin11.cpp104 if (aColors.HighContrast()) { in ComputeScrollbarTrackColor()
106 aFrame, aStyle, aDocumentState, aColors); in ComputeScrollbarTrackColor()
120 const Colors& aColors) { in ComputeScrollbarThumbColor() argument
121 if (aColors.HighContrast()) { in ComputeScrollbarThumbColor()
130 return aColors.IsDark() ? NS_RGBA(149, 149, 149, 255) in ComputeScrollbarThumbColor()
152 const Colors& aColors) { in ComputeScrollbarButtonColors() argument
153 if (aColors.HighContrast()) { in ComputeScrollbarButtonColors()
168 const EventStates& aDocumentState, const Colors& aColors, in PaintScrollbarButton() argument
268 const Colors& aColors, const DPIRatio& aDpiRatio) { in DoPaintScrollbarThumb() argument
363 const Colors& aColors, const DPIRatio& aDpiRatio) { in PaintScrollbarThumb() argument
[all …]
H A DScrollbarDrawingAndroid.cpp41 const Colors& aColors, const DPIRatio& aDpiRatio) { in DoPaintScrollbarThumb() argument
44 aDocumentState, aColors); in DoPaintScrollbarThumb()
67 const Colors& aColors, const DPIRatio& aDpiRatio) { in PaintScrollbarThumb() argument
69 aDocumentState, aColors, aDpiRatio); in PaintScrollbarThumb()
77 const Colors& aColors, const DPIRatio& aDpiRatio) { in PaintScrollbarThumb() argument
79 aElementState, aDocumentState, aColors, aDpiRatio); in PaintScrollbarThumb()
H A DScrollbarDrawingGTK.cpp60 const Colors& aColors, const DPIRatio& aDpiRatio) { in DoPaintScrollbarThumb() argument
62 aFrame, aStyle, aElementState, aDocumentState, aColors); in DoPaintScrollbarThumb()
102 const Colors& aColors, const DPIRatio& aDpiRatio) { in PaintScrollbarThumb() argument
104 aElementState, aDocumentState, aColors, in PaintScrollbarThumb()
112 const Colors& aColors, const DPIRatio& aDpiRatio) { in PaintScrollbarThumb() argument
114 aElementState, aDocumentState, aColors, in PaintScrollbarThumb()
H A DScrollbarDrawingWin.cpp132 const Colors& aColors, const DPIRatio& aDpiRatio) { in DoPaintScrollbarThumb() argument
134 aFrame, aStyle, aElementState, aDocumentState, aColors); in DoPaintScrollbarThumb()
143 const Colors& aColors, const DPIRatio& aDpiRatio) { in PaintScrollbarThumb() argument
145 aElementState, aDocumentState, aColors, in PaintScrollbarThumb()
153 const Colors& aColors, const DPIRatio& aDpiRatio) { in PaintScrollbarThumb() argument
155 aElementState, aDocumentState, aColors, in PaintScrollbarThumb()
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/qa/cppunit/
H A DScanlineToolsTest.cxx44 std::vector<Color> aColors{ in ScanlineTransformer_32_ARGB() local
50 for (Color const& aColor : aColors) in ScanlineTransformer_32_ARGB()
73 std::vector<Color> aColors{ in ScanlineTransformer_24_BGR() local
79 for (Color const& aColor : aColors) in ScanlineTransformer_24_BGR()
95 std::vector<Color> aColors{ in ScanlineTransformer_8bit_Palette() local
103 aPalette[i] = aColors[i]; in ScanlineTransformer_8bit_Palette()
111 for (Color const& aColor : aColors) in ScanlineTransformer_8bit_Palette()
134 std::vector<Color> aColors{ in ScanlineTransformer_4bit_Palette() local
142 aPalette[i] = aColors[i]; in ScanlineTransformer_4bit_Palette()
151 for (Color const& aColor : aColors) in ScanlineTransformer_4bit_Palette()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/qa/cppunit/
H A DScanlineToolsTest.cxx44 std::vector<Color> aColors{ in ScanlineTransformer_32_ARGB() local
49 for (Color const& aColor : aColors) in ScanlineTransformer_32_ARGB()
72 std::vector<Color> aColors{ in ScanlineTransformer_24_BGR() local
77 for (Color const& aColor : aColors) in ScanlineTransformer_24_BGR()
93 std::vector<Color> aColors{ in ScanlineTransformer_8bit_Palette() local
100 aPalette[i] = aColors[i]; in ScanlineTransformer_8bit_Palette()
108 for (Color const& aColor : aColors) in ScanlineTransformer_8bit_Palette()
131 std::vector<Color> aColors{ in ScanlineTransformer_4bit_Palette() local
139 aPalette[i] = aColors[i]; in ScanlineTransformer_4bit_Palette()
148 for (Color const& aColor : aColors) in ScanlineTransformer_4bit_Palette()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/image/test/gtest/
H A DTestADAM7InterpolatingFilter.cpp83 BGRAColor color1 = aColors[finalPixel1 % aColors.size()]; in HorizontallyInterpolatedPixel()
84 BGRAColor color2 = aColors[finalPixel2 % aColors.size()]; in HorizontallyInterpolatedPixel()
185 EXPECT_GT(aColors.size(), 0u); in ADAM7HorizontallyInterpolatedRow()
288 const vector<BGRAColor>& aColors) { in ADAM7RowColor() argument
291 EXPECT_LT(0u, aColors.size()); in ADAM7RowColor()
296 return IsImportantRow(aRow, aPass) ? aColors[aRow % aColors.size()] in ADAM7RowColor()
342 ADAM7RowColor(prevImportantRow, aPass, aColors); in CheckVerticallyInterpolatedImage()
344 ADAM7RowColor(nextImportantRow, aPass, aColors); in CheckVerticallyInterpolatedImage()
397 const vector<BGRAColor>& aColors) { in CheckInterpolation() argument
398 CheckHorizontalInterpolation(aSize, aColors); in CheckInterpolation()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/image/test/gtest/
H A DTestADAM7InterpolatingFilter.cpp83 BGRAColor color1 = aColors[finalPixel1 % aColors.size()]; in HorizontallyInterpolatedPixel()
84 BGRAColor color2 = aColors[finalPixel2 % aColors.size()]; in HorizontallyInterpolatedPixel()
185 EXPECT_GT(aColors.size(), 0u); in ADAM7HorizontallyInterpolatedRow()
288 const vector<BGRAColor>& aColors) { in ADAM7RowColor() argument
291 EXPECT_LT(0u, aColors.size()); in ADAM7RowColor()
296 return IsImportantRow(aRow, aPass) ? aColors[aRow % aColors.size()] in ADAM7RowColor()
342 ADAM7RowColor(prevImportantRow, aPass, aColors); in CheckVerticallyInterpolatedImage()
344 ADAM7RowColor(nextImportantRow, aPass, aColors); in CheckVerticallyInterpolatedImage()
397 const vector<BGRAColor>& aColors) { in CheckInterpolation() argument
398 CheckHorizontalInterpolation(aSize, aColors); in CheckInterpolation()
[all …]
/dports/www/firefox/firefox-99.0/image/test/gtest/
H A DTestADAM7InterpolatingFilter.cpp83 BGRAColor color1 = aColors[finalPixel1 % aColors.size()]; in HorizontallyInterpolatedPixel()
84 BGRAColor color2 = aColors[finalPixel2 % aColors.size()]; in HorizontallyInterpolatedPixel()
185 EXPECT_GT(aColors.size(), 0u); in ADAM7HorizontallyInterpolatedRow()
288 const vector<BGRAColor>& aColors) { in ADAM7RowColor() argument
291 EXPECT_LT(0u, aColors.size()); in ADAM7RowColor()
296 return IsImportantRow(aRow, aPass) ? aColors[aRow % aColors.size()] in ADAM7RowColor()
342 ADAM7RowColor(prevImportantRow, aPass, aColors); in CheckVerticallyInterpolatedImage()
344 ADAM7RowColor(nextImportantRow, aPass, aColors); in CheckVerticallyInterpolatedImage()
397 const vector<BGRAColor>& aColors) { in CheckInterpolation() argument
398 CheckHorizontalInterpolation(aSize, aColors); in CheckInterpolation()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/image/test/gtest/
H A DTestADAM7InterpolatingFilter.cpp98 BGRAColor color1 = aColors[finalPixel1 % aColors.size()]; in HorizontallyInterpolatedPixel()
99 BGRAColor color2 = aColors[finalPixel2 % aColors.size()]; in HorizontallyInterpolatedPixel()
208 EXPECT_GT(aColors.size(), 0u); in ADAM7HorizontallyInterpolatedRow()
324 const vector<BGRAColor>& aColors) in ADAM7RowColor() argument
328 EXPECT_LT(0u, aColors.size()); in ADAM7RowColor()
333 return IsImportantRow(aRow, aPass) ? aColors[aRow % aColors.size()] in ADAM7RowColor()
341 const vector<BGRAColor>& aColors) in WriteRowColorPixels() argument
384 ADAM7RowColor(prevImportantRow, aPass, aColors); in CheckVerticallyInterpolatedImage()
386 ADAM7RowColor(nextImportantRow, aPass, aColors); in CheckVerticallyInterpolatedImage()
444 CheckHorizontalInterpolation(aSize, aColors); in CheckInterpolation()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/image/test/gtest/
H A DTestADAM7InterpolatingFilter.cpp98 BGRAColor color1 = aColors[finalPixel1 % aColors.size()]; in HorizontallyInterpolatedPixel()
99 BGRAColor color2 = aColors[finalPixel2 % aColors.size()]; in HorizontallyInterpolatedPixel()
208 EXPECT_GT(aColors.size(), 0u); in ADAM7HorizontallyInterpolatedRow()
324 const vector<BGRAColor>& aColors) in ADAM7RowColor() argument
328 EXPECT_LT(0u, aColors.size()); in ADAM7RowColor()
333 return IsImportantRow(aRow, aPass) ? aColors[aRow % aColors.size()] in ADAM7RowColor()
341 const vector<BGRAColor>& aColors) in WriteRowColorPixels() argument
384 ADAM7RowColor(prevImportantRow, aPass, aColors); in CheckVerticallyInterpolatedImage()
386 ADAM7RowColor(nextImportantRow, aPass, aColors); in CheckVerticallyInterpolatedImage()
444 CheckHorizontalInterpolation(aSize, aColors); in CheckInterpolation()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/image/test/gtest/
H A DTestADAM7InterpolatingFilter.cpp83 BGRAColor color1 = aColors[finalPixel1 % aColors.size()]; in HorizontallyInterpolatedPixel()
84 BGRAColor color2 = aColors[finalPixel2 % aColors.size()]; in HorizontallyInterpolatedPixel()
185 EXPECT_GT(aColors.size(), 0u); in ADAM7HorizontallyInterpolatedRow()
288 const vector<BGRAColor>& aColors) { in ADAM7RowColor() argument
291 EXPECT_LT(0u, aColors.size()); in ADAM7RowColor()
296 return IsImportantRow(aRow, aPass) ? aColors[aRow % aColors.size()] in ADAM7RowColor()
342 ADAM7RowColor(prevImportantRow, aPass, aColors); in CheckVerticallyInterpolatedImage()
344 ADAM7RowColor(nextImportantRow, aPass, aColors); in CheckVerticallyInterpolatedImage()
397 const vector<BGRAColor>& aColors) { in CheckInterpolation() argument
398 CheckHorizontalInterpolation(aSize, aColors); in CheckInterpolation()
[all …]
/dports/x11/xscreensaver/xscreensaver-5.44/hacks/
H A Deruption.c284 XColor Color, *aColors; in SetPalette() local
304 aColors[iColor].red = 0; in SetPalette()
305 aColors[iColor].green = 0; in SetPalette()
313 aColors[iColor].green = 0; in SetPalette()
320 aColors[iColor].red = 65535; in SetPalette()
322 aColors[iColor].blue = 0; in SetPalette()
328 aColors[iColor].red = 65535; in SetPalette()
329 aColors[iColor].green = 65535; in SetPalette()
335 aColors[iColor].red = aColors[iColor].green = aColors[iColor].blue = 65535; in SetPalette()
342 free( aColors ); in SetPalette()
[all …]
H A Dmetaballs.c126 XColor Color, *aColors; in SetPalette() local
147 aColors = calloc( st->iColorCount, sizeof(XColor) ); in SetPalette()
156 aColors[ iColor ].red = ( Color.red / nHalfColors ) * iColor; in SetPalette()
157 aColors[ iColor ].green = ( Color.green / nHalfColors ) * iColor; in SetPalette()
158 aColors[ iColor ].blue = ( Color.blue / nHalfColors ) * iColor; in SetPalette()
163aColors[ iColor ].red = ( ( ( 0xFFFF - Color.red ) / nHalfColors ) * ( iColor - nHalfColors ) … in SetPalette()
168 if( !XAllocColor( st->dpy, XWinAttribs.colormap, &aColors[ iColor ] ) ) in SetPalette()
172 free( aColors ); in SetPalette()
183 aColors = calloc( st->iColorCount, sizeof(XColor) ); in SetPalette()
188 st->aiColorVals[ iColor ] = aColors[ iColor ].pixel; in SetPalette()
[all …]
H A Dshadebobs.c236 XColor Color, *aColors; in SetPalette() local
257 aColors = calloc( st->iColorCount, sizeof(XColor) ); in SetPalette()
266 aColors[ iColor ].red = ( Color.red / nHalfColors ) * iColor; in SetPalette()
267 aColors[ iColor ].green = ( Color.green / nHalfColors ) * iColor; in SetPalette()
268 aColors[ iColor ].blue = ( Color.blue / nHalfColors ) * iColor; in SetPalette()
273aColors[ iColor ].red = ( ( ( 0xFFFF - Color.red ) / nHalfColors ) * ( iColor - nHalfColors ) … in SetPalette()
278 if( !XAllocColor( st->dpy, XWinAttribs.colormap, &aColors[ iColor ] ) ) in SetPalette()
282 free( aColors ); in SetPalette()
285 aColors = calloc( st->iColorCount, sizeof(XColor) ); in SetPalette()
290 st->aiColorVals[ iColor ] = aColors[ iColor ].pixel; in SetPalette()
[all …]
H A Dbumps.c114 unsigned long *aColors; member
349 pBumps->aColors = malloc( pBumps->nColorCount * sizeof(unsigned long) ); in SetPalette()
364 free( pBumps->aColors ); in SetPalette()
365 pBumps->aColors = malloc( pBumps->nColorCount * sizeof(unsigned long) ); in SetPalette()
370 pBumps->aColors[ iColor ] = Color.pixel; in SetPalette()
378 XSetWindowBackground( pBumps->dpy, pBumps->Win, pBumps->aColors[ 0 ] ); in SetPalette()
419 XSetWindowBackground( pBumps->dpy, pBumps->Win, pBumps->aColors[ 0 ] ); in InitBumpMap_2()
556 MyPutPixel( pDOffset, pBumps->aColors[ 0 ] ); in Execute()
567 MyPutPixel( pDOffset, pBumps->aColors[ 0 ] ); in Execute()
572 MyPutPixel( pDOffset, pBumps->aColors[ nColor ] ); in Execute()
[all …]
/dports/devel/vcglib/vcglib-2020.09/wrap/io_trimesh/
H A Dexport_ctm.h44 std::vector<CTMfloat> aColors(aVertCount*4);
81 aColors.resize(aVertCount*4);
84 aColors[i*4+0]=(float)(m.vert[i].C()[0])/255.0f;
85 aColors[i*4+1]=(float)(m.vert[i].C()[1])/255.0f;
86 aColors[i*4+2]=(float)(m.vert[i].C()[2])/255.0f;
87 aColors[i*4+3]=(float)(m.vert[i].C()[3])/255.0f;
89 ctmAddAttribMap(context,&aColors[0], "Color");
/dports/graphics/wdune/wdune-1.926/vcglib/wrap/io_trimesh/
H A Dexport_ctm.h44 std::vector<CTMfloat> aColors(aVertCount*4);
81 aColors.resize(aVertCount*4);
84 aColors[i*4+0]=(float)(m.vert[i].C()[0])/255.0f;
85 aColors[i*4+1]=(float)(m.vert[i].C()[1])/255.0f;
86 aColors[i*4+2]=(float)(m.vert[i].C()[2])/255.0f;
87 aColors[i*4+3]=(float)(m.vert[i].C()[3])/255.0f;
89 ctmAddAttribMap(context,&aColors[0], "Color");
/dports/editors/libreoffice/libreoffice-7.2.6.2/cui/source/options/
H A Dcfgchart.cxx91 static const Color aColors[] = { in useDefault() local
110 append( XColorEntry( aColors[ i % sizeof( aColors ) ], getDefaultName( i ) )); in useDefault()
241 uno::Sequence< sal_Int64 > aColors( nCount ); in ImplCommit() local
245 aColors[ i ] = sal_uInt32(aData); in ImplCommit()
248 aValues[ 0 ] <<= aColors; in ImplCommit()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/cui/source/options/
H A Dcfgchart.cxx91 static const Color aColors[] = { in useDefault() local
110 append( XColorEntry( aColors[ i % sizeof( aColors ) ], getDefaultName( i ) )); in useDefault()
242 uno::Sequence< sal_Int64 > aColors( nCount ); in ImplCommit() local
246 aColors[ i ] = sal_uInt32(aData); in ImplCommit()
249 aValues[ 0 ] <<= aColors; in ImplCommit()
/dports/www/e107/e107/e107_core/bbcodes/
H A Dcolor.bb4 $aColors = array(
30 if(array_key_exists($parm, $aColors))
32 return "<span class='{$class}' style='color:{$aColors[$parm]}'>$code_text</span>";
/dports/net-mgmt/librenms/librenms-vendor-21.5.1/amenadiel/jpgraph/Examples/examples_scatter/
H A Dccbpgraph.class.php96 * @param mixed $aColors An array with four elements specifying the colors
99 public function SetColorIndication(array $aSpec, array $aColors = null) argument
105 if ($aColors !== null) {
106 if (is_array($aColors) && count($aColors) == 4) {
107 $this->iColorSpec = $aColors;
/dports/cad/opencascade/opencascade-7.6.0/src/AIS/
H A DAIS_ColorScale.cxx640 Aspect_SequenceOfColor aColors; in drawColorBar() local
645 aColors.Prepend (GetIntervalColor (anIntervalIter)); in drawColorBar()
649 aColors.Append (GetIntervalColor (anIntervalIter)); in drawColorBar()
659 aTriangles = new Graphic3d_ArrayOfTriangles ((aColors.Length() + 1) * 4, // quads in drawColorBar()
662 Quantity_Color aColor1 (aColors.Value (1)), aColor2; in drawColorBar()
672 aColor1 = aColors.Value (aColorIter + 1); in drawColorBar()
673 aColor2 = aColors.Value (aColorIter + 2); in drawColorBar()
681 aColor2 = aColors.Value (myNbIntervals); in drawColorBar()
727 aTriangles = new Graphic3d_ArrayOfTriangles (aColors.Length() * 4, // quads in drawColorBar()
728 aColors.Length() * 2 * 3, // quads as triangles in drawColorBar()
[all …]

1234567