Home
last modified time | relevance | path

Searched refs:otherColor (Results 1 – 25 of 140) sorted by relevance

123456

/dports/graphics/pikopixel/PikoPixel.Sources.1.0-b10/PikoPixel/
H A DNSColor_PPUtilities.m95 - (bool) ppIsEqualToColor: (NSColor *) otherColor
102 otherColor = [otherColor ppSRGBColor];
104 if (!self || !otherColor)
110 || ([otherColor numberOfComponents] != kNumPPImagePixelComponents))
116 [otherColor getComponents: otherColorComponents];
133 - (NSColor *) ppColorBlendedWithColor: (NSColor *) otherColor
135 if (!otherColor)
137 otherColor = [NSColor clearColor];
143 - (NSColor *) ppColorBlendedWith25PercentOfColor: (NSColor *) otherColor
145 if (!otherColor)
[all …]
H A DNSColor_PPUtilities.h34 - (bool) ppIsEqualToColor: (NSColor *) otherColor;
36 - (NSColor *) ppColorBlendedWithColor: (NSColor *) otherColor;
37 - (NSColor *) ppColorBlendedWith25PercentOfColor: (NSColor *) otherColor;
H A DPPSRGBUtilities.m95 ofColor: (NSColor *) otherColor
103 otherColor = [otherColor ppSRGBColor];
105 if (!self || !otherColor)
112 return otherColor;
123 [otherColor getComponents: color2Components_sRGB];
/dports/audio/rosegarden/rosegarden-21.06.1/src/gui/editors/segment/compositionview/
H A DSegmentRect.cpp46 const QColor &otherColor = other.brush.color(); in intersected() local
48 QColor color((thisColor.red() + otherColor.red()) / 2, in intersected()
49 (thisColor.green() + otherColor.green()) / 2, in intersected()
50 (thisColor.blue() + otherColor.blue()) / 2); in intersected()
/dports/lang/spidermonkey60/firefox-60.9.0/toolkit/modules/
H A DColor.jsm59 * @param {Color} otherColor Color instance to calculate the contrast with
63 contrastRatio(otherColor) {
64 if (!(otherColor instanceof Color))
68 let otherLuminance = otherColor.relativeLuminance;
77 * @param {Color} otherColor Color instance to calculate the contrast with
80 isContrastRatioAcceptable(otherColor) {
83 return this.contrastRatio(otherColor) > 3;
/dports/www/firefox-legacy/firefox-52.8.0esr/toolkit/modules/
H A DColor.jsm59 * @param {Color} otherColor Color instance to calculate the contrast with
63 contrastRatio(otherColor) {
64 if (!(otherColor instanceof Color))
68 let otherLuminance = otherColor.relativeLuminance;
77 * @param {Color} otherColor Color instance to calculate the contrast with
80 isContrastRatioAcceptable(otherColor) {
83 return this.contrastRatio(otherColor) > 3;
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.swt/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/
H A DTest_org_eclipse_swt_graphics_Color.java330 Color otherColor = new Color(display, 5, 6, 7); in test_equalsLjava_lang_Object() local
340 assertTrue("!color.equals(otherColor)", !color.equals(otherColor)); in test_equalsLjava_lang_Object()
345 otherColor.dispose(); in test_equalsLjava_lang_Object()
352 otherColor = new Color(display, 5, 6, 7, 0); in test_equalsLjava_lang_Object()
362 assertTrue("!color.equals(otherColor)", !color.equals(otherColor)); in test_equalsLjava_lang_Object()
367 otherColor.dispose(); in test_equalsLjava_lang_Object()
427 Color otherColor = new Color(display, 12, 34, 56, 0); in test_hashCode() local
428 if (color.equals(otherColor)) { in test_hashCode()
429 …assertEquals("Hash codes of equal objects should be equal", color.hashCode(), otherColor.hashCode(… in test_hashCode()
432 otherColor.dispose(); in test_hashCode()
/dports/games/gogui/gogui-1.4.10/src/net/sf/gogui/go/
H A DGoColor.java30 public GoColor otherColor() in otherColor() method
54 public GoColor otherColor() in otherColor() method
78 public GoColor otherColor() in otherColor() method
128 public abstract GoColor otherColor(); in otherColor() method in GoColor
H A DBoard.java411 GoColor otherColor = c.otherColor(); in execute() local
424 if (board.getColor(adj) == otherColor) in execute()
436 board.m_captured.set(otherColor, in execute()
437 board.m_captured.get(otherColor) in execute()
441 board.m_toMove = otherColor; in execute()
450 GoColor otherColor = c.otherColor(); in undo() local
455 board.setColor(stone, otherColor); in undo()
459 board.m_captured.set(otherColor, in undo()
460 board.m_captured.get(otherColor) in undo()
/dports/lang/spidermonkey78/firefox-78.9.0/toolkit/modules/
H A DColor.jsm84 * @param {Color} otherColor Color instance to calculate the contrast with
88 contrastRatio(otherColor) {
89 if (!(otherColor instanceof Color)) {
94 let otherLuminance = otherColor.relativeLuminance;
105 * @param {Color} otherColor Color instance to calculate the contrast with
110 isContrastRatioAcceptable(otherColor, level = "AA") {
111 return this.contrastRatio(otherColor) > CONTRAST_RATIO_LEVELS[level];
/dports/www/firefox/firefox-99.0/toolkit/modules/
H A DColor.jsm84 * @param {Color} otherColor Color instance to calculate the contrast with
88 contrastRatio(otherColor) {
89 if (!(otherColor instanceof Color)) {
94 let otherLuminance = otherColor.relativeLuminance;
105 * @param {Color} otherColor Color instance to calculate the contrast with
110 isContrastRatioAcceptable(otherColor, level = "AA") {
111 return this.contrastRatio(otherColor) > CONTRAST_RATIO_LEVELS[level];
/dports/mail/thunderbird/thunderbird-91.8.0/toolkit/modules/
H A DColor.jsm84 * @param {Color} otherColor Color instance to calculate the contrast with
88 contrastRatio(otherColor) {
89 if (!(otherColor instanceof Color)) {
94 let otherLuminance = otherColor.relativeLuminance;
105 * @param {Color} otherColor Color instance to calculate the contrast with
110 isContrastRatioAcceptable(otherColor, level = "AA") {
111 return this.contrastRatio(otherColor) > CONTRAST_RATIO_LEVELS[level];
/dports/www/firefox-esr/firefox-91.8.0/toolkit/modules/
H A DColor.jsm84 * @param {Color} otherColor Color instance to calculate the contrast with
88 contrastRatio(otherColor) {
89 if (!(otherColor instanceof Color)) {
94 let otherLuminance = otherColor.relativeLuminance;
105 * @param {Color} otherColor Color instance to calculate the contrast with
110 isContrastRatioAcceptable(otherColor, level = "AA") {
111 return this.contrastRatio(otherColor) > CONTRAST_RATIO_LEVELS[level];
/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/client/src/ui/infine/
H A Dfinaleanimwidget.cpp69 animatorvector4_t otherColor; in DENG2_PIMPL_NOREF() local
76 AnimatorVector4_Init(otherColor, 0, 0, 0, 0); in DENG2_PIMPL_NOREF()
422 …V4f_Set(rgba2, d->otherColor[0].value, d->otherColor[1].value, d->otherColor[2].value, d->otherCol… in draw()
437 AnimatorVector4_Think(d->otherColor); in runTicks()
505 AnimatorVector4_Init(d->otherColor, 1, 1, 1, 1); in resetAllColors()
559 animator_t const *FinaleAnimWidget::otherColor() const in otherColor() function in FinaleAnimWidget
561 return d->otherColor; in otherColor()
566 AnimatorVector3_Set(d->otherColor, newColor.x, newColor.y, newColor.z, steps); in setOtherColor()
572 Animator_Set(&d->otherColor[3], newAlpha, steps); in setOtherAlpha()
578 …AnimatorVector4_Set(d->otherColor, newColorAndAlpha.x, newColorAndAlpha.y, newColorAndAlpha.z, new… in setOtherColorAndAlpha()
/dports/games/gogui/gogui-1.4.10/test/junit/src/net/sf/gogui/go/
H A DGoColorTest.java38 assertSame(BLACK.otherColor(), WHITE); in testOtherColor()
39 assertSame(WHITE.otherColor(), BLACK); in testOtherColor()
40 assertSame(EMPTY.otherColor(), EMPTY); in testOtherColor()
/dports/emulators/ppsspp-qt5/ppsspp-1.12.3/ext/glslang/Test/baseResults/
H A Dspv.flowControl.frag.out16 Name 14 "otherColor"
23 Decorate 14(otherColor) Location 3
36 14(otherColor): 10(ptr) Variable Input
51 15: 7(fvec4) Load 14(otherColor)
/dports/emulators/ppsspp/ppsspp-1.12.3/ext/glslang/Test/baseResults/
H A Dspv.flowControl.frag.out16 Name 14 "otherColor"
23 Decorate 14(otherColor) Location 3
36 14(otherColor): 10(ptr) Variable Input
51 15: 7(fvec4) Load 14(otherColor)
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Runtime.WindowsRuntime/tests/Windows/UI/
H A DColorTests.cs54 if (other is Color otherColor) in Equals_Other_ReturnsExpected()
56 Assert.Equal(expected, color == otherColor); in Equals_Other_ReturnsExpected()
57 Assert.Equal(!expected, color != otherColor); in Equals_Other_ReturnsExpected()
58 Assert.Equal(expected, color.Equals(otherColor)); in Equals_Other_ReturnsExpected()
/dports/emulators/libretro-ppsspp/ppsspp-1.12.3/ext/glslang/Test/baseResults/
H A Dspv.flowControl.frag.out16 Name 14 "otherColor"
23 Decorate 14(otherColor) Location 3
36 14(otherColor): 10(ptr) Variable Input
51 15: 7(fvec4) Load 14(otherColor)
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/glslang/src/Test/baseResults/
H A Dspv.flowControl.frag.out16 Name 14 "otherColor"
23 Decorate 14(otherColor) Location 3
36 14(otherColor): 10(ptr) Variable Input
51 15: 7(fvec4) Load 14(otherColor)
/dports/graphics/glslang/glslang-11.7.1/Test/baseResults/
H A Dspv.flowControl.frag.out16 Name 14 "otherColor"
23 Decorate 14(otherColor) Location 3
36 14(otherColor): 10(ptr) Variable Input
51 15: 7(fvec4) Load 14(otherColor)
/dports/benchmarks/vkpeak/vkpeak-20210430/ncnn/glslang/Test/baseResults/
H A Dspv.flowControl.frag.out16 Name 14 "otherColor"
23 Decorate 14(otherColor) Location 3
36 14(otherColor): 10(ptr) Variable Input
51 15: 7(fvec4) Load 14(otherColor)
/dports/graphics/waifu2x-ncnn-vulkan/waifu2x-ncnn-vulkan-20210521/src/ncnn/glslang/Test/baseResults/
H A Dspv.flowControl.frag.out16 Name 14 "otherColor"
23 Decorate 14(otherColor) Location 3
36 14(otherColor): 10(ptr) Variable Input
51 15: 7(fvec4) Load 14(otherColor)
/dports/graphics/realsr-ncnn-vulkan/realsr-ncnn-vulkan-20210210/src/ncnn/glslang/Test/baseResults/
H A Dspv.flowControl.frag.out16 Name 14 "otherColor"
23 Decorate 14(otherColor) Location 3
36 14(otherColor): 10(ptr) Variable Input
51 15: 7(fvec4) Load 14(otherColor)
/dports/math/vampire/vampire-4.5.1/Shell/
H A DGeneralSplitting.cpp204 Color otherColor=COLOR_TRANSPARENT; in apply() local
213 otherColor=static_cast<Color>(otherColor | lit->color()); in apply()
248 if(mdvColor!=COLOR_TRANSPARENT && otherColor!=COLOR_TRANSPARENT) { in apply()
249 ASS_EQ(mdvColor, otherColor); in apply()

123456