Searched defs:orientation (Results 1 - 25 of 144) sorted by relevance

123456

/external/chromium_org/content/browser/screen_orientation/
H A Dscreen_orientation_provider_android.cc24 blink::WebScreenOrientationLockType orientation) {
32 j_screen_orientation_provider_.obj(), orientation); local
37 // orientation was not locked, unlocking should be a no-op.
23 LockOrientation( blink::WebScreenOrientationLockType orientation) argument
H A Dscreen_orientation_dispatcher_host.cc40 blink::WebScreenOrientationType orientation) {
41 Send(new ScreenOrientationMsg_OrientationChange(orientation));
51 blink::WebScreenOrientationLockType orientation,
67 provider_->LockOrientation(orientation);
39 OnOrientationChange( blink::WebScreenOrientationType orientation) argument
49 OnLockRequest( RenderFrameHost* render_frame_host, blink::WebScreenOrientationLockType orientation, int request_id) argument
/external/chromium_org/third_party/WebKit/Source/modules/device_orientation/
H A DDeviceOrientationEvent.h43 static PassRefPtrWillBeRawPtr<DeviceOrientationEvent> create(const AtomicString& eventType, DeviceOrientationData* orientation) argument
45 return adoptRefWillBeNoop(new DeviceOrientationEvent(eventType, orientation));
50 DeviceOrientationData* orientation() const { return m_orientation.get(); } function in class:WebCore::FINAL
/external/chromium_org/ui/views/layout/
H A Dbox_layout_unittest.cc179 BoxLayout::Orientation orientation = i == 0 ? BoxLayout::kHorizontal : local
182 host_->SetLayoutManager(new BoxLayout(orientation, 0, 0, 5));
/external/chromium_org/cc/layers/
H A Dpainted_scrollbar_layer_impl_unittest.cc33 ScrollbarOrientation orientation = VERTICAL; local
36 impl.AddChildToRoot<PaintedScrollbarLayerImpl>(orientation);
H A Dsolid_color_scrollbar_layer_impl_unittest.cc19 ScrollbarOrientation orientation = VERTICAL; local
27 orientation,
/external/chromium_org/cc/quads/
H A Dio_surface_draw_quad.h31 Orientation orientation);
40 Orientation orientation);
44 Orientation orientation; member in class:cc::IOSurfaceDrawQuad
H A Dio_surface_draw_quad.cc15 orientation(FLIPPED) {
28 Orientation orientation) {
34 this->orientation = orientation;
44 Orientation orientation) {
49 this->orientation = orientation;
67 switch (orientation) {
76 value->SetString("orientation", orientation_string);
22 SetNew(const SharedQuadState* shared_quad_state, const gfx::Rect& rect, const gfx::Rect& opaque_rect, const gfx::Rect& visible_rect, const gfx::Size& io_surface_size, unsigned io_surface_resource_id, Orientation orientation) argument
37 SetAll(const SharedQuadState* shared_quad_state, const gfx::Rect& rect, const gfx::Rect& opaque_rect, const gfx::Rect& visible_rect, bool needs_blending, const gfx::Size& io_surface_size, unsigned io_surface_resource_id, Orientation orientation) argument
/external/chromium_org/chrome/browser/ui/libgtk2ui/
H A Dprinting_gtk2_util.cc84 // orientation, all that does is change the paper size. Which seems to be
86 // The orientation value stays as portrait and does not actually affect
89 // orientation and change the paper size ourselves.
90 GtkPageOrientation orientation = gtk_print_settings_get_orientation(settings); local
92 print_settings->SetOrientation(orientation == GTK_PAGE_ORIENTATION_LANDSCAPE);
/external/chromium_org/chrome/common/cloud_print/
H A Dcloud_print_cdd_conversion.cc116 OrientationCapability orientation; local
117 orientation.AddDefaultOption(PORTRAIT, true);
118 orientation.AddOption(LANDSCAPE);
119 orientation.AddOption(AUTO_ORIENTATION);
120 orientation.SaveTo(&description);
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
H A DScreenOrientationIntegrationTest.java29 * Returns the screen orientation as seen by |window.orientation|.
36 "window.orientation"));
52 * Simulate a screen orientation change for the web content.
54 private void updateScreenOrientationForContent(int orientation) { argument
55 mContentViewCore.sendOrientationChangeEvent(orientation);
89 // The first value should depend on the current orientation.
109 // The target angle for that test should depend on the current orientation.
H A DScreenOrientationListenerTest.java35 * Returns the expected orientation angle based on the orientation type.
37 private static int orientationTypeToAngle(int orientation) { argument
38 switch (orientation) {
54 * Locks the screen orientation to the predefined orientation type.
56 private void lockOrientation(int orientation) { argument
57 getActivity().setRequestedOrientation(orientation);
61 * Locks the screen orientation to the predefined orientation typ
64 lockOrientationAndWait(int orientation) argument
[all...]
/external/chromium_org/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/
H A DMockOrientationObserver.java18 public void onScreenOrientationChanged(int orientation) { argument
19 mOrientation = orientation;
/external/chromium_org/content/renderer/screen_orientation/
H A Dmock_screen_orientation_controller.cc38 blink::WebScreenOrientationType orientation) {
46 if (device_orientation_ == orientation)
48 device_orientation_ = orientation;
49 if (!IsOrientationAllowedByCurrentLock(orientation))
51 UpdateScreenOrientation(orientation);
59 blink::WebScreenOrientationType orientation) {
60 if (current_orientation_ == orientation)
62 current_orientation_ = orientation;
64 render_view_impl()->SetScreenOrientationForTesting(orientation);
68 blink::WebScreenOrientationType orientation) {
36 UpdateDeviceOrientation( RenderView* render_view, blink::WebScreenOrientationType orientation) argument
58 UpdateScreenOrientation( blink::WebScreenOrientationType orientation) argument
67 IsOrientationAllowedByCurrentLock( blink::WebScreenOrientationType orientation) argument
[all...]
H A Dscreen_orientation_dispatcher.cc37 blink::WebScreenOrientationType orientation) {
42 callback->onSuccess(angle, orientation);
67 blink::WebScreenOrientationLockType orientation,
73 routing_id(), orientation, request_id));
34 OnLockSuccess( int request_id, unsigned angle, blink::WebScreenOrientationType orientation) argument
66 lockOrientation( blink::WebScreenOrientationLockType orientation, blink::WebLockOrientationCallback* callback) argument
/external/chromium_org/printing/
H A Dprint_settings_initializer_mac.cc21 PMOrientation orientation = kPMPortrait; local
22 PMGetOrientation(page_format, &orientation);
23 print_settings->SetOrientation(orientation == kPMLandscape);
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
H A DV8DeviceOrientationEventCustom.cpp51 RefPtrWillBeRawPtr<DeviceOrientationData> orientation = DeviceOrientationData::create(alphaProvided, alpha, betaProvided, beta, gammaProvided, gamma, absoluteProvided, absolute); local
52 impl->initDeviceOrientationEvent(type, bubbles, cancelable, orientation.get());
/external/chromium_org/third_party/WebKit/Source/core/accessibility/
H A DAXScrollbar.cpp69 AccessibilityOrientation AXScrollbar::orientation() const function in class:WebCore::AXScrollbar
74 if (m_scrollbar->orientation() == HorizontalScrollbar)
76 if (m_scrollbar->orientation() == VerticalScrollbar)
106 m_scrollbar->scrollableArea()->scrollToOffsetWithoutAnimation(m_scrollbar->orientation(), newValue);
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
H A DFontPlatformData.cpp65 FontPlatformData::FontPlatformData(float size, bool syntheticBold, bool syntheticOblique, FontOrientation orientation, FontWidthVariant widthVariant) argument
68 , m_orientation(orientation)
80 FontPlatformData::FontPlatformData(CGFontRef cgFont, float size, bool syntheticBold, bool syntheticOblique, FontOrientation orientation, FontWidthVariant widthVariant) argument
83 , m_orientation(orientation)
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/jpeg/
H A DJPEGImageDecoder.h62 void setOrientation(ImageOrientation orientation) { m_orientation = orientation; } argument
/external/chromium_org/ui/views/controls/
H A Dseparator.cc21 Separator::Separator(Orientation orientation) : orientation_(orientation) { argument
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/
H A DSelfOrientingSashForm.java21 * automatically reset its orientation based on the relationship between the width and height of the
95 public void setOrientation(int orientation) { argument
100 super.setOrientation(orientation);
/external/glide/library/src/main/java/com/bumptech/glide/load/model/stream/
H A DMediaStoreStreamLoader.java16 private final int orientation; field in class:MediaStoreStreamLoader
19 long dateModified, int orientation) {
24 this.orientation = orientation;
30 height, mimeType, dateModified, orientation);
18 MediaStoreStreamLoader(Context context, ModelLoader<Uri, InputStream> uriLoader, String mimeType, long dateModified, int orientation) argument
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowConfiguration.java19 public int orientation; field in class:ShadowConfiguration
/external/chromium_org/content/renderer/compositor_bindings/
H A Dweb_scrollbar_layer_impl.cc20 blink::WebScrollbar::Orientation orientation) {
21 return orientation == blink::WebScrollbar::Horizontal ? cc::HORIZONTAL
42 blink::WebScrollbar::Orientation orientation,
47 SolidColorScrollbarLayer::Create(ConvertOrientation(orientation),
19 ConvertOrientation( blink::WebScrollbar::Orientation orientation) argument
41 WebScrollbarLayerImpl( blink::WebScrollbar::Orientation orientation, int thumb_thickness, int track_start, bool is_left_side_vertical_scrollbar) argument

Completed in 2340 milliseconds

123456