/packages/apps/Camera2/src/com/android/camera/ |
WideAnglePanoramaUI.java | 199 public void setProgressOrientation(int orientation) { 201 mProgressDirectionMatrix.postRotate(orientation); 264 public void showFinalMosaic(Bitmap bitmap, int orientation) { 265 if (bitmap != null && orientation != 0) { 267 rotateMatrix.setRotate(orientation);
|
/external/opencv/cv/include/ |
cvcompat.h | 384 int orientation, int* hull, int* hullsize ) 389 cvConvexHull2( &points1, &hull1, orientation, 0 ); 394 #define cvContourConvexHull( contour, orientation, storage ) \ 395 cvConvexHull2( contour, storage, orientation ) 399 orientation, hull, hullsize ) \ 400 cvConvexHull( points, num_points, bound_rect, orientation, hull, hullsize ) 403 #define cvContourConvexHullApprox( contour, bandwidth, orientation, storage ) \ 404 cvConvexHull2( contour, storage, orientation ) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/platform/mac/ |
ScrollAnimatorMac.mm | 475 if (part == WebCore::ThumbPart && _scrollbar->orientation() == VerticalScrollbar) { 660 bool ScrollAnimatorMac::scroll(ScrollbarOrientation orientation, ScrollGranularity granularity, float step, float multiplier) 665 return ScrollAnimator::scroll(orientation, granularity, step, multiplier); 668 return ScrollAnimator::scroll(orientation, granularity, step, multiplier); 670 float currentPos = orientation == HorizontalScrollbar ? m_currentPosX : m_currentPosY; 671 float newPos = std::max<float>(std::min<float>(currentPos + (step * multiplier), m_scrollableArea->maximumScrollPosition(orientation)), m_scrollableArea->minimumScrollPosition(orientation)); 678 newPoint = orientation == HorizontalScrollbar ? NSMakePoint(newPos, targetOrigin.y) : NSMakePoint(targetOrigin.x, newPos); 680 newPoint = orientation == HorizontalScrollbar ? NSMakePoint(newPos, m_currentPosY) : NSMakePoint(m_currentPosX, newPos); [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
MotionEventTest.java | 338 // and check rotation. We set the orientation to the same angle. 355 c.orientation = angle; 389 assertEquals(Math.tan(angle), Math.tan(c.orientation), 0.1); 406 .append(ev.getX(i)).append(",").append(ev.getY(i)).append("), orientation=") 425 assertEquals(0f, coords.orientation); 438 coords.orientation = 9; 450 assertEquals(9f, copy.orientation); 464 coords.orientation = 9; 477 assertEquals(9f, copy.orientation);
|
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/ |
FontFastPath.cpp | 129 static inline std::pair<GlyphData, GlyphPage*> glyphDataAndPageForNonCJKCharacterWithGlyphOrientation(UChar32 character, NonCJKGlyphOrientation orientation, GlyphData& data, GlyphPage* page, unsigned pageNumber) 131 if (orientation == NonCJKGlyphOrientationUpright || shouldIgnoreRotation(character)) { 145 } else if (orientation == NonCJKGlyphOrientationVerticalRight) { 200 if (data.fontData && (data.fontData->platformData().orientation() == Horizontal || data.fontData->isTextOrientationFallback())) 281 if (characterFontData->platformData().orientation() == Vertical && !characterFontData->hasVerticalGlyphs() && isCJKIdeographOrSymbol(c)) 294 if (!isCJKIdeographOrSymbol(c) && data.fontData->platformData().orientation() != Horizontal && !data.fontData->isTextOrientationFallback()) 490 if (fontData->platformData().orientation() == Horizontal) {
|
/frameworks/native/libs/gui/ |
SurfaceComposerClient.cpp | 156 status_t setOrientation(int orientation); 166 uint32_t orientation, 412 uint32_t orientation, 417 s.orientation = orientation; 597 uint32_t orientation, 600 Composer::getInstance().setDisplayProjection(token, orientation,
|
/external/chromium_org/cc/quads/ |
draw_quad_unittest.cc | 340 IOSurfaceDrawQuad::Orientation orientation = IOSurfaceDrawQuad::UNFLIPPED; local 344 IOSurfaceDrawQuad, opaque_rect, size, resource_id, orientation); 349 EXPECT_EQ(orientation, copy_quad->orientation); 351 CREATE_QUAD_3_ALL(IOSurfaceDrawQuad, size, resource_id, orientation); 355 EXPECT_EQ(orientation, copy_quad->orientation); 754 IOSurfaceDrawQuad::Orientation orientation = IOSurfaceDrawQuad::UNFLIPPED local [all...] |
/external/chromium_org/chromeos/dbus/ibus/ |
ibus_lookup_table_unittest.cc | 29 const IBusLookupTable::Orientation kOrientation = 64 EXPECT_EQ(kOrientation, target_lookup_table.orientation()); 78 const IBusLookupTable::Orientation kOrientation = 111 EXPECT_EQ(kOrientation, target_lookup_table.orientation()); 129 const IBusLookupTable::Orientation kOrientation = 192 EXPECT_EQ(kOrientation, target_lookup_table.orientation());
|
/frameworks/base/core/java/android/provider/ |
DocumentsContract.java | 88 * @see MediaStore.Images.ImageColumns#ORIENTATION 91 public static final String EXTRA_ORIENTATION = "android.content.extra.ORIENTATION"; 730 // communicate the orientation, since EXIF thumbnails don't contain 733 final int orientation = (extras != null) ? extras.getInt(EXTRA_ORIENTATION, 0) : 0; local 734 if (orientation != 0) { 739 m.setRotate(orientation, width / 2, height / 2); 817 * thumbnail if available, and providing orientation hints from the parent [all...] |
/hardware/invensense/60xx/mlsdk/mllite/ |
ml.h | 219 /* Orientation and Gesture states */ 297 /* Raw sensor orientation */ 430 void (*orientation_cb_func) (unsigned short orient); // Callback function that will run when a change of orientation is detected. 431 // The new orientation. May be one of INV_X_UP, INV_X_DOWN, INV_Y_UP, INV_Y_DOWN, INV_Z_UP, or INV_Z_DOWN. 549 inv_error_t inv_set_gyro_calibration(float range, signed char *orientation); 551 signed char *orientation); 553 signed char *orientation);
|
/hardware/samsung_slsi/exynos5/libcamera2/ |
fimc-is-metadata.h | 170 uint32_t orientation; member in struct:camera2_sensor_sm 361 uint32_t orientation; member in struct:camera2_jpeg_ctl 372 uint32_t orientation; member in struct:camera2_jpeg_dm
|
/hardware/samsung_slsi/exynos5/original-kernel-headers/linux/ |
fimc-is-metadata.h | 178 uint32_t orientation; member in struct:camera2_sensor_sm 409 uint32_t orientation; member in struct:camera2_jpeg_ctl 419 uint32_t orientation; member in struct:camera2_jpeg_dm
|
/packages/apps/Gallery/src/com/android/camera/ |
ImageManager.java | 197 // picture. The degree is a one element array which returns the orientation 238 values.put(Images.Media.ORIENTATION, degree[0]); 258 int orientation = exif.getAttributeInt( local 260 if (orientation != -1) { 261 // We only recognize a subset of orientation tag values. 262 switch(orientation) {
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
DeleteDropTarget.java | 83 int orientation = getResources().getConfiguration().orientation; local 84 if (orientation == Configuration.ORIENTATION_LANDSCAPE) {
|
/packages/apps/Mms/src/com/android/mms/util/ |
ThumbnailManager.java | 490 int orientation = UriImage.getOrientation(mContext, uri); local 492 if (result != null && orientation != 0) { 493 result = UriImage.rotateBitmap(result, orientation);
|
/packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/ |
VideoChatTestActivity.java | 68 logMessage("Display Orientation " + getDisplayOrientation()); 83 return info.orientation; 93 logMessage("Orientation " + getCameraOrientation(id)); 290 result = (info.orientation + displayOrientationDegrees) % 360; 293 result = (info.orientation - displayOrientationDegrees + 360) % 360;
|
/development/ndk/platforms/android-9/include/android/ |
configuration.h | 174 * Set the current orientation in the configuration. 176 void AConfiguration_setOrientation(AConfiguration* config, int32_t orientation);
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
FragmentLayout.java | 65 if (getResources().getConfiguration().orientation
|
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
FragmentLayoutSupport.java | 66 if (getResources().getConfiguration().orientation
|
/development/samples/Support7Demos/src/com/example/android/supportv7/view/ |
GridLayout3.java | 55 if ((configuration.orientation == Configuration.ORIENTATION_PORTRAIT)) {
|
/external/chromium_org/chrome/browser/chromeos/input_method/ |
input_method_engine_ibus_browserttests.cc | 506 EXPECT_EQ(IBusLookupTable::VERTICAL, table.orientation()); 533 EXPECT_EQ(IBusLookupTable::VERTICAL, table.orientation()); 616 EXPECT_EQ(IBusLookupTable::VERTICAL, table.orientation()); 660 EXPECT_EQ(IBusLookupTable::VERTICAL, table.orientation());
|
/external/chromium_org/content/browser/accessibility/ |
browser_accessibility_cocoa.h | 81 @property(nonatomic, readonly) NSString* orientation; variable
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
CSSSegmentedFontFace.cpp | 118 | ((fontDescription.orientation() == Vertical ? 1 : 0) << (FontTraitsMaskWidth + FontWidthVariantWidth))
|
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/chromium/ |
SimpleFontDataChromiumWin.cpp | 118 return SimpleFontData::create(FontPlatformData(hfont, scaledSize, m_platformData.orientation()), isCustomFont(), false);
|
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/cocoa/ |
FontPlatformDataCocoa.mm | 40 FontPlatformData::FontPlatformData(NSFont *nsFont, float size, bool isPrinterFont, bool syntheticBold, bool syntheticOblique, FontOrientation orientation, FontWidthVariant widthVariant) 43 , m_orientation(orientation) 312 + (m_syntheticBold ? " synthetic bold" : "") + (m_syntheticOblique ? " synthetic oblique" : "") + (m_orientation ? " vertical orientation" : "");
|