/frameworks/base/tools/orientationplot/ |
D | README.txt | 23 adb shell setprop debug.orientation.log true 35 filtered accelerometer data, measured tilt and orientation angle, confidence 36 intervals for the proposed orientation and accelerometer latency. 42 and the latency for orientation detection goes up. One way to observe this 43 is by holding the device vertically in one orientation then sharply turning 44 it 90 degrees to a different orientation. Compared the rapid changes in the 48 2. Ensure that there is an appropriate gap between adjacent orientation angles 49 for hysteresis. Try holding the device in one orientation and slowly turning 55 Next try holding the device in one orientation and rapidly turning it end 59 different from the original orientation of the device). However, once it [all …]
|
/frameworks/base/core/java/android/view/ |
D | OrientationEventListener.java | 120 int orientation = ORIENTATION_UNKNOWN; in onSensorChanged() local 129 orientation = 90 - (int)Math.round(angle); in onSensorChanged() 131 while (orientation >= 360) { in onSensorChanged() 132 orientation -= 360; in onSensorChanged() 134 while (orientation < 0) { in onSensorChanged() 135 orientation += 360; in onSensorChanged() 141 if (orientation != mOrientation) { in onSensorChanged() 142 mOrientation = orientation; in onSensorChanged() 143 onOrientationChanged(orientation); in onSensorChanged() 172 abstract public void onOrientationChanged(int orientation); in onOrientationChanged() argument
|
D | OrientationListener.java | 73 public void onOrientationChanged(int orientation) { in onOrientationChanged() argument 74 OrientationListener.this.onOrientationChanged(orientation); in onOrientationChanged() 108 abstract public void onOrientationChanged(int orientation); in onOrientationChanged() argument
|
/frameworks/base/services/java/com/android/server/display/ |
D | DisplayViewport.java | 37 public int orientation; field in DisplayViewport 56 orientation = viewport.orientation; in copyFrom() 68 + ", orientation=" + orientation in toString()
|
D | DisplayDevice.java | 139 public final void setProjectionInTransactionLocked(int orientation, in setProjectionInTransactionLocked() argument 141 if (mCurrentOrientation != orientation in setProjectionInTransactionLocked() 146 mCurrentOrientation = orientation; in setProjectionInTransactionLocked() 159 orientation, layerStackRect, displayRect); in setProjectionInTransactionLocked() 178 viewport.orientation = mCurrentOrientation; in populateViewportLocked()
|
D | LogicalDisplay.java | 247 int orientation = Surface.ROTATION_0; in configureDisplayInTransactionLocked() local 250 orientation = displayInfo.rotation; in configureDisplayInTransactionLocked() 254 orientation = (orientation + displayDeviceInfo.rotation) % 4; in configureDisplayInTransactionLocked() 261 boolean rotated = (orientation == Surface.ROTATION_90 in configureDisplayInTransactionLocked() 262 || orientation == Surface.ROTATION_270); in configureDisplayInTransactionLocked() 289 device.setProjectionInTransactionLocked(orientation, mTempLayerStackRect, mTempDisplayRect); in configureDisplayInTransactionLocked()
|
/frameworks/native/services/sensorservice/ |
D | OrientationSensor.cpp | 53 outEvent->orientation.azimuth = g.x; in process() 54 outEvent->orientation.pitch = g.y; in process() 55 outEvent->orientation.roll = g.z; in process() 56 outEvent->orientation.status = SENSOR_STATUS_ACCURACY_HIGH; in process()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | NavigationBar.java | 29 …public NavigationBar(Context context, Density density, int orientation) throws XmlPullParserExcept… in NavigationBar() argument 30 super(context, density, orientation, "/bars/navigation_bar.xml", "navigation_bar.xml"); in NavigationBar() 40 if (orientation == LinearLayout.VERTICAL) { in NavigationBar()
|
/frameworks/base/core/java/android/content/res/ |
D | Configuration.java | 404 public int orientation; field in Configuration 570 orientation = o.orientation; in setTo() 650 switch (orientation) { in toString() 654 default: sb.append(" orien="); sb.append(orientation); break; in toString() 734 orientation = ORIENTATION_UNDEFINED; in setToDefaults() 817 if (delta.orientation != ORIENTATION_UNDEFINED in updateFrom() 818 && orientation != delta.orientation) { in updateFrom() 820 orientation = delta.orientation; in updateFrom() 951 if (delta.orientation != ORIENTATION_UNDEFINED in diff() 952 && orientation != delta.orientation) { in diff() [all …]
|
/frameworks/base/docs/html/guide/topics/sensors/ |
D | sensors_position.jd | 45 geomagnetic field sensor and the orientation sensor. The Android platform also 51 (for example, during a phone call). The orientation sensor is software-based and derives its data 54 <p class="note"><strong>Note:</strong> The orientation sensor was deprecated in Android 2.2 (API 60 the magnetic North Pole. You can also use the orientation sensor (or similar sensor-based 61 orientation methods) to determine a device's position in your application's frame of reference. 66 <p>The geomagnetic field sensor and orientation sensor return multi-dimensional arrays of sensor 68 for each {@link android.hardware.SensorEvent}. For example, the orientation sensor provides 71 the orientation sensor provides azimuth (yaw), pitch, and roll values during a single sensor event. 123 8). The sensor framework provides alternate methods for acquiring device orientation, which are 131 <p>The orientation sensor lets you monitor the position of a device relative to the earth's frame of [all …]
|
/frameworks/base/core/java/android/gesture/ |
D | OrientedBoundingBox.java | 31 public final float orientation; field in OrientedBoundingBox 37 orientation = angle; in OrientedBoundingBox() 61 matrix.setRotate(orientation); in toPath()
|
D | Instance.java | 94 float orientation = (float)Math.atan2(pts[1] - center[1], pts[0] - center[0]); in temporalSampler() local 96 float adjustment = -orientation; in temporalSampler() 100 float delta = ORIENTATIONS[i] - orientation; in temporalSampler()
|
/frameworks/base/core/jni/ |
D | android_content_res_Configuration.cpp | 39 jfieldID orientation; member 64 out->orientation = env->GetIntField(clazz, gConfigurationClassInfo.orientation); in android_Configuration_getFromJava() 115 GET_FIELD_ID(gConfigurationClassInfo.orientation, clazz, in register_android_content_res_Configuration()
|
/frameworks/base/docs/html/design/patterns/ |
D | multi-pane-layouts.jd | 27 <h2 id="orientation">Compound Views and Orientation Changes</h2> 29 <p>Screens should strive to have the same functionality regardless of orientation. If you use a com… 30 one orientation, try not to split it up when the user rotates the screen. There are several techniq… 31 you can use to adjust the layout after orientation change while keeping functional parity intact.</… 56 <p>Rearrange the panels on your screen to match the orientation.</p> 109 themselves when screen orientation changes.</p> 115 <p>Make sure that your screens try to provide functional parity after the screen orientation
|
/frameworks/base/docs/html/guide/topics/resources/ |
D | runtime-changes.jd | 19 …<li><a href="http://android-developers.blogspot.com/2009/02/faster-screen-orientation-change.html"… 26 (such as screen orientation, keyboard availability, and language). When such a change occurs, 43 invoke configuration changes (such as changing the screen orientation) while performing various 96 web. If the user changes the orientation of the device and the activity restarts, your application 162 android:configChanges}</a> attribute (the most commonly used values are {@code "orientation"} to 163 prevent restarts when the screen orientation changes and {@code "keyboardHidden"} to prevent 168 screen orientation change and keyboard availability change:</p> 172 android:configChanges="orientation|keyboardHidden" 189 orientation. Thus, if you want to prevent runtime restarts due to orientation change when developing 194 "orientation"} value. That is, you must decalare {@code [all …]
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | ClipDrawable.java | 62 public ClipDrawable(Drawable drawable, int gravity, int orientation) { in ClipDrawable() argument 67 mClipState.mOrientation = orientation; in ClipDrawable() 83 int orientation = a.getInt( in inflate() local 105 mClipState.mOrientation = orientation; in inflate()
|
/frameworks/base/native/android/ |
D | configuration.cpp | 63 return config->orientation; in AConfiguration_getOrientation() 151 void AConfiguration_setOrientation(AConfiguration* config, int32_t orientation) { in AConfiguration_setOrientation() argument 152 config->orientation = orientation; in AConfiguration_setOrientation()
|
/frameworks/ex/photoviewer/src/com/android/ex/photo/util/ |
D | ImageUtils.java | 155 final int orientation = Exif.getOrientation(bitmapBytes); in decodeStream() local 159 if (originalBitmap != null && orientation != 0) { in decodeStream() 161 matrix.postRotate(orientation); in decodeStream()
|
D | Exif.java | 99 int orientation = pack(jpeg, offset + 8, 2, littleEndian); in getOrientation() local 100 switch (orientation) { in getOrientation()
|
/frameworks/base/docs/html/tools/testing/ |
D | what_to_test.jd | 19 <h4>Change in orientation</h4> 21 For devices that support multiple orientations, Android detects a change in orientation when 26 When Android detects a change in orientation, its default behavior is to destroy and then 32 orientation. 42 A situation that is more general than a change in orientation is a change in the device's
|
/frameworks/native/libs/gui/ |
D | LayerState.cpp | 69 output.writeInt32(orientation); in write() 80 orientation = input.readInt32(); in read()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
D | Exif.java | 99 int orientation = pack(jpeg, offset + 8, 2, littleEndian); in getOrientation() local 100 switch (orientation) { in getOrientation()
|
/frameworks/av/camera/ |
D | ICameraService.cpp | 54 cameraInfo->orientation = reply.readInt32(); in getCameraInfo() 89 reply->writeInt32(cameraInfo.orientation); in onTransact()
|
/frameworks/base/core/java/android/webkit/ |
D | PluginFullScreenHolder.java | 47 PluginFullScreenHolder(WebViewClassic webView, int orientation, int npp) { in PluginFullScreenHolder() argument 50 mOrientation = orientation; in PluginFullScreenHolder()
|
/frameworks/base/services/input/ |
D | PointerController.cpp | 310 void PointerController::setDisplayViewport(int32_t width, int32_t height, int32_t orientation) { in setDisplayViewport() argument 314 if (orientation == DISPLAY_ORIENTATION_90 in setDisplayViewport() 315 || orientation == DISPLAY_ORIENTATION_270) { in setDisplayViewport() 337 if (mLocked.displayOrientation != orientation) { in setDisplayViewport() 364 switch (orientation) { in setDisplayViewport() 385 mLocked.displayOrientation = orientation; in setDisplayViewport()
|