Searched defs:rotation (Results 26 - 50 of 78) sorted by relevance

1234

/frameworks/native/services/surfaceflinger/RenderEngine/
H A DGLES11RenderEngine.cpp73 Transform::orientation_flags rotation) {
91 switch (rotation) {
71 setViewportAndProjection( size_t vpw, size_t vph, Rect sourceCrop, size_t hwh, bool yswap, Transform::orientation_flags rotation) argument
H A DGLES20RenderEngine.cpp80 Transform::orientation_flags rotation) {
96 // Apply custom rotation to the projection.
98 switch (rotation) {
78 setViewportAndProjection( size_t vpw, size_t vph, Rect sourceCrop, size_t hwh, bool yswap, Transform::orientation_flags rotation) argument
/frameworks/opt/net/ims/src/java/com/android/ims/internal/
H A DImsVideoCallProviderWrapper.java241 public void onSetDeviceOrientation(int rotation) { argument
243 mVideoCallProvider.setDeviceOrientation(rotation);
H A DImsVideoCallProvider.java123 public void setDeviceOrientation(int rotation) { argument
124 mProviderHandler.obtainMessage(MSG_SET_DEVICE_ORIENTATION, rotation, 0).sendToTarget();
177 public abstract void onSetDeviceOrientation(int rotation); argument
/frameworks/support/design/base/android/support/design/widget/
H A DCircularBorderDrawable.java145 final void setRotation(float rotation) { argument
146 if (rotation != mRotation) {
147 mRotation = rotation;
H A DShadowDrawableWrapper.java201 final void setRotation(float rotation) { argument
202 if (mRotation != rotation) {
203 mRotation = rotation;
/frameworks/base/core/java/android/app/
H A DUiAutomation.java90 /** Rotation constant: Unfreeze rotation (rotating the device changes its rotation state). */
93 /** Rotation constant: Freeze rotation to its current state. */
96 /** Rotation constant: Freeze rotation to 0 degrees (natural orientation) */
99 /** Rotation constant: Freeze rotation to 90 degrees . */
102 /** Rotation constant: Freeze rotation to 180 degrees . */
105 /** Rotation constant: Freeze rotation to 270 degrees . */
509 * Sets the device rotation. A client can freeze the rotation in
510 * desired state or freeze the rotation t
524 setRotation(int rotation) argument
[all...]
/frameworks/base/core/java/android/view/
H A DDisplayInfo.java145 * The rotation of the display relative to its natural orientation.
155 public int rotation; field in class:DisplayInfo
288 && rotation == other.rotation
328 rotation = other.rotation;
364 rotation = source.readInt();
409 dest.writeInt(rotation);
513 return rotation == Surface.ROTATION_0 || rotation
[all...]
H A DSurface.java135 * Rotation constant: 0 degree rotation (natural orientation)
140 * Rotation constant: 90 degree rotation.
145 * Rotation constant: 180 degree rotation.
150 * Rotation constant: 270 degree rotation.
586 * Returns a human readable representation of a rotation.
588 * @param rotation The rotation.
589 * @return The rotation symbolic name.
593 public static String rotationToString(int rotation) { argument
594 switch (rotation) {
[all...]
H A DViewPropertyAnimator.java520 * This method will cause the View's <code>rotation</code> property to be animated to the
527 public ViewPropertyAnimator rotation(float value) { method in class:ViewPropertyAnimator
533 * This method will cause the View's <code>rotation</code> property to be animated by the
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
H A DTiledImageView.java66 public int rotation; field in class:TiledImageView.ImageRendererWrapper
161 mRenderer.rotation = source != null ? source.getRotation() : 0;
250 final int rotation = mRenderer.source.getRotation();
251 final boolean swap = !(rotation % 180 == 0);
264 if (rotation == 90 || rotation == 180) {
269 if (rotation == 180 || rotation == 270) {
289 mRenderer.image.setModel(mRenderer.source, mRenderer.rotation);
304 mRenderer.image.setModel(mRenderer.source, mRenderer.rotation);
[all...]
H A DTiledImageRenderer.java191 public void setModel(TileSource model, int rotation) { argument
196 if (mRotation != rotation) {
197 mRotation = rotation;
296 // If rotation is transient, don't update the tile.
349 private void getRange(Rect out, int cX, int cY, int level, int rotation) { argument
350 getRange(out, cX, cY, level, 1f / (1 << (level + 1)), rotation);
360 int cX, int cY, int level, float scale, int rotation) {
362 double radians = Math.toRadians(-rotation);
421 int rotation = mRotation;
423 if (rotation !
359 getRange(Rect out, int cX, int cY, int level, float scale, int rotation) argument
[all...]
/frameworks/native/libs/gui/
H A DISurfaceComposer.cpp109 ISurfaceComposer::Rotation rotation)
121 data.writeInt32(static_cast<int32_t>(rotation));
464 int32_t rotation = data.readInt32(); local
469 static_cast<ISurfaceComposer::Rotation>(rotation));
104 captureScreen(const sp<IBinder>& display, const sp<IGraphicBufferProducer>& producer, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, uint32_t minLayerZ, uint32_t maxLayerZ, bool useIdentityTransform, ISurfaceComposer::Rotation rotation) argument
/frameworks/support/compat/java/android/support/v4/view/
H A DViewPropertyAnimatorCompat.java48 public void rotation(ViewPropertyAnimatorCompat vpa, View view, float value); method in interface:ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl
145 public void rotation(ViewPropertyAnimatorCompat vpa, View view, float value) { method in class:ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl
413 public void rotation(ViewPropertyAnimatorCompat vpa, View view, float value) { method in class:ViewPropertyAnimatorCompat.ICSViewPropertyAnimatorCompatImpl
414 ViewPropertyAnimatorCompatICS.rotation(view, value);
888 * This method will cause the View's <code>rotation</code> property to be animated to the
896 public ViewPropertyAnimatorCompat rotation(float value) { method in class:ViewPropertyAnimatorCompat
899 IMPL.rotation(this, view, value);
905 * This method will cause the View's <code>rotation</code> property to be animated by the
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Stream.cpp50 android_dataspace dataSpace, camera3_stream_rotation_t rotation, int setId) :
70 camera3_stream::rotation = rotation; member in class:android::camera3::camera3_stream
47 Camera3Stream(int id, camera3_stream_type type, uint32_t width, uint32_t height, size_t maxSize, int format, android_dataspace dataSpace, camera3_stream_rotation_t rotation, int setId) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DQSTileHost.java121 RotationLockController rotation, NetworkController network,
132 mRotation = rotation;
427 else if (tileSpec.equals("rotation")) return new RotationLockTile(this);
119 QSTileHost(Context context, PhoneStatusBar statusBar, BluetoothController bluetooth, LocationController location, RotationLockController rotation, NetworkController network, ZenModeController zen, HotspotController hotspot, CastController cast, FlashlightController flashlight, UserSwitcherController userSwitcher, UserInfoController userInfo, KeyguardMonitor keyguard, SecurityController security, BatteryController battery, StatusBarIconController iconController, NextAlarmController nextAlarmController) argument
H A DNavigationBarView.java535 public boolean needsReorient(int rotation) { argument
536 return mCurrentRotation != rotation;
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
H A DWallpaperCropActivity.java311 int rotation = getRotationFromExif(filePath);
313 this, filePath, null, rotation, 0, 0, true, false, null);
332 int rotation = getRotationFromExif(res, resId);
347 crop, rotation, outSize.x, outSize.y, true, false, onEndCrop);
470 RectF cropBounds, int rotation, int outWidth, int outHeight,
474 init(cropBounds, rotation,
479 RectF cropBounds, int rotation, int outWidth, int outHeight,
482 init(cropBounds, rotation,
487 RectF cropBounds, int rotation, int outWidth, int outHeight,
491 init(cropBounds, rotation,
469 BitmapCropTask(Context c, String filePath, RectF cropBounds, int rotation, int outWidth, int outHeight, boolean setWallpaper, boolean saveCroppedBitmap, Runnable onEndRunnable) argument
478 BitmapCropTask(byte[] imageBytes, RectF cropBounds, int rotation, int outWidth, int outHeight, boolean setWallpaper, boolean saveCroppedBitmap, Runnable onEndRunnable) argument
486 BitmapCropTask(Context c, Uri inUri, RectF cropBounds, int rotation, int outWidth, int outHeight, boolean setWallpaper, boolean saveCroppedBitmap, Runnable onEndRunnable) argument
495 BitmapCropTask(Context c, Resources res, int inResId, RectF cropBounds, int rotation, int outWidth, int outHeight, boolean setWallpaper, boolean saveCroppedBitmap, Runnable onEndRunnable) argument
505 init(RectF cropBounds, int rotation, int outWidth, int outHeight, boolean setWallpaper, boolean saveCroppedBitmap, Runnable onEndRunnable) argument
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DDisplayContent.java233 final int orientation = mDisplayInfo.rotation;
249 final int currentRotation = mDisplayInfo.rotation;
571 static void createRotationMatrix(int rotation, float displayWidth, float displayHeight, argument
574 createRotationMatrix(rotation, 0 /* rectLeft */, 0 /* rectTop */, displayWidth,
578 static void createRotationMatrix(int rotation, float rectLeft, float rectTop, argument
580 switch (rotation) {
/frameworks/base/telecomm/java/android/telecom/
H A DInCallService.java531 * @param rotation The device orientation, in degrees.
533 public abstract void setDeviceOrientation(int rotation); argument
/frameworks/native/include/ui/
H A Dmat4.h296 tmat44<T> rotation; local
297 T* r = const_cast<T*>(rotation.asArray());
325 return rotation;
/frameworks/base/core/jni/
H A Dandroid_graphics_drawable_VectorDrawable.cpp201 static void setRotation(JNIEnv*, jobject, jlong groupPtr, jfloat rotation) { argument
203 group->mutateStagingProperties()->setRotation(rotation);
H A Dandroid_view_RenderNode.cpp294 jobject clazz, jlong renderNodePtr, float rotation) {
295 return SET_AND_DIRTY(setRotation, rotation, RenderNode::ROTATION);
293 android_view_RenderNode_setRotation(JNIEnv* env, jobject clazz, jlong renderNodePtr, float rotation) argument
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DMagnificationController.java989 public void onRotationChanged(int rotation) { argument
990 mHandler.obtainMessage(MESSAGE_ON_ROTATION_CHANGED, rotation, 0).sendToTarget();
994 // If there was a rotation and magnification is still enabled,
/frameworks/base/services/core/java/com/android/server/policy/
H A DWindowOrientationListener.java171 * Sets the current rotation.
173 * @param rotation The current rotation.
175 public void setCurrentRotation(int rotation) { argument
177 mCurrentRotation = rotation;
182 * Gets the proposed rotation.
184 * This method only returns a rotation if the orientation listener is certain
185 * of its proposal. If the rotation is indeterminate, returns -1.
187 * @return The proposed rotation, or -1 if unknown.
208 * Called when the rotation vie
219 onProposedRotationChanged(int rotation) argument
799 isTiltAngleAcceptableLocked(int rotation, int tiltAngle) argument
810 isOrientationAngleAcceptableLocked(int rotation, int orientationAngle) argument
899 updatePredictedRotationLocked(long now, int rotation) argument
[all...]

Completed in 1111 milliseconds

1234