HomeSort by relevance Sort by last modified time
    Searched refs:orientation (Results 1 - 25 of 868) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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);
  /frameworks/base/core/java/android/hardware/display/
DisplayViewport.java 39 public int orientation; field in class:DisplayViewport
58 orientation = viewport.orientation;
70 + ", orientation=" + orientation
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
RecentsAppWidgetHostView.java 36 // Store the orientation in which the widget was inflated
50 * Updates the last orientation that this widget was inflated.
53 mPreviousOrientation = mContext.getResources().getConfiguration().orientation;
57 * @return whether the search widget was updated while Recents was in a different orientation
61 // Re-inflate is required if the orientation has changed since last inflated.
62 int orientation = mContext.getResources().getConfiguration().orientation; local
63 if (mPreviousOrientation != 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;
  /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/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...]
  /frameworks/av/camera/
CameraUtils.cpp 42 ALOGE("%s: Can't find android.sensor.orientation in static metadata!", __FUNCTION__);
55 int orientation = entry.data.i32[0]; local
57 switch (orientation) {
71 ALOGE("%s: Invalid HAL android.sensor.orientation value: %d",
72 __FUNCTION__, orientation);
79 switch (orientation) {
97 ALOGE("%s: Invalid HAL android.sensor.orientation value: %d",
98 __FUNCTION__, orientation);
  /cts/tests/app/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 63 public NavigationBar(BridgeContext context, Density density, int orientation, boolean isRtl,
65 super(context, orientation, getShortestWidth(context)>= 600 ? LAYOUT_600DP_XML : LAYOUT_XML,
77 if (orientation == LinearLayout.VERTICAL || (isRtl && !rtlEnabled)) {
89 setupNavBar(context, orientation);
92 private void setupNavBar(BridgeContext context, int orientation) {
96 setSize(context, leftPadding, orientation, getSidePadding(sw));
97 setSize(context, rightPadding, orientation, getSidePadding(sw));
101 setSize(context, navButton, orientation, navButtonWidth);
104 setSize(context, getChildAt(2), orientation, 128);
105 setSize(context, getChildAt(4), orientation, 128)
    [all...]
  /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...]
  /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/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;

Completed in 526 milliseconds

1 2 3 4 5 6 7 8 91011>>