diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-11-23 22:40:38 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-11-23 22:40:38 +0100 |
commit | ea6f3c09cf76932ce567e8d3250e0f665ca42c99 (patch) | |
tree | 79e51b08a672722e7a80452756bafbc3388186aa /android/experimental/LibreOffice4Android | |
parent | 480a0ef7c1c760385594b09a39e0aa95a7cb0a99 (diff) |
outter -> outer (also when "outter" is inside another word)
Change-Id: I0290d57f1c27a82a34a7dba56d88d51ec6d0bd9e
Diffstat (limited to 'android/experimental/LibreOffice4Android')
-rw-r--r-- | android/experimental/LibreOffice4Android/src/org/libreoffice/ui/FolderIconView.java | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/android/experimental/LibreOffice4Android/src/org/libreoffice/ui/FolderIconView.java b/android/experimental/LibreOffice4Android/src/org/libreoffice/ui/FolderIconView.java index 4f518ed22e8f..5960e5ea4668 100644 --- a/android/experimental/LibreOffice4Android/src/org/libreoffice/ui/FolderIconView.java +++ b/android/experimental/LibreOffice4Android/src/org/libreoffice/ui/FolderIconView.java @@ -68,15 +68,15 @@ public class FolderIconView extends View{ float height = (float)this.getHeight(); float centerX = width*0.5f;// centered on horz axis float centerY = height*0.5f; - float outterRadius = 0.8f*0.5f* width; + float outerRadius = 0.8f*0.5f* width; float innerRadius = 0.7f*0.5f* width; - float thumbHeight = outterRadius*1.25f; + float thumbHeight = outerRadius*1.25f; float thumbWidth = thumbHeight*(float)(1/Math.sqrt(2)); - float DZx = 0.2f*outterRadius; - float DZy = 0.2f*outterRadius; + float DZx = 0.2f*outerRadius; + float DZy = 0.2f*outerRadius; //Bitmap blankPage = BitmapFactory.decodeResource( getResources() , R.drawable.page ); Log.i( TAG , Float.toString( width ) + " X " + Float.toString( height ) ); - canvas.drawCircle( centerX , centerY , outterRadius , mPaintGray ); + canvas.drawCircle( centerX , centerY , outerRadius , mPaintGray ); canvas.drawCircle( centerX , centerY , innerRadius , mPaintBlack ); //Either get thumbs from directory or use generic page images //For now just get the first 4 thumbs -> add some checks later @@ -103,8 +103,8 @@ public class FolderIconView extends View{ // Show a generic blank page icon if( thumbs.isEmpty() ) return; - /*float left = centerX ;//+ 0.25f*outterRadius; - float top = centerY - 0.5f*outterRadius; + /*float left = centerX ;//+ 0.25f*outerRadius; + float top = centerY - 0.5f*outerRadius; float right = left + thumbs.get(0).getWidth()*0.4f; float bottom = top + thumbs.get(0).getHeight()*0.4f; RectF dest = new RectF( left, top , right , bottom ); @@ -114,8 +114,8 @@ public class FolderIconView extends View{ for( int i = 1 ; i <= size ; i++ ){ canvas.drawRect( shadowBox , mPaintShadow); canvas.drawBitmap( thumbs.pop() , null , dest , null); - dest.offset( -outterRadius*0.2f , outterRadius*0.1f ); - shadowBox.offset( -outterRadius*0.2f , outterRadius*0.1f ); + dest.offset( -outerRadius*0.2f , outerRadius*0.1f ); + shadowBox.offset( -outerRadius*0.2f , outerRadius*0.1f ); }*/ float left; float top; |