/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/ |
ImageOrientation.h | 34 // This enum intentionally matches the orientation values from the EXIF spec. 57 ImageOrientation(ImageOrientationEnum orientation = DefaultImageOrientation) 58 : m_orientation(orientation) 78 // This transform can be used for drawing an image according to the orientation.
|
SVGGlyph.h | 38 enum Orientation { 55 , orientation(Both) 77 && orientation == other.orientation 91 unsigned orientation : 2; // Orientation member in struct:WebCore::SVGGlyph
|
/external/chromium_org/third_party/WebKit/Source/core/platform/mock/ |
DeviceOrientationClientMock.cpp | 58 void DeviceOrientationClientMock::setOrientation(PassRefPtr<DeviceOrientationData> orientation) 60 m_orientation = orientation;
|
/external/chromium_org/third_party/WebKit/Source/web/ |
WebDeviceOrientationClientMock.cpp | 61 void WebDeviceOrientationClientMock::setOrientation(WebDeviceOrientation& orientation) 63 m_clientMock->setOrientation(orientation);
|
/external/chromium_org/ui/views/controls/ |
separator.cc | 21 Separator::Separator(Orientation orientation) : orientation_(orientation) {
|
/packages/apps/Camera2/src/com/android/camera/app/ |
OrientationManager.java | 34 // Orientation hysteresis amount used in rounding, in degrees 39 // If the framework orientation is locked. 43 // don't allow the orientation to be unlocked if the value is true. 63 // Orientation handling 65 // We can choose to lock the framework orientation or not. If we lock the 66 // framework orientation, we calculate a a compensation value according to 67 // current device orientation and send it to listeners. If we don't lock 68 // the framework orientation, we always set the compensation value to 0. 72 * Lock the framework orientation to the current device orientation [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
OrientationManager.java | 34 // Orientation hysteresis amount used in rounding, in degrees 39 // If the framework orientation is locked. 43 // don't allow the orientation to be unlocked if the value is true. 63 // Orientation handling 65 // We can choose to lock the framework orientation or not. If we lock the 66 // framework orientation, we calculate a a compensation value according to 67 // current device orientation and send it to listeners. If we don't lock 68 // the framework orientation, we always set the compensation value to 0. 71 // Lock the framework orientation to the current device orientation [all...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
DeviceOrientationController.cpp | 49 void DeviceOrientationController::didChangeDeviceOrientation(DeviceOrientationData* orientation) 51 orientation = InspectorInstrumentation::overrideDeviceOrientation(m_page, orientation); 52 dispatchDeviceEvent(DeviceOrientationEvent::create(eventNames().deviceorientationEvent, orientation));
|
/frameworks/native/include/ui/ |
DisplayInfo.h | 34 uint8_t orientation; member in struct:android::DisplayInfo
|
/packages/apps/Dialer/src/com/android/dialer/util/ |
OrientationUtil.java | 23 * Static methods related to device orientation. 28 * @return if the context is in landscape orientation. 31 return context.getResources().getConfiguration().orientation
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
LauncherAppWidgetHostView.java | 52 // Store the orientation in which the widget was inflated 53 mPreviousOrientation = mContext.getResources().getConfiguration().orientation; 58 int orientation = mContext.getResources().getConfiguration().orientation; local 59 if (mPreviousOrientation != orientation) {
|
/external/chromium_org/third_party/WebKit/Source/core/platform/ |
ScrollAnimator.cpp | 55 bool ScrollAnimator::scroll(ScrollbarOrientation orientation, ScrollGranularity, float step, float multiplier) 57 float* currentPos = (orientation == HorizontalScrollbar) ? &m_currentPosX : &m_currentPosY; 58 float newPos = clampScrollPosition(orientation, *currentPos + step * multiplier); 64 notifyPositionChanged(orientation == HorizontalScrollbar ? FloatSize(delta, 0) : FloatSize(0, delta)); 145 float ScrollAnimator::clampScrollPosition(ScrollbarOrientation orientation, float pos) 147 float maxScrollPos = m_scrollableArea->maximumScrollPosition(orientation); 148 float minScrollPos = m_scrollableArea->minimumScrollPosition(orientation);
|
ScrollableArea.h | 184 int scrollPosition(ScrollbarOrientation orientation) { return orientation == HorizontalScrollbar ? scrollPosition().x() : scrollPosition().y(); } 185 int minimumScrollPosition(ScrollbarOrientation orientation) { return orientation == HorizontalScrollbar ? minimumScrollPosition().x() : minimumScrollPosition().y(); } 186 int maximumScrollPosition(ScrollbarOrientation orientation) { return orientation == HorizontalScrollbar ? maximumScrollPosition().x() : maximumScrollPosition().y(); } 187 int clampScrollPosition(ScrollbarOrientation orientation, int pos) { return std::max(std::min(pos, maximumScrollPosition(orientation)), minimumScrollPosition(orientation)); }
|
ScrollableArea.cpp | 105 ScrollbarOrientation orientation; local 108 orientation = VerticalScrollbar; 110 orientation = HorizontalScrollbar; 112 if (!userInputScrollable(orientation)) 118 step = lineStep(orientation); 121 step = pageStep(orientation); 124 step = documentStep(orientation); 128 step = pixelStep(orientation); 135 return scrollAnimator()->scroll(orientation, granularity, step, multiplier); 143 void ScrollableArea::scrollToOffsetWithoutAnimation(ScrollbarOrientation orientation, float offset [all...] |
/frameworks/support/v4/java/android/support/v4/print/ |
PrintHelper.java | 51 * Print the image in landscape orientation (default). 56 * Print the image in portrait orientation. 88 public void setOrientation(int orientation); 121 public void setOrientation(int orientation) { mOrientation = orientation; } 171 public void setOrientation(int orientation) { 172 mPrintHelper.setOrientation(orientation); 254 * @param orientation The page orientation which is one of 257 public void setOrientation(int orientation) { [all...] |
/packages/apps/Camera/src/com/android/camera/ |
MediaSaver.java | 66 int width, int height, int orientation, OnMediaSavedListener l) { 74 r.orientation = orientation; 114 r.orientation); 133 Location loc, int width, int height, int orientation) { 135 orientation, data, width, height); 146 int orientation; field in class:MediaSaver.SaveRequest
|
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/ |
display_overscan_handler.cc | 26 // The value for the orientation of overscan operations. 140 std::string orientation; local 142 if (!args->GetString(0, &orientation)) { 143 LOG(ERROR) << "The first argument must be orientation"; 155 if (orientation == kOrientationHorizontal) { 158 } else if (orientation == kOrientationVertical) { 162 LOG(ERROR) << "The orientation must be '" << kOrientationHorizontal 164 << orientation; local 171 std::string orientation; local 173 if (!args->GetString(0, &orientation)) { 195 << orientation; local [all...] |
/packages/apps/Camera2/src/com/android/camera/ui/ |
RotateLayout.java | 37 // happened when the view is rotated as the device's orientation 114 public void setOrientation(int orientation, boolean animation) { 115 orientation = orientation % 360; 116 if (mOrientation == orientation) return; 117 mOrientation = orientation;
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
RotateLayout.java | 34 // happened when the view is rotated as the device's orientation 105 public void setOrientation(int orientation) { 106 orientation = orientation % 360; 107 if (mOrientation == orientation) return; 108 mOrientation = orientation;
|
/external/eigen/demos/opengl/ |
camera.h | 24 : orientation(o), position(pos) 29 orientation.slerp(alpha,other.orientation)); 32 Eigen::Quaternionf orientation; member in class:Frame 64 inline const Eigen::Quaternionf& orientation(void) const { return mFrame.orientation; } function in class:Camera
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
GyroscopeMeasurementTestActivity.java | 30 + "sure the device aligns with the orientation specified for each scenario. Then " 78 * The reference values are coupled to the orientation of the device. The test is susceptible to 93 final String orientation = usePortraitOrientation ? "Portrait": "Landscape"; local 94 appendText(String.format("\n[Device orientation]: %s", orientation));
|
/external/chromium_org/content/browser/device_orientation/ |
data_fetcher_impl_win.cc | 14 #include "content/browser/device_orientation/orientation.h" 64 scoped_refptr<Orientation> orientation = new Orientation(); variable 68 orientation->set_beta(value.fltVal); 74 orientation->set_gamma(value.fltVal); 80 orientation->set_alpha(value.fltVal); 84 orientation->set_absolute(true); 85 fetcher_->OnOrientationData(orientation.get()); 123 void DataFetcherImplWin::OnOrientationData(Orientation* orientation) [all...] |
/external/chromium_org/ppapi/api/dev/ |
pp_print_settings_dev.idl | 40 PP_PrintOrientation_Dev orientation;
|
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/ |
V8DeviceOrientationEventCustom.cpp | 52 RefPtr<DeviceOrientationData> orientation = DeviceOrientationData::create(alphaProvided, alpha, betaProvided, beta, gammaProvided, gamma, absoluteProvided, absolute); local 53 imp->initDeviceOrientationEvent(type, bubbles, cancelable, orientation.get());
|
/external/chromium_org/third_party/WebKit/Source/web/linux/ |
WebFontRendering.cpp | 90 void WebFontRendering::setLCDOrientation(SkFontHost::LCDOrientation orientation) 92 SkFontHost::SetSubpixelOrientation(orientation);
|