/packages/apps/Camera/src/com/android/camera/ui/ |
Rotatable.java | 21 public void setOrientation(int orientation, boolean animation);
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
Rotatable.java | 21 public void setOrientation(int orientation, boolean animation);
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
Rotatable.java | 20 public void setOrientation(int orientation);
|
/external/chromium_org/third_party/WebKit/Source/web/ |
WebDeviceOrientation.cpp | 34 WebDeviceOrientation::WebDeviceOrientation(const WebCore::DeviceOrientationData* orientation) 36 if (!orientation) { 50 m_canProvideAlpha = orientation->canProvideAlpha(); 51 m_alpha = orientation->alpha(); 52 m_canProvideBeta = orientation->canProvideBeta(); 53 m_beta = orientation->beta(); 54 m_canProvideGamma = orientation->canProvideGamma(); 55 m_gamma = orientation->gamma(); 56 m_canProvideAbsolute = orientation->canProvideAbsolute(); 57 m_absolute = orientation->absolute() [all...] |
WebDeviceOrientationController.cpp | 36 void WebDeviceOrientationController::didChangeDeviceOrientation(const WebDeviceOrientation& orientation) 38 RefPtr<WebCore::DeviceOrientationData> deviceOrientation = PassRefPtr<WebCore::DeviceOrientationData>(orientation);
|
/external/chromium_org/content/browser/device_orientation/ |
accelerometer_mac.cc | 10 #include "content/browser/device_orientation/orientation.h" 33 // Retrieve per-axis orientation values. 36 // See here: http://dev.w3.org/geo/api/spec-source-orientation.html 42 const Orientation* AccelerometerMac::GetOrientation() { 72 scoped_refptr<Orientation> orientation(new Orientation()); 74 orientation->set_beta(kRad2deg * atan2(-axis_value[1], axis_value[2])); 75 orientation->set_gamma(kRad2deg * asin(axis_value[0])); 82 if (orientation->beta() == 180.0) [all...] |
/frameworks/base/services/java/com/android/server/display/ |
DisplayViewport.java | 37 public int orientation; field in class:DisplayViewport 56 orientation = viewport.orientation; 68 + ", orientation=" + orientation
|
/external/chromium_org/cc/quads/ |
io_surface_draw_quad.cc | 15 orientation(FLIPPED) { 27 Orientation orientation) { 34 this->orientation = orientation; 44 Orientation orientation) { 49 this->orientation = orientation; 67 switch (orientation) { [all...] |
io_surface_draw_quad.h | 17 enum Orientation { 29 Orientation orientation); 38 Orientation orientation); 42 Orientation orientation; member in class:cc::IOSurfaceDrawQuad
|
/external/chromium_org/third_party/WebKit/Source/core/platform/image-decoders/jpeg/ |
JPEGImageDecoder.h | 56 void setOrientation(ImageOrientation orientation) { m_orientation = orientation; }
|
/hardware/invensense/60xx/mlsdk/mllite/ |
mldl_cfg_mpu.c | 138 MPL_LOGD("accel->orientation = \n" 142 accel->orientation[0],accel->orientation[1],accel->orientation[2], 143 accel->orientation[3],accel->orientation[4],accel->orientation[5], 144 accel->orientation[6],accel->orientation[7],accel->orientation[8]) [all...] |
/external/chromium_org/third_party/WebKit/Source/modules/device_orientation/ |
DeviceOrientationEvent.h | 42 static PassRefPtr<DeviceOrientationEvent> create(const AtomicString& eventType, DeviceOrientationData* orientation) 44 return adoptRef(new DeviceOrientationEvent(eventType, orientation)); 49 DeviceOrientationData* orientation() const { return m_orientation.get(); } function in class:WebCore::DeviceOrientationEvent
|
DeviceOrientationEvent.cpp | 44 DeviceOrientationEvent::DeviceOrientationEvent(const AtomicString& eventType, DeviceOrientationData* orientation) 46 , m_orientation(orientation) 51 void DeviceOrientationEvent::initDeviceOrientationEvent(const AtomicString& type, bool bubbles, bool cancelable, DeviceOrientationData* orientation) 57 m_orientation = orientation;
|
/external/chromium_org/third_party/WebKit/Source/core/accessibility/ |
AccessibilityScrollbar.cpp | 63 AccessibilityOrientation AccessibilityScrollbar::orientation() const function in class:WebCore::AccessibilityScrollbar 68 if (m_scrollbar->orientation() == HorizontalScrollbar) 70 if (m_scrollbar->orientation() == VerticalScrollbar) 100 m_scrollbar->scrollableArea()->scrollToOffsetWithoutAnimation(m_scrollbar->orientation(), newValue);
|
/external/chromium_org/third_party/skia/include/core/ |
SkFontLCDConfig.h | 30 static void SetSubpixelOrientation(LCDOrientation orientation);
|
SkDeviceProperties.h | 18 /** The orientation of the pixel specifies the interpretation of the 19 * layout. If the orientation is horizontal, the layout is interpreted as 20 * left to right. It the orientation is vertical, the layout is 23 enum Orientation { 48 Orientation getOrientation() { 49 return static_cast<Orientation>(fGeometry & kOrientationMask); 64 static Orientation fromOldOrientation(SkFontLCDConfig::LCDOrientation orientation) { 65 switch (orientation) { 80 Orientation orientation = fromOldOrientation(SkFontLCDConfig::GetSubpixelOrientation()); //kHorizontal_Orienta (…) local [all...] |
/external/skia/include/core/ |
SkFontLCDConfig.h | 30 static void SetSubpixelOrientation(LCDOrientation orientation);
|
SkDeviceProperties.h | 18 /** The orientation of the pixel specifies the interpretation of the 19 * layout. If the orientation is horizontal, the layout is interpreted as 20 * left to right. It the orientation is vertical, the layout is 23 enum Orientation { 48 Orientation getOrientation() { 49 return static_cast<Orientation>(fGeometry & kOrientationMask); 64 static Orientation fromOldOrientation(SkFontLCDConfig::LCDOrientation orientation) { 65 switch (orientation) { 80 Orientation orientation = fromOldOrientation(SkFontLCDConfig::GetSubpixelOrientation()); //kHorizontal_Orienta (…) local [all...] |
/cts/tests/tests/dpi/src/android/dpi/cts/ |
OrientationActivity.java | 27 static final String EXTRA_ORIENTATION = "orientation"; 36 int orientation = getIntent().getIntExtra(EXTRA_ORIENTATION, -1); local 37 setRequestedOrientation(orientation);
|
/frameworks/base/core/java/android/view/ |
OrientationEventListener.java | 28 * the orientation of the device has changed. 43 * Returned from onOrientationChanged when the device orientation cannot be determined 66 * SENSOR_DELAY_NORMAL} for simple screen orientation change detection. 84 * {@link #onOrientationChanged} when the device orientation changes. 120 int orientation = ORIENTATION_UNKNOWN; local 129 orientation = 90 - (int)Math.round(angle); 131 while (orientation >= 360) { 132 orientation -= 360; 134 while (orientation < 0) { 135 orientation += 360 [all...] |
OrientationListener.java | 24 * the orientation of the device has changed. 33 * Returned from onOrientationChanged when the device orientation cannot be determined 56 * SENSOR_DELAY_NORMAL} for simple screen orientation change detection. 73 public void onOrientationChanged(int orientation) { 74 OrientationListener.this.onOrientationChanged(orientation); 80 * {@link #onOrientationChanged} when the device orientation changes. 104 * @param orientation The new orientation of the device. 108 abstract public void onOrientationChanged(int orientation);
|
/packages/apps/InCallUI/src/com/android/incallui/ |
AccelerometerListener.java | 30 * orientation of the phone. The client of this class is notified when 31 * the orientation changes between horizontal and vertical. 41 // mOrientation is the orientation value most recently reported to the client. 44 // mPendingOrientation is the latest orientation computed based on the sensor value. 51 // Device orientation 63 public void orientationChanged(int orientation); 87 private void setOrientation(int orientation) { 89 if (mPendingOrientation == orientation) { 90 // Pending orientation has not changed, so do nothing. 96 // if the orientation has not changed 128 final int orientation = (angle > VERTICAL_ANGLE ? ORIENTATION_VERTICAL : ORIENTATION_HORIZONTAL); local [all...] |
/packages/services/Telephony/src/com/android/phone/ |
AccelerometerListener.java | 30 * orientation of the phone. The client of this class is notified when 31 * the orientation changes between horizontal and vertical. 41 // mOrientation is the orientation value most recently reported to the client. 44 // mPendingOrientation is the latest orientation computed based on the sensor value. 51 // Device orientation 63 public void orientationChanged(int orientation); 87 private void setOrientation(int orientation) { 89 if (mPendingOrientation == orientation) { 90 // Pending orientation has not changed, so do nothing. 96 // if the orientation has not changed 128 int orientation = (angle > VERTICAL_ANGLE ? ORIENTATION_VERTICAL : ORIENTATION_HORIZONTAL); local [all...] |
/cts/tests/src/android/app/cts/ |
OrientationTestUtils.java | 26 * Change the activity's orientation to something different and then switch back. This is used 29 * @param activity whose orientation will be changed and restored 37 * is called after each orientation change. 39 * @param activity whose orientation will be changed and restored 44 final int originalOrientation = activity.getResources().getConfiguration().orientation; 53 Instrumentation instrumentation, final int orientation) { 54 activity.setRequestedOrientation(orientation);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
NavigationBar.java | 30 public NavigationBar(Context context, Density density, int orientation, boolean isRtl, 32 super(context, density, orientation, "/bars/navigation_bar.xml", "navigation_bar.xml"); 42 if (orientation == LinearLayout.VERTICAL || (isRtl && !rtlEnabled)) {
|