/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | BitmapPixels.java | 53 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 …]
|
D | PurgeableBitmapView.java | 72 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()
|
D | MeasureText.java | 41 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()
|
D | ColorPickerDialog.java | 133 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()
|
D | CreateBitmap.java | 43 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/vndk/tools/definition-tool/tests/ |
D | test_generic_refs.py | 43 g = GenericRefs.create_from_sym_dir(input_dir) 44 self.assertEqual(4, len(g.refs)) 46 self.assertIn('/system/lib/libc.so', g.refs) 47 self.assertIn('/system/lib/libm.so', g.refs) 48 self.assertIn('/system/lib64/libc.so', g.refs) 49 self.assertIn('/system/lib64/libm.so', g.refs) 52 g.refs['/system/lib/libc.so'].exported_symbols) 54 g.refs['/system/lib64/libc.so'].exported_symbols) 57 g.refs['/system/lib/libm.so'].exported_symbols) 59 g.refs['/system/lib64/libm.so'].exported_symbols)
|
/development/samples/RenderScript/Levels/src/com/android/rs/levels/ |
D | LevelsDalvikActivity.java | 185 float g = (float)((mInPixels[i] >> 8) & 0xff); in filter() local 188 float tr = r * m[0] + g * m[3] + b * m[6]; in filter() 189 float tg = r * m[1] + g * m[4] + b * m[7]; in filter() 190 float tb = r * m[2] + g * m[5] + b * m[8]; in filter() 192 g = tg; in filter() 197 if (g < 0.f) g = 0.f; in filter() 198 if (g > 255.f) g = 255.f; in filter() 203 g = (g - mInBlack) * mOverInWMinInB; in filter() 208 g = (float)java.lang.Math.pow(g, mGamma); in filter() 213 g = (g * mOutWMinOutB) + mOutBlack; in filter() [all …]
|
/development/samples/browseable/HdrViewfinder/src/rs/ |
D | hdr_merge.rscript | 33 curPixel.g = rsGetElementAtYuv_uchar_U(gCurrentFrame, x, y); 45 uchar saturationCurrent = abs(curPixel.g - 128) + abs(curPixel.b - 128); 46 uchar saturationPrev = abs(prevPixel.g - 128) + abs(prevPixel.b - 128); 47 mergedPixel.g = saturationCurrent > saturationPrev ? curPixel.g : prevPixel.g; 67 rgb.g = mergedPixel.r - 68 mergedPixel.g * 46549 / 131072 + 44 - 71 mergedPixel.g * 1814 / 1024 - 227;
|
/development/apps/DumpViewer/ |
D | README.md | 14 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/ |
D | denormalizer.go | 24 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/ndk/zlib/ |
D | zlib.h | 1661 # define z_gzgetc(g) \ argument 1662 ((g)->have ? ((g)->have--, (g)->pos++, *((g)->next)++) : gzgetc(g)) 1664 # define gzgetc(g) \ argument 1665 ((g)->have ? ((g)->have--, (g)->pos++, *((g)->next)++) : gzgetc(g))
|
/development/tools/repo_pull/ |
D | README.md | 12 -g https://android-review.googlesource.com 40 [-g gerrit] \ 72 * `-g` or `--gerrit` specifies the URL of the Gerrit Code Review website. 105 -g https://android-review.googlesource.com 113 -g https://android-review.googlesource.com \ 121 -g https://android-review.googlesource.com \
|
/development/gsi/ |
D | gsi-pubsign-release.sh | 26 Product name to copy artifacts from. e.g. aosp_arm64 29 Product name to copy artifacts to. e.g. aosp_arm64_pubsign
|
/development/samples/ToyVpn/server/linux/ |
D | Makefile | 18 g++ -Wall -o ToyVpnServer ToyVpnServer.cpp
|
/development/samples/TtsEngine/assets/ |
D | eng-GBR.freq | 20 g:125
|
D | eng-USA.freq | 7 g:128
|
/development/samples/DeviceAdminWhitelistedAccount/ |
D | README.md | 10 adb install -r -g $OUT/data/app/DeviceAdminWhitelistedAccount/DeviceAdminWhitelistedAccount.apk
|
/development/samples/devbytes/telephony/SmsSampleProject/ |
D | gradle.properties | 3 # IDE (e.g. Android Studio) users:
|
/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.common/view/ |
D | SlidingTabStrip.java | 181 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()
|
/development/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.common/view/ |
D | SlidingTabStrip.java | 181 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()
|
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.common/view/ |
D | SlidingTabStrip.java | 181 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()
|
/development/samples/browseable/SlidingTabsBasic/src/com.example.android.common/view/ |
D | SlidingTabStrip.java | 181 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()
|
/development/samples/browseable/SlidingTabsColors/src/com.example.android.common/view/ |
D | SlidingTabStrip.java | 181 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()
|
/development/samples/browseable/BasicTransition/src/com.example.android.common/view/ |
D | SlidingTabStrip.java | 181 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()
|
/development/tools/mkstubs/ |
D | README.txt | 8 expose, e.g.: 28 - a package name, e.g. com.android.blah
|