/packages/apps/Gallery3D/src/com/cooliris/cache/ |
H A D | ImageList.java | 23 public int orientation[]; field in class:ImageList
|
H A D | CacheService.java | 481 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 D | AbstractIndicator.java | 68 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 D | RotatePane.java | 112 public void setOrientation(int orientation) { argument 113 if (mOrientation == orientation) return; 114 mOrientation = orientation;
|
H A D | HeadUpDisplay.java | 264 public void setOrientation(int orientation) { argument 265 mOrientation = orientation; 266 mIndicatorBar.setOrientation(orientation); 274 mPopupWindow.setOrientation(orientation);
|
H A D | IndicatorBar.java | 208 public void setOrientation(int orientation) { argument 210 ((AbstractIndicator) getComponent(i)).setOrientation(orientation);
|
H A D | PopupWindow.java | 177 public void setOrientation(int orientation) { argument 178 switch (orientation) {
|
/packages/apps/Phone/src/com/android/phone/ |
H A D | AccelerometerListener.java | 30 * 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 D | MovieView.java | 57 int orientation = intent.getIntExtra( 60 if (orientation != getRequestedOrientation()) { 61 setRequestedOrientation(orientation);
|
H A D | ImageManager.java | 200 // 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 D | ImageManager.java | 89 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 D | MovieView.java | 58 int orientation = intent.getIntExtra(MediaStore.EXTRA_SCREEN_ORIENTATION, ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED); 59 if (orientation != getRequestedOrientation()) { 60 setRequestedOrientation(orientation);
|
H A D | RootLayer.java | 24 public void onOrientationChanged(int orientation) { argument
|
H A D | GridQuad.java | 227 // 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 D | GridDrawManager.java | 771 float orientation = 0.0f; 773 orientation = displayItem.mAnimatedImageTheta; 778 GridQuad.draw(gl, orientation);
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
H A D | Environment.java | 118 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 D | Image.java | 110 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 D | ImageList.java | 128 int orientation = cursor.getInt(INDEX_ORIENTATION); 136 orientation);
|
/packages/apps/Camera/src/com/android/camera/ |
H A D | ImageManager.java | 159 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 D | Camera.java | 301 // 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 D | ImageList.java | 94 int orientation = cursor.getInt(INDEX_ORIENTATION); 97 orientation);
|
/packages/apps/Gallery3D/src/com/cooliris/wallpaper/ |
H A D | RandomDataSource.java | 47 retVal = Util.rotate(retVal, list.orientation[index]);
|
/packages/wallpapers/Basic/src/com/android/wallpaper/walkaround/ |
H A D | WalkAroundWallpaper.java | 58 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 D | LayoutManager.java | 47 configuration.orientation == Configuration.ORIENTATION_PORTRAIT
|
/packages/apps/Mms/src/com/android/mms/ui/ |
H A D | AttachmentEditor.java | 177 * What is the current orientation? 181 return configuration.orientation == Configuration.ORIENTATION_PORTRAIT;
|