Searched refs:orientation (Results 1 - 25 of 34) sorted by relevance

12

/packages/apps/Gallery3D/src/com/cooliris/cache/
H A DImageList.java23 public int orientation[]; field in class:ImageList
H A DCacheService.java481 final int[] orientation = new int[size];
490 orientation[ctr] = cursorImages.getInt(THUMBNAIL_ORIENTATION_INDEX);
497 list.orientation = orientation;
/packages/apps/Camera/src/com/android/camera/ui/
H A DAbstractIndicator.java68 public void setOrientation(int orientation) { argument
69 if (orientation % 90 != 0) throw new IllegalArgumentException();
70 orientation = orientation % 360;
71 if (orientation < 0) orientation += 360;
73 if (mOrientation == orientation) return;
74 mOrientation = orientation;
H A DRotatePane.java112 public void setOrientation(int orientation) { argument
113 if (mOrientation == orientation) return;
114 mOrientation = orientation;
H A DHeadUpDisplay.java264 public void setOrientation(int orientation) { argument
265 mOrientation = orientation;
266 mIndicatorBar.setOrientation(orientation);
274 mPopupWindow.setOrientation(orientation);
H A DIndicatorBar.java208 public void setOrientation(int orientation) { argument
210 ((AbstractIndicator) getComponent(i)).setOrientation(orientation);
H A DPopupWindow.java177 public void setOrientation(int orientation) { argument
178 switch (orientation) {
/packages/apps/Phone/src/com/android/phone/
H A DAccelerometerListener.java30 * orientation of the phone. The client of this class is notified when
31 * the orientation changes between horizontal and vertical.
41 // mOrientation is the orientation value most recently reported to the client.
44 // mPendingOrientation is the latest orientation computed based on the sensor value.
51 // Device orientation
63 public void orientationChanged(int orientation); argument
87 private void setOrientation(int orientation) { argument
89 if (mPendingOrientation == orientation) {
90 // Pending orientation has not changed, so do nothing.
96 // if the orientation ha
[all...]
/packages/apps/Gallery/src/com/android/camera/
H A DMovieView.java57 int orientation = intent.getIntExtra(
60 if (orientation != getRequestedOrientation()) {
61 setRequestedOrientation(orientation);
H A DImageManager.java200 // picture. The degree is a one element array which returns the orientation
261 int orientation = exif.getAttributeInt(
263 if (orientation != -1) {
264 // We only recognize a subset of orientation tag values.
265 switch(orientation) {
/packages/apps/Gallery3D/src/com/cooliris/media/
H A DImageManager.java89 int orientation = orientationInput;
90 if (orientation == -1) {
91 orientation = 0;
94 orientation = orientation % 360;
96 if (orientation < (0 * 90) + 45) {
98 } else if (orientation < (1 * 90) + 45) {
100 } else if (orientation < (2 * 90) + 45) {
102 } else if (orientation < (3 * 90) + 45) {
135 * picture. The degree is a one element array which returns the orientation
227 AddImageCancelable(Uri uri, ContentResolver cr, int orientation, Bitmap source, byte[] jpegData) argument
276 storeImage(Uri uri, ContentResolver cr, int orientation, Bitmap source, byte[] jpegData) argument
[all...]
H A DMovieView.java58 int orientation = intent.getIntExtra(MediaStore.EXTRA_SCREEN_ORIENTATION, ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED);
59 if (orientation != getRequestedOrientation()) {
60 setRequestedOrientation(orientation);
H A DRootLayer.java24 public void onOrientationChanged(int orientation) { argument
H A DGridQuad.java227 // we can calculate the u,v for the orientation here
294 int orientation = (int) Shared.normalizePositive(orientationDegrees);
295 gl11.glDrawElements(GL11.GL_TRIANGLE_STRIP, INDEX_COUNT, GL11.GL_UNSIGNED_SHORT, orientation * INDEX_COUNT);
H A DGridDrawManager.java771 float orientation = 0.0f;
773 orientation = displayItem.mAnimatedImageTheta;
778 GridQuad.draw(gl, orientation);
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
H A DEnvironment.java118 if (mConfig.orientation != newConfig.orientation) {
167 if (Configuration.ORIENTATION_LANDSCAPE == mConfig.orientation) {
186 if (Configuration.ORIENTATION_PORTRAIT == mConfig.orientation) {
188 } else if (Configuration.ORIENTATION_LANDSCAPE == mConfig.orientation) {
/packages/apps/Gallery/src/com/android/camera/gallery/
H A DImage.java110 int orientation = ExifInterface.ORIENTATION_NORMAL;
113 orientation = ExifInterface.ORIENTATION_NORMAL;
116 orientation = ExifInterface.ORIENTATION_ROTATE_90;
119 orientation = ExifInterface.ORIENTATION_ROTATE_180;
122 orientation = ExifInterface.ORIENTATION_ROTATE_270;
127 Integer.toString(orientation));
130 Log.e(TAG, "unable to save exif data with new orientation "
H A DImageList.java128 int orientation = cursor.getInt(INDEX_ORIENTATION);
136 orientation);
/packages/apps/Camera/src/com/android/camera/
H A DImageManager.java159 int orientation = orientationInput;
161 if (orientation == OrientationEventListener.ORIENTATION_UNKNOWN) {
162 orientation = 0;
165 orientation = orientation % 360;
167 if (orientation < (0 * 90) + 45) {
169 } else if (orientation < (1 * 90) + 45) {
171 } else if (orientation < (2 * 90) + 45) {
173 } else if (orientation < (3 * 90) + 45) {
186 // picture. The degree is a one element array which returns the orientation
[all...]
H A DCamera.java301 // Create orientation listenter. This should be done first because it
302 // takes some time to get first orientation.
305 public void onOrientationChanged(int orientation) {
306 // We keep the last known orientation. So if the user
308 if (orientation != ORIENTATION_UNKNOWN) {
309 orientation += 90;
311 orientation = ImageManager.roundOrientation(orientation);
312 if (orientation != mLastOrientation) {
313 mLastOrientation = orientation;
[all...]
/packages/apps/Camera/src/com/android/camera/gallery/
H A DImageList.java94 int orientation = cursor.getInt(INDEX_ORIENTATION);
97 orientation);
/packages/apps/Gallery3D/src/com/cooliris/wallpaper/
H A DRandomDataSource.java47 retVal = Util.rotate(retVal, list.orientation[index]);
/packages/wallpapers/Basic/src/com/android/wallpaper/walkaround/
H A DWalkAroundWallpaper.java58 boolean portrait = newConfig.orientation == Configuration.ORIENTATION_PORTRAIT;
60 params.set("orientation", portrait ? "portrait" : "landscape");
163 final boolean portrait = resources.getConfiguration().orientation ==
209 params.set("orientation", portrait ? "portrait" : "landscape");
/packages/apps/Mms/src/com/android/mms/layout/
H A DLayoutManager.java47 configuration.orientation == Configuration.ORIENTATION_PORTRAIT
/packages/apps/Mms/src/com/android/mms/ui/
H A DAttachmentEditor.java177 * What is the current orientation?
181 return configuration.orientation == Configuration.ORIENTATION_PORTRAIT;

Completed in 144 milliseconds

12