OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:image_util
(Results
1 - 12
of
12
) sorted by null
/external/chromium-trace/catapult/telemetry/telemetry/util/
image_util_unittest.py
10
from telemetry.util import
image_util
25
bmp =
image_util
.FromBase64Png(test_png)
27
self.assertEquals(2,
image_util
.Width(bmp))
28
self.assertEquals(2,
image_util
.Height(bmp))
30
image_util
.GetPixelColor(bmp, 0, 0).AssertIsRGB(255, 0, 0)
31
image_util
.GetPixelColor(bmp, 1, 1).AssertIsRGB(0, 255, 0)
32
image_util
.GetPixelColor(bmp, 0, 1).AssertIsRGB(0, 0, 255)
33
image_util
.GetPixelColor(bmp, 1, 0).AssertIsRGB(255, 255, 0)
36
file_bmp =
image_util
.FromPngFile(test_png_path)
38
self.assertEquals(2,
image_util
.Width(file_bmp)
[
all
...]
color_histogram_unittest.py
8
from telemetry.util import
image_util
56
bmp =
image_util
.FromRGBPixels(4, 3, pixels)
57
bmp =
image_util
.Crop(bmp, 1, 1, 2, 2)
59
hist =
image_util
.GetColorHistogram(bmp)
62
image_util
.Width(bmp) *
image_util
.Height(bmp))
76
bmp =
image_util
.FromRGBPixels(4, 3, pixels)
78
hist =
image_util
.GetColorHistogram(
92
bmp =
image_util
.FromRGBPixels(2, 2, pixels)
94
hist =
image_util
.GetColorHistogram
[
all
...]
/external/chromium-trace/catapult/telemetry/telemetry/core/
platform_unittest.py
10
from telemetry.util import
image_util
41
img =
image_util
.FromPngFile(tf.name)
42
screenshot_pixels =
image_util
.Pixels(img)
/external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/
video_unittest.py
13
from telemetry.util import
image_util
48
expected_bitmap =
image_util
.FromPngFile(os.path.join(
50
self.assertTrue(
image_util
.AreEqual(expected_bitmap, bmp))
video.py
10
from telemetry.util import
image_util
67
yield 0,
image_util
.Crop(bmp, *content_box)
72
yield timestamp - start_time,
image_util
.Crop(bmp, *content_box)
81
content_box, pixel_count =
image_util
.GetBoundingBox(bmp, color,
172
image_util
.FromRGBPixels(dimensions[0], dimensions[1], frame_data))
/external/autotest/client/site_tests/ui_SettingsPage/
ui_SettingsPage.py
12
from telemetry.util import
image_util
45
image_util
.WritePngFile(screenshot, filepath)
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome_inspector/
inspector_page_unittest.py
7
from telemetry.util import
image_util
43
res =
image_util
.Pixels(self._tab.Screenshot())
inspector_page.py
6
from telemetry.util import
image_util
148
return
image_util
.FromBase64Png(res['result']['data'])
/external/chromium-trace/catapult/telemetry/telemetry/internal/browser/
tab_unittest.py
17
from telemetry.util import
image_util
219
image_util
.GetPixelColor(
222
image_util
.GetPixelColor(
225
image_util
.GetPixelColor(
/external/chromium-trace/catapult/telemetry/telemetry/testing/fakes/
__init__.py
18
from telemetry.util import
image_util
100
img =
image_util
.FromBase64Png(self.screenshot_png_data)
101
image_util
.WritePngFile(img, file_path)
354
return
image_util
.FromBase64Png(self.test_png)
/external/chromium-trace/catapult/telemetry/telemetry/page/
page_run_end_to_end_unittest.py
27
from telemetry.util import
image_util
646
actual_screenshot =
image_util
.FromPngFile(screenshot_file_path)
647
self.assertEquals(
image_util
.Pixels(chrome_version_screen_shot[0]),
648
image_util
.Pixels(actual_screenshot))
733
actual_screenshot_img =
image_util
.FromPngFile(screenshot_file_path)
734
self.assertTrue(
image_util
.AreEqual(
735
image_util
.FromBase64Png(expected_png_base64),
shared_page_state.py
25
from telemetry.util import
image_util
149
image_util
.WritePngFile(image, tf.name)
Completed in 269 milliseconds