/frameworks/base/core/java/android/hardware/ |
LegacySensorManager.java | 223 return false; // don't need to re-register the orientation sensor 234 return false; // can't unregister the orientation sensor just yet 287 float[] values, int orientation) { 314 if ((orientation & Surface.ROTATION_90) != 0) { 331 if ((orientation & Surface.ROTATION_180) != 0) {
|
/frameworks/base/core/java/android/view/ |
SurfaceControl.java | 67 IBinder displayToken, int orientation, 473 int orientation, Rect layerStackRect, Rect displayRect) { 483 nativeSetDisplayProjection(displayToken, orientation,
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
CustomBar.java | 63 protected CustomBar(Context context, Density density, int orientation, String layoutPath, 66 setOrientation(orientation); 67 if (orientation == LinearLayout.HORIZONTAL) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
CropLoader.java | 56 * Returns the orientation of image at the given URI as one of 0, 90, 180, 61 * @return the orientation of the image. Defaults to 0. 73 int orientation = 0; local 77 orientation = ExifInterface.getRotationForOrientationValue( 80 Log.w(LOGTAG, "Failed to read EXIF orientation", e); 82 return orientation; 87 new String[] { MediaStore.Images.ImageColumns.ORIENTATION }, 266 values.put(Images.Media.ORIENTATION, 0);
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
NativeMediaActivity.java | 70 Log.w(TAG, "configuration changed " + newConfig.orientation);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
GridLayout3.java | 44 if ((configuration.orientation == Configuration.ORIENTATION_PORTRAIT)) {
|
/device/generic/goldfish/sensors/ |
sensors_qemu.c | 76 SENSOR_(ORIENTATION,"orientation") \ 331 /* "orientation:<azimuth>:<pitch>:<roll>" is sent when orientation changes */ 332 if (sscanf(buff, "orientation:%g:%g:%g", params+0, params+1, params+2) == 3) { 334 data->sensors[ID_ORIENTATION].orientation.azimuth = params[0]; 335 data->sensors[ID_ORIENTATION].orientation.pitch = params[1]; 336 data->sensors[ID_ORIENTATION].orientation.roll = params[2]; 337 data->sensors[ID_ORIENTATION].orientation.status = SENSOR_STATUS_ACCURACY_HIGH; 510 { .name = "Goldfish Orientation sensor" [all...] |
/device/lge/mako/camera/ |
QCameraParameters.h | 242 void setOrientation(int orientation);
|
/device/lge/mako/camera/mm-camera-interface/ |
mm_omx_jpeg_encoder.c | 332 int orientation; local 378 before hand. The orientation is set in the exif tag and 379 decoder will decode it will the right orientation. need to add double 382 /*Get the orientation tag values depending on rotation*/ 385 orientation = 1; /*Normal*/ 388 orientation = 6; /*Rotated 90 CCW*/ 391 orientation = 3; /*Rotated 180*/ 394 orientation = 8; /*Rotated 90 CW*/ 397 orientation = 1; 404 tag.tag_entry.data._short = orientation; 439 int orientation; local [all...] |
/external/opencv/cv/src/ |
cvrotcalipers.cpp | 65 // points - convex hull vertices ( any orientation ) 108 float orientation = 0; local 148 /* find convex hull orientation */ 162 orientation = (convexity > 0) ? 1.f : (-1.f); 168 assert( orientation != 0 ); 170 base_a = orientation;
|
/external/webkit/Source/WebCore/accessibility/ |
AccessibilitySlider.cpp | 59 AccessibilityOrientation AccessibilitySlider::orientation() const function in class:WebCore::AccessibilitySlider
|
/external/webkit/Source/WebCore/css/ |
CSSSegmentedFontFace.cpp | 92 unsigned hashKey = ((fontDescription.computedPixelSize() + 1) << (FontTraitsMaskWidth + 1)) | ((fontDescription.orientation() == Vertical ? 1 : 0) << FontTraitsMaskWidth) | desiredTraitsMask;
|
/external/webkit/Source/WebCore/page/chromium/ |
EventHandlerChromium.cpp | 163 return result.scrollbar() && result.scrollbar()->orientation() == HorizontalScrollbar;
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
FontCacheLinux.cpp | 156 fontDescription.orientation(),
|
/external/webkit/Source/WebCore/platform/graphics/cocoa/ |
FontPlatformDataCocoa.mm | 48 FontPlatformData::FontPlatformData(NSFont *nsFont, float size, bool syntheticBold, bool syntheticOblique, FontOrientation orientation, 52 , m_orientation(orientation) 220 + (m_syntheticBold ? " synthetic bold" : "") + (m_syntheticOblique ? " synthetic oblique" : "") + (m_orientation ? " vertical orientation" : "");
|
/external/webkit/Source/WebCore/platform/graphics/wx/ |
FontPlatformData.h | 152 FontOrientation orientation() const { return Horizontal; } // FIXME: Implement. function in class:WebCore::FontPlatformData
|
/external/webkit/Source/WebCore/rendering/ |
RenderListBox.h | 102 virtual int scrollSize(ScrollbarOrientation orientation) const;
|
/external/webkit/Source/WebCore/webaudio/ |
AudioPannerNode.h | 42 // It has a position and an orientation in 3D space which is relative to the position and orientation of the context's AudioListener. 44 // A cone effect will attenuate the gain as the orientation moves away from the listener. 81 // Orientation 82 FloatPoint3D orientation() const { return m_position; } function in class:WebCore::AudioPannerNode
|
/external/webkit/Source/WebKit/chromium/src/ |
AutoFillPopupMenuClient.h | 101 WebCore::ScrollbarOrientation orientation,
|
/frameworks/native/services/surfaceflinger/ |
Transform.h | 39 explicit Transform(uint32_t orientation);
|
/hardware/ti/omap4xxx/camera/ |
CameraHal_Module.cpp | 644 int orientation = 0; local 682 orientation = atoi(valstr); 691 info->orientation = orientation;
|
/packages/apps/Gallery2/src/com/android/camera/ |
CameraActivity.java | 68 // The degrees of the device rotated clockwise from its natural orientation. 164 public void onOrientationChanged(int orientation) { 165 // We keep the last known orientation. So if the user first orient 167 // the correct orientation. 168 if (orientation == ORIENTATION_UNKNOWN) return; 169 mLastRawOrientation = orientation; 170 mCurrentModule.onOrientationChanged(orientation);
|
/packages/apps/Gallery2/src/com/android/camera/ui/ |
CameraSwitcher.java | 280 int orientation = Util.getDisplayRotation((Activity) getContext()); local 283 if (orientation == 0) { 287 } else if (orientation == 90) { 291 } else if (orientation == 180) {
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
LauncherApplication.java | 140 return context.getResources().getConfiguration().orientation ==
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
LinearLayoutRuleTest.java | 171 // Check that the context menu manipulates the orientation attribute 176 node.putAttributeInfo(ANDROID_URI, "orientation", 187 assertEquals("Orientation", orientationAction.getTitle()); 196 String orientation = node.getStringAttr(ANDROID_URI, local 198 assertEquals(VALUE_VERTICAL, orientation); 201 orientation = node.getStringAttr(ANDROID_URI, ATTR_ORIENTATION); 202 assertEquals(VALUE_HORIZONTAL, orientation); 205 // Check that the context menu manipulates the orientation attribute 210 node.putAttributeInfo(ANDROID_URI, "orientation", 227 assertEquals("Orientation", contextMenu.get(1).getTitle()) [all...] |