Lines Matching refs:orientation
136 static bool isDeviceRotated(int orientation) {
137 return orientation != DISPLAY_ORIENTATION_0 &&
138 orientation != DISPLAY_ORIENTATION_180;
209 * and device orientation.
218 bool deviceRotated = isDeviceRotated(mainDpyInfo.orientation);
237 // "pre-rotate" it by flipping width/height, so that the orientation
316 const sp<IBinder>& virtualDpy, uint8_t orientation) {
370 ATRACE_NAME("orientation");
371 // Check orientation, update if it has changed.
379 } else if (orientation != mainDpyInfo.orientation) {
380 ALOGD("orientation changed, now %d", mainDpyInfo.orientation);
384 orientation = mainDpyInfo.orientation;
550 printf("Main display is %dx%d @%.2ffps (orientation=%u)\n",
552 mainDpyInfo.orientation);
555 bool rotated = isDeviceRotated(mainDpyInfo.orientation);
693 mainDpyInfo.orientation);