/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);
|
/frameworks/base/core/java/android/hardware/display/ |
DisplayViewport.java | 39 public int orientation; field in class:DisplayViewport 58 orientation = viewport.orientation; 70 + ", orientation=" + orientation
|
/hardware/ti/omap4-aah/kernel-headers-ti/linux/ |
bvsurfgeom.h | 27 int orientation; member in struct:bvsurfgeom
|
/external/glide/library/src/main/java/com/bumptech/glide/signature/ |
MediaStoreSignature.java | 16 private final int orientation; field in class:MediaStoreSignature 27 * @param orientation The orientation of the media store media. Ok to default to 0. See 28 * {@link android.provider.MediaStore.Images.ImageColumns#ORIENTATION}. 30 public MediaStoreSignature(String mimeType, long dateModified, int orientation) { 33 this.orientation = orientation; 50 if (orientation != that.orientation) { 64 result = 31 * result + orientation; [all...] |
/packages/apps/Camera2/src/com/android/camera/captureintent/event/ |
EventPictureCompressed.java | 25 public EventPictureCompressed(byte[] pictureData, int orientation) { 27 mOrientation = orientation;
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
NavigationBar.java | 44 public NavigationBar(BridgeContext context, Density density, int orientation, boolean isRtl, 46 this(context, density, orientation, isRtl, rtlEnabled, simulatedPlatformVersion, 50 protected NavigationBar(BridgeContext context, Density density, int orientation, boolean isRtl, 52 super(context, orientation, layoutPath, "navigation_bar.xml", simulatedPlatformVersion); 63 if (orientation == LinearLayout.VERTICAL || (isRtl && !rtlEnabled)) { 75 setupNavBar(context, orientation); 78 private void setupNavBar(BridgeContext context, int orientation) { 82 setSize(context, leftPadding, orientation, getSidePadding(sw)); 83 setSize(context, rightPadding, orientation, getSidePadding(sw)); 87 setSize(context, navButton, orientation, navButtonWidth) [all...] |
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/widget/ |
TextLabelWidget.java | 30 private TextOrientationType orientation;
field in class:TextLabelWidget 45 public TextLabelWidget(LayoutManager layoutManager, String title, SizeMetrics sizeMetrics, TextOrientationType orientation) {
46 this(layoutManager, sizeMetrics, orientation);
50 public TextLabelWidget(LayoutManager layoutManager, SizeMetrics sizeMetrics, TextOrientationType orientation) {
56 this.orientation = orientation;
85 switch(orientation) {
120 switch (orientation) {
131 throw new UnsupportedOperationException("Orientation " + orientation + " not yet implemented for TextLabelWidget."); [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
ScrollbarHelper.java | 29 static int computeScrollOffset(RecyclerView.State state, OrientationHelper orientation, 46 final int laidOutArea = Math.abs(orientation.getDecoratedEnd(endChild) - 47 orientation.getDecoratedStart(startChild)); 52 return Math.round(itemsBefore * avgSizePerRow + (orientation.getStartAfterPadding() 53 - orientation.getDecoratedStart(startChild))); 60 static int computeScrollExtent(RecyclerView.State state, OrientationHelper orientation, 70 final int extend = orientation.getDecoratedEnd(endChild) 71 - orientation.getDecoratedStart(startChild); 72 return Math.min(orientation.getTotalSpace(), extend); 79 static int computeScrollRange(RecyclerView.State state, OrientationHelper orientation, [all...] |
/external/skia/include/core/ |
SkFontLCDConfig.h | 30 static void SetSubpixelOrientation(LCDOrientation orientation);
|
SkFontHost.h | 67 static void SetSubpixelOrientation(LCDOrientation orientation);
|
/external/skia/src/core/ |
SkFontHost.cpp | 17 void SkFontLCDConfig::SetSubpixelOrientation(LCDOrientation orientation) { 18 gLCDOrientation = orientation; 38 void SkFontHost::SetSubpixelOrientation(LCDOrientation orientation) { 39 SkFontLCDConfig::SetSubpixelOrientation((SkFontLCDConfig::LCDOrientation)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);
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
ImageResource.java | 29 public ImageResource(final String key, int orientation) { 31 mOrientation = orientation; 58 * Gets the orientation of the image as one of the ExifInterface.ORIENTATION_* constants
|
/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/Dialer/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); 90 private void setOrientation(int orientation) { 92 if (mPendingOrientation == orientation) { 93 // Pending orientation has not changed, so do nothing. 99 // if the orientation has not changed 131 final int orientation = (angle > VERTICAL_ANGLE ? ORIENTATION_VERTICAL : ORIENTATION_HORIZONTAL); local [all...] |
/frameworks/av/camera/ |
CameraUtils.cpp | 43 ALOGE("%s: Can't find android.sensor.orientation in static metadata!", __FUNCTION__); 56 int orientation = entry.data.i32[0]; local 58 switch (orientation) { 72 ALOGE("%s: Invalid HAL android.sensor.orientation value: %d", 73 __FUNCTION__, orientation); 80 switch (orientation) { 98 ALOGE("%s: Invalid HAL android.sensor.orientation value: %d", 99 __FUNCTION__, orientation);
|
/cts/tests/app/app/src/android/app/stubs/ |
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);
|
/packages/apps/Camera2/src/com/android/camera/app/ |
OrientationManager.java | 6 * An interface which defines the orientation manager. 14 private DeviceNaturalOrientation(int orientation) { 15 mOrientation = orientation; 41 * value is given, the closest orientation of CLOCKWISE_0, CLOCKWISE_90, 46 case (-1): // UNKNOWN Orientation 47 // Explicitly default to CLOCKWISE_0, when Orientation is UNKNOWN 74 * Called when the orientation changes. 76 * @param orientationManager The orientation manager detects the change. 77 * @param orientation The new rounded orientation [all...] |
MediaSaver.java | 76 * @param width The width of the image data before the orientation is 78 * @param height The height of the image data before the orientation is 80 * @param orientation The orientation of the image. The value should be a 87 int orientation, ExifInterface exif, OnMediaSavedListener l); 97 * @param width The width of the image data before the orientation is 99 * @param height The height of the image data before the orientation is 101 * @param orientation The orientation of the image. The value should be a 109 int orientation, ExifInterface exif, OnMediaSavedListener l, String mimeType) [all...] |
/packages/apps/Camera2/src/com/android/camera/data/ |
VideoItemData.java | 33 Size dimensions, long sizeInBytes, int orientation, 36 sizeInBytes, orientation, location);
|
/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...] |
/frameworks/native/services/sensorservice/ |
OrientationSensor.cpp | 34 .name = "Orientation Sensor", 62 outEvent->orientation.azimuth = g.x; 63 outEvent->orientation.pitch = g.y; 64 outEvent->orientation.roll = g.z; 65 outEvent->orientation.status = SENSOR_STATUS_ACCURACY_HIGH;
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
ItemAlignment.java | 37 Axis(int orientation) { 38 mOrientation = orientation; 67 final public void setOrientation(int orientation) { 68 mOrientation = orientation;
|