Searched refs:cr (Results 1 - 25 of 396) sorted by relevance

1234567891011>>

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
H A DCharArrayReaderTest.java27 CharArrayReader cr; field in class:CharArrayReaderTest
33 cr = new CharArrayReader(hw);
34 assertTrue("Failed to create reader", cr.ready());
41 cr = new CharArrayReader(hw, 5, 5);
42 assertTrue("Failed to create reader", cr.ready());
44 int c = cr.read();
53 cr = new CharArrayReader(hw);
54 cr.close();
56 cr.read();
63 cr
[all...]
/external/chromium/chrome/browser/resources/shared/js/cr/ui/
H A Dlist_item.js5 cr.define('cr.ui', function() {
13 var ListItem = cr.ui.define('li');
53 cr.defineProperty(ListItem, 'selected', cr.PropertyKind.BOOL_ATTR,
63 cr.defineProperty(ListItem, 'lead', cr.PropertyKind.BOOL_ATTR);
69 cr.defineProperty(ListItem, 'listIndex');
H A Dmenu_item.js5 cr.define('cr.ui', function() {
6 const Command = cr.ui.Command;
14 var MenuItem = cr.ui.define('div');
18 * @return {cr.ui.MenuItem}
21 var el = cr.doc.createElement('hr');
44 * @type {cr.ui.Command}
60 cr.ui.decorate(command, Command);
106 if (cr.dispatchSimpleEvent(this, 'activate', true, true)) {
140 cr
[all...]
H A Dtabs.js5 cr.define('cr.ui', function() {
46 cr.ui.decorate(child, constr);
70 var TabBox = cr.ui.define('tabbox');
101 cr.defineProperty(TabBox, 'selectedIndex', cr.PropertyKind.JS_PROP,
110 var Tabs = cr.ui.define('tabs');
122 cr.ui.FocusOutlineManager.forDocument(this.ownerDocument);
166 var Tab = cr.ui.define('tab');
171 this.addEventListener(cr
[all...]
H A Dcommand.js18 cr.define('cr.ui', function() {
72 var Command = cr.ui.define('command');
93 var e = new cr.Event('command', true, false);
136 cr.dispatchPropertyChange(this, 'shortcut', this.shortcut_,
160 cr.defineProperty(Command, 'label', cr.PropertyKind.ATTR);
166 cr.defineProperty(Command, 'disabled', cr.PropertyKind.BOOL_ATTR);
172 cr
[all...]
/external/webkit/Source/WebCore/platform/graphics/cairo/
H A DGraphicsContextCairo.cpp73 static inline void setPlatformFill(GraphicsContext* context, cairo_t* cr) argument
76 cairo_save(cr);
82 cairo_set_source(cr, pattern);
84 cairo_set_source(cr, state.fillGradient->platformGradient());
86 setSourceRGBAFromColor(cr, context->fillColor());
87 cairo_clip_preserve(cr);
88 cairo_paint_with_alpha(cr, state.globalAlpha);
89 cairo_restore(cr);
94 static inline void setPlatformStroke(GraphicsContext* context, cairo_t* cr) argument
97 cairo_save(cr);
122 fillRectSourceOver(cairo_t* cr, const FloatRect& rect, const Color& col) argument
203 GraphicsContext(cairo_t* cr) argument
225 cairo_t* cr = platformContext()->cr(); local
416 cairo_t* cr = platformContext()->cr(); local
639 cairo_t* cr = platformContext()->cr(); local
656 cairo_t* cr = platformContext()->cr(); local
763 cairo_t* cr = platformContext()->cr(); local
1133 cairo_t* cr = platformContext()->cr(); local
[all...]
H A DDrawErrorUnderline.h51 static inline void drawErrorUnderline(cairo_t* cr, double x, double y, double width, double height) argument
68 cairo_move_to(cr, x - halfSquare, top + halfSquare); // A
75 cairo_line_to(cr, middle, bottom); // B
78 cairo_line_to(cr, right + halfSquare, top + halfSquare); // D
80 cairo_line_to(cr, right, top + square); // C
90 cairo_line_to(cr, middle + halfSquare, bottom - halfSquare); // G
93 cairo_line_to(cr, right, top); // E
95 cairo_line_to(cr, middle, bottom - halfSquare); // F
98 cairo_line_to(cr, left, top); // H
H A DPathCairo.cpp55 cairo_t* cr = platformPath()->context(); local
57 cairo_append_path(cr, p.get());
66 cairo_t* cr = platformPath()->context(); local
68 cairo_append_path(cr, p.get());
74 cairo_t* cr = platformPath()->context(); local
75 cairo_new_path(cr);
99 cairo_t* cr = platformPath()->context(); local
100 cairo_translate(cr, -p.width(), -p.height());
105 cairo_t* cr = platformPath()->context(); local
106 cairo_move_to(cr,
111 cairo_t* cr = platformPath()->context(); local
117 cairo_t* cr = platformPath()->context(); local
126 cairo_t* cr = platformPath()->context(); local
141 cairo_t* cr = platformPath()->context(); local
260 cairo_t* cr = platformPath()->context(); local
272 cairo_t* cr = platformPath()->context(); local
278 cairo_t* cr = platformPath()->context(); local
286 cairo_t* cr = platformPath()->context(); local
312 cairo_t* cr = platformPath()->context(); local
321 cairo_t* cr = platformPath()->context(); local
358 cairo_t* cr = platformPath()->context(); local
[all...]
H A DFontCairo.cpp78 cairo_t* context = graphicsContext->platformContext()->cr();
114 cairo_t* cr = platformContext->cr(); local
115 cairo_save(cr);
116 prepareContextForGlyphDrawing(cr, font, point);
119 cairo_set_source(cr, context->fillGradient()->platformGradient());
121 cairo_push_group(cr);
122 cairo_paint_with_alpha(cr, context->getAlpha());
123 cairo_pop_group_to_source(cr);
128 cairo_set_source(cr, patter
[all...]
/external/chromium/chrome/browser/resources/shared/js/cr/ui/table/
H A Dtable_column.js9 cr.define('cr.ui.table', function() {
10 const EventTarget = cr.EventTarget;
11 const Event = cr.Event;
38 * @return {cr.ui.table.TableColumn} Clone of the given column.
50 * @param {cr.ui.Table} table The table.
64 cr.defineProperty(TableColumn, 'id');
70 cr.defineProperty(TableColumn, 'name');
76 cr.defineProperty(TableColumn, 'width');
80 * @type {Function(*, string, cr
[all...]
H A Dtable_splitter.js13 cr.define('cr.ui', function() {
14 const Splitter = cr.ui.Splitter;
22 var TableSplitter = cr.ui.define('div');
80 cr.defineProperty(TableSplitter, 'columnIndex');
84 * @type {cr.ui.Table}
86 cr.defineProperty(TableSplitter, 'table');
/external/chromium-trace/src/shared/js/cr/ui/
H A Dlist_item.js5 cr.define('cr.ui', function() {
13 var ListItem = cr.ui.define('li');
54 cr.defineProperty(ListItem, 'selected', cr.PropertyKind.BOOL_ATTR,
64 cr.defineProperty(ListItem, 'lead', cr.PropertyKind.BOOL_ATTR);
70 cr.defineProperty(ListItem, 'listIndex');
H A Dmenu_item.js5 cr.define('cr.ui', function() {
6 /** @const */ var Command = cr.ui.Command;
14 var MenuItem = cr.ui.define('div');
18 * @return {cr.ui.MenuItem} The new separator element.
21 var el = cr.doc.createElement('hr');
48 * @type {cr.ui.Command}
64 cr.ui.decorate(command, Command);
110 if (cr.dispatchSimpleEvent(this, 'activate', true, true)) {
144 cr
[all...]
H A Dtabs.js5 cr.define('cr.ui', function() {
46 cr.ui.decorate(child, constr);
70 var TabBox = cr.ui.define('tabbox');
101 cr.defineProperty(TabBox, 'selectedIndex', cr.PropertyKind.JS_PROP,
110 var Tabs = cr.ui.define('tabs');
122 cr.ui.FocusOutlineManager.forDocument(this.ownerDocument);
166 var Tab = cr.ui.define('tab');
171 this.addEventListener(cr
[all...]
H A Dcommand.js18 cr.define('cr.ui', function() {
72 var Command = cr.ui.define('command');
93 var e = new cr.Event('command', true, false);
136 cr.dispatchPropertyChange(this, 'shortcut', this.shortcut_,
160 cr.defineProperty(Command, 'label', cr.PropertyKind.ATTR);
166 cr.defineProperty(Command, 'disabled', cr.PropertyKind.BOOL_ATTR);
172 cr
[all...]
/external/chromium-trace/src/shared/js/cr/ui/table/
H A Dtable_column.js9 cr.define('cr.ui.table', function() {
10 /** @const */ var EventTarget = cr.EventTarget;
11 /** @const */ var Event = cr.Event;
39 * @return {cr.ui.table.TableColumn} Clone of the given column.
53 * @param {cr.ui.Table} table The table.
64 * @param {cr.ui.Table} table The table.
76 cr.defineProperty(TableColumn, 'id');
82 cr.defineProperty(TableColumn, 'name');
88 cr
[all...]
H A Dtable_splitter.js13 cr.define('cr.ui', function() {
14 /** @const */ var Splitter = cr.ui.Splitter;
22 var TableSplitter = cr.ui.define('div');
80 cr.defineProperty(TableSplitter, 'columnIndex');
84 * @type {cr.ui.Table}
86 cr.defineProperty(TableSplitter, 'table');
/external/chromium/chrome/browser/resources/chromeos/
H A Dproxy_settings.js15 if (cr.isChromeOS)
19 cr.ui.decorate('input[pref][type=checkbox]', options.PrefCheckbox);
20 cr.ui.decorate('input[pref][type=number]', options.PrefNumber);
21 cr.ui.decorate('input[pref][type=radio]', options.PrefRadio);
22 cr.ui.decorate('input[pref][type=range]', options.PrefRange);
23 cr.ui.decorate('select[pref]', options.PrefSelect);
24 cr.ui.decorate('input[pref][type=text]', options.PrefTextField);
25 cr.ui.decorate('input[pref][type=url]', options.PrefTextField);
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/picking/
H A DTerrainPickData.java47 protected CollisionResult cr; field in class:TerrainPickData
52 public TerrainPickData(TerrainPatch patch, CollisionResult cr) { argument
54 this.cr = cr;
60 if (this.cr.getDistance() < tpd.cr.getDistance())
62 else if (this.cr.getDistance() == tpd.cr.getDistance())
/external/chromium/chrome/browser/resources/options/
H A Dcontent_settings_ui.js5 cr.define('options', function() {
11 var ContentSettingsRadio = cr.ui.define('input');
17 * Initialization function for the cr.ui framework.
H A Dpref_ui.js5 cr.define('options', function() {
35 var PrefCheckbox = cr.ui.define('input');
42 * Initialization function for the cr.ui framework.
97 cr.defineProperty(PrefCheckbox, 'pref', cr.PropertyKind.ATTR);
103 cr.defineProperty(PrefCheckbox, 'metric', cr.PropertyKind.ATTR);
109 cr.defineProperty(PrefCheckbox, 'inverted_pref', cr.PropertyKind.BOOL_ATTR);
115 var PrefRadio = cr
[all...]
/external/webkit/Source/WebKit2/UIProcess/gtk/
H A DChunkedUpdateDrawingAreaProxyGtk.cpp64 bool ChunkedUpdateDrawingAreaProxy::platformPaint(const IntRect& rect, cairo_t* cr) argument
69 cairo_rectangle(cr, rect.x(), rect.y(), rect.width(), rect.height());
70 cairo_set_source_surface(cr, m_backingStoreImage, 0, 0);
71 cairo_fill(cr);
86 RefPtr<cairo_t> cr = cairo_create(m_backingStoreImage); local
87 cairo_set_source_surface(cr.get(), pixmap.get(), updateChunkRect.x(), updateChunkRect.y());
88 cairo_paint(cr.get());
/external/webkit/Source/WebCore/platform/graphics/win/
H A DGraphicsContextCairoWin.cpp75 cairo_t* cr = 0; local
77 cr = createCairoContextWithHDC(dc, hasAlpha);
81 m_data = new GraphicsContextPlatformPrivateToplevel(new PlatformContextCairo(cr));
83 if (platformContext()->cr()) {
96 static void drawBitmapToContext(GraphicsContextPlatformPrivate* context, cairo_t* cr, const DIBPixelData& pixelData, const IntSize& translate) argument
108 cairo_save(cr);
109 cairo_translate(cr, static_cast<double>(translate.width()), static_cast<double>(translate.height()));
110 cairo_scale(cr, 1, -1);
111 cairo_set_source_surface(cr, surface, 0, 0);
114 cairo_paint_with_alpha(cr, contex
156 syncContext(cairo_t* cr) argument
[all...]
/external/chromium-trace/src/shared/css/
H A Ddialogs.css7 .cr-dialog-container {
22 .cr-dialog-frame {
37 .cr-dialog-frame:focus {
56 .cr-dialog-frame.pulse {
63 .shown > .cr-dialog-frame {
69 .cr-dialog-frame {
77 .cr-dialog-shield {
90 .shown > .cr-dialog-shield {
99 .cr-dialog-title {
109 .cr
[all...]
/external/chromium/chrome/browser/resources/gpu_internals/
H A Dbrowser_bridge.js4 cr.define('gpu', function() {
36 __proto__: cr.EventTarget.prototype,
43 cr.dispatchSimpleEvent(this, 'gpuInfoUpdate');
44 cr.dispatchSimpleEvent(this, 'clientInfoChange');
45 cr.dispatchSimpleEvent(this, 'logMessagesChange');
96 cr.dispatchSimpleEvent(this, 'gpuInfoUpdate');
109 cr.dispatchSimpleEvent(this, 'clientInfoChange');
130 cr.dispatchSimpleEvent(this, 'logMessagesChange');

Completed in 686 milliseconds

1234567891011>>