Searched defs:Viewport (Results 1 - 21 of 21) sorted by relevance

/external/chromium_org/ui/file_manager/gallery/js/image_editor/
H A Dviewport.js8 * Viewport class controls the way the image is displayed (scale, offset etc).
11 function Viewport() { class
102 Viewport.ZOOM_RATIOS = Object.freeze([1, 1.5, 2, 3]);
108 Viewport.prototype.setImageSize = function(width, height) {
117 Viewport.prototype.setScreenSize = function(width, height) {
126 Viewport.prototype.setZoom = function(zoom) {
127 var zoomMin = Viewport.ZOOM_RATIOS[0];
128 var zoomMax = Viewport.ZOOM_RATIOS[Viewport.ZOOM_RATIOS.length - 1];
138 Viewport
[all...]
/external/chromium_org/chrome/browser/resources/pdf/
H A Dviewport.js31 function Viewport(window, class
47 this.fittingType_ = Viewport.FittingType.NONE;
57 Viewport.FittingType = {
69 Viewport.SCROLL_INCREMENT = 40;
76 Viewport.ZOOM_FACTORS = [0.25, 0.333, 0.5, 0.666, 0.75, 0.9, 1,
82 Viewport.ZOOM_FACTOR_RANGE = {
83 min: Viewport.ZOOM_FACTORS[0],
84 max: Viewport.ZOOM_FACTORS[Viewport.ZOOM_FACTORS.length - 1]
90 Viewport
[all...]
/external/chromium_org/ui/views/controls/
H A Dscroll_view.cc93 // Viewport contains the contents View of the ScrollView.
94 class ScrollView::Viewport : public View { class in class:views::ScrollView
96 Viewport() {} function in class:views::ScrollView::Viewport
97 virtual ~Viewport() {}
100 return "ScrollView::Viewport";
120 DISALLOW_COPY_AND_ASSIGN(Viewport);
125 contents_viewport_(new Viewport()),
127 header_viewport_(new Viewport()),
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DStyleRule.h51 Viewport = 15, enumerator in enum:blink::StyleRuleBase::Type
64 bool isViewportRule() const { return type() == Viewport; }
290 DEFINE_STYLE_RULE_TYPE_CASTS(Viewport);
/external/chromium_org/cc/test/
H A Dtest_gles2_interface.cc110 void TestGLES2Interface::Viewport(GLint x, function in class:cc::TestGLES2Interface
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Ddd.h533 void (*Viewport)(struct gl_context *ctx, GLint x, GLint y, GLsizei w, GLsizei h); member in struct:dd_function_table
H A Dmtypes.h1492 * Viewport attribute group (GL_VIEWPORT_BIT).
3149 #define _NEW_VIEWPORT (1 << 18) /**< gl_context::Viewport */
3469 struct gl_viewport_attrib Viewport; /**< Viewport attributes */ member in struct:gl_context
/external/mesa3d/src/mesa/main/
H A Ddd.h533 void (*Viewport)(struct gl_context *ctx, GLint x, GLint y, GLsizei w, GLsizei h); member in struct:dd_function_table
H A Dmtypes.h1492 * Viewport attribute group (GL_VIEWPORT_BIT).
3149 #define _NEW_VIEWPORT (1 << 18) /**< gl_context::Viewport */
3469 struct gl_viewport_attrib Viewport; /**< Viewport attributes */ member in struct:gl_context
/external/chromium_org/gpu/command_buffer/client/
H A Dgles2_implementation_impl_autogen.h1673 void GLES2Implementation::Viewport(GLint x, function in class:GLES2Implementation
1688 helper_->Viewport(x, y, width, height);
H A Dgles2_interface_stub_impl_autogen.h564 void GLES2InterfaceStub::Viewport(GLint /* x */, function in class:GLES2InterfaceStub
H A Dgles2_cmd_helper_autogen.h1360 void Viewport(GLint x, GLint y, GLsizei width, GLsizei height) { function
1361 gles2::cmds::Viewport* c = GetCmdSpace<gles2::cmds::Viewport>();
H A Dgles2_trace_implementation_impl_autogen.h982 void GLES2TraceImplementation::Viewport(GLint x, function in class:GLES2TraceImplementation
986 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Viewport");
987 gl_->Viewport(x, y, width, height);
/external/chromium_org/mojo/examples/pepper_container_app/
H A Dppb_opengles2_thunk.cc1364 void Viewport(PP_Resource context_id, function in namespace:mojo::examples::__anon8751
1449 &VertexAttribPointer, &Viewport};
/external/chromium_org/ppapi/c/
H A Dppb_opengles2.h543 void (*Viewport)(PP_Resource context, member in struct:PPB_OpenGLES2_1_0
1002 void (*Viewport)(PP_Resource context, member in struct:PPB_OpenGLES2
/external/chromium_org/ppapi/shared_impl/
H A Dppb_opengles2_shared.cc1378 void Viewport(PP_Resource context_id, function in namespace:ppapi::__anon10171
1385 ToGles2Impl(&enter)->Viewport(x, y, width, height);
1681 &VertexAttribPointer, &Viewport};
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/wgl/
H A Dstw_icd.h355 void (GLAPIENTRY * Viewport)(GLint, GLint, GLsizei, GLsizei); member in struct:__GLdispatchTableRec
/external/mesa3d/src/gallium/state_trackers/wgl/
H A Dstw_icd.h355 void (GLAPIENTRY * Viewport)(GLint, GLint, GLsizei, GLsizei); member in struct:__GLdispatchTableRec
/external/chromium_org/gpu/command_buffer/common/
H A Dgles2_cmd_format_autogen.h6532 struct Viewport { struct
6533 typedef Viewport ValueType;
6564 COMPILE_ASSERT(sizeof(Viewport) == 20, Sizeof_Viewport_is_not_20);
6565 COMPILE_ASSERT(offsetof(Viewport, header) == 0, OffsetOf_Viewport_header_not_0);
6566 COMPILE_ASSERT(offsetof(Viewport, x) == 4, OffsetOf_Viewport_x_not_4);
6567 COMPILE_ASSERT(offsetof(Viewport, y) == 8, OffsetOf_Viewport_y_not_8);
6568 COMPILE_ASSERT(offsetof(Viewport, width) == 12, OffsetOf_Viewport_width_not_12);
6569 COMPILE_ASSERT(offsetof(Viewport, height) == 16,
/external/chromium_org/third_party/mesa/src/chromium_gensrc/mesa/glapi/
H A Dglapitemp.h1904 KEYWORD1 void KEYWORD2 NAME(Viewport)(GLint x, GLint y, GLsizei width, GLsizei height) function
1907 DISPATCH(Viewport, (x, y, width, height), (F, "glViewport(%d, %d, %d, %d);\n", x, y, width, height));
8493 TABLE_ENTRY(Viewport),
/external/chromium_org/third_party/mesa/src/chromium_gensrc/mesa/
H A Dglapi_mapi_tmp.h328 GLAPI void APIENTRY GLAPI_PREFIX(Viewport)(GLint x, GLint y, GLsizei width, GLsizei height);
3542 GLAPI void APIENTRY GLAPI_PREFIX(Viewport)(GLint x, GLint y, GLsizei width, GLsizei height) function
11312 STUB_ASM_ENTRY(GLAPI_PREFIX_STR(Viewport))"\n"

Completed in 768 milliseconds