Home
last modified time | relevance | path

Searched refs:pixel (Results 1 – 25 of 34) sorted by relevance

12

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/
DBipPixelTest.java37 BipPixel pixel = new BipPixel(input); in testParse() local
38 Assert.assertEquals(pixelType, pixel.getType()); in testParse()
39 Assert.assertEquals(minWidth, pixel.getMinWidth()); in testParse()
40 Assert.assertEquals(minHeight, pixel.getMinHeight()); in testParse()
41 Assert.assertEquals(maxWidth, pixel.getMaxWidth()); in testParse()
42 Assert.assertEquals(maxHeight, pixel.getMaxHeight()); in testParse()
43 Assert.assertEquals(pixelStr, pixel.toString()); in testParse()
47 BipPixel pixel = BipPixel.createFixed(width, height); in testFixed() local
48 Assert.assertEquals(BipPixel.TYPE_FIXED, pixel.getType()); in testFixed()
49 Assert.assertEquals(width, pixel.getMinWidth()); in testFixed()
[all …]
DBipImageFormatTest.java333 BipPixel pixel = BipPixel.createFixed(1280, 1024); in testEquals_withSameInfo() local
335 BipImageFormat format = BipImageFormat.createNative(encoding, pixel, -1); in testEquals_withSameInfo()
336 BipImageFormat formatEqual = BipImageFormat.createNative(encoding, pixel, -1); in testEquals_withSameInfo()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/bip/
DBipImageProperties.java179 String pixel = xpp.getAttributeValue(null, "pixel"); in parse() local
181 addNativeFormat(BipImageFormat.parseNative(encoding, pixel, size)); in parse()
184 String pixel = xpp.getAttributeValue(null, "pixel"); in parse() local
188 BipImageFormat.parseVariant(encoding, pixel, maxSize, trans)); in parse()
281 BipPixel pixel = format.getPixel(); in isThumbnailFormat()
282 if (pixel == null) return false; in isThumbnailFormat()
283 switch (pixel.getType()) { in isThumbnailFormat()
285 return pixel.getMaxWidth() == 200 && pixel.getMaxHeight() == 200; in isThumbnailFormat()
287 return pixel.getMaxWidth() >= 200 && pixel.getMaxHeight() >= 200; in isThumbnailFormat()
289 return pixel.getMaxWidth() == pixel.getMaxHeight() && pixel.getMaxWidth() >= 200; in isThumbnailFormat()
[all …]
DBipImageFormat.java44 public static BipImageFormat parseNative(String encoding, String pixel, String size) { in parseNative() argument
45 return new BipImageFormat(BipImageFormat.FORMAT_NATIVE, encoding, pixel, size, null, null); in parseNative()
50 String encoding, String pixel, String maxSize, String transformation) { in parseVariant() argument
52 BipImageFormat.FORMAT_VARIANT, encoding, pixel, null, maxSize, transformation); in parseVariant()
56 public static BipImageFormat createNative(BipEncoding encoding, BipPixel pixel, int size) { in createNative() argument
57 return new BipImageFormat(BipImageFormat.FORMAT_NATIVE, encoding, pixel, size, -1, null); in createNative()
62 BipEncoding encoding, BipPixel pixel, int maxSize, BipTransformation transformation) { in createVariant() argument
64 BipImageFormat.FORMAT_VARIANT, encoding, pixel, -1, maxSize, transformation); in createVariant()
106 BipPixel pixel, in BipImageFormat() argument
112 mPixel = Objects.requireNonNull(pixel, "Pixel cannot be null"); in BipImageFormat()
[all …]
DBipPixel.java105 public BipPixel(String pixel) { in BipPixel() argument
112 int typeHint = determinePixelType(pixel); in BipPixel()
116 Matcher m1 = fixed.matcher(pixel); in BipPixel()
128 Matcher m2 = modifiedRatio.matcher(pixel); in BipPixel()
139 Matcher m3 = fixedRatio.matcher(pixel); in BipPixel()
152 throw new ParseException("Failed to determine type of '" + pixel + "'"); in BipPixel()
197 private static int determinePixelType(String pixel) { in determinePixelType() argument
198 if (pixel == null || pixel.length() > 23) return TYPE_UNKNOWN; in determinePixelType()
200 for (char c : pixel.toCharArray()) { in determinePixelType()
/packages/services/Car/cpp/computepipe/proto/
DInputConfig.proto76 // one byte for R, then one byte for G, then one byte for B for each pixel.
83 // Grayscale, one byte per pixel.
86 // Grayscale, one uint16 per pixel.
90 // Represent pixel layout of image expected by graph.
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcp/
DCoverArtTest.java101 BipPixel pixel = format.getPixel(); in containsThumbnailFormat() local
102 if (encoding == null || pixel == null) continue; in containsThumbnailFormat()
103 if (encoding.getType() == BipEncoding.JPEG && PIXEL_THUMBNAIL.equals(pixel)) { in containsThumbnailFormat()
110 BipPixel pixel = format.getPixel(); in containsThumbnailFormat() local
111 if (encoding == null || pixel == null) continue; in containsThumbnailFormat()
112 if (encoding.getType() == BipEncoding.JPEG && PIXEL_THUMBNAIL.equals(pixel)) { in containsThumbnailFormat()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcp/helpers/
DCoverArt.java134 BipPixel pixel = descriptor.getPixel(); in isDescriptorValid() local
136 if (encoding.getType() == BipEncoding.JPEG && PIXEL_THUMBNAIL.equals(pixel)) { in isDescriptorValid()
164 BipPixel pixel = BipPixel.createFixed(200, 200); in getImageProperties() local
165 BipImageFormat format = BipImageFormat.createNative(encoding, pixel, -1); in getImageProperties()
/packages/apps/TV/src/com/android/tv/guide/
DGuideUtils.java53 static long convertPixelToMillis(int pixel) { in convertPixelToMillis() argument
54 return pixel * TimeUnit.HOURS.toMillis(1) / sWidthPerHour; in convertPixelToMillis()
/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripLayout.java309 private void translateContentLayoutByPixel(float pixel) { in translateContentLayoutByPixel() argument
310 mFilmstripContentLayout.setTranslationX(pixel); in translateContentLayoutByPixel()
311 mFilmstripContentTranslationProgress = pixel / getMeasuredWidth(); in translateContentLayoutByPixel()
/packages/services/Car/cpp/evs/apps/default/res/
Dconfig.json.readme29 "frontPixel" : 23, // The pixel row in CarFromTop.png at which the front bumper appears
30 "rearPixel" : 223 // The pixel row in CarFromTop.png at which the back bumper ends
/packages/apps/TvSystemUI/
DOWNERS9 pixel@google.com
/packages/apps/Car/SystemUI/
DOWNERS12 pixel@google.com
/packages/apps/Camera2/src/com/android/camera/util/
DCameraUtil.java914 public static int addPixel(int pixel, int newPixel, float weight) { in addPixel() argument
917 int r = ((pixel & 0x00ff0000) + (int) ((newPixel & 0x00ff0000) * weight)) & 0x00ff0000; in addPixel()
918 int g = ((pixel & 0x0000ff00) + (int) ((newPixel & 0x0000ff00) * weight)) & 0x0000ff00; in addPixel()
919 int b = ((pixel & 0x000000ff) + (int) ((newPixel & 0x000000ff) * weight)) & 0x000000ff; in addPixel()
/packages/apps/ManagedProvisioning/studio-dev/development/studio/
Didea.properties131 # * Enables handling of pixel-perfect scrolling events.
133 # This feature can be toggled via "idea.true.smooth.scrolling.pixel.perfect" option.
/packages/modules/AdServices/adservices/tests/unittest/service-core/assets/classifier/
Dprecomputed_test_app_list.csv36 ….pony.crafting.unicorn.game.girls.color.quest.pet.building.minecraft.cube.pixel.rainbow.secret.fre…
1453 com.pixel.art.coloring.by.number 10251
1779 com.pixel.gun3d 10239,10228
2585 happy.pixel.coloring.art.color.games 10227,10251
3190 com.blizzpixelart.pixel.coloring 10067,10251
4046 sandbox.pixel.number.coloring.book.page.art.free 10251
4269 com.pixel.art.paint.coloring.book.draw.puzzle.game 10251
6893 com.pixel.art.no.color.by.number.paint.draw 10251
7230 com.gsgames.pixel.combat 10239
7712 paint.by.number.pixel.art.coloring.drawing.puzzle 10069,10251
[all …]
/packages/modules/AdServices/adservices/apk/assets/classifier/
Dprecomputed_app_list.csv36 ….pony.crafting.unicorn.game.girls.color.quest.pet.building.minecraft.cube.pixel.rainbow.secret.fre…
1453 com.pixel.art.coloring.by.number 10251
1779 com.pixel.gun3d 10239,10228
2585 happy.pixel.coloring.art.color.games 10227,10251
3190 com.blizzpixelart.pixel.coloring 10067,10251
4046 sandbox.pixel.number.coloring.book.page.art.free 10251
4269 com.pixel.art.paint.coloring.book.draw.puzzle.game 10251
6893 com.pixel.art.no.color.by.number.paint.draw 10251
7230 com.gsgames.pixel.combat 10239
7712 paint.by.number.pixel.art.coloring.drawing.puzzle 10069,10251
[all …]
/packages/modules/NeuralNetworks/tools/api/
Dtypes.spec2166 * * 5: Half pixel centers. An optional {@link %{OperandTypeLinkPfx}BOOL}
2167 * scalar, default to false. If True, the pixel centers are assumed to
2199 * * 5: Half pixel centers. An optional {@link %{OperandTypeLinkPfx}BOOL}
2200 * scalar, default to false. If True, the pixel centers are assumed to
6115 * * 5: Half pixel centers. An optional {@link %{OperandTypeLinkPfx}BOOL}
6116 * scalar, default to false. If True, the pixel centers are assumed to
6146 * * 5: Half pixel centers. An optional {@link %{OperandTypeLinkPfx}BOOL}
6147 * scalar, default to false. If True, the pixel centers are assumed to
/packages/inputmethods/LatinIME/dictionaries/
Dfr_wordlist.combined.gz
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz
Dcs_wordlist.combined.gz
Dit_wordlist.combined.gz1dictionary=main:it,locale=it,description=Italiano,date=1414726258, ...
Dnl_wordlist.combined.gz

12