/external/webkit/Source/WebKit/chromium/src/ |
WebDeviceOrientation.cpp | 34 WebDeviceOrientation::WebDeviceOrientation(const PassRefPtr<WebCore::DeviceOrientation>& orientation) 36 if (!orientation) { 48 m_canProvideAlpha = orientation->canProvideAlpha(); 49 m_alpha = orientation->alpha(); 50 m_canProvideBeta = orientation->canProvideBeta(); 51 m_beta = orientation->beta(); 52 m_canProvideGamma = orientation->canProvideGamma(); 53 m_gamma = orientation->gamma(); 56 WebDeviceOrientation& WebDeviceOrientation::operator=(const PassRefPtr<WebCore::DeviceOrientation>& orientation) 58 if (!orientation) { [all...] |
WebDeviceOrientationController.cpp | 36 void WebDeviceOrientationController::didChangeDeviceOrientation(const WebDeviceOrientation& orientation) 38 PassRefPtr<WebCore::DeviceOrientation> deviceOrientation(orientation);
|
WebDeviceOrientationClientMock.cpp | 61 void WebDeviceOrientationClientMock::setOrientation(WebDeviceOrientation& orientation) 63 m_clientMock->setOrientation(orientation);
|
/packages/apps/Camera/src/com/android/camera/ui/ |
Rotatable.java | 20 public void setOrientation(int orientation);
|
/external/webkit/Source/WebCore/dom/ |
DeviceOrientationEvent.cpp | 42 DeviceOrientationEvent::DeviceOrientationEvent(const AtomicString& eventType, DeviceOrientation* orientation) 44 , m_orientation(orientation) 48 void DeviceOrientationEvent::initDeviceOrientationEvent(const AtomicString& type, bool bubbles, bool cancelable, DeviceOrientation* orientation) 54 m_orientation = orientation;
|
DeviceOrientationEvent.h | 42 static PassRefPtr<DeviceOrientationEvent> create(const AtomicString& eventType, DeviceOrientation* orientation) 44 return adoptRef(new DeviceOrientationEvent(eventType, orientation)); 51 DeviceOrientation* orientation() const { return m_orientation.get(); } function in class:WebCore::DeviceOrientationEvent
|
/external/skia/src/core/ |
SkFontHost.cpp | 30 void SkFontHost::SetSubpixelOrientation(LCDOrientation orientation) 32 gLCDOrientation = orientation;
|
/external/webkit/Source/WebCore/bindings/js/ |
JSDeviceOrientationEventCustom.cpp | 41 if (!imp->orientation()->canProvideAlpha()) 43 return jsNumber(imp->orientation()->alpha()); 49 if (!imp->orientation()->canProvideBeta()) 51 return jsNumber(imp->orientation()->beta()); 57 if (!imp->orientation()->canProvideGamma()) 59 return jsNumber(imp->orientation()->gamma()); 75 RefPtr<DeviceOrientation> orientation = DeviceOrientation::create(alphaProvided, alpha, betaProvided, beta, gammaProvided, gamma); local 77 imp->initDeviceOrientationEvent(type, bubbles, cancelable, orientation.get());
|
/hardware/invensense/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/webkit/Source/WebKit/qt/WebCoreSupport/ |
DeviceOrientationClientQt.cpp | 61 return m_provider->orientation(); 69 void DeviceOrientationClientQt::changeDeviceOrientation(DeviceOrientation* orientation) 74 m_controller->didChangeDeviceOrientation(orientation);
|
DeviceMotionProviderQt.cpp | 59 m_deviceOrientation->hasAlpha(), m_deviceOrientation->orientation()->alpha(), 60 /* beta available */ true, m_deviceOrientation->orientation()->beta(), 61 /* gamma available */ true, m_deviceOrientation->orientation()->gamma());
|
/external/webkit/Source/WebCore/accessibility/ |
AccessibilityScrollbar.cpp | 67 AccessibilityOrientation AccessibilityScrollbar::orientation() const function in class:WebCore::AccessibilityScrollbar 72 if (m_scrollbar->orientation() == HorizontalScrollbar) 74 if (m_scrollbar->orientation() == VerticalScrollbar) 104 m_scrollbar->scrollableArea()->scrollToOffsetWithoutAnimation(m_scrollbar->orientation(), newValue);
|
/external/webkit/Source/WebKit/mac/WebView/ |
WebDeviceOrientationProviderMock.h | 38 - (void)setOrientation:(WebDeviceOrientation*)orientation;
|
WebDeviceOrientationProviderMock.mm | 43 - (void)setOrientation:(WebDeviceOrientation*)orientation 45 m_core->setOrientation(core(orientation)); 102 - (void)setOrientation:(WebDeviceOrientation*)orientation 104 [m_internal setOrientation:orientation];
|
/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);
|
/external/webkit/Source/WebKit/chromium/src/linux/ |
WebFontRendering.cpp | 65 void WebFontRendering::setLCDOrientation(SkFontHost::LCDOrientation orientation) 67 SkFontHost::SetSubpixelOrientation(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/Phone/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);
|
/sdk/ide_common/src/com/android/ide/common/resources/configuration/ |
ScreenOrientationQualifier.java | 23 * Resource Qualifier for Screen Orientation. 27 public static final String NAME = "Screen Orientation"; 54 return "Orientation"; 59 ScreenOrientation orientation = ScreenOrientation.getEnum(value); local 60 if (orientation != null) { 61 ScreenOrientationQualifier qualifier = new ScreenOrientationQualifier(orientation);
|
/external/webkit/Source/WebCore/bindings/v8/custom/ |
V8DeviceOrientationEventCustom.cpp | 45 if (!imp->orientation()->canProvideAlpha()) 47 return v8::Number::New(imp->orientation()->alpha()); 55 if (!imp->orientation()->canProvideBeta()) 57 return v8::Number::New(imp->orientation()->beta()); 65 if (!imp->orientation()->canProvideGamma()) 67 return v8::Number::New(imp->orientation()->gamma()); 84 RefPtr<DeviceOrientation> orientation = DeviceOrientation::create(alphaProvided, alpha, betaProvided, beta, gammaProvided, gamma); local 85 imp->initDeviceOrientationEvent(type, bubbles, cancelable, orientation.get());
|
/external/webkit/Source/WebCore/platform/mock/ |
DeviceOrientationClientMock.cpp | 58 void DeviceOrientationClientMock::setOrientation(PassRefPtr<DeviceOrientation> orientation) 60 m_orientation = orientation;
|
/external/webkit/Source/WebCore/svg/ |
SVGGlyphElement.h | 38 enum Orientation { 55 , orientation(Both) 76 && orientation == other.orientation 88 unsigned orientation : 2; // Orientation member in struct:WebCore::SVGGlyphIdentifier
|
/frameworks/base/include/ui/ |
DisplayInfo.h | 32 uint8_t orientation; member in struct:android::DisplayInfo
|