/external/chromium_org/third_party/WebKit/Source/core/platform/ |
DragImage.cpp | 81 ImageOrientation orientation = DefaultImageOrientation; local 86 orientation = bitmapImage->currentFrameOrientation(); 88 if (orientation != DefaultImageOrientation) { 90 if (orientation.usesWidthAsHeight()) 100 canvas.concat(orientation.transformFromDefault(sizeRespectingOrientation));
|
Scrollbar.cpp | 53 PassRefPtr<Scrollbar> Scrollbar::createNativeScrollbar(ScrollableArea* scrollableArea, ScrollbarOrientation orientation, ScrollbarControlSize size) 55 return adoptRef(new Scrollbar(scrollableArea, orientation, size)); 58 Scrollbar::Scrollbar(ScrollableArea* scrollableArea, ScrollbarOrientation orientation, ScrollbarControlSize controlSize, 61 , m_orientation(orientation) 339 m_pressedPos = (orientation() == HorizontalScrollbar ? convertFromContainingWindow(evt.position()).x() : convertFromContainingWindow(evt.position()).y()); 386 m_pressedPos = (orientation() == HorizontalScrollbar ? convertFromContainingWindow(evt.position()).x() : convertFromContainingWindow(evt.position()).y()); 449 int pressedPos = (orientation() == HorizontalScrollbar ? convertFromContainingWindow(evt.position()).x() : convertFromContainingWindow(evt.position()).y()); 480 if (orientation() == HorizontalScrollbar) {
|
Scrollbar.h | 50 static PassRefPtr<Scrollbar> createNativeScrollbar(ScrollableArea*, ScrollbarOrientation orientation, ScrollbarControlSize size); 79 virtual ScrollbarOrientation orientation() const { return m_orientation; } function in class:WebCore::Scrollbar
|
/external/chromium_org/third_party/WebKit/Source/core/platform/chromium/ |
ScrollbarThemeChromiumDefault.cpp | 73 WebKit::Platform::current()->themeEngine()->paint(canvas, scrollbar->orientation() == HorizontalScrollbar ? WebKit::WebThemeEngine::PartScrollbarHorizontalTrack : WebKit::WebThemeEngine::PartScrollbarVerticalTrack, state, WebKit::WebRect(rect), &extraParams); 83 if (scrollbar->orientation() == HorizontalScrollbar) { 122 WebKit::Platform::current()->themeEngine()->paint(canvas, scrollbar->orientation() == HorizontalScrollbar ? WebKit::WebThemeEngine::PartScrollbarHorizontalThumb : WebKit::WebThemeEngine::PartScrollbarVerticalThumb, state, WebKit::WebRect(rect), 0); 132 if (scrollbar->orientation() == VerticalScrollbar) { 144 if (scrollbar->orientation() == VerticalScrollbar) {
|
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/ |
FontDescription.h | 131 FontOrientation orientation() const { return static_cast<FontOrientation>(m_orientation); } function in class:WebCore::FontDescription 160 void setOrientation(FontOrientation orientation) { m_orientation = orientation; } 161 void setNonCJKGlyphOrientation(NonCJKGlyphOrientation orientation) { m_nonCJKGlyphOrientation = orientation; } 175 unsigned m_nonCJKGlyphOrientation : 1; // NonCJKGlyphOrientation - Only used by vertical text. Determines the default orientation for non-ideograph glyphs.
|
FontPlatformData.h | 120 FontOrientation orientation() const { return m_orientation; } function in class:WebCore::FontPlatformData 123 void setOrientation(FontOrientation orientation) { m_orientation = orientation; }
|
ImageSource.cpp | 93 if ((shouldRespectOrientation == RespectImageOrientation) && m_decoder->orientation().usesWidthAsHeight()) 155 return m_decoder ? m_decoder->orientation() : DefaultImageOrientation;
|
/hardware/akm/AK8975_FS/libsensors/ |
AkmSensor.cpp | 55 mPendingEvents[Orientation ].version = sizeof(sensors_event_t); 56 mPendingEvents[Orientation ].sensor = ID_O; 57 mPendingEvents[Orientation ].type = SENSOR_TYPE_ORIENTATION; 58 mPendingEvents[Orientation ].orientation.status = SENSOR_STATUS_ACCURACY_HIGH; 89 case Orientation: 153 case Orientation: 266 return Orientation; 307 mPendingMask |= 1<<Orientation; 308 mPendingEvents[Orientation].orientation.azimuth = value * CONVERT_O [all...] |
/packages/apps/Camera/src/com/android/camera/ui/ |
FaceView.java | 46 // The orientation compensation for the face indicator to make it look 117 public void setDisplayOrientation(int orientation) { 118 mDisplayOrientation = orientation; 119 if (LOGV) Log.v(TAG, "mDisplayOrientation=" + orientation); 123 public void setOrientation(int orientation, boolean animation) { 124 mOrientation = orientation;
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
FaceView.java | 44 // The orientation compensation for the face indicator to make it look 123 public void setDisplayOrientation(int orientation) { 124 mDisplayOrientation = orientation; 125 if (LOGV) Log.v(TAG, "mDisplayOrientation=" + orientation); 129 public void setOrientation(int orientation, boolean animation) { 130 mOrientation = orientation;
|
/frameworks/base/core/java/android/content/res/ |
Configuration.java | 31 * as device configurations (such as input modes, screen size and screen orientation). 394 /** Constant for {@link #orientation}: a value indicating that no value has been set. */ 396 /** Constant for {@link #orientation}, value corresponding to the 400 /** Constant for {@link #orientation}, value corresponding to the 408 * Overall orientation of the screen. May be one of 411 public int orientation; field in class:Configuration 563 /** @hide Native-specific bit mask for ORIENTATION config; DO NOT USE UNLESS YOU ARE SURE. */ 610 orientation = o.orientation; 690 switch (orientation) { [all...] |
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/ |
data_builder.c | 168 /** Sets orientation and sensitivity field for a sensor. 170 * @param[in] orientation Orientation description of how part is mounted. 175 int orientation, long sensitivity) 178 sensor->orientation = orientation; 181 /** Sets the Orientation and Sensitivity of the gyro data. 182 * @param[in] orientation A scalar defining the transformation from chip mounting 190 void inv_set_gyro_orientation_and_scale(int orientation, long sensitivity) 196 fwrite(&orientation, sizeof(orientation), 1, inv_data_builder.file) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/page/scrolling/ |
ScrollingCoordinator.cpp | 194 void ScrollingCoordinator::removeWebScrollbarLayer(ScrollableArea* scrollableArea, ScrollbarOrientation orientation) 196 ScrollbarMap& scrollbars = orientation == HorizontalScrollbar ? m_horizontalScrollbars : m_verticalScrollbars; 234 WebScrollbarLayer* ScrollingCoordinator::addWebScrollbarLayer(ScrollableArea* scrollableArea, ScrollbarOrientation orientation, PassOwnPtr<WebKit::WebScrollbarLayer> scrollbarLayer) 236 ScrollbarMap& scrollbars = orientation == HorizontalScrollbar ? m_horizontalScrollbars : m_verticalScrollbars; 240 WebScrollbarLayer* ScrollingCoordinator::getWebScrollbarLayer(ScrollableArea* scrollableArea, ScrollbarOrientation orientation) 242 ScrollbarMap& scrollbars = orientation == HorizontalScrollbar ? m_horizontalScrollbars : m_verticalScrollbars; 246 void ScrollingCoordinator::scrollableAreaScrollbarLayerDidChange(ScrollableArea* scrollableArea, ScrollbarOrientation orientation) 266 GraphicsLayer* scrollbarGraphicsLayer = orientation == HorizontalScrollbar ? horizontalScrollbarLayerForScrollableArea(scrollableArea) : verticalScrollbarLayerForScrollableArea(scrollableArea); 268 Scrollbar* scrollbar = orientation == HorizontalScrollbar ? scrollableArea->horizontalScrollbar() : scrollableArea->verticalScrollbar(); 274 WebScrollbarLayer* scrollbarLayer = getWebScrollbarLayer(scrollableArea, orientation); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderScrollbarTheme.cpp | 46 if (scrollbar->orientation() == HorizontalScrollbar) { 60 return (startSize + endSize) <= (scrollbar->orientation() == HorizontalScrollbar ? scrollbar->width() : scrollbar->height()); 100 if (scrollbar->orientation() == HorizontalScrollbar) {
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
Util.java | 76 // Orientation hysteresis amount used in rounding, in degrees 345 result = (info.orientation + degrees) % 360; 348 result = (info.orientation - degrees + 360) % 360; 356 return info.orientation; 359 public static int roundOrientation(int orientation, int orientationHistory) { 364 int dist = Math.abs(orientation - orientationHistory); 369 return ((orientation + 45) / 90 * 90) % 360; 384 // layout the viewfinder in the portrait orientation and thus get the 618 public static void setRotationParameter(Parameters parameters, int cameraId, int orientation) { 622 if (orientation != OrientationEventListener.ORIENTATION_UNKNOWN) [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
AbstractIndicatorButton.java | 108 public void setOrientation(int orientation) { 109 super.setOrientation(orientation); 111 mPopup.setOrientation(orientation);
|
IndicatorControlBarContainer.java | 78 public void setOrientation(int orientation) { 79 mIndicatorControlBar.setOrientation(orientation); 80 mSecondLevelIndicatorControlBar.setOrientation(orientation);
|
ZoomControl.java | 210 public void setOrientation(int orientation) { 211 mOrientation = orientation; 216 ((RotateImageView) view).setOrientation(orientation);
|
/cts/tests/tests/dpi/src/android/dpi/cts/ |
ConfigurationScreenLayoutTest.java | 57 + " for orientation " + ORIENTATIONS[i], expectedSize, actualSize); 59 + " for orientation " + ORIENTATIONS[i], expectedLong, actualLong); 71 // 2. For each orientation start an activity and compute what it's screenLayout value is 84 private Activity startOrientationActivity(int orientation) { 86 intent.putExtra(OrientationActivity.EXTRA_ORIENTATION, orientation);
|
/external/chromium_org/content/browser/renderer_host/pepper/ |
pepper_printing_host_unittest.cc | 121 EXPECT_EQ(expected_settings.orientation, actual_settings.orientation);
|
/external/chromium_org/third_party/WebKit/Source/core/loader/cache/ |
FontResource.cpp | 92 FontPlatformData FontResource::platformDataFromCustomData(float size, bool bold, bool italic, FontOrientation orientation, FontWidthVariant widthVariant) 99 return m_fontData->fontPlatformData(static_cast<int>(size), bold, italic, orientation, widthVariant);
|
/external/chromium_org/third_party/WebKit/Source/core/platform/chromium/support/ |
WebScrollbarThemeClientImpl.cpp | 151 WebCore::ScrollbarOrientation WebScrollbarThemeClientImpl::orientation() const function in class:WebCore::WebScrollbarThemeClientImpl 153 return static_cast<WebCore::ScrollbarOrientation>(m_scrollbar->orientation());
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowCamera.java | 106 cameraInfo.orientation = foundCam.orientation;
|
/frameworks/native/libs/gui/ |
LayerState.cpp | 81 output.writeInt32(orientation); 92 orientation = input.readInt32();
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
Exif.java | 153 // Get the tag and check if it is orientation. 157 final int orientation = pack(jpeg, offset + 8, 2, littleEndian); local 158 switch (orientation) { 168 Log.i(TAG, "Unsupported orientation");
|