Obtains the color of the dividers, which are contained by the navigation.
495375
private void obtainNavigationDividerColor() {
        int color;

        try {
            color = ThemeUtil.getColor(this, R.attr.navigationDividerColor);
        } catch (NotFoundException e) {
            color = ContextCompat.getColor(this, R.color.preference_divider_color_light);
        }

        setNavigationDividerColor(color);
    }
211882
function getCategoryColorPairs() {
  return _(ICON_CATEGORIES)
    .map((category) =>
      _.zip(_.times(PNG_COLORS.length, () => category), PNG_COLORS))
    .flatten() // flattens 1 level
    .value();
}
1186997
function getColor (obj) {
  var color = this.theme.types.color
  if (obj.isEnumType && !this.theme.enums.hide) {
    color = this.theme.enums.color
  } else if (obj.isInputType && !this.theme.inputs.hide) {
    color = this.theme.inputs.color
  } else if (obj.isInterfaceType && !this.theme.interfaces.hide) {
    color = this.theme.interfaces.color
  } else if (obj.isUnionType && !this.theme.unions.hide) {
    color = this.theme.unions.color
  }
  return color
}
79711
def getBoundsColor(self, nNumOutputColors, flCollisionBoundsFadeDistance):
        """"""

        fn = self.function_table.getBoundsColor
        pOutputColorArray = HmdColor_t()
        pOutputCameraColor = HmdColor_t()
        fn(byref(pOutputColorArray), nNumOutputColors, flCollisionBoundsFadeDistance, byref(pOutputCameraColor))
        return pOutputColorArray, pOutputCameraColor
351321
def get_color(self):
        
        col = np.full((self._dStruct['nObj'],4), np.nan)
        ii = 0
        for k in self._dStruct['lorder']:
            k0, k1 = k.split('_')
            col[ii,:] = self._dStruct['dObj'][k0][k1].get_color()
            ii += 1
        return col
663205
public static Divider getDivider(@ColorInt int color) {
        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
            return new Api21ItemDivider(color);
        }
        return new Api20ItemDivider(color);
    }
162333
public Color getColorAt(float p) {
		if (p <= 0) {
			return ((Step) steps.get(0)).col;
		}
		if (p > 1) {
			return ((Step) steps.get(steps.size()-1)).col;
		}
		
		for (int i=1;i<steps.size();i++) {
			Step prev = ((Step) steps.get(i-1));
			Step current = ((Step) steps.get(i));
			
			if (p <= current.location) {
				float dis = current.location - prev.location;
				p -= prev.location;
				float v = p / dis;
				
				Color c = new Color(1,1,1,1);
				c.a = (prev.col.a * (1 - v)) + (current.col.a * (v));
				c.r = (prev.col.r * (1 - v)) + (current.col.r * (v));
				c.g = (prev.col.g * (1 - v)) + (current.col.g * (v));
				c.b = (prev.col.b * (1 - v)) + (current.col.b * (v));
				
				return c;
			}
		}

		// shouldn't ever happen
		return Color.black;
	}
205382
def _get_color(self):
        """"""
        if self.clicked and self.hovered:  # the mouse is over the button
            color = mix(self.color, BLACK, 0.8)

        elif self.hovered and not self.flags & self.NO_HOVER:
            color = mix(self.color, BLACK, 0.93)

        else:
            color = self.color

        self.text.bg_color = color
        return color
866023
@Override
	public MapColor getMapColor(Block block, IBlockState state, IBlockAccess world, BlockPos pos)
	{
		return MapColor.getBlockColor(state.getValue(getProperty()));
	}
324824
def getOverlayColor(self, ulOverlayHandle):
        """"""

        fn = self.function_table.getOverlayColor
        pfRed = c_float()
        pfGreen = c_float()
        pfBlue = c_float()
        result = fn(ulOverlayHandle, byref(pfRed), byref(pfGreen), byref(pfBlue))
        return result, pfRed.value, pfGreen.value, pfBlue.value
1019881
def _get_struct_colormatrixfilter(self):
        """"""
        obj = _make_object("ColorMatrixFilter")
        obj.Matrix = [unpack_float(self._src) for _ in range(20)]
        return obj
346198
function getElementColor () {
    var items = self.options && self.options.colorElement ? self.options.colorElement : [];
    var elem =  items.length ? items[ 0 ] : self.$element[ 0 ];

    return elem ? self.$window.getComputedStyle(elem).color : 'rgb(0,0,0)';
  }
697453
function ColorStop() {
    this.parent = null;
    this.beforeNodes = [];
    this.colorNode = null;
    this.separatorNodes = [];
    this.positionNode = null;
    this.warning = null;
    this.parsePosition();
}
101086
def step(colors, x, controls=None):
    x = x.ravel()
    """"""
    assert (controls[0], controls[-1]) == (0., 1.)
    ncolors = len(colors)
    assert ncolors == len(controls) - 1
    assert ncolors >= 2
    x_step = _find_controls(x, controls, ncolors-1)
    return colors[x_step, ...]
347684
function getColor (i) {
    i = parseInt(i);
    if (i < 0 || i >= colors.length) {
      // pick a color from the scale defined above
      return scale(((i - colors.length) * (211 / 971)) % 1);
    } else {
      return chroma(colors[i]);
    }
  }
821900
def get_r(self):
        """"""

        start_point, end_point = self._get_right_line_coordinates()
        width = self._get_right_line_width()
        color = self._get_right_line_color()

        return CellBorder(start_point, end_point, width, color)
831140
function() {
                var mapping = this._getResourceColorIndexMapping();
                var used = [],
                    resource;

                for (resource in mapping) {
                    if (Object.prototype.hasOwnProperty.call(mapping, resource)) {
                        used.push(resource);
                    }
                }

                return used;
            }