Home
last modified time | relevance | path

Searched refs:g (Results 1 – 25 of 55) sorted by relevance

123

/development/tools/motion/motion_test_watcher_app/src/timeline/graph/
Dline-graph-visualization.ts56 const g = svg constant
61 this.graph = g;
63 this.drawAxes(g);
64 this.drawExpected(g, data);
65 this.drawActual(g, data);
66 this.drawLegend(g);
67 this.addMarker(g, 0);
68 this.drawHover(g, data);
71 private drawAxes(g: d3.Selection<SVGGElement, unknown, null, undefined>) {
74 g.append('g')
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DBitmapPixels.java53 private static int pack8888(int r, int g, int b, int a) { in pack8888() argument
54 return (r << 0) | ( g << 8) | (b << 16) | (a << 24); in pack8888()
57 private static short pack565(int r, int g, int b) { in pack565() argument
58 return (short)((r << 11) | ( g << 5) | (b << 0)); in pack565()
61 private static short pack4444(int r, int g, int b, int a) { in pack4444() argument
62 return (short)((a << 0) | ( b << 4) | (g << 8) | (r << 12)); in pack4444()
75 int g = Color.green(c); in premultiplyColor() local
80 g = mul255(g, a); in premultiplyColor()
83 return pack8888(r, g, b, a); in premultiplyColor()
90 int g = getG32(from) << 23; in makeRamp() local
[all …]
DPurgeableBitmapView.java72 int g = y * 255 / (HEIGHT - 1); in createColors() local
73 int b = 255 - Math.min(r, g); in createColors()
74 int a = Math.max(r, g); in createColors()
75 colors[y * STRIDE + x] = (a << 24) | (r << 16) | (g << 8) | b; in createColors()
DMeasureText.java41 int g = y * 255 / (HEIGHT - 1); in createColors() local
42 int b = 255 - Math.min(r, g); in createColors()
43 int a = Math.max(r, g); in createColors()
44 colors[y * STRIDE + x] = (a << 24) | (r << 16) | (g << 8) | b; in createColors()
DColorPickerDialog.java133 int g = ave(Color.green(c0), Color.green(c1), p); in interpColor() local
136 return Color.argb(a, r, g, b); in interpColor()
142 int g = Color.green(color); in rotateColor() local
156 int ir = floatToByte(a[0] * r + a[1] * g + a[2] * b); in rotateColor()
157 int ig = floatToByte(a[5] * r + a[6] * g + a[7] * b); in rotateColor()
158 int ib = floatToByte(a[10] * r + a[11] * g + a[12] * b); in rotateColor()
DCreateBitmap.java43 int g = y * 255 / (HEIGHT - 1); in createColors() local
44 int b = 255 - Math.min(r, g); in createColors()
45 int a = Math.max(r, g); in createColors()
46 colors[y * STRIDE + x] = (a << 24) | (r << 16) | (g << 8) | b; in createColors()
/development/tools/winscope/src/app/components/timeline/
Dtimeline_utils.ts119 ): {r: number; g: number; b: number} | undefined {
122 hex = hex.replace(shorthandRegex, (m, r, g, b) => {
123 return r + r + g + g + b + b;
132 g: parseInt(result[2], 16),
/development/apps/DumpViewer/
DREADME.md14 To install, pass the `-g` option to `adb install` to give the needed permissions:
16 adb install -r -g DumpViewer.apk
19 adb install -r -g ${ANDROID_PRODUCT_OUT}/data/app/DumpViewer/DumpViewer.apk
/development/tools/repo_diff/service/repodiff/repositories/
Ddenormalizer.go24 func (g GlobalDenormalizer) DenormalizeToTopCommitter() error {
26 if _, err := g.db.Exec(
34 _, err := g.db.Exec(
91 func (g GlobalDenormalizer) DenormalizeToTopTechArea() error {
93 if _, err := g.db.Exec(
101 _, err := g.db.Exec(
/development/tools/repo_pull/
DREADME.md12 -g https://android-review.googlesource.com
42 [-g gerrit] \
74 * `-g` or `--gerrit` specifies the URL of the Gerrit Code Review website.
106 -g https://android-review.googlesource.com
114 -g https://android-review.googlesource.com \
122 -g https://android-review.googlesource.com \
/development/apps/CustomLocale/
DREADME.md36 `${TARGET_LOCALE}` can be either 2 chars (e.g. `en`, `iw`)
37 or 5 chars (e.g. `en_US`, `iw_IL`)
/development/gsi/
Dgsi-pubsign-release.sh26 Product name to copy artifacts from. e.g. aosp_arm64
29 Product name to copy artifacts to. e.g. aosp_arm64_pubsign
/development/tools/winscope/src/parsers/
Draw_data_utils.ts95 const [r, g, b, a] = [ constant
102 return r < 0 || g < 0 || b < 0;
/development/samples/ToyVpn/server/linux/
DMakefile18 g++ -Wall -o ToyVpnServer ToyVpnServer.cpp
/development/tools/winscope/src/app/components/timeline/expanded-timeline/
Dcanvas_drawer.ts49 const {r, g, b} = rgbColor; constant
50 const rgbaColor = `rgba(${r},${g},${b},${alpha})`;
51 const transparentColor = `rgba(${r},${g},${b},${0})`;
/development/tools/winscope/src/test/unit/
Dtree_node_utils.ts51 g: number | undefined,
57 if (g !== undefined) children.push({name: 'g', value: g});
/development/samples/TtsEngine/assets/
Deng-USA.freq7 g:128
Deng-GBR.freq20 g:125
/development/samples/ReceiveContentDemo/
DREADME.md1 Sample app that demonstrates how to implement support for receiving content (e.g. images) via paste
/development/tools/winscope/src/parsers/surface_flinger/computations/
Drects_computation_test.ts124 color: {r: 0, g: 0, b: 0, a: 1},
205 color: {r: 0, g: 0, b: 0, a: 1},
221 color: {r: 0, g: 0, b: 0, a: 1},
722 color: {r: 0, g: 0, b: 0, a: 1},
742 color: {r: 0, g: 0, b: 0, a: 1},
759 color: {r: 0, g: 0, b: 0, a: 1},
779 color: {r: 0, g: 0, b: 0, a: 1},
809 color: {r: 0, g: 0, b: 0, a: 1},
839 color: {r: 0, g: 0, b: 0, a: 1},
Dvisibility_properties_computation_test.ts52 color: {r: 0, g: 0, b: 0, a: 1},
227 color: {r: 0, g: 0, b: 0, a: 0},
460 color: {r: 0, g: 0, b: 0, a: 0.5},
655 color: {r: 0, g: 0, b: 0, a: 1},
683 color: {r: 0, g: 0, b: 0, a: 0},
/development/samples/DeviceAdminWhitelistedAccount/
DREADME.md10 adb install -r -g $OUT/data/app/DeviceAdminWhitelistedAccount/DeviceAdminWhitelistedAccount.apk
/development/tools/motion/motion_test_watcher_app/src/model/
Dvisualization.ts46 var g = (bigint >> 8) & 255;
49 return 'rgba(' + r + ',' + g + ',' + b + ',0.15)';
/development/samples/devbytes/telephony/SmsSampleProject/
Dgradle.properties3 # IDE (e.g. Android Studio) users:
/development/samples/browseable/SlidingTabsBasic/src/com.example.android.common/view/
DSlidingTabStrip.java181 float g = (Color.green(color1) * ratio) + (Color.green(color2) * inverseRation); in blendColors() local
183 return Color.rgb((int) r, (int) g, (int) b); in blendColors()

123