├── .gitignore ├── ConstraintBasedLayoutManager ├── .DS_Store ├── .classpath ├── .project ├── .settings │ └── org.eclipse.jdt.core.prefs ├── AndroidManifest.xml ├── libs │ ├── android-support-v4.jar │ └── java-cup-11a-runtime.jar ├── proguard-project.txt ├── project.properties ├── res │ ├── drawable-hdpi │ │ ├── ic_action_tick.png │ │ └── ic_launcher.png │ ├── drawable-mdpi │ │ ├── ic_action_tick.png │ │ └── ic_launcher.png │ ├── drawable-xhdpi │ │ ├── ic_action_tick.png │ │ └── ic_launcher.png │ ├── layout │ │ ├── activity_app_home.xml │ │ ├── activity_dynamic_layout_editor.xml │ │ ├── activity_main.xml │ │ ├── activity_padding.xml │ │ └── spinner_item.xml │ ├── values-large │ │ └── styles.xml │ ├── values-sw600dp │ │ └── dimens.xml │ ├── values-sw720dp-land │ │ └── dimens.xml │ ├── values-v11 │ │ └── styles.xml │ ├── values-v14 │ │ └── styles.xml │ └── values │ │ ├── attrs.xml │ │ ├── dimens.xml │ │ ├── ids.xml │ │ ├── strings.xml │ │ ├── strings_activity_dynamic_layout_editor.xml │ │ └── styles.xml └── src │ └── edu │ └── gatech │ └── constraints │ ├── cassowary │ ├── CL.java │ ├── ClAbstractVariable.java │ ├── ClConstraint.java │ ├── ClDouble.java │ ├── ClDummyVariable.java │ ├── ClEditConstraint.java │ ├── ClEditInfo.java │ ├── ClEditOrStayConstraint.java │ ├── ClLinearConstraint.java │ ├── ClLinearEquation.java │ ├── ClLinearExpression.java │ ├── ClLinearInequality.java │ ├── ClObjectiveVariable.java │ ├── ClParseTest.java │ ├── ClPoint.java │ ├── ClReader.cup │ ├── ClReader.flex │ ├── ClSimplexSolver.java │ ├── ClSlackVariable.java │ ├── ClStayConstraint.java │ ├── ClStrength.java │ ├── ClSymbolicWeight.java │ ├── ClTableau.java │ ├── ClTests.java │ ├── ClVariable.java │ ├── ExCLConstraintNotFound.java │ ├── ExCLError.java │ ├── ExCLInternalError.java │ ├── ExCLNonlinearExpression.java │ ├── ExCLNotEnoughStays.java │ ├── ExCLRequiredFailure.java │ ├── ExCLTooDifficult.java │ ├── Makefile.am │ ├── Makefile.in │ ├── README │ ├── Set.java │ ├── Timer.java │ ├── Yylex.java │ ├── buildparser.xml │ ├── parser.java │ └── sym.java │ ├── demo │ ├── AppHome.java │ ├── CircularLayout.java │ ├── Constants.java │ ├── DynamicDemo.java │ ├── DynamicLayoutEditor.java │ ├── DynamicLayoutOutput.java │ ├── DynamicView.java │ ├── Functions.java │ ├── PaddingDemo.java │ └── StaticDemo.java │ └── library │ ├── ClDimension.java │ ├── InfixToPostfix.java │ ├── LinearConstraintLayout.java │ ├── MyStackList.java │ └── ViewElement.java └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | # built application files 2 | **/*.apk 3 | **/*.ap_ 4 | 5 | # files for the dex VM 6 | **/*.dex 7 | 8 | # Java class files 9 | **/*.class 10 | 11 | # generated files 12 | **/bin/ 13 | **/gen/ 14 | 15 | # Local configuration file (sdk path, etc) 16 | **/local.properties 17 | 18 | # Eclipse project files 19 | **/.classpath 20 | **/.project 21 | 22 | # Proguard folder generated by Eclipse 23 | **/proguard/ 24 | 25 | # Intellij project files 26 | **/*.iml 27 | **/*.ipr 28 | **/*.iws 29 | **/.idea/ 30 | -------------------------------------------------------------------------------- /ConstraintBasedLayoutManager/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anandsainath/constraint-layout/bd568ee8fd44de81c8c6c4ecda3fff926457a074/ConstraintBasedLayoutManager/.DS_Store -------------------------------------------------------------------------------- /ConstraintBasedLayoutManager/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /ConstraintBasedLayoutManager/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | ConstraintBasedLayoutManager 4 | 5 | 6 | 7 | 8 | 9 | com.android.ide.eclipse.adt.ResourceManagerBuilder 10 | 11 | 12 | 13 | 14 | com.android.ide.eclipse.adt.PreCompilerBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.jdt.core.javabuilder 20 | 21 | 22 | 23 | 24 | com.android.ide.eclipse.adt.ApkBuilder 25 | 26 | 27 | 28 | 29 | 30 | com.android.ide.eclipse.adt.AndroidNature 31 | org.eclipse.jdt.core.javanature 32 | 33 | 34 | -------------------------------------------------------------------------------- /ConstraintBasedLayoutManager/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 3 | org.eclipse.jdt.core.compiler.compliance=1.6 4 | org.eclipse.jdt.core.compiler.source=1.6 5 | -------------------------------------------------------------------------------- /ConstraintBasedLayoutManager/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 10 | 11 | 16 | 19 | 20 | 23 | 24 | 28 | 29 | 32 | 33 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 45 | 46 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /ConstraintBasedLayoutManager/libs/android-support-v4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anandsainath/constraint-layout/bd568ee8fd44de81c8c6c4ecda3fff926457a074/ConstraintBasedLayoutManager/libs/android-support-v4.jar -------------------------------------------------------------------------------- /ConstraintBasedLayoutManager/libs/java-cup-11a-runtime.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anandsainath/constraint-layout/bd568ee8fd44de81c8c6c4ecda3fff926457a074/ConstraintBasedLayoutManager/libs/java-cup-11a-runtime.jar -------------------------------------------------------------------------------- /ConstraintBasedLayoutManager/proguard-project.txt: -------------------------------------------------------------------------------- 1 | # To enable ProGuard in your project, edit project.properties 2 | # to define the proguard.config property as described in that file. 3 | # 4 | # Add project specific ProGuard rules here. 5 | # By default, the flags in this file are appended to flags specified 6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt 7 | # You can edit the include path and order by changing the ProGuard 8 | # include property in project.properties. 9 | # 10 | # For more details, see 11 | # http://developer.android.com/guide/developing/tools/proguard.html 12 | 13 | # Add any project specific keep options here: 14 | 15 | # If your project uses WebView with JS, uncomment the following 16 | # and specify the fully qualified class name to the JavaScript interface 17 | # class: 18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 19 | # public *; 20 | #} 21 | -------------------------------------------------------------------------------- /ConstraintBasedLayoutManager/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=Google Inc.:Google APIs:19 15 | -------------------------------------------------------------------------------- /ConstraintBasedLayoutManager/res/drawable-hdpi/ic_action_tick.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anandsainath/constraint-layout/bd568ee8fd44de81c8c6c4ecda3fff926457a074/ConstraintBasedLayoutManager/res/drawable-hdpi/ic_action_tick.png -------------------------------------------------------------------------------- /ConstraintBasedLayoutManager/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anandsainath/constraint-layout/bd568ee8fd44de81c8c6c4ecda3fff926457a074/ConstraintBasedLayoutManager/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /ConstraintBasedLayoutManager/res/drawable-mdpi/ic_action_tick.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anandsainath/constraint-layout/bd568ee8fd44de81c8c6c4ecda3fff926457a074/ConstraintBasedLayoutManager/res/drawable-mdpi/ic_action_tick.png -------------------------------------------------------------------------------- /ConstraintBasedLayoutManager/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anandsainath/constraint-layout/bd568ee8fd44de81c8c6c4ecda3fff926457a074/ConstraintBasedLayoutManager/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /ConstraintBasedLayoutManager/res/drawable-xhdpi/ic_action_tick.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anandsainath/constraint-layout/bd568ee8fd44de81c8c6c4ecda3fff926457a074/ConstraintBasedLayoutManager/res/drawable-xhdpi/ic_action_tick.png -------------------------------------------------------------------------------- /ConstraintBasedLayoutManager/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anandsainath/constraint-layout/bd568ee8fd44de81c8c6c4ecda3fff926457a074/ConstraintBasedLayoutManager/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /ConstraintBasedLayoutManager/res/layout/activity_app_home.xml: -------------------------------------------------------------------------------- 1 | 11 | 12 |