Permalink
Browse files

@emir-hasanbegovic/@anthony-tarantini [#67877974] Changed package nam…

…e to mobi.parchment
  • Loading branch information...
Emir Hasanbegovic
Emir Hasanbegovic committed Mar 19, 2014
1 parent c799bd9 commit 489344efb8630762f4d04e3df350216494facbda
Showing with 190 additions and 191 deletions.
  1. +1 −1 README.md
  2. +1 −1 integration/AndroidManifest.xml
  3. +2 −2 integration/pom.xml
  4. +2 −2 integration/res/layout/basic.xml
  5. +2 −2 integration/res/layout/on_screen_cell_spacing.xml
  6. +2 −2 integration/src/test/java/{com → mobi}/parchment/HorizontalListViewTest.java
  7. +1 −1 library/AndroidManifest.xml
  8. +1 −1 library/pom.xml
  9. +1 −1 library/src/main/java/{com → mobi}/parchment/widget/adapterview/AdapterAnimator.java
  10. +1 −1 library/src/main/java/{com → mobi}/parchment/widget/adapterview/AdapterView.java
  11. +1 −1 library/src/main/java/{com → mobi}/parchment/widget/adapterview/AdapterViewDataSetObserver.java
  12. +1 −1 library/src/main/java/{com → mobi}/parchment/widget/adapterview/AdapterViewGestureDetector.java
  13. +1 −1 library/src/main/java/{com → mobi}/parchment/widget/adapterview/AdapterViewHandler.java
  14. +1 −1 library/src/main/java/{com → mobi}/parchment/widget/adapterview/AdapterViewInitializer.java
  15. +1 −1 library/src/main/java/{com → mobi}/parchment/widget/adapterview/AdapterViewManager.java
  16. +1 −1 library/src/main/java/{com → mobi}/parchment/widget/adapterview/Animation.java
  17. +1 −1 library/src/main/java/{com → mobi}/parchment/widget/adapterview/AnimationStoppedListener.java
  18. +2 −2 library/src/main/java/{com → mobi}/parchment/widget/adapterview/Attributes.java
  19. +1 −1 library/src/main/java/{com → mobi}/parchment/widget/adapterview/ChildTouchGestureListener.java
  20. +1 −1 library/src/main/java/{com → mobi}/parchment/widget/adapterview/DataSetObserverManager.java
  21. +9 −9 library/src/main/java/{com → mobi}/parchment/widget/adapterview/LayoutManager.java
  22. +1 −1 library/src/main/java/{com → mobi}/parchment/widget/adapterview/LayoutManagerAttributes.java
  23. +1 −1 library/src/main/java/{com → mobi}/parchment/widget/adapterview/LayoutManagerBridge.java
  24. +1 −1 library/src/main/java/{com → mobi}/parchment/widget/adapterview/Move.java
  25. +1 −1 library/src/main/java/{com → mobi}/parchment/widget/adapterview/OnSelectedListener.java
  26. +1 −1 library/src/main/java/{com → mobi}/parchment/widget/adapterview/Orientation.java
  27. +1 −1 library/src/main/java/{com → mobi}/parchment/widget/adapterview/ScrollAnimator.java
  28. +1 −1 library/src/main/java/{com → mobi}/parchment/widget/adapterview/ScrollDirectionManager.java
  29. +1 −1 library/src/main/java/{com → mobi}/parchment/widget/adapterview/SelectedPositionManager.java
  30. +1 −1 library/src/main/java/{com → mobi}/parchment/widget/adapterview/SnapPosition.java
  31. +1 −1 ...y/src/main/java/{com → mobi}/parchment/widget/adapterview/griddefinitionview/DefinitionGroup.java
  32. +3 −4 ...n/java/{com → mobi}/parchment/widget/adapterview/griddefinitionview/GridDefinitionAttributes.java
  33. +5 −5 ...ava/{com → mobi}/parchment/widget/adapterview/griddefinitionview/GridDefinitionLayoutManager.java
  34. +3 −3 ... mobi}/parchment/widget/adapterview/griddefinitionview/GridDefinitionLayoutManagerAttributes.java
  35. +7 −7 ...rc/main/java/{com → mobi}/parchment/widget/adapterview/griddefinitionview/GridDefinitionView.java
  36. +1 −1 ...c/main/java/{com → mobi}/parchment/widget/adapterview/griddefinitionview/GridGroupDefinition.java
  37. +1 −1 ...rc/main/java/{com → mobi}/parchment/widget/adapterview/griddefinitionview/GridItemDefinition.java
  38. +1 −1 library/src/main/java/{com → mobi}/parchment/widget/adapterview/gridview/Gravity.java
  39. +3 −3 library/src/main/java/{com → mobi}/parchment/widget/adapterview/gridview/GridAttributes.java
  40. +4 −4 library/src/main/java/{com → mobi}/parchment/widget/adapterview/gridview/GridLayoutManager.java
  41. +4 −4 ...src/main/java/{com → mobi}/parchment/widget/adapterview/gridview/GridLayoutManagerAttributes.java
  42. +7 −7 library/src/main/java/{com → mobi}/parchment/widget/adapterview/gridview/GridView.java
  43. +1 −1 library/src/main/java/{com → mobi}/parchment/widget/adapterview/gridview/Group.java
  44. +5 −5 library/src/main/java/{com → mobi}/parchment/widget/adapterview/listview/ListLayoutManager.java
  45. +9 −9 library/src/main/java/{com → mobi}/parchment/widget/adapterview/listview/ListView.java
  46. +4 −4 library/src/main/java/{com → mobi}/parchment/widget/adapterview/snapposition/CenterSnapPosition.java
  47. +4 −4 library/src/main/java/{com → mobi}/parchment/widget/adapterview/snapposition/EndSnapPosition.java
  48. +4 −4 ...n/java/{com → mobi}/parchment/widget/adapterview/snapposition/EndWithCellSpacingSnapPosition.java
  49. +4 −4 ...ry/src/main/java/{com → mobi}/parchment/widget/adapterview/snapposition/OnScreenSnapPosition.java
  50. +4 −4 ...a/{com → mobi}/parchment/widget/adapterview/snapposition/OnScreenWithCellSpacingSnapPosition.java
  51. +4 −4 ...y/src/main/java/{com → mobi}/parchment/widget/adapterview/snapposition/SnapPositionInterface.java
  52. +4 −4 library/src/main/java/{com → mobi}/parchment/widget/adapterview/snapposition/StartSnapPosition.java
  53. +4 −4 ...java/{com → mobi}/parchment/widget/adapterview/snapposition/StartWithCellSpacingSnapPosition.java
  54. +5 −5 ...est/java/{com → mobi}/parchment/widget/adapterview/GridDefinitionLayoutManagerOverScrollTest.java
  55. +5 −5 library/src/test/java/{com → mobi}/parchment/widget/adapterview/GridDefinitionLayoutManagerTest.java
  56. +3 −3 .../src/test/java/{com → mobi}/parchment/widget/adapterview/GridLayoutManagerCircularScrollTest.java
  57. +3 −3 library/src/test/java/{com → mobi}/parchment/widget/adapterview/GridLayoutManagerTest.java
  58. +2 −2 library/src/test/java/{com → mobi}/parchment/widget/adapterview/ListLayoutManagerTest.java
  59. +2 −2 library/src/test/java/{com → mobi}/parchment/widget/adapterview/OnItemSelectedListenerTest.java
  60. +2 −2 library/src/test/java/{com → mobi}/parchment/widget/adapterview/StableIdsTest.java
  61. +8 −8 ...test/java/{com → mobi}/parchment/widget/adapterview/getCellCisplacementFromSnapPositionTests.java
  62. +7 −7 sample/AndroidManifest.xml
  63. +2 −2 sample/pom.xml
  64. +2 −2 sample/res/layout/activity_simple_grid_definition_view.xml
  65. +2 −2 sample/res/layout/activity_simple_gridview.xml
  66. +2 −2 sample/res/layout/activity_simple_horizontal.xml
  67. +2 −2 sample/res/layout/activity_simple_view_pager.xml
  68. +1 −1 sample/src/main/java/{com → mobi}/parchment/BaseActivity.java
  69. +1 −1 sample/src/main/java/{com → mobi}/parchment/CountBaseAdapter.java
  70. +1 −1 sample/src/main/java/{com → mobi}/parchment/MenuActivity.java
  71. +1 −1 sample/src/main/java/{com → mobi}/parchment/SimpleApplication.java
  72. +3 −3 sample/src/main/java/{com → mobi}/parchment/SimpleGridDefinitionViewActivity.java
  73. +2 −2 sample/src/main/java/{com → mobi}/parchment/SimpleGridViewActivity.java
  74. +2 −2 sample/src/main/java/{com → mobi}/parchment/SimpleListViewActivity.java
  75. +2 −2 sample/src/main/java/{com → mobi}/parchment/SimpleViewPagerActivity.java
@@ -19,7 +19,7 @@ Set parchment up as an Android library project. Include it in your main android
Add one of the AdapterView classes (GridView, ListView, GridDefinitionView), don't forget to choose an orientation:

```xml
<com.parchment.widget.listview.ListView
<mobi.parchment.widget.listview.ListView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:parchment="http://schemas.android.com/apk/res/<YOUR PACKAGE NAME>"
android:id="@+id/horizontal_list_view"
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.parchment"
package="mobi.parchment"
android:versionCode="1"
android:versionName="1.0">

@@ -2,7 +2,7 @@
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.parchment</groupId>
<groupId>mobi.parchment</groupId>
<version>1.0.0</version>
<artifactId>IntegrationTest</artifactId>
<packaging>apk</packaging>
@@ -43,7 +43,7 @@


<dependency>
<groupId>com.parchment</groupId>
<groupId>mobi.parchment</groupId>
<artifactId>parchment</artifactId>
<version>1.5.1</version>
<optional>true</optional>
@@ -5,8 +5,8 @@
android:layout_width="match_parent"
android:layout_height="match_parent">

<com.parchment.widget.adapterview.listview.ListView
xmlns:horizontalListView="http://schemas.android.com/apk/res/com.parchment"
<mobi.parchment.widget.adapterview.listview.ListView
xmlns:horizontalListView="http://schemas.android.com/apk/res/mobi.parchment"
android:id="@+id/horizontal_list_view"
android:layout_width="0dp"
android:layout_weight="1"
@@ -6,8 +6,8 @@
android:layout_height="match_parent">


<com.parchment.widget.adapterview.listview.ListView
xmlns:horizontalListView="http://schemas.android.com/apk/res/com.parchment"
<mobi.parchment.widget.adapterview.listview.ListView
xmlns:horizontalListView="http://schemas.android.com/apk/res/mobi.parchment"
android:id="@+id/horizontal_list_view"
horizontalListView:cellSpacing="@dimen/horizontal_list_view_test_margin"
horizontalListView:snapPosition="onScreenWithCellSpacing"
@@ -1,4 +1,4 @@
package com.parchment;
package mobi.parchment;

import android.app.Activity;
import android.content.res.Resources;
@@ -7,7 +7,7 @@
import android.view.ViewGroup;
import android.widget.BaseAdapter;

import com.parchment.widget.adapterview.listview.ListView;
import mobi.parchment.widget.adapterview.listview.ListView;

import org.junit.Test;
import org.junit.runner.RunWith;
@@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.parchment"
package="mobi.parchment"
android:versionCode="1"
android:versionName="1.0" >

@@ -2,7 +2,7 @@
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.parchment</groupId>
<groupId>mobi.parchment</groupId>
<artifactId>parchment</artifactId>
<version>1.5.1</version>
<packaging>apklib</packaging>
@@ -1,4 +1,4 @@
package com.parchment.widget.adapterview;
package mobi.parchment.widget.adapterview;

import android.view.GestureDetector.OnGestureListener;
import android.view.MotionEvent;
@@ -1,4 +1,4 @@
package com.parchment.widget.adapterview;
package mobi.parchment.widget.adapterview;

import android.content.Context;
import android.database.DataSetObserver;
@@ -1,4 +1,4 @@
package com.parchment.widget.adapterview;
package mobi.parchment.widget.adapterview;

import android.database.DataSetObserver;

@@ -1,4 +1,4 @@
package com.parchment.widget.adapterview;
package mobi.parchment.widget.adapterview;

import android.content.Context;
import android.os.Handler;
@@ -1,4 +1,4 @@
package com.parchment.widget.adapterview;
package mobi.parchment.widget.adapterview;

import android.view.View;
import android.view.ViewGroup.LayoutParams;
@@ -1,4 +1,4 @@
package com.parchment.widget.adapterview;
package mobi.parchment.widget.adapterview;

import android.view.GestureDetector;

@@ -1,4 +1,4 @@
package com.parchment.widget.adapterview;
package mobi.parchment.widget.adapterview;

import android.database.DataSetObserver;
import android.view.View;
@@ -1,4 +1,4 @@
package com.parchment.widget.adapterview;
package mobi.parchment.widget.adapterview;

/**
* Created by Emir Hasanbegovic
@@ -1,4 +1,4 @@
package com.parchment.widget.adapterview;
package mobi.parchment.widget.adapterview;

/**
* Created by Emir Hasanbegovic
@@ -1,9 +1,9 @@
package com.parchment.widget.adapterview;
package mobi.parchment.widget.adapterview;

import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import com.parchment.R;
import mobi.parchment.R;

/**
* Created by Emir Hasanbegovic
@@ -1,4 +1,4 @@
package com.parchment.widget.adapterview;
package mobi.parchment.widget.adapterview;

import android.view.MotionEvent;
import android.view.View;
@@ -1,4 +1,4 @@
package com.parchment.widget.adapterview;
package mobi.parchment.widget.adapterview;

import java.util.Collection;
import java.util.HashSet;
@@ -1,16 +1,16 @@
package com.parchment.widget.adapterview;
package mobi.parchment.widget.adapterview;

import android.view.View;
import android.view.ViewGroup;

import com.parchment.widget.adapterview.snapposition.CenterSnapPosition;
import com.parchment.widget.adapterview.snapposition.EndSnapPosition;
import com.parchment.widget.adapterview.snapposition.EndWithCellSpacingSnapPosition;
import com.parchment.widget.adapterview.snapposition.OnScreenSnapPosition;
import com.parchment.widget.adapterview.snapposition.OnScreenWithCellSpacingSnapPosition;
import com.parchment.widget.adapterview.snapposition.SnapPositionInterface;
import com.parchment.widget.adapterview.snapposition.StartSnapPosition;
import com.parchment.widget.adapterview.snapposition.StartWithCellSpacingSnapPosition;
import mobi.parchment.widget.adapterview.snapposition.CenterSnapPosition;
import mobi.parchment.widget.adapterview.snapposition.EndSnapPosition;
import mobi.parchment.widget.adapterview.snapposition.EndWithCellSpacingSnapPosition;
import mobi.parchment.widget.adapterview.snapposition.OnScreenSnapPosition;
import mobi.parchment.widget.adapterview.snapposition.OnScreenWithCellSpacingSnapPosition;
import mobi.parchment.widget.adapterview.snapposition.SnapPositionInterface;
import mobi.parchment.widget.adapterview.snapposition.StartSnapPosition;
import mobi.parchment.widget.adapterview.snapposition.StartWithCellSpacingSnapPosition;

import java.util.ArrayList;
import java.util.HashMap;
@@ -1,4 +1,4 @@
package com.parchment.widget.adapterview;
package mobi.parchment.widget.adapterview;

public class LayoutManagerAttributes {

@@ -1,4 +1,4 @@
package com.parchment.widget.adapterview;
package mobi.parchment.widget.adapterview;

import android.view.View;
import android.view.ViewGroup;
@@ -1,4 +1,4 @@
package com.parchment.widget.adapterview;
package mobi.parchment.widget.adapterview;

/**
* Created by Emir Hasanbegovic
@@ -1,4 +1,4 @@
package com.parchment.widget.adapterview;
package mobi.parchment.widget.adapterview;

import android.view.View;

@@ -1,4 +1,4 @@
package com.parchment.widget.adapterview;
package mobi.parchment.widget.adapterview;

/**
* Created by Emir Hasanbegovic on 2014-02-26.
@@ -1,4 +1,4 @@
package com.parchment.widget.adapterview;
package mobi.parchment.widget.adapterview;

import android.content.Context;
import android.widget.Scroller;
@@ -1,4 +1,4 @@
package com.parchment.widget.adapterview;
package mobi.parchment.widget.adapterview;

import android.view.View;
import android.view.ViewGroup;
@@ -1,4 +1,4 @@
package com.parchment.widget.adapterview;
package mobi.parchment.widget.adapterview;

import java.util.HashMap;

@@ -1,4 +1,4 @@
package com.parchment.widget.adapterview;
package mobi.parchment.widget.adapterview;

/**
* Created by Emir Hasanbegovic
@@ -1,4 +1,4 @@
package com.parchment.widget.adapterview.griddefinitionview;
package mobi.parchment.widget.adapterview.griddefinitionview;

import android.view.View;
import android.view.ViewGroup;
@@ -1,12 +1,11 @@
package com.parchment.widget.adapterview.griddefinitionview;
package mobi.parchment.widget.adapterview.griddefinitionview;

import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;

import com.parchment.widget.adapterview.Attributes;
import com.parchment.widget.adapterview.Orientation;
import com.parchment.R;
import mobi.parchment.widget.adapterview.Attributes;
import mobi.parchment.R;

/**
* Created by Emir Hasanbegovic on 2014-02-25.
@@ -1,12 +1,12 @@
package com.parchment.widget.adapterview.griddefinitionview;
package mobi.parchment.widget.adapterview.griddefinitionview;

import android.view.View;
import android.view.ViewGroup;

import com.parchment.widget.adapterview.AdapterViewManager;
import com.parchment.widget.adapterview.LayoutManager;
import com.parchment.widget.adapterview.LayoutManagerAttributes;
import com.parchment.widget.adapterview.OnSelectedListener;
import mobi.parchment.widget.adapterview.AdapterViewManager;
import mobi.parchment.widget.adapterview.LayoutManager;
import mobi.parchment.widget.adapterview.LayoutManagerAttributes;
import mobi.parchment.widget.adapterview.OnSelectedListener;

import java.util.ArrayList;
import java.util.List;
@@ -1,7 +1,7 @@
package com.parchment.widget.adapterview.griddefinitionview;
package mobi.parchment.widget.adapterview.griddefinitionview;

import com.parchment.widget.adapterview.LayoutManagerAttributes;
import com.parchment.widget.adapterview.SnapPosition;
import mobi.parchment.widget.adapterview.LayoutManagerAttributes;
import mobi.parchment.widget.adapterview.SnapPosition;

/**
* Created by Emir Hasanbegovic on 2014-02-25.
@@ -1,17 +1,17 @@
package com.parchment.widget.adapterview.griddefinitionview;
package mobi.parchment.widget.adapterview.griddefinitionview;

import android.content.Context;
import android.util.AttributeSet;
import android.view.View.OnClickListener;
import android.view.View.OnLongClickListener;
import android.widget.Adapter;

import com.parchment.widget.adapterview.AdapterView;
import com.parchment.widget.adapterview.AdapterViewHandler;
import com.parchment.widget.adapterview.AdapterViewInitializer;
import com.parchment.widget.adapterview.AdapterViewManager;
import com.parchment.widget.adapterview.OnSelectedListener;
import com.parchment.widget.adapterview.SnapPosition;
import mobi.parchment.widget.adapterview.AdapterView;
import mobi.parchment.widget.adapterview.AdapterViewHandler;
import mobi.parchment.widget.adapterview.AdapterViewInitializer;
import mobi.parchment.widget.adapterview.AdapterViewManager;
import mobi.parchment.widget.adapterview.OnSelectedListener;
import mobi.parchment.widget.adapterview.SnapPosition;

import java.util.List;

@@ -1,4 +1,4 @@
package com.parchment.widget.adapterview.griddefinitionview;
package mobi.parchment.widget.adapterview.griddefinitionview;

import android.view.ViewGroup;

@@ -1,4 +1,4 @@
package com.parchment.widget.adapterview.griddefinitionview;
package mobi.parchment.widget.adapterview.griddefinitionview;

/**
* Created by Emir Hasanbegovic on 2014-03-03.
@@ -1,4 +1,4 @@
package com.parchment.widget.adapterview.gridview;
package mobi.parchment.widget.adapterview.gridview;

/**
* Created by Emir Hasanbegovic on 2014-02-26.
@@ -1,11 +1,11 @@
package com.parchment.widget.adapterview.gridview;
package mobi.parchment.widget.adapterview.gridview;

import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;

import com.parchment.R;
import com.parchment.widget.adapterview.Attributes;
import mobi.parchment.R;
import mobi.parchment.widget.adapterview.Attributes;


/**
@@ -1,11 +1,11 @@
package com.parchment.widget.adapterview.gridview;
package mobi.parchment.widget.adapterview.gridview;

import android.view.View;
import android.view.ViewGroup;

import com.parchment.widget.adapterview.AdapterViewManager;
import com.parchment.widget.adapterview.LayoutManager;
import com.parchment.widget.adapterview.OnSelectedListener;
import mobi.parchment.widget.adapterview.AdapterViewManager;
import mobi.parchment.widget.adapterview.LayoutManager;
import mobi.parchment.widget.adapterview.OnSelectedListener;

import java.util.List;

@@ -1,8 +1,8 @@
package com.parchment.widget.adapterview.gridview;
package mobi.parchment.widget.adapterview.gridview;

import com.parchment.widget.adapterview.LayoutManagerAttributes;
import com.parchment.widget.adapterview.Orientation;
import com.parchment.widget.adapterview.SnapPosition;
import mobi.parchment.widget.adapterview.LayoutManagerAttributes;
import mobi.parchment.widget.adapterview.Orientation;
import mobi.parchment.widget.adapterview.SnapPosition;

/**
* Created by Emir Hasanbegovic on 2014-02-25.
Oops, something went wrong.

0 comments on commit 489344e

Please sign in to comment.