OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:currentRotation
(Results
1 - 3
of
3
) sorted by null
/packages/apps/Camera2/src/com/android/camera/ui/
RotatableLayout.java
122
int
currentRotation
= CameraUtil.getDisplayRotation((Activity) getContext());
123
if ((
currentRotation
- mPrevRotation + 360) % 360 == 180) {
124
mPrevRotation =
currentRotation
;
173
public static boolean isClockWiseRotation(int prevRotation, int
currentRotation
) {
174
if (prevRotation == (
currentRotation
+ 90) % 360) {
/frameworks/base/policy/src/com/android/internal/policy/impl/
WindowOrientationListener.java
539
Slog.v(TAG, "Result:
currentRotation
=" + mCurrentRotation
585
final int
currentRotation
= mCurrentRotation;
586
if (
currentRotation
>= 0) {
589
// For example, if
currentRotation
is ROTATION_0 and proposed is ROTATION_90,
591
if (rotation ==
currentRotation
592
|| rotation == (
currentRotation
+ 1) % 4) {
608
// For example, if
currentRotation
is ROTATION_0 and rotation is ROTATION_270,
610
if (rotation ==
currentRotation
611
|| rotation == (
currentRotation
+ 3) % 4) {
[
all
...]
/development/samples/devbytes/animation/CardFlip/src/com/example/android/cardflip/
CardView.java
279
final int
currentRotation
= (int)getRotation();
282
int rotation = 360 -
currentRotation
;
293
setRotation(
currentRotation
);
Completed in 1511 milliseconds