Home
Sort by
last modified time
|
relevance
|
path
Repository(s)
applications
arkcompiler
base
build
commonlibrary
developtools
device
docs
domains
drivers
foundation
ide
interface
kernel
napi_generator
productdefine
test
third_party
vendor
select all
invert selection
clear
Full Search
Search through all text tokens(words,strings,identifiers,numbers) in index.
Definition
Only finds symbol definitions(where e.g a variable(function,...) is defined).
Symbol
Only finds symbol(e.g. methods classes,function,variables).
File Path
Path of the source file(use "/").If you want just exact path,enclose it in "".Source files end with: .jar/.bz2/.a/.h/.java...
History
History log comments.
Type
Any
Bzip(2)
C
Clojure
C#
C++
ELF
Erlang
Image file
Fortran
Golang
GZIP
Haskell
Jar
Java
Java class
JavaScript
Lisp
Lua
Pascal
Perl
PHP
Plain Text
PL/SQL
Python
Rust
Scala
Shell script
SQL
Tar
Tcl
Troff
UUEncoded
Visual Basic
XML
Zip
Type of analyzer used to filter file types include with selected(e.g. just C sources).
Help
Searched
refs:srcWeight
(Results
1 - 2
of
2
) sorted by relevance
/third_party/skia/include/private/
H
A
D
SkColorData.h
178
static inline SkPMColor SkFourByteInterp(SkPMColor src, SkPMColor dst, U8CPU
srcWeight
) {
in SkFourByteInterp()
argument
179
int scale = (int)SkAlpha255To256(
srcWeight
);
in SkFourByteInterp()
259
*
srcWeight
scaling to [0, 256].
261
static inline SkPMColor SkFastFourByteInterp(SkPMColor src, SkPMColor dst, U8CPU
srcWeight
) {
in SkFastFourByteInterp()
argument
262
SkASSERT(
srcWeight
<= 255);
in SkFastFourByteInterp()
263
// scale =
srcWeight
+ (
srcWeight
>> 7) is more accurate than
in SkFastFourByteInterp()
264
// scale =
srcWeight
+ 1, but 7% slower
in SkFastFourByteInterp()
265
return SkFastFourByteInterp256(src, dst,
srcWeight
+ (
srcWeight
>>
in SkFastFourByteInterp()
[all...]
/third_party/skia/src/ports/skia_ohos/
H
A
D
FontConfig_ohos.cpp
319
int
srcWeight
= srcStyle.weight();
in getFontStyleDifference()
local
322
// The maximum weight is kExtraBlack_Weight (1000), when dstWeight and
srcWeight
are at the different
in getFontStyleDifference()
325
if ((dstWeight == SkFontStyle::kNormal_Weight &&
srcWeight
== SkFontStyle::kMedium_Weight) ||
in getFontStyleDifference()
326
(dstWeight == SkFontStyle::kMedium_Weight &&
srcWeight
== SkFontStyle::kNormal_Weight)) {
in getFontStyleDifference()
329
weightDiff = (
srcWeight
<= dstWeight) ? (dstWeight -
srcWeight
)
in getFontStyleDifference()
330
: (
srcWeight
- dstWeight + kWeightDiffThreshold);
in getFontStyleDifference()
332
weightDiff = (
srcWeight
>= dstWeight) ? (
srcWeight
- dstWeight)
in getFontStyleDifference()
333
: (dstWeight -
srcWeight
in getFontStyleDifference()
[all...]
Completed in 3 milliseconds