Searched defs:orientation (Results 1 - 25 of 38) sorted by relevance

12

/frameworks/base/core/java/android/gesture/
H A DOrientedBoundingBox.java31 public final float orientation; field in class:OrientedBoundingBox
37 orientation = angle;
61 matrix.setRotate(orientation);
H A DGestureOverlayView.java198 public void setOrientation(int orientation) { argument
199 mOrientation = orientation;
643 float angle = Math.abs(box.orientation);
/frameworks/base/include/ui/
H A DDisplayInfo.h32 uint8_t orientation; member in struct:android::DisplayInfo
/frameworks/base/core/java/android/view/
H A DOrientationListener.java24 * 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) { argument
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); argument
H A DOrientationEventListener.java29 * the orientation of the device has changed.
44 * Returned from onOrientationChanged when the device orientation cannot be determined
67 * SENSOR_DELAY_NORMAL} for simple screen orientation change detection.
85 * {@link #onOrientationChanged} when the device orientation changes.
121 int orientation = ORIENTATION_UNKNOWN;
130 orientation = 90 - (int)Math.round(angle);
132 while (orientation >= 360) {
133 orientation -= 360;
135 while (orientation < 0) {
136 orientation
173 onOrientationChanged(int orientation) argument
[all...]
H A DWindowOrientationListener.java30 * the orientation of the device has changed.
59 * SENSOR_DELAY_NORMAL} for simple screen orientation change detection.
77 * {@link #onOrientationChanged} when the device orientation changes.
122 // Internal aliases for the four orientation states. ROTATION_0 = default portrait mode,
128 // Current orientation state
135 // Threshold ranges of orientation angle to transition into other orientation states.
137 // ROTATE_TO defines the orientation each threshold range transitions to, and must be kept
155 // Maximum absolute tilt angle at which to consider orientation changes. Beyond this (i.e.
156 // when screen is facing the sky or ground), we refuse to make any orientation change
209 calculateNewRotation(int orientation, int tiltAngle) argument
[all...]
H A DSurface.java137 * Disable the orientation animation
350 * set the orientation of the given display.
352 * @param orientation
356 public static native void setOrientation(int display, int orientation, int flags); argument
359 * set the orientation of the given display.
361 * @param orientation
363 public static void setOrientation(int display, int orientation) { argument
364 setOrientation(display, orientation, 0);
/frameworks/base/tools/localize/
H A DConfiguration.h12 string orientation; member in struct:Configuration
/frameworks/base/core/java/android/util/
H A DDisplayMetrics.java129 * Update the display metrics based on the compatibility info and orientation
134 public void updateMetrics(CompatibilityInfo compatibilityInfo, int orientation, argument
168 switch (orientation) {
/frameworks/base/libs/surfaceflinger_client/
H A DISurfaceComposer.cpp100 virtual int setOrientation(DisplayID dpy, int orientation, uint32_t flags) argument
105 data.writeInt32(orientation);
150 int orientation = data.readInt32(); local
152 reply->writeInt32( setOrientation(dpy, orientation, flags) );
H A DISurface.cpp119 uint32_t w, uint32_t h, int32_t format, int32_t orientation)
126 data.writeInt32(orientation);
180 int orientation = data.readInt32(); local
181 sp<OverlayRef> o = createOverlay(w, h, f, orientation);
118 createOverlay( uint32_t w, uint32_t h, int32_t format, int32_t orientation) argument
H A DSurfaceComposerClient.cpp261 info->orientation = dcblk->orientation;
293 return dcblk->orientation;
439 int orientation, uint32_t flags)
442 return sm->setOrientation(dpy, orientation, flags);
438 setOrientation(DisplayID dpy, int orientation, uint32_t flags) argument
/frameworks/base/core/java/android/content/res/
H A DCompatibilityInfo.java363 * @param orientation the orientation of the screen.
366 public static void updateCompatibleScreenFrame(DisplayMetrics dm, int orientation, argument
371 if (orientation == Configuration.ORIENTATION_LANDSCAPE) {
H A DConfiguration.java175 * Overall orientation of the screen. May be one of
179 public int orientation; field in class:Configuration
239 orientation = o.orientation;
268 sb.append(orientation);
295 orientation = ORIENTATION_UNDEFINED;
369 if (delta.orientation != ORIENTATION_UNDEFINED
370 && orientation != delta.orientation) {
372 orientation
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DClipDrawable.java55 * @param orientation Bitwise-or of {@link #HORIZONTAL} and/or {@link #VERTICAL}
57 public ClipDrawable(Drawable drawable, int gravity, int orientation) { argument
62 mClipState.mOrientation = orientation;
78 int orientation = a.getInt(
100 mClipState.mOrientation = orientation;
/frameworks/base/libs/surfaceflinger/
H A DTransform.cpp61 Transform::Transform(uint32_t orientation) { argument
62 set(orientation, 0, 0);
H A DLayerBuffer.cpp186 int32_t orientation)
193 sp<OverlaySource> source = new OverlaySource(*this, &result, w, h, f, orientation);
252 uint32_t w, uint32_t h, int32_t format, int32_t orientation) {
256 result = owner->createOverlay(w, h, format, orientation);
619 uint32_t w, uint32_t h, int32_t format, int32_t orientation)
621 mOverlay(0), mOverlayHandle(0), mOverlayDevice(0), mOrientation(orientation)
703 // we need to combine the layer orientation and the
704 // user-requested orientation.
185 createOverlay(uint32_t w, uint32_t h, int32_t f, int32_t orientation) argument
251 createOverlay( uint32_t w, uint32_t h, int32_t format, int32_t orientation) argument
617 OverlaySource(LayerBuffer& layer, sp<OverlayRef>* overlayRef, uint32_t w, uint32_t h, int32_t format, int32_t orientation) argument
H A DSurfaceFlinger.h107 static status_t orientationToTransfrom(int orientation, int w, int h,
116 status_t setOrientation(int orientation);
169 virtual int setOrientation(DisplayID dpy, int orientation, uint32_t flags);
237 orientation = ISurfaceComposer::eOrientationDefault;
241 uint8_t orientation; member in struct:android::SurfaceFlinger::State
/frameworks/base/media/libstagefright/
H A DCameraSource.cpp59 uint32_t w, uint32_t h, int32_t format, int32_t orientation) {
58 createOverlay( uint32_t w, uint32_t h, int32_t format, int32_t orientation) argument
/frameworks/base/include/private/surfaceflinger/
H A DSharedBufferStack.h333 uint8_t orientation; member in struct:android::display_cblk_t
/frameworks/base/core/java/android/widget/
H A DLinearLayout.java38 * The default orientation is horizontal.
311 * Measures the children when the orientation of this LinearLayout is set
597 * Measures the children when the orientation of this LinearLayout is set
990 * @return the width or height of the child depending on the orientation
1049 * Position the children during a layout pass if the orientation of this
1135 * Position the children during a layout pass if the orientation of this
1254 * @param orientation Pass HORIZONTAL or VERTICAL. Default
1259 public void setOrientation(int orientation) { argument
1260 if (mOrientation != orientation) {
1261 mOrientation = orientation;
[all...]
/frameworks/base/services/java/com/android/server/
H A DInputDevice.java745 long curTimeNano, Display display, int orientation,
818 if (orientation == Surface.ROTATION_90
819 || orientation == Surface.ROTATION_270) {
853 switch (orientation) {
925 long curTimeNano, int orientation, int metaState) {
956 switch (orientation) {
744 generateAbsMotion(InputDevice device, long curTime, long curTimeNano, Display display, int orientation, int metaState) argument
924 generateRelMotion(InputDevice device, long curTime, long curTimeNano, int orientation, int metaState) argument
/frameworks/base/camera/tests/CameraServiceTest/
H A DCameraServiceTest.cpp286 uint32_t w, uint32_t h, int32_t format, int32_t orientation);
350 int32_t orientation) {
349 createOverlay(uint32_t w, uint32_t h, int32_t format, int32_t orientation) argument
/frameworks/base/core/java/android/webkit/
H A DBrowserFrame.java84 // orientation change message
131 int orientation =
133 switch (orientation) {
135 orientation = 90;
138 orientation = 180;
141 orientation = -90;
144 orientation = 0;
158 orientation, 0));
1013 private native void nativeOrientationChanged(int orientation); argument
/frameworks/base/core/jni/
H A Dandroid_view_Surface.cpp409 JNIEnv* env, jobject clazz, jint display, jint orientation, jint flags)
411 int err = SurfaceComposerClient::setOrientation(display, orientation, flags);
408 Surface_setOrientation( JNIEnv* env, jobject clazz, jint display, jint orientation, jint flags) argument

Completed in 759 milliseconds

12