first:
15
.gitignore
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
*.iml
|
||||
.gradle
|
||||
/local.properties
|
||||
/.idea/caches
|
||||
/.idea/libraries
|
||||
/.idea/modules.xml
|
||||
/.idea/workspace.xml
|
||||
/.idea/navEditor.xml
|
||||
/.idea/assetWizardSettings.xml
|
||||
.DS_Store
|
||||
/build
|
||||
/captures
|
||||
.externalNativeBuild
|
||||
.cxx
|
||||
local.properties
|
3
.idea/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
6
.idea/compiler.xml
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="CompilerConfiguration">
|
||||
<bytecodeTargetLevel target="1.8" />
|
||||
</component>
|
||||
</project>
|
22
.idea/gradle.xml
Normal file
@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="GradleMigrationSettings" migrationVersion="1" />
|
||||
<component name="GradleSettings">
|
||||
<option name="linkedExternalProjectsSettings">
|
||||
<GradleProjectSettings>
|
||||
<option name="testRunner" value="PLATFORM" />
|
||||
<option name="distributionType" value="DEFAULT_WRAPPED" />
|
||||
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="gradleJvm" value="1.8" />
|
||||
<option name="modules">
|
||||
<set>
|
||||
<option value="$PROJECT_DIR$" />
|
||||
<option value="$PROJECT_DIR$/app" />
|
||||
</set>
|
||||
</option>
|
||||
<option name="resolveModulePerSourceSet" value="false" />
|
||||
<option name="useQualifiedModuleNames" value="true" />
|
||||
</GradleProjectSettings>
|
||||
</option>
|
||||
</component>
|
||||
</project>
|
25
.idea/jarRepositories.xml
Normal file
@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="RemoteRepositoriesConfiguration">
|
||||
<remote-repository>
|
||||
<option name="id" value="central" />
|
||||
<option name="name" value="Maven Central repository" />
|
||||
<option name="url" value="https://repo1.maven.org/maven2" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="jboss.community" />
|
||||
<option name="name" value="JBoss Community repository" />
|
||||
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="BintrayJCenter" />
|
||||
<option name="name" value="BintrayJCenter" />
|
||||
<option name="url" value="https://jcenter.bintray.com/" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="Google" />
|
||||
<option name="name" value="Google" />
|
||||
<option name="url" value="https://dl.google.com/dl/android/maven2/" />
|
||||
</remote-repository>
|
||||
</component>
|
||||
</project>
|
9
.idea/misc.xml
Normal file
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/build/classes" />
|
||||
</component>
|
||||
<component name="ProjectType">
|
||||
<option name="id" value="Android" />
|
||||
</component>
|
||||
</project>
|
1
app/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/build
|
38
app/build.gradle
Normal file
@ -0,0 +1,38 @@
|
||||
plugins {
|
||||
id 'com.android.application'
|
||||
}
|
||||
|
||||
android {
|
||||
compileSdkVersion 30
|
||||
buildToolsVersion "30.0.2"
|
||||
|
||||
defaultConfig {
|
||||
applicationId "com.example.pizzujemyv3"
|
||||
minSdkVersion 24
|
||||
targetSdkVersion 30
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
|
||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_1_8
|
||||
targetCompatibility JavaVersion.VERSION_1_8
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
implementation 'com.android.support:appcompat-v7:28.0.0'
|
||||
implementation 'com.android.support.constraint:constraint-layout:2.0.4'
|
||||
testImplementation 'junit:junit:4.+'
|
||||
androidTestImplementation 'com.android.support.test:runner:1.0.2'
|
||||
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
|
||||
}
|
21
app/proguard-rules.pro
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
# Add project specific ProGuard rules here.
|
||||
# You can control the set of applied configuration files using the
|
||||
# proguardFiles setting in build.gradle.
|
||||
#
|
||||
# For more details, see
|
||||
# http://developer.android.com/guide/developing/tools/proguard.html
|
||||
|
||||
# If your project uses WebView with JS, uncomment the following
|
||||
# and specify the fully qualified class name to the JavaScript interface
|
||||
# class:
|
||||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
||||
# public *;
|
||||
#}
|
||||
|
||||
# Uncomment this to preserve the line number information for
|
||||
# debugging stack traces.
|
||||
#-keepattributes SourceFile,LineNumberTable
|
||||
|
||||
# If you keep the line number information, uncomment this to
|
||||
# hide the original source file name.
|
||||
#-renamesourcefileattribute SourceFile
|
@ -0,0 +1,25 @@
|
||||
package com.example.pizzujemyv3;
|
||||
|
||||
import android.content.Context;
|
||||
import android.support.test.InstrumentationRegistry;
|
||||
import android.support.test.runner.AndroidJUnit4;
|
||||
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
/**
|
||||
* Instrumented test, which will execute on an Android device.
|
||||
*
|
||||
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
|
||||
*/
|
||||
@RunWith(AndroidJUnit4.class)
|
||||
public class ExampleInstrumentedTest {
|
||||
@Test
|
||||
public void useAppContext() {
|
||||
// Context of the app under test.
|
||||
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
|
||||
assertEquals("com.example.pizzujemyv3", appContext.getPackageName());
|
||||
}
|
||||
}
|
23
app/src/main/AndroidManifest.xml
Normal file
@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.example.pizzujemyv3">
|
||||
|
||||
<application
|
||||
android:allowBackup="true"
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
android:label="@string/app_name"
|
||||
android:roundIcon="@mipmap/ic_launcher_round"
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/Theme.PizzujemyV3">
|
||||
<activity android:name=".CartActivity"></activity>
|
||||
<activity android:name=".Menu" />
|
||||
<activity android:name=".MainActivity">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
</application>
|
||||
|
||||
</manifest>
|
43
app/src/main/java/com/example/pizzujemyv3/Cart.java
Normal file
@ -0,0 +1,43 @@
|
||||
package com.example.pizzujemyv3;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
|
||||
|
||||
|
||||
public class Cart {
|
||||
private Pizza pizza;
|
||||
public ArrayList<Pizza> cartLista;
|
||||
private int sum;
|
||||
|
||||
public Cart(){
|
||||
|
||||
}
|
||||
|
||||
|
||||
public void setCartLista(ArrayList<Pizza> menuLista)
|
||||
{
|
||||
menuLista.forEach((pizza) -> addToCart(getPizza()));
|
||||
|
||||
}
|
||||
|
||||
public void addToCart(Pizza pizza){
|
||||
if(pizza.getOnOrder()>0)
|
||||
{
|
||||
cartLista.add(pizza);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public void setSum()
|
||||
{
|
||||
cartLista.forEach(pizza -> sum+= pizza.getPrice());
|
||||
}
|
||||
|
||||
public int getSum(){return sum;}
|
||||
|
||||
public Pizza getPizza() {
|
||||
return pizza;
|
||||
}
|
||||
}
|
||||
|
50
app/src/main/java/com/example/pizzujemyv3/CartActivity.java
Normal file
@ -0,0 +1,50 @@
|
||||
package com.example.pizzujemyv3;
|
||||
|
||||
import android.support.v7.app.AppCompatActivity;
|
||||
import android.os.Bundle;
|
||||
import android.view.View;
|
||||
import android.widget.Button;
|
||||
import android.widget.ListView;
|
||||
import android.widget.Switch;
|
||||
import android.widget.Toast;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
|
||||
public class CartActivity extends AppCompatActivity {
|
||||
ListView cartListView;
|
||||
ArrayList<Pizza> pizzaArrayList;
|
||||
Switch oSwitch;
|
||||
Button oButton;
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.activity_cart);
|
||||
|
||||
|
||||
Bundle bundleObject = getIntent().getExtras();
|
||||
pizzaArrayList = (ArrayList<Pizza>) bundleObject.getSerializable("pizzas");
|
||||
|
||||
|
||||
Cart cart = new Cart();
|
||||
|
||||
cartListView = findViewById(R.id.cartListView);
|
||||
cart.setCartLista(pizzaArrayList);
|
||||
PizzaAdapter cartAdapter = new PizzaAdapter(this,R.layout.cart_list_row,cart.cartLista);
|
||||
cartListView.setAdapter(cartAdapter);
|
||||
|
||||
oButton = findViewById(R.id.zamow);
|
||||
oButton.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
if(oSwitch.isChecked());
|
||||
|
||||
{
|
||||
Toast.makeText(getApplicationContext(),"Szacowany czas oczekiwania: 50 minut", Toast.LENGTH_SHORT);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
}
|
||||
}
|
30
app/src/main/java/com/example/pizzujemyv3/MainActivity.java
Normal file
@ -0,0 +1,30 @@
|
||||
package com.example.pizzujemyv3;
|
||||
|
||||
import android.content.Intent;
|
||||
import android.support.v7.app.AppCompatActivity;
|
||||
import android.os.Bundle;
|
||||
import android.view.View;
|
||||
import android.widget.Button;
|
||||
|
||||
public class MainActivity extends AppCompatActivity {
|
||||
Button menuButton;
|
||||
public static SQLiteHelper sqLiteHelper;
|
||||
@Override
|
||||
public void onCreate(Bundle savedInstanceState) {
|
||||
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.activity_main);
|
||||
|
||||
menuButton = findViewById(R.id.menuButton);
|
||||
menuButton.setOnClickListener(new View.OnClickListener() {
|
||||
public void onClick(View v) {
|
||||
Intent intent = new Intent(MainActivity.this, Menu.class);
|
||||
startActivity(intent);
|
||||
}
|
||||
|
||||
|
||||
});
|
||||
sqLiteHelper = new SQLiteHelper(this, "pizza.sqlite", null, 1);
|
||||
sqLiteHelper.queryData("CREATE TABLE IF NOT EXISTS PIZZA(name VARCHAR, price VARCHAR, image BLOG)");
|
||||
}
|
||||
}
|
44
app/src/main/java/com/example/pizzujemyv3/Menu.java
Normal file
@ -0,0 +1,44 @@
|
||||
package com.example.pizzujemyv3;
|
||||
|
||||
import android.content.Intent;
|
||||
import android.support.v7.app.AppCompatActivity;
|
||||
import android.os.Bundle;
|
||||
import android.view.View;
|
||||
import android.widget.Button;
|
||||
import android.widget.ListView;
|
||||
import android.widget.Toast;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class Menu extends AppCompatActivity {
|
||||
|
||||
ListView menuListView;
|
||||
Button cartButton;
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.activity_menu);
|
||||
|
||||
menuListView = findViewById(R.id.listView);
|
||||
ArrayList<Pizza> arrayList = new ArrayList<>();
|
||||
|
||||
arrayList.add(new Pizza(1, "Margarita", 24, R.drawable.img1 , "sos pomidorowy\nmozzarella fior di latte"));
|
||||
arrayList.add(new Pizza(2, "Marinara", 22, R.drawable.img2, "sos pomidorowy\noregano\nczosnek\nbazylia"));
|
||||
arrayList.add(new Pizza(3, "Napoli", 26, R.drawable.img3 , "sos pomidorowy\nmozzarella fior di latte\nsalami napoli"));
|
||||
arrayList.add(new Pizza(4, "Parma", 26, R.drawable.img4 ,"sos pomidorowy\nmozzarella fior di latte\ncebula czerwona\nszynka parmenska"));
|
||||
arrayList.add(new Pizza(5, "Diavola", 28, R.drawable.img5 ,"sos pomidorowy\nmozzarella fior di latte\ncebula czerwona\nsalami spianata piccante"));
|
||||
|
||||
PizzaAdapter pizzaAdapter = new PizzaAdapter(this,R.layout.list_row,arrayList);
|
||||
menuListView.setAdapter(pizzaAdapter);
|
||||
cartButton = findViewById(R.id.cart);
|
||||
cartButton.setOnClickListener(new View.OnClickListener() {
|
||||
public void onClick(View v) {
|
||||
Intent intent = new Intent(Menu.this, CartActivity.class);
|
||||
Bundle bundle = new Bundle();
|
||||
bundle.putSerializable("pizzas",arrayList);
|
||||
intent.putExtras(bundle);
|
||||
startActivity(intent);
|
||||
};
|
||||
});
|
||||
}}
|
83
app/src/main/java/com/example/pizzujemyv3/Pizza.java
Normal file
@ -0,0 +1,83 @@
|
||||
package com.example.pizzujemyv3;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class Pizza implements Serializable{
|
||||
private int id;
|
||||
private String name;
|
||||
private int price;
|
||||
private int resID;
|
||||
private String des;
|
||||
private int onOrder = 0;
|
||||
private int sumPrice = price*onOrder;
|
||||
|
||||
public Pizza(int id, String name, int price, int resID, String des) {
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
this.price = price;
|
||||
this.resID = resID;
|
||||
this.des = des;
|
||||
this.onOrder = 0;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Pizza{" +
|
||||
"id=" + id +
|
||||
", name='" + name + '\'' +
|
||||
", price=" + price +
|
||||
", resID=" + resID +
|
||||
", isActive=" + des +
|
||||
'}';
|
||||
}
|
||||
//getery i setery
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public int getPrice() {
|
||||
return price;
|
||||
}
|
||||
|
||||
public String getStringPrice() {return String.valueOf(price);}
|
||||
|
||||
public void setPrice(int price) {
|
||||
this.price = price;
|
||||
}
|
||||
|
||||
public int getResID() {
|
||||
return resID;
|
||||
}
|
||||
|
||||
public void setResID(int resID) {
|
||||
this.resID = resID;
|
||||
}
|
||||
|
||||
public String getDes() {
|
||||
return des;
|
||||
}
|
||||
|
||||
public void setDes(String des) {
|
||||
this.des = des;
|
||||
}
|
||||
public int getOnOrder(){return onOrder;}
|
||||
public void addOnOrder(){this.onOrder += 1;}
|
||||
public void minOnOrder(){if(onOrder>0) this.onOrder -= 1;}
|
||||
public String getStringOnOrder(){return String.valueOf((onOrder));}
|
||||
public int getSumPrice(){return sumPrice;}
|
||||
public String getStringSumPrice(){return String.valueOf(sumPrice);}
|
||||
}
|
85
app/src/main/java/com/example/pizzujemyv3/PizzaAdapter.java
Normal file
@ -0,0 +1,85 @@
|
||||
package com.example.pizzujemyv3;
|
||||
|
||||
import android.content.Context;
|
||||
import android.support.annotation.NonNull;
|
||||
import android.support.annotation.Nullable;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.ArrayAdapter;
|
||||
import android.widget.Button;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.TextView;
|
||||
import android.widget.Toast;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class PizzaAdapter extends ArrayAdapter<Pizza> implements Serializable {
|
||||
private Context mContext;
|
||||
private int mResource;
|
||||
public PizzaAdapter(@NonNull Context context, int resource, @NonNull ArrayList<Pizza> objects) {
|
||||
super(context, resource, objects);
|
||||
this.mContext = context;
|
||||
this.mResource = resource;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
public View getView(int position, @Nullable View convertView, @NonNull ViewGroup parent) {
|
||||
LayoutInflater layoutInflater = LayoutInflater.from(mContext);
|
||||
|
||||
|
||||
convertView = layoutInflater.inflate(mResource,parent,false);
|
||||
|
||||
// TextView txtSumPrice = convertView.findViewById(R.id.sumTxtPrice);
|
||||
|
||||
TextView addCounter = convertView.findViewById(R.id.addCounter);
|
||||
|
||||
ImageView imageView = convertView.findViewById(R.id.image);
|
||||
|
||||
TextView txtName = convertView.findViewById(R.id.txtName);
|
||||
|
||||
TextView txtPrice = convertView.findViewById(R.id.txtPrice);
|
||||
|
||||
TextView txtContent = convertView.findViewById(R.id.txtContent);
|
||||
|
||||
Button minButton = convertView.findViewById(R.id.minButton);
|
||||
|
||||
Button addButton = convertView.findViewById(R.id.addButton);
|
||||
|
||||
imageView.setImageResource(getItem(position).getResID());
|
||||
addCounter.setText((getItem(position).getStringOnOrder()));
|
||||
|
||||
txtName.setText(getItem(position).getName());
|
||||
|
||||
// txtSumPrice.setText(getItem(position).getStringSumPrice());
|
||||
|
||||
txtPrice.setText(getItem(position).getStringPrice());
|
||||
|
||||
txtContent.setText(getItem(position).getDes());
|
||||
|
||||
minButton.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
getItem(position).minOnOrder();
|
||||
addCounter.setText(((getItem(position).getStringOnOrder())));
|
||||
}
|
||||
});
|
||||
addButton.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
|
||||
|
||||
public void onClick(View v) {
|
||||
Toast.makeText(getContext(), "Dodano do koszyka!", Toast.LENGTH_SHORT).show();
|
||||
getItem(position).addOnOrder();
|
||||
addCounter.setText((getItem(position).getStringOnOrder()));
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
return convertView;
|
||||
}
|
||||
|
||||
|
||||
}
|
44
app/src/main/java/com/example/pizzujemyv3/SQLiteHelper.java
Normal file
@ -0,0 +1,44 @@
|
||||
package com.example.pizzujemyv3;
|
||||
|
||||
import android.content.Context;
|
||||
import android.database.Cursor;
|
||||
import android.database.sqlite.SQLiteDatabase;
|
||||
import android.database.sqlite.SQLiteOpenHelper;
|
||||
import android.database.sqlite.SQLiteStatement;
|
||||
import android.support.annotation.Nullable;
|
||||
|
||||
public class SQLiteHelper extends SQLiteOpenHelper {
|
||||
public SQLiteHelper(@Nullable Context context, @Nullable String name, @Nullable SQLiteDatabase.CursorFactory factory, int version) {
|
||||
super(context, name, factory, version);
|
||||
}
|
||||
public void queryData(String sql){
|
||||
SQLiteDatabase database = getWritableDatabase();
|
||||
database.execSQL(sql);
|
||||
}
|
||||
public void insertData(String name, String price, byte[] image){
|
||||
SQLiteDatabase database = getWritableDatabase();
|
||||
String sql = "INSERT INTO PIZZA VALUES (NULL, ?, ?, ?)";
|
||||
|
||||
SQLiteStatement statement = database.compileStatement(sql);
|
||||
statement.clearBindings();
|
||||
|
||||
statement.bindString(1, name);
|
||||
statement.bindString(2, price);
|
||||
statement.bindBlob(3, image);
|
||||
|
||||
statement.executeInsert();
|
||||
}
|
||||
public Cursor getData(String sql){
|
||||
SQLiteDatabase database = getReadableDatabase();
|
||||
return database.rawQuery(sql,null);
|
||||
}
|
||||
@Override
|
||||
public void onCreate(SQLiteDatabase db) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
|
||||
|
||||
}
|
||||
}
|
30
app/src/main/res/drawable-v24/ic_launcher_foreground.xml
Normal file
@ -0,0 +1,30 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:aapt="http://schemas.android.com/aapt"
|
||||
android:width="108dp"
|
||||
android:height="108dp"
|
||||
android:viewportWidth="108"
|
||||
android:viewportHeight="108">
|
||||
<path android:pathData="M31,63.928c0,0 6.4,-11 12.1,-13.1c7.2,-2.6 26,-1.4 26,-1.4l38.1,38.1L107,108.928l-32,-1L31,63.928z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="85.84757"
|
||||
android:endY="92.4963"
|
||||
android:startX="42.9492"
|
||||
android:startY="49.59793"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#44000000"
|
||||
android:offset="0.0" />
|
||||
<item
|
||||
android:color="#00000000"
|
||||
android:offset="1.0" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path
|
||||
android:fillColor="#FFFFFF"
|
||||
android:fillType="nonZero"
|
||||
android:pathData="M65.3,45.828l3.8,-6.6c0.2,-0.4 0.1,-0.9 -0.3,-1.1c-0.4,-0.2 -0.9,-0.1 -1.1,0.3l-3.9,6.7c-6.3,-2.8 -13.4,-2.8 -19.7,0l-3.9,-6.7c-0.2,-0.4 -0.7,-0.5 -1.1,-0.3C38.8,38.328 38.7,38.828 38.9,39.228l3.8,6.6C36.2,49.428 31.7,56.028 31,63.928h46C76.3,56.028 71.8,49.428 65.3,45.828zM43.4,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2c-0.3,-0.7 -0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C45.3,56.528 44.5,57.328 43.4,57.328L43.4,57.328zM64.6,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2s-0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C66.5,56.528 65.6,57.328 64.6,57.328L64.6,57.328z"
|
||||
android:strokeWidth="1"
|
||||
android:strokeColor="#00000000" />
|
||||
</vector>
|
BIN
app/src/main/res/drawable/decha.jpg
Normal file
After Width: | Height: | Size: 1.0 MiB |
4
app/src/main/res/drawable/ic_add.xml
Normal file
@ -0,0 +1,4 @@
|
||||
<vector android:height="25dp" android:viewportHeight="512"
|
||||
android:viewportWidth="512" android:width="25dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#FF000000" android:pathData="M257,0C116.39,0 0,114.39 0,255s116.39,257 257,257s255,-116.39 255,-257S397.61,0 257,0zM392,285H287v107c0,16.54 -13.47,30 -30,30c-16.54,0 -30,-13.46 -30,-30V285H120c-16.54,0 -30,-13.46 -30,-30c0,-16.54 13.46,-30 30,-30h107V120c0,-16.54 13.46,-30 30,-30c16.53,0 30,13.46 30,30v105h105c16.53,0 30,13.46 30,30S408.53,285 392,285z"/>
|
||||
</vector>
|
170
app/src/main/res/drawable/ic_launcher_background.xml
Normal file
@ -0,0 +1,170 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="108dp"
|
||||
android:height="108dp"
|
||||
android:viewportWidth="108"
|
||||
android:viewportHeight="108">
|
||||
<path
|
||||
android:fillColor="#3DDC84"
|
||||
android:pathData="M0,0h108v108h-108z" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M9,0L9,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,0L19,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M29,0L29,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M39,0L39,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M49,0L49,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M59,0L59,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M69,0L69,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M79,0L79,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M89,0L89,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M99,0L99,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,9L108,9"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,19L108,19"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,29L108,29"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,39L108,39"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,49L108,49"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,59L108,59"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,69L108,69"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,79L108,79"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,89L108,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,99L108,99"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,29L89,29"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,39L89,39"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,49L89,49"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,59L89,59"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,69L89,69"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,79L89,79"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M29,19L29,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M39,19L39,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M49,19L49,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M59,19L59,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M69,19L69,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M79,19L79,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
</vector>
|
4
app/src/main/res/drawable/ic_minus.xml
Normal file
@ -0,0 +1,4 @@
|
||||
<vector android:height="20dp" android:viewportHeight="512"
|
||||
android:viewportWidth="512" android:width="20dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#FF000000" android:pathData="m256,0c-141.164,0 -256,114.836 -256,256s114.836,256 256,256 256,-114.836 256,-256 -114.836,-256 -256,-256zM368,277.332h-224c-11.777,0 -21.332,-9.555 -21.332,-21.332s9.555,-21.332 21.332,-21.332h224c11.777,0 21.332,9.555 21.332,21.332s-9.555,21.332 -21.332,21.332zM368,277.332"/>
|
||||
</vector>
|
15
app/src/main/res/drawable/ic_plus.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="512dp"
|
||||
android:height="512dp"
|
||||
android:viewportWidth="512"
|
||||
android:viewportHeight="512">
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="m256,512c-141.164,0 -256,-114.836 -256,-256s114.836,-256 256,-256 256,114.836 256,256 -114.836,256 -256,256zM256,32c-123.52,0 -224,100.48 -224,224s100.48,224 224,224 224,-100.48 224,-224 -100.48,-224 -224,-224zM256,32"/>
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="m368,272h-224c-8.832,0 -16,-7.168 -16,-16s7.168,-16 16,-16h224c8.832,0 16,7.168 16,16s-7.168,16 -16,16zM368,272"/>
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="m256,384c-8.832,0 -16,-7.168 -16,-16v-224c0,-8.832 7.168,-16 16,-16s16,7.168 16,16v224c0,8.832 -7.168,16 -16,16zM256,384"/>
|
||||
</vector>
|
7
app/src/main/res/drawable/ic_shopping_cart__1_.xml
Normal file
@ -0,0 +1,7 @@
|
||||
<vector android:height="30dp" android:viewportHeight="480"
|
||||
android:viewportWidth="480" android:width="30dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#FF000000" android:pathData="m240,0c-132.547,0 -240,107.453 -240,240s107.453,240 240,240 240,-107.453 240,-240c-0.148,-132.484 -107.516,-239.852 -240,-240zM240,464c-123.711,0 -224,-100.289 -224,-224s100.289,-224 224,-224 224,100.289 224,224c-0.141,123.652 -100.348,223.859 -224,224zM240,464"/>
|
||||
<path android:fillColor="#FF000000" android:pathData="m336,176h-169.223l-6.891,-41.313c-0.641,-3.855 -3.977,-6.688 -7.887,-6.688h-40c-4.418,0 -8,3.582 -8,8s3.582,8 8,8h33.223l6.891,41.313 16,96c0.641,3.855 3.977,6.688 7.887,6.688h144c3.91,0 7.246,-2.832 7.887,-6.688l16,-96c0.387,-2.32 -0.266,-4.691 -1.785,-6.484 -1.52,-1.793 -3.75,-2.828 -6.102,-2.828zM313.223,272h-130.445l-13.328,-80h157.102zM313.223,272"/>
|
||||
<path android:fillColor="#FF000000" android:pathData="m192,304c-13.254,0 -24,10.746 -24,24s10.746,24 24,24 24,-10.746 24,-24 -10.746,-24 -24,-24zM192,336c-4.418,0 -8,-3.582 -8,-8s3.582,-8 8,-8 8,3.582 8,8 -3.582,8 -8,8zM192,336"/>
|
||||
<path android:fillColor="#FF000000" android:pathData="m304,304c-13.254,0 -24,10.746 -24,24s10.746,24 24,24 24,-10.746 24,-24 -10.746,-24 -24,-24zM304,336c-4.418,0 -8,-3.582 -8,-8s3.582,-8 8,-8 8,3.582 8,8 -3.582,8 -8,8zM304,336"/>
|
||||
</vector>
|
BIN
app/src/main/res/drawable/img1.png
Normal file
After Width: | Height: | Size: 341 KiB |
BIN
app/src/main/res/drawable/img11.jpg
Normal file
After Width: | Height: | Size: 61 KiB |
BIN
app/src/main/res/drawable/img2.png
Normal file
After Width: | Height: | Size: 309 KiB |
BIN
app/src/main/res/drawable/img3.png
Normal file
After Width: | Height: | Size: 292 KiB |
BIN
app/src/main/res/drawable/img4.png
Normal file
After Width: | Height: | Size: 302 KiB |
BIN
app/src/main/res/drawable/img5.png
Normal file
After Width: | Height: | Size: 334 KiB |
BIN
app/src/main/res/drawable/logo.jpg
Normal file
After Width: | Height: | Size: 55 KiB |
89
app/src/main/res/layout/activity_cart.xml
Normal file
@ -0,0 +1,89 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/decha"
|
||||
tools:context=".CartActivity"
|
||||
android:orientation="vertical"
|
||||
|
||||
>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="15sp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:src="@drawable/logo"
|
||||
android:textAlignment="center"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="50dp"
|
||||
android:layout_weight="0.95"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:layout_marginBottom="15sp"
|
||||
android:layout_weight="0.3"
|
||||
>
|
||||
<ListView
|
||||
android:id="@+id/cartListView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:textColor = "#ffffff"
|
||||
android:divider="#000000"
|
||||
android:dividerHeight="2dp"
|
||||
>
|
||||
</ListView>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<Switch
|
||||
android:id="@+id/dowoz"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginRight="5dp"
|
||||
android:layout_weight="0.7"
|
||||
android:background="#20FFFFFF"
|
||||
android:shadowColor="#55000000"
|
||||
android:shadowDx="6"
|
||||
android:shadowDy="6"
|
||||
android:shadowRadius="6"
|
||||
android:text="Dowóz"
|
||||
android:textAlignment="center"
|
||||
android:textAllCaps="true"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="13sp"
|
||||
app:backgroundTint="@null"
|
||||
android:checked="true"/>
|
||||
<Button
|
||||
android:id="@+id/zamow"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="0.3"
|
||||
android:text="@string/zamow"
|
||||
android:textAllCaps="true"
|
||||
android:textSize="20sp"
|
||||
app:backgroundTint="@null"
|
||||
android:background="#20FFFFFF"
|
||||
android:textColor="@color/white"
|
||||
android:shadowColor="#55000000"
|
||||
android:shadowDx="6"
|
||||
android:shadowDy="6"
|
||||
android:shadowRadius="6"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
87
app/src/main/res/layout/activity_main.xml
Normal file
@ -0,0 +1,87 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/decha"
|
||||
tools:context=".MainActivity"
|
||||
android:orientation="vertical"
|
||||
>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="10sp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:layout_marginBottom="10sp"
|
||||
>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="0.6"
|
||||
android:src="@drawable/logo"
|
||||
android:textAlignment="center"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="50dp" />
|
||||
|
||||
<Button
|
||||
android:layout_weight="0.5"
|
||||
android:id="@+id/menuButton"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_marginTop="50sp"
|
||||
android:text="@string/menu"
|
||||
android:textAllCaps="true"
|
||||
android:textSize="50sp"
|
||||
app:backgroundTint="@null"
|
||||
android:background="#20FFFFFF"
|
||||
android:textColor="@color/white"
|
||||
android:shadowColor="#55000000"
|
||||
android:shadowDx="6"
|
||||
android:shadowDy="6"
|
||||
android:shadowRadius="6"
|
||||
/>
|
||||
|
||||
<Button
|
||||
android:layout_weight="0.5"
|
||||
android:id="@+id/dowoz"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_marginTop="50sp"
|
||||
android:background="#20FFFFFF"
|
||||
android:text="@string/dowoz"
|
||||
android:textAllCaps="true"
|
||||
android:textSize="50sp"
|
||||
app:backgroundTint="@null"
|
||||
android:textColor="@color/white"
|
||||
android:shadowColor="#55000000"
|
||||
android:shadowDx="6"
|
||||
android:shadowDy="6"
|
||||
android:shadowRadius="6"/>
|
||||
|
||||
<Button
|
||||
android:layout_weight="0.5"
|
||||
android:id="@+id/odbior"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_marginTop="50sp"
|
||||
android:background="#20FFFFFF"
|
||||
android:text="@string/odbior"
|
||||
android:textAllCaps="true"
|
||||
android:textSize="50sp"
|
||||
app:backgroundTint="@null"
|
||||
android:textColor="@color/white"
|
||||
android:shadowColor="#55000000"
|
||||
android:shadowDx="6"
|
||||
android:shadowDy="6"
|
||||
android:shadowRadius="6"/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
55
app/src/main/res/layout/activity_menu.xml
Normal file
@ -0,0 +1,55 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/decha"
|
||||
tools:context=".MainActivity"
|
||||
android:orientation="vertical"
|
||||
|
||||
>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="15sp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:src="@drawable/logo"
|
||||
android:textAlignment="center"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="50dp"
|
||||
android:layout_weight="0.95"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:layout_marginBottom="15sp"
|
||||
android:layout_weight="0.2"
|
||||
>
|
||||
<ListView
|
||||
android:id="@+id/listView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:textColor = "#ffffff"
|
||||
android:divider="#000000"
|
||||
android:dividerHeight="2dp"
|
||||
>
|
||||
</ListView>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<Button
|
||||
android:id="@+id/cart"
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="50dp"
|
||||
android:layout_gravity="right"
|
||||
android:background="@drawable/ic_shopping_cart__1_" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
103
app/src/main/res/layout/cart_list_row.xml
Normal file
@ -0,0 +1,103 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:padding="16dp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#20FFFFFF"
|
||||
>
|
||||
<ImageView
|
||||
android:id="@+id/image"
|
||||
android:src="?attr/colorAccent"
|
||||
android:layout_width="150dp"
|
||||
android:layout_height="150dp"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/txtName"
|
||||
style="@style/TextAppearance.AppCompat.Headline"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_toRightOf="@+id/image"
|
||||
android:text="Name"
|
||||
android:textColor="@color/white"
|
||||
android:shadowColor="#55000000"
|
||||
android:shadowDx="6"
|
||||
android:shadowDy="6"
|
||||
android:shadowRadius="6"/>
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Large" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/txtPrice"
|
||||
style="@style/TextAppearance.AppCompat.Subhead"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="30dp"
|
||||
android:layout_toRightOf="@+id/txtName"
|
||||
android:text="Price"
|
||||
android:textColor="#e6e6e6e6"
|
||||
android:shadowColor="#55000000"
|
||||
android:shadowDx="6"
|
||||
android:shadowDy="6"
|
||||
android:shadowRadius="6" />
|
||||
<TextView
|
||||
android:id="@+id/txtContent"
|
||||
android:layout_toRightOf="@+id/image"
|
||||
android:layout_below="@+id/txtName"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
style="@style/TextAppearance.AppCompat.Subhead"
|
||||
android:text="Squad"
|
||||
android:textColor="@color/white"
|
||||
android:shadowColor="#55000000"
|
||||
android:shadowDx="6"
|
||||
android:shadowDy="6"
|
||||
android:shadowRadius="6"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/addCounter"
|
||||
style="@style/TextAppearance.AppCompat.Subhead"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_toRightOf="@id/addButton"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_below="@id/txtContent"
|
||||
android:text="0"
|
||||
android:textColor="@color/white"
|
||||
/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/addButton"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_toRightOf="@id/image"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_below="@id/txtContent"
|
||||
android:background="@drawable/ic_add" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/minButton"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp"
|
||||
android:layout_below="@id/txtContent"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_toRightOf="@id/addCounter"
|
||||
android:background="@drawable/ic_minus" />
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/addCounter"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_toRightOf="@id/image"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:id="@+id/sumTxtPrice"
|
||||
|
||||
/>
|
||||
</RelativeLayout>
|
93
app/src/main/res/layout/list_row.xml
Normal file
@ -0,0 +1,93 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent"
|
||||
android:padding="16dp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#20FFFFFF"
|
||||
>
|
||||
<ImageView
|
||||
android:id="@+id/image"
|
||||
android:src="?attr/colorAccent"
|
||||
android:layout_width="150dp"
|
||||
android:layout_height="150dp"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/txtName"
|
||||
style="@style/TextAppearance.AppCompat.Headline"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_toRightOf="@+id/image"
|
||||
android:text="Name"
|
||||
android:textColor="@color/white"
|
||||
android:shadowColor="#55000000"
|
||||
android:shadowDx="6"
|
||||
android:shadowDy="6"
|
||||
android:shadowRadius="6"/>
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Large" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/txtPrice"
|
||||
style="@style/TextAppearance.AppCompat.Subhead"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="30dp"
|
||||
android:layout_toRightOf="@+id/txtName"
|
||||
android:text="Price"
|
||||
android:textColor="#e6e6e6e6"
|
||||
android:shadowColor="#55000000"
|
||||
android:shadowDx="6"
|
||||
android:shadowDy="6"
|
||||
android:shadowRadius="6" />
|
||||
<TextView
|
||||
android:id="@+id/txtContent"
|
||||
android:layout_toRightOf="@+id/image"
|
||||
android:layout_below="@+id/txtName"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
style="@style/TextAppearance.AppCompat.Subhead"
|
||||
android:text="Squad"
|
||||
android:textColor="@color/white"
|
||||
android:shadowColor="#55000000"
|
||||
android:shadowDx="6"
|
||||
android:shadowDy="6"
|
||||
android:shadowRadius="6"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/addCounter"
|
||||
style="@style/TextAppearance.AppCompat.Subhead"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_toRightOf="@id/addButton"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_below="@id/txtContent"
|
||||
android:text="0"
|
||||
android:textColor="@color/white"
|
||||
/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/addButton"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_toRightOf="@id/image"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_below="@id/txtContent"
|
||||
android:background="@drawable/ic_add" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/minButton"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp"
|
||||
android:layout_below="@id/txtContent"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_toRightOf="@id/addCounter"
|
||||
android:background="@drawable/ic_minus" />
|
||||
|
||||
</RelativeLayout>
|
5
app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
Normal file
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@drawable/ic_launcher_background" />
|
||||
<foreground android:drawable="@drawable/ic_launcher_foreground" />
|
||||
</adaptive-icon>
|
5
app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
Normal file
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@drawable/ic_launcher_background" />
|
||||
<foreground android:drawable="@drawable/ic_launcher_foreground" />
|
||||
</adaptive-icon>
|
BIN
app/src/main/res/mipmap-hdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
app/src/main/res/mipmap-hdpi/ic_launcher_round.png
Normal file
After Width: | Height: | Size: 5.2 KiB |
BIN
app/src/main/res/mipmap-mdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
app/src/main/res/mipmap-mdpi/ic_launcher_round.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
app/src/main/res/mipmap-xhdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 4.8 KiB |
BIN
app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
Normal file
After Width: | Height: | Size: 7.3 KiB |
BIN
app/src/main/res/mipmap-xxhdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 7.7 KiB |
BIN
app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
Normal file
After Width: | Height: | Size: 16 KiB |
10
app/src/main/res/values-night/themes.xml
Normal file
@ -0,0 +1,10 @@
|
||||
<resources xmlns:tools="http://schemas.android.com/tools">
|
||||
<!-- Base application theme. -->
|
||||
<style name="Theme.PizzujemyV3" parent="Theme.AppCompat.Light.DarkActionBar">
|
||||
<!-- Primary brand color. -->
|
||||
<item name="colorPrimary">@color/purple_200</item>
|
||||
<item name="colorPrimaryDark">@color/purple_700</item>
|
||||
<item name="colorAccent">@color/teal_200</item>
|
||||
<!-- Customize your theme here. -->
|
||||
</style>
|
||||
</resources>
|
10
app/src/main/res/values/colors.xml
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="purple_200">#FFBB86FC</color>
|
||||
<color name="purple_500">#FF6200EE</color>
|
||||
<color name="purple_700">#FF3700B3</color>
|
||||
<color name="teal_200">#FF03DAC5</color>
|
||||
<color name="teal_700">#FF018786</color>
|
||||
<color name="black">#FF000000</color>
|
||||
<color name="white">#FFFFFFFF</color>
|
||||
</resources>
|
11
app/src/main/res/values/strings.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<resources>
|
||||
<string name="app_name">Pizzujemy</string>
|
||||
<string name="action_settings">Settings</string>
|
||||
<string name="odbior">Odbiór</string>
|
||||
<string name="dowoz">Dowóz</string>
|
||||
<string name="pizzujemy">Pizzujemy</string>
|
||||
<string name="menu">Menu</string>
|
||||
<string name="activity_main_label">ActivityMain</string>
|
||||
<string name="activity_menu_label">Menu</string>
|
||||
<string name="zamow">Zamów</string>
|
||||
</resources>
|
10
app/src/main/res/values/themes.xml
Normal file
@ -0,0 +1,10 @@
|
||||
<resources xmlns:tools="http://schemas.android.com/tools">
|
||||
<!-- Base application theme. -->
|
||||
<style name="Theme.PizzujemyV3" parent="Theme.AppCompat.Light.DarkActionBar">
|
||||
<!-- Primary brand color. -->
|
||||
<item name="colorPrimary">@color/purple_500</item>
|
||||
<item name="colorPrimaryDark">@color/purple_700</item>
|
||||
<item name="colorAccent">@color/teal_200</item>
|
||||
<!-- Customize your theme here. -->
|
||||
</style>
|
||||
</resources>
|
@ -0,0 +1,17 @@
|
||||
package com.example.pizzujemyv3;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
/**
|
||||
* Example local unit test, which will execute on the development machine (host).
|
||||
*
|
||||
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
|
||||
*/
|
||||
public class ExampleUnitTest {
|
||||
@Test
|
||||
public void addition_isCorrect() {
|
||||
assertEquals(4, 2 + 2);
|
||||
}
|
||||
}
|
24
build.gradle
Normal file
@ -0,0 +1,24 @@
|
||||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||
buildscript {
|
||||
repositories {
|
||||
google()
|
||||
jcenter()
|
||||
}
|
||||
dependencies {
|
||||
classpath "com.android.tools.build:gradle:4.1.1"
|
||||
|
||||
// NOTE: Do not place your application dependencies here; they belong
|
||||
// in the individual module build.gradle files
|
||||
}
|
||||
}
|
||||
|
||||
allprojects {
|
||||
repositories {
|
||||
google()
|
||||
jcenter()
|
||||
}
|
||||
}
|
||||
|
||||
task clean(type: Delete) {
|
||||
delete rootProject.buildDir
|
||||
}
|
13
gradle.properties
Normal file
@ -0,0 +1,13 @@
|
||||
# Project-wide Gradle settings.
|
||||
# IDE (e.g. Android Studio) users:
|
||||
# Gradle settings configured through the IDE *will override*
|
||||
# any settings specified in this file.
|
||||
# For more details on how to configure your build environment visit
|
||||
# http://www.gradle.org/docs/current/userguide/build_environment.html
|
||||
# Specifies the JVM arguments used for the daemon process.
|
||||
# The setting is particularly useful for tweaking memory settings.
|
||||
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
|
||||
# When configured, Gradle will run in incubating parallel mode.
|
||||
# This option should only be used with decoupled projects. More details, visit
|
||||
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
|
||||
# org.gradle.parallel=true
|
BIN
gradle/wrapper/gradle-wrapper.jar
vendored
Normal file
6
gradle/wrapper/gradle-wrapper.properties
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
#Wed Jan 27 21:07:49 CET 2021
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-bin.zip
|
172
gradlew
vendored
Normal file
@ -0,0 +1,172 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
##############################################################################
|
||||
##
|
||||
## Gradle start up script for UN*X
|
||||
##
|
||||
##############################################################################
|
||||
|
||||
# Attempt to set APP_HOME
|
||||
# Resolve links: $0 may be a link
|
||||
PRG="$0"
|
||||
# Need this for relative symlinks.
|
||||
while [ -h "$PRG" ] ; do
|
||||
ls=`ls -ld "$PRG"`
|
||||
link=`expr "$ls" : '.*-> \(.*\)$'`
|
||||
if expr "$link" : '/.*' > /dev/null; then
|
||||
PRG="$link"
|
||||
else
|
||||
PRG=`dirname "$PRG"`"/$link"
|
||||
fi
|
||||
done
|
||||
SAVED="`pwd`"
|
||||
cd "`dirname \"$PRG\"`/" >/dev/null
|
||||
APP_HOME="`pwd -P`"
|
||||
cd "$SAVED" >/dev/null
|
||||
|
||||
APP_NAME="Gradle"
|
||||
APP_BASE_NAME=`basename "$0"`
|
||||
|
||||
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||
DEFAULT_JVM_OPTS=""
|
||||
|
||||
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
||||
MAX_FD="maximum"
|
||||
|
||||
warn () {
|
||||
echo "$*"
|
||||
}
|
||||
|
||||
die () {
|
||||
echo
|
||||
echo "$*"
|
||||
echo
|
||||
exit 1
|
||||
}
|
||||
|
||||
# OS specific support (must be 'true' or 'false').
|
||||
cygwin=false
|
||||
msys=false
|
||||
darwin=false
|
||||
nonstop=false
|
||||
case "`uname`" in
|
||||
CYGWIN* )
|
||||
cygwin=true
|
||||
;;
|
||||
Darwin* )
|
||||
darwin=true
|
||||
;;
|
||||
MINGW* )
|
||||
msys=true
|
||||
;;
|
||||
NONSTOP* )
|
||||
nonstop=true
|
||||
;;
|
||||
esac
|
||||
|
||||
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
|
||||
|
||||
# Determine the Java command to use to start the JVM.
|
||||
if [ -n "$JAVA_HOME" ] ; then
|
||||
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
|
||||
# IBM's JDK on AIX uses strange locations for the executables
|
||||
JAVACMD="$JAVA_HOME/jre/sh/java"
|
||||
else
|
||||
JAVACMD="$JAVA_HOME/bin/java"
|
||||
fi
|
||||
if [ ! -x "$JAVACMD" ] ; then
|
||||
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
|
||||
|
||||
Please set the JAVA_HOME variable in your environment to match the
|
||||
location of your Java installation."
|
||||
fi
|
||||
else
|
||||
JAVACMD="java"
|
||||
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||
|
||||
Please set the JAVA_HOME variable in your environment to match the
|
||||
location of your Java installation."
|
||||
fi
|
||||
|
||||
# Increase the maximum file descriptors if we can.
|
||||
if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
|
||||
MAX_FD_LIMIT=`ulimit -H -n`
|
||||
if [ $? -eq 0 ] ; then
|
||||
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
|
||||
MAX_FD="$MAX_FD_LIMIT"
|
||||
fi
|
||||
ulimit -n $MAX_FD
|
||||
if [ $? -ne 0 ] ; then
|
||||
warn "Could not set maximum file descriptor limit: $MAX_FD"
|
||||
fi
|
||||
else
|
||||
warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
|
||||
fi
|
||||
fi
|
||||
|
||||
# For Darwin, add options to specify how the application appears in the dock
|
||||
if $darwin; then
|
||||
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
|
||||
fi
|
||||
|
||||
# For Cygwin, switch paths to Windows format before running java
|
||||
if $cygwin ; then
|
||||
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
|
||||
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
|
||||
JAVACMD=`cygpath --unix "$JAVACMD"`
|
||||
|
||||
# We build the pattern for arguments to be converted via cygpath
|
||||
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
|
||||
SEP=""
|
||||
for dir in $ROOTDIRSRAW ; do
|
||||
ROOTDIRS="$ROOTDIRS$SEP$dir"
|
||||
SEP="|"
|
||||
done
|
||||
OURCYGPATTERN="(^($ROOTDIRS))"
|
||||
# Add a user-defined pattern to the cygpath arguments
|
||||
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
|
||||
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
|
||||
fi
|
||||
# Now convert the arguments - kludge to limit ourselves to /bin/sh
|
||||
i=0
|
||||
for arg in "$@" ; do
|
||||
CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
|
||||
CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
|
||||
|
||||
if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
|
||||
eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
|
||||
else
|
||||
eval `echo args$i`="\"$arg\""
|
||||
fi
|
||||
i=$((i+1))
|
||||
done
|
||||
case $i in
|
||||
(0) set -- ;;
|
||||
(1) set -- "$args0" ;;
|
||||
(2) set -- "$args0" "$args1" ;;
|
||||
(3) set -- "$args0" "$args1" "$args2" ;;
|
||||
(4) set -- "$args0" "$args1" "$args2" "$args3" ;;
|
||||
(5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
|
||||
(6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
|
||||
(7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
|
||||
(8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
|
||||
(9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Escape application args
|
||||
save () {
|
||||
for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
|
||||
echo " "
|
||||
}
|
||||
APP_ARGS=$(save "$@")
|
||||
|
||||
# Collect all arguments for the java command, following the shell quoting and substitution rules
|
||||
eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
|
||||
|
||||
# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
|
||||
if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
|
||||
cd "$(dirname "$0")"
|
||||
fi
|
||||
|
||||
exec "$JAVACMD" "$@"
|
84
gradlew.bat
vendored
Normal file
@ -0,0 +1,84 @@
|
||||
@if "%DEBUG%" == "" @echo off
|
||||
@rem ##########################################################################
|
||||
@rem
|
||||
@rem Gradle startup script for Windows
|
||||
@rem
|
||||
@rem ##########################################################################
|
||||
|
||||
@rem Set local scope for the variables with windows NT shell
|
||||
if "%OS%"=="Windows_NT" setlocal
|
||||
|
||||
set DIRNAME=%~dp0
|
||||
if "%DIRNAME%" == "" set DIRNAME=.
|
||||
set APP_BASE_NAME=%~n0
|
||||
set APP_HOME=%DIRNAME%
|
||||
|
||||
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||
set DEFAULT_JVM_OPTS=
|
||||
|
||||
@rem Find java.exe
|
||||
if defined JAVA_HOME goto findJavaFromJavaHome
|
||||
|
||||
set JAVA_EXE=java.exe
|
||||
%JAVA_EXE% -version >NUL 2>&1
|
||||
if "%ERRORLEVEL%" == "0" goto init
|
||||
|
||||
echo.
|
||||
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||
echo.
|
||||
echo Please set the JAVA_HOME variable in your environment to match the
|
||||
echo location of your Java installation.
|
||||
|
||||
goto fail
|
||||
|
||||
:findJavaFromJavaHome
|
||||
set JAVA_HOME=%JAVA_HOME:"=%
|
||||
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
|
||||
|
||||
if exist "%JAVA_EXE%" goto init
|
||||
|
||||
echo.
|
||||
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
|
||||
echo.
|
||||
echo Please set the JAVA_HOME variable in your environment to match the
|
||||
echo location of your Java installation.
|
||||
|
||||
goto fail
|
||||
|
||||
:init
|
||||
@rem Get command-line arguments, handling Windows variants
|
||||
|
||||
if not "%OS%" == "Windows_NT" goto win9xME_args
|
||||
|
||||
:win9xME_args
|
||||
@rem Slurp the command line arguments.
|
||||
set CMD_LINE_ARGS=
|
||||
set _SKIP=2
|
||||
|
||||
:win9xME_args_slurp
|
||||
if "x%~1" == "x" goto execute
|
||||
|
||||
set CMD_LINE_ARGS=%*
|
||||
|
||||
:execute
|
||||
@rem Setup the command line
|
||||
|
||||
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
|
||||
|
||||
@rem Execute Gradle
|
||||
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
|
||||
|
||||
:end
|
||||
@rem End local scope for the variables with windows NT shell
|
||||
if "%ERRORLEVEL%"=="0" goto mainEnd
|
||||
|
||||
:fail
|
||||
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
|
||||
rem the _cmd.exe /c_ return code!
|
||||
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
|
||||
exit /b 1
|
||||
|
||||
:mainEnd
|
||||
if "%OS%"=="Windows_NT" endlocal
|
||||
|
||||
:omega
|
526
hs_err_pid14424.log
Normal file
@ -0,0 +1,526 @@
|
||||
#
|
||||
# A fatal error has been detected by the Java Runtime Environment:
|
||||
#
|
||||
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000005525f921, pid=14424, tid=0x0000000000005278
|
||||
#
|
||||
# JRE version: OpenJDK Runtime Environment (8.0_242-b01) (build 1.8.0_242-release-1644-b01)
|
||||
# Java VM: OpenJDK 64-Bit Server VM (25.242-b01 mixed mode windows-amd64 compressed oops)
|
||||
# Problematic frame:
|
||||
# V [jvm.dll+0xef921]
|
||||
#
|
||||
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
|
||||
#
|
||||
# If you would like to submit a bug report, please visit:
|
||||
#
|
||||
#
|
||||
|
||||
--------------- T H R E A D ---------------
|
||||
|
||||
Current thread (0x00000000176c6800): VMThread [stack: 0x0000000018750000,0x0000000018850000] [id=21112]
|
||||
|
||||
siginfo: ExceptionCode=0xc0000005, reading address 0x00000000a2310028
|
||||
|
||||
Registers:
|
||||
RAX=0x0000000012960000, RBX=0x00000000a2310020, RCX=0x0000000000000000, RDX=0x0000000000000001
|
||||
RSP=0x000000001884ea20, RBP=0x00000000823243d0, RSI=0x0000000000000003, RDI=0x0000000002acb960
|
||||
R8 =0x0000000000111880, R9 =0x0000000000000003, R10=0x000000000000000c, R11=0x00000000000000e1
|
||||
R12=0x00000000823243d4, R13=0x0000000100abfdf8, R14=0x0000000100abfe00, R15=0x00000000823243a0
|
||||
RIP=0x000000005525f921, EFLAGS=0x0000000000010202
|
||||
|
||||
Top of Stack: (sp=0x000000001884ea20)
|
||||
0x000000001884ea20: 00000000823243d8 00000000823243cc
|
||||
0x000000001884ea30: 0000000000000003 0000000002acb960
|
||||
0x000000001884ea40: 0000000000000000 0000000000000000
|
||||
0x000000001884ea50: 0000000020b3aa70 00000000e27d61f8
|
||||
0x000000001884ea60: 00000000000000e1 0000000055539af0
|
||||
0x000000001884ea70: 00000000180f3748 00000000000083b0
|
||||
0x000000001884ea80: 0000000002acb960 00000000176c6320
|
||||
0x000000001884ea90: 000000005593f030 0000000000000006
|
||||
0x000000001884eaa0: 0000000029a4e5e0 0000000000000000
|
||||
0x000000001884eab0: 00000000176c6320 000000005525e3c5
|
||||
0x000000001884eac0: 00000000180f3260 00000000e27d61e0
|
||||
0x000000001884ead0: 000000001884ed30 0000000020b3aa70
|
||||
0x000000001884eae0: 0000000020b3c3d0 0000000000000000
|
||||
0x000000001884eaf0: 00000000176c6320 00000000e27d61f8
|
||||
0x000000001884eb00: 000000001884ed30 00000000000083b0
|
||||
0x000000001884eb10: 0000000020b42a58 0000000055236259
|
||||
|
||||
Instructions: (pc=0x000000005525f921)
|
||||
0x000000005525f901: 48 8b 05 58 f7 6d 00 4a 8b 0c c0 48 0f a3 d1 0f
|
||||
0x000000005525f911: 82 59 01 00 00 0f b6 15 34 56 6d 00 84 d2 74 16
|
||||
0x000000005525f921: 44 8b 43 08 8b 0d 8d 5d 67 00 49 d3 e0 4c 03 05
|
||||
0x000000005525f931: 7b 5d 67 00 eb 04 4c 8b 43 08 45 8b 48 08 45 85
|
||||
|
||||
|
||||
Register to memory mapping:
|
||||
|
||||
RAX=0x0000000012960000 is an unknown value
|
||||
RBX=0x00000000a2310020 is an unallocated location in the heap
|
||||
RCX=0x0000000000000000 is an unknown value
|
||||
RDX=0x0000000000000001 is an unknown value
|
||||
RSP=0x000000001884ea20 is an unknown value
|
||||
RBP=0x00000000823243d0 is pointing into object: 0x00000000823243a0
|
||||
com.sun.tools.javac.file.ZipFileIndex$DirectoryEntry
|
||||
- klass: 'com/sun/tools/javac/file/ZipFileIndex$DirectoryEntry'
|
||||
RSI=0x0000000000000003 is an unknown value
|
||||
RDI=0x0000000002acb960 is an unknown value
|
||||
R8 =0x0000000000111880 is an unknown value
|
||||
R9 =0x0000000000000003 is an unknown value
|
||||
R10=0x000000000000000c is an unknown value
|
||||
R11=0x00000000000000e1 is an unknown value
|
||||
R12=0x00000000823243d4 is pointing into object: 0x00000000823243a0
|
||||
com.sun.tools.javac.file.ZipFileIndex$DirectoryEntry
|
||||
- klass: 'com/sun/tools/javac/file/ZipFileIndex$DirectoryEntry'
|
||||
R13=0x0000000100abfdf8 is pointing into metadata
|
||||
R14=0x0000000100abfe00 is pointing into metadata
|
||||
R15=0x00000000823243a0 is an oop
|
||||
com.sun.tools.javac.file.ZipFileIndex$DirectoryEntry
|
||||
- klass: 'com/sun/tools/javac/file/ZipFileIndex$DirectoryEntry'
|
||||
|
||||
|
||||
Stack: [0x0000000018750000,0x0000000018850000], sp=0x000000001884ea20, free space=1018k
|
||||
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
|
||||
V [jvm.dll+0xef921]
|
||||
V [jvm.dll+0x3c9af0]
|
||||
V [jvm.dll+0xc6259]
|
||||
V [jvm.dll+0xc6f62]
|
||||
V [jvm.dll+0xc757e]
|
||||
V [jvm.dll+0x3d0048]
|
||||
V [jvm.dll+0x3d1444]
|
||||
V [jvm.dll+0x3d1a5b]
|
||||
V [jvm.dll+0x8ba35]
|
||||
V [jvm.dll+0x26a53c]
|
||||
V [jvm.dll+0x2275e7]
|
||||
V [jvm.dll+0x226862]
|
||||
V [jvm.dll+0x226d11]
|
||||
V [jvm.dll+0x226f40]
|
||||
V [jvm.dll+0x27276a]
|
||||
C [msvcr100.dll+0x21d9f]
|
||||
C [msvcr100.dll+0x21e3b]
|
||||
C [KERNEL32.DLL+0x17034]
|
||||
C [ntdll.dll+0x4d0d1]
|
||||
|
||||
VM_Operation (0x000000001905f240): CollectForMetadataAllocation, mode: safepoint, requested by thread 0x000000001772c000
|
||||
|
||||
|
||||
--------------- P R O C E S S ---------------
|
||||
|
||||
Java Threads: ( => current thread )
|
||||
0x0000000020446800 JavaThread "stdout" [_thread_in_native, id=18720, stack(0x000000002a850000,0x000000002a950000)]
|
||||
0x0000000020445000 JavaThread "stderr" [_thread_in_native, id=13616, stack(0x000000002a750000,0x000000002a850000)]
|
||||
0x0000000020449800 JavaThread "stdout" [_thread_in_native, id=7232, stack(0x000000002a650000,0x000000002a750000)]
|
||||
0x0000000020445800 JavaThread "stderr" [_thread_in_native, id=7028, stack(0x000000002a550000,0x000000002a650000)]
|
||||
0x000000002043d000 JavaThread "pool-10-thread-1" [_thread_blocked, id=3192, stack(0x000000002a450000,0x000000002a550000)]
|
||||
0x0000000020444000 JavaThread "WorkerExecutor Queue Thread 2" [_thread_blocked, id=17840, stack(0x0000000029b50000,0x0000000029c50000)]
|
||||
0x000000002043c800 JavaThread "WorkerExecutor Queue" [_thread_blocked, id=5584, stack(0x0000000029a50000,0x0000000029b50000)]
|
||||
0x0000000020441800 JavaThread "Cache worker for execution history cache (C:\Users\pawez\AndroidStudioProjects\PizzujemyV3\.gradle\6.5\executionHistory)" [_thread_blocked, id=13988, stack(0x0000000029950000,0x0000000029a50000)]
|
||||
0x0000000020443000 JavaThread "Execution worker for ':' Thread 3" [_thread_blocked, id=12536, stack(0x0000000029850000,0x0000000029950000)]
|
||||
0x0000000020442800 JavaThread "Execution worker for ':' Thread 2" [_thread_blocked, id=18680, stack(0x0000000029350000,0x0000000029450000)]
|
||||
0x0000000020441000 JavaThread "Execution worker for ':'" [_thread_blocked, id=15556, stack(0x0000000028250000,0x0000000028350000)]
|
||||
0x000000002043f800 JavaThread "Cache worker for file content cache (C:\Users\pawez\AndroidStudioProjects\PizzujemyV3\.gradle\6.5\fileContent)" [_thread_blocked, id=22212, stack(0x0000000027f50000,0x0000000028050000)]
|
||||
0x000000002043a000 JavaThread "Cache worker for Build Output Cleanup Cache (C:\Users\pawez\AndroidStudioProjects\PizzujemyV3\.gradle\buildOutputCleanup)" [_thread_blocked, id=21292, stack(0x0000000027e50000,0x0000000027f50000)]
|
||||
0x000000002043e000 JavaThread "jar transforms Thread 368" [_thread_blocked, id=17580, stack(0x0000000027d50000,0x0000000027e50000)]
|
||||
0x0000000020440000 JavaThread "jar transforms Thread 367" [_thread_blocked, id=15896, stack(0x0000000027c50000,0x0000000027d50000)]
|
||||
0x000000002043e800 JavaThread "jar transforms Thread 366" [_thread_blocked, id=11548, stack(0x0000000027b50000,0x0000000027c50000)]
|
||||
0x000000002043b000 JavaThread "jar transforms Thread 365" [_thread_blocked, id=19944, stack(0x0000000027a50000,0x0000000027b50000)]
|
||||
0x000000002043b800 JavaThread "jar transforms Thread 364" [_thread_blocked, id=5484, stack(0x0000000027950000,0x0000000027a50000)]
|
||||
0x000000001e7c7000 JavaThread "jar transforms Thread 363" [_thread_blocked, id=6928, stack(0x0000000027850000,0x0000000027950000)]
|
||||
0x000000001e7c5800 JavaThread "jar transforms Thread 362" [_thread_blocked, id=22188, stack(0x0000000027750000,0x0000000027850000)]
|
||||
0x000000001e7bf800 JavaThread "jar transforms Thread 361" [_thread_blocked, id=15644, stack(0x0000000027650000,0x0000000027750000)]
|
||||
0x000000001e7c6800 JavaThread "jar transforms Thread 360" [_thread_blocked, id=11940, stack(0x0000000027550000,0x0000000027650000)]
|
||||
0x000000001e7c5000 JavaThread "jar transforms Thread 359" [_thread_blocked, id=19784, stack(0x0000000027450000,0x0000000027550000)]
|
||||
0x000000001e7c4000 JavaThread "jar transforms Thread 358" [_thread_blocked, id=12240, stack(0x0000000027350000,0x0000000027450000)]
|
||||
0x000000001e7c3800 JavaThread "jar transforms Thread 357" [_thread_blocked, id=8488, stack(0x0000000027250000,0x0000000027350000)]
|
||||
0x000000001e7bf000 JavaThread "jar transforms Thread 356" [_thread_blocked, id=21132, stack(0x0000000027150000,0x0000000027250000)]
|
||||
0x000000001e7c2000 JavaThread "jar transforms Thread 355" [_thread_blocked, id=23364, stack(0x0000000027050000,0x0000000027150000)]
|
||||
0x000000001e7c1000 JavaThread "jar transforms Thread 354" [_thread_blocked, id=17132, stack(0x0000000026f50000,0x0000000027050000)]
|
||||
0x000000001e7c2800 JavaThread "jar transforms Thread 353" [_thread_blocked, id=15352, stack(0x0000000026e50000,0x0000000026f50000)]
|
||||
0x000000001e7c0800 JavaThread "jar transforms Thread 352" [_thread_blocked, id=18716, stack(0x0000000026d50000,0x0000000026e50000)]
|
||||
0x000000001e7b8000 JavaThread "jar transforms Thread 351" [_thread_blocked, id=23348, stack(0x0000000026c50000,0x0000000026d50000)]
|
||||
0x000000001e7bc000 JavaThread "jar transforms Thread 350" [_thread_blocked, id=13432, stack(0x0000000026b50000,0x0000000026c50000)]
|
||||
0x000000001e7bb000 JavaThread "jar transforms Thread 349" [_thread_blocked, id=5392, stack(0x0000000026a50000,0x0000000026b50000)]
|
||||
0x000000001e7bc800 JavaThread "jar transforms Thread 348" [_thread_blocked, id=23452, stack(0x0000000026950000,0x0000000026a50000)]
|
||||
0x000000001e7b9000 JavaThread "jar transforms Thread 347" [_thread_blocked, id=16092, stack(0x0000000026850000,0x0000000026950000)]
|
||||
0x000000001e7b9800 JavaThread "jar transforms Thread 346" [_thread_blocked, id=20036, stack(0x0000000026750000,0x0000000026850000)]
|
||||
0x000000001e7bd800 JavaThread "jar transforms Thread 345" [_thread_blocked, id=7924, stack(0x0000000026650000,0x0000000026750000)]
|
||||
0x000000001e7be000 JavaThread "jar transforms Thread 344" [_thread_blocked, id=16856, stack(0x0000000026550000,0x0000000026650000)]
|
||||
0x000000001e7ba800 JavaThread "jar transforms Thread 343" [_thread_blocked, id=23140, stack(0x0000000026450000,0x0000000026550000)]
|
||||
0x0000000019d3c800 JavaThread "jar transforms Thread 342" [_thread_blocked, id=21400, stack(0x0000000026350000,0x0000000026450000)]
|
||||
0x0000000019d42000 JavaThread "jar transforms Thread 341" [_thread_blocked, id=4240, stack(0x0000000026250000,0x0000000026350000)]
|
||||
0x0000000019d41000 JavaThread "jar transforms Thread 340" [_thread_blocked, id=24248, stack(0x0000000026150000,0x0000000026250000)]
|
||||
0x0000000019d3f800 JavaThread "jar transforms Thread 339" [_thread_blocked, id=4768, stack(0x0000000026050000,0x0000000026150000)]
|
||||
0x0000000019d42800 JavaThread "jar transforms Thread 338" [_thread_blocked, id=1248, stack(0x0000000025f50000,0x0000000026050000)]
|
||||
0x000000002045f800 JavaThread "jar transforms Thread 337" [_thread_blocked, id=7136, stack(0x0000000025e50000,0x0000000025f50000)]
|
||||
0x000000002045e800 JavaThread "jar transforms Thread 336" [_thread_blocked, id=7668, stack(0x0000000025d50000,0x0000000025e50000)]
|
||||
0x000000002045e000 JavaThread "jar transforms Thread 335" [_thread_blocked, id=10844, stack(0x0000000025c50000,0x0000000025d50000)]
|
||||
0x000000002045b800 JavaThread "jar transforms Thread 334" [_thread_blocked, id=19052, stack(0x0000000025b50000,0x0000000025c50000)]
|
||||
0x000000002045b000 JavaThread "jar transforms Thread 333" [_thread_blocked, id=21024, stack(0x0000000025a50000,0x0000000025b50000)]
|
||||
0x000000002045a000 JavaThread "jar transforms Thread 332" [_thread_blocked, id=3736, stack(0x0000000025950000,0x0000000025a50000)]
|
||||
0x0000000020460000 JavaThread "jar transforms Thread 331" [_thread_blocked, id=6032, stack(0x0000000025850000,0x0000000025950000)]
|
||||
0x000000001f3c8000 JavaThread "jar transforms Thread 330" [_thread_blocked, id=19736, stack(0x0000000025750000,0x0000000025850000)]
|
||||
0x000000001f3c3800 JavaThread "jar transforms Thread 329" [_thread_blocked, id=10080, stack(0x0000000025650000,0x0000000025750000)]
|
||||
0x000000001f3c2800 JavaThread "jar transforms Thread 328" [_thread_blocked, id=21580, stack(0x0000000025550000,0x0000000025650000)]
|
||||
0x000000001f3c0800 JavaThread "jar transforms Thread 327" [_thread_blocked, id=10624, stack(0x0000000025450000,0x0000000025550000)]
|
||||
0x000000001f3c7800 JavaThread "jar transforms Thread 326" [_thread_blocked, id=11508, stack(0x0000000025350000,0x0000000025450000)]
|
||||
0x000000001f3bf000 JavaThread "jar transforms Thread 325" [_thread_blocked, id=4844, stack(0x0000000025250000,0x0000000025350000)]
|
||||
0x000000001f3c6000 JavaThread "jar transforms Thread 324" [_thread_blocked, id=17864, stack(0x0000000025150000,0x0000000025250000)]
|
||||
0x000000001f3c5000 JavaThread "jar transforms Thread 323" [_thread_blocked, id=24352, stack(0x0000000025050000,0x0000000025150000)]
|
||||
0x000000001f3bf800 JavaThread "jar transforms Thread 322" [_thread_blocked, id=9552, stack(0x0000000024f50000,0x0000000025050000)]
|
||||
0x000000001f3c1000 JavaThread "jar transforms Thread 321" [_thread_blocked, id=6244, stack(0x0000000024e50000,0x0000000024f50000)]
|
||||
0x000000001f3b9800 JavaThread "jar transforms Thread 320" [_thread_blocked, id=22132, stack(0x0000000024d50000,0x0000000024e50000)]
|
||||
0x000000001f3be000 JavaThread "jar transforms Thread 319" [_thread_blocked, id=11716, stack(0x0000000024c50000,0x0000000024d50000)]
|
||||
0x000000001f3bd800 JavaThread "jar transforms Thread 318" [_thread_blocked, id=18308, stack(0x0000000024b50000,0x0000000024c50000)]
|
||||
0x000000001f3bb000 JavaThread "jar transforms Thread 317" [_thread_blocked, id=2728, stack(0x0000000024a50000,0x0000000024b50000)]
|
||||
0x000000001f3ba800 JavaThread "jar transforms Thread 316" [_thread_blocked, id=3588, stack(0x0000000024950000,0x0000000024a50000)]
|
||||
0x000000001f3bc800 JavaThread "jar transforms Thread 315" [_thread_blocked, id=12164, stack(0x0000000024850000,0x0000000024950000)]
|
||||
0x000000001a966000 JavaThread "jar transforms Thread 314" [_thread_blocked, id=6412, stack(0x0000000024750000,0x0000000024850000)]
|
||||
0x000000001a969800 JavaThread "jar transforms Thread 313" [_thread_blocked, id=8044, stack(0x0000000024650000,0x0000000024750000)]
|
||||
0x000000001a965000 JavaThread "jar transforms Thread 312" [_thread_blocked, id=17516, stack(0x0000000024550000,0x0000000024650000)]
|
||||
0x000000001a967800 JavaThread "jar transforms Thread 311" [_thread_blocked, id=9872, stack(0x0000000024450000,0x0000000024550000)]
|
||||
0x000000001a96c000 JavaThread "jar transforms Thread 310" [_thread_blocked, id=17776, stack(0x0000000024350000,0x0000000024450000)]
|
||||
0x000000001a962000 JavaThread "jar transforms Thread 309" [_thread_blocked, id=8564, stack(0x0000000024250000,0x0000000024350000)]
|
||||
0x000000001a966800 JavaThread "jar transforms Thread 308" [_thread_blocked, id=9612, stack(0x0000000024150000,0x0000000024250000)]
|
||||
0x000000001a964800 JavaThread "jar transforms Thread 307" [_thread_blocked, id=19280, stack(0x0000000024050000,0x0000000024150000)]
|
||||
0x000000001a95d000 JavaThread "jar transforms Thread 306" [_thread_blocked, id=20304, stack(0x0000000023f50000,0x0000000024050000)]
|
||||
0x000000001a963800 JavaThread "jar transforms Thread 305" [_thread_blocked, id=4608, stack(0x0000000023e50000,0x0000000023f50000)]
|
||||
0x000000001a961800 JavaThread "jar transforms Thread 304" [_thread_blocked, id=12228, stack(0x0000000023d50000,0x0000000023e50000)]
|
||||
0x000000001a95d800 JavaThread "jar transforms Thread 303" [_thread_blocked, id=12820, stack(0x0000000023c50000,0x0000000023d50000)]
|
||||
0x000000001a960800 JavaThread "jar transforms Thread 302" [_thread_blocked, id=18868, stack(0x0000000023b50000,0x0000000023c50000)]
|
||||
0x000000001a95f000 JavaThread "jar transforms Thread 301" [_thread_blocked, id=22176, stack(0x0000000023a50000,0x0000000023b50000)]
|
||||
0x000000001a963000 JavaThread "jar transforms Thread 300" [_thread_blocked, id=16896, stack(0x0000000023950000,0x0000000023a50000)]
|
||||
0x000000001a960000 JavaThread "jar transforms Thread 299" [_thread_blocked, id=7296, stack(0x0000000023850000,0x0000000023950000)]
|
||||
0x000000001a95e800 JavaThread "jar transforms Thread 298" [_thread_blocked, id=21444, stack(0x0000000023750000,0x0000000023850000)]
|
||||
0x000000001dc4b800 JavaThread "jar transforms Thread 297" [_thread_blocked, id=21480, stack(0x0000000023650000,0x0000000023750000)]
|
||||
0x000000001dc4b000 JavaThread "jar transforms Thread 296" [_thread_blocked, id=21124, stack(0x0000000023550000,0x0000000023650000)]
|
||||
0x000000001dc49800 JavaThread "jar transforms Thread 295" [_thread_blocked, id=24332, stack(0x0000000023450000,0x0000000023550000)]
|
||||
0x000000001dc48000 JavaThread "jar transforms Thread 294" [_thread_blocked, id=8440, stack(0x0000000023350000,0x0000000023450000)]
|
||||
0x000000001dc48800 JavaThread "jar transforms Thread 293" [_thread_blocked, id=11036, stack(0x0000000023150000,0x0000000023250000)]
|
||||
0x000000001dc4a000 JavaThread "jar transforms Thread 292" [_thread_blocked, id=21664, stack(0x0000000023050000,0x0000000023150000)]
|
||||
0x000000001dc40800 JavaThread "jar transforms Thread 291" [_thread_blocked, id=400, stack(0x0000000022f50000,0x0000000023050000)]
|
||||
0x000000001dc47000 JavaThread "jar transforms Thread 290" [_thread_blocked, id=6904, stack(0x0000000022e50000,0x0000000022f50000)]
|
||||
0x000000001dc46800 JavaThread "jar transforms Thread 289" [_thread_blocked, id=5784, stack(0x0000000022d50000,0x0000000022e50000)]
|
||||
0x000000001dc45800 JavaThread "jar transforms Thread 288" [_thread_blocked, id=11112, stack(0x0000000022c50000,0x0000000022d50000)]
|
||||
0x000000001dc44000 JavaThread "jar transforms Thread 287" [_thread_blocked, id=22928, stack(0x0000000022b50000,0x0000000022c50000)]
|
||||
0x000000001dc3f800 JavaThread "jar transforms Thread 286" [_thread_blocked, id=17716, stack(0x0000000022a50000,0x0000000022b50000)]
|
||||
0x000000001dc45000 JavaThread "jar transforms Thread 285" [_thread_blocked, id=21952, stack(0x0000000022950000,0x0000000022a50000)]
|
||||
0x000000001dc3c800 JavaThread "jar transforms Thread 284" [_thread_blocked, id=20784, stack(0x0000000022850000,0x0000000022950000)]
|
||||
0x000000001dc43800 JavaThread "jar transforms Thread 283" [_thread_blocked, id=16988, stack(0x0000000022750000,0x0000000022850000)]
|
||||
0x000000001dc3d000 JavaThread "jar transforms Thread 282" [_thread_blocked, id=14272, stack(0x0000000022650000,0x0000000022750000)]
|
||||
0x000000001dc3f000 JavaThread "jar transforms Thread 281" [_thread_blocked, id=16832, stack(0x0000000022550000,0x0000000022650000)]
|
||||
0x000000001ecb8800 JavaThread "jar transforms Thread 280" [_thread_blocked, id=19588, stack(0x0000000022450000,0x0000000022550000)]
|
||||
0x000000001ecb6800 JavaThread "jar transforms Thread 279" [_thread_blocked, id=21808, stack(0x0000000022350000,0x0000000022450000)]
|
||||
0x000000001ecb6000 JavaThread "jar transforms Thread 278" [_thread_blocked, id=8016, stack(0x0000000022250000,0x0000000022350000)]
|
||||
0x000000001ecb4800 JavaThread "jar transforms Thread 277" [_thread_blocked, id=18176, stack(0x0000000022150000,0x0000000022250000)]
|
||||
0x000000001ecb5000 JavaThread "Build operations Thread 4" [_thread_blocked, id=19768, stack(0x0000000022050000,0x0000000022150000)]
|
||||
0x000000001ecb7800 JavaThread "Build operations Thread 3" [_thread_blocked, id=17180, stack(0x0000000021850000,0x0000000021950000)]
|
||||
0x000000001ecb3800 JavaThread "Build operations Thread 2" [_thread_blocked, id=2152, stack(0x0000000020040000,0x0000000020140000)]
|
||||
0x000000001ecad800 JavaThread "Build operations" [_thread_blocked, id=3108, stack(0x000000001ff40000,0x0000000020040000)]
|
||||
0x000000001ecad000 JavaThread "Cache worker for cache directory md-rule (C:\Users\pawez\.gradle\caches\6.5\md-rule)" [_thread_blocked, id=12964, stack(0x000000001fe40000,0x000000001ff40000)]
|
||||
0x000000001ecb3000 JavaThread "Cache worker for cache directory md-supplier (C:\Users\pawez\.gradle\caches\6.5\md-supplier)" [_thread_blocked, id=3868, stack(0x000000001fb40000,0x000000001fc40000)]
|
||||
0x000000001ecab800 JavaThread "Cache worker for checksums cache (C:\Users\pawez\AndroidStudioProjects\PizzujemyV3\.gradle\checksums)" [_thread_blocked, id=2168, stack(0x000000001d1a0000,0x000000001d2a0000)]
|
||||
0x000000001ecb2000 JavaThread "Cache worker for file hash cache (C:\Users\pawez\AndroidStudioProjects\PizzujemyV3\.gradle\6.5\fileHashes)" [_thread_blocked, id=22352, stack(0x000000001cea0000,0x000000001cfa0000)]
|
||||
0x000000001ecac000 JavaThread "Thread-398" [_thread_blocked, id=17476, stack(0x000000001cda0000,0x000000001cea0000)]
|
||||
0x000000001ecaa800 JavaThread "Stdin handler" [_thread_blocked, id=13532, stack(0x000000001caa0000,0x000000001cba0000)]
|
||||
0x000000001ecb1800 JavaThread "Asynchronous log dispatcher for DefaultDaemonConnection: socket connection from /127.0.0.1:65366 to /127.0.0.1:60604" [_thread_blocked, id=2720, stack(0x000000001c9a0000,0x000000001caa0000)]
|
||||
0x000000001ecaa000 JavaThread "Daemon worker Thread 4" [_thread_blocked, id=9232, stack(0x000000001c540000,0x000000001c640000)]
|
||||
0x000000001eca9000 JavaThread "Cancel handler" [_thread_blocked, id=21832, stack(0x000000001c440000,0x000000001c540000)]
|
||||
0x000000001ecae800 JavaThread "Handler for socket connection from /127.0.0.1:65366 to /127.0.0.1:60604" [_thread_in_native, id=1780, stack(0x0000000000e10000,0x0000000000f10000)]
|
||||
0x000000001ecb0000 JavaThread "Daemon Thread 4" [_thread_blocked, id=8280, stack(0x0000000000c10000,0x0000000000d10000)]
|
||||
0x000000002045d000 JavaThread "Cache worker for Java compile cache (C:\Users\pawez\.gradle\caches\6.5\javaCompile)" [_thread_blocked, id=24364, stack(0x000000002b480000,0x000000002b580000)]
|
||||
0x000000001a968000 JavaThread "Memory manager" [_thread_blocked, id=6760, stack(0x0000000000d10000,0x0000000000e10000)]
|
||||
0x0000000019d3c000 JavaThread "Cache worker for file content cache (C:\Users\pawez\.gradle\caches\6.5\fileContent)" [_thread_blocked, id=24128, stack(0x0000000021950000,0x0000000021a50000)]
|
||||
0x0000000019d3d800 JavaThread "Cache worker for execution history cache (C:\Users\pawez\.gradle\caches\6.5\executionHistory)" [_thread_blocked, id=7224, stack(0x0000000020140000,0x0000000020240000)]
|
||||
0x0000000019d40800 JavaThread "Cache worker for file hash cache (C:\Users\pawez\.gradle\caches\6.5\fileHashes)" [_thread_blocked, id=5936, stack(0x000000001d6a0000,0x000000001d7a0000)]
|
||||
0x0000000019d3f000 JavaThread "File lock request listener" [_thread_in_native, id=13744, stack(0x000000001d5a0000,0x000000001d6a0000)]
|
||||
0x00000000193ea000 JavaThread "Cache worker for journal cache (C:\Users\pawez\.gradle\caches\journal-1)" [_thread_blocked, id=22920, stack(0x000000001d4a0000,0x000000001d5a0000)]
|
||||
0x000000001ae95800 JavaThread "Daemon periodic checks" [_thread_blocked, id=20092, stack(0x000000001c8a0000,0x000000001c9a0000)]
|
||||
0x000000001ae8d000 JavaThread "Incoming local TCP Connector on port 65366" [_thread_in_native, id=5044, stack(0x000000001c640000,0x000000001c740000)]
|
||||
0x000000001a163800 JavaThread "Daemon health stats" [_thread_blocked, id=9836, stack(0x000000001c000000,0x000000001c100000)]
|
||||
0x000000001775a800 JavaThread "Service Thread" daemon [_thread_blocked, id=18132, stack(0x0000000019460000,0x0000000019560000)]
|
||||
0x000000001772c000 JavaThread "C1 CompilerThread2" daemon [_thread_blocked, id=20528, stack(0x0000000018f60000,0x0000000019060000)]
|
||||
0x0000000017715800 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=21748, stack(0x0000000018e60000,0x0000000018f60000)]
|
||||
0x0000000017706000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=3932, stack(0x0000000018d60000,0x0000000018e60000)]
|
||||
0x0000000017704800 JavaThread "Attach Listener" daemon [_thread_blocked, id=20988, stack(0x0000000018c60000,0x0000000018d60000)]
|
||||
0x0000000017703000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=18736, stack(0x0000000018b60000,0x0000000018c60000)]
|
||||
0x0000000002ad4800 JavaThread "Finalizer" daemon [_thread_blocked, id=17504, stack(0x0000000018950000,0x0000000018a50000)]
|
||||
0x0000000002ad1000 JavaThread "Reference Handler" daemon [_thread_blocked, id=11520, stack(0x0000000018850000,0x0000000018950000)]
|
||||
0x00000000029be800 JavaThread "main" [_thread_blocked, id=1136, stack(0x00000000027f0000,0x00000000028f0000)]
|
||||
|
||||
Other Threads:
|
||||
=>0x00000000176c6800 VMThread [stack: 0x0000000018750000,0x0000000018850000] [id=21112]
|
||||
0x000000001775b800 WatcherThread [stack: 0x0000000019560000,0x0000000019660000] [id=21996]
|
||||
|
||||
VM state:at safepoint (normal execution)
|
||||
|
||||
VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
|
||||
[0x00000000029bd230] Threads_lock - owner thread: 0x00000000176c6800
|
||||
[0x00000000029bd3b0] Heap_lock - owner thread: 0x000000001772c000
|
||||
[0x00000000029e1950] MethodData_lock - owner thread: 0x000000001772c000
|
||||
|
||||
heap address: 0x0000000080000000, size: 2048 MB, Compressed Oops mode: 32-bit
|
||||
Narrow klass base: 0x0000000000000000, Narrow klass shift: 3
|
||||
Compressed class space size: 1073741824 Address: 0x0000000100000000
|
||||
|
||||
Heap:
|
||||
PSYoungGen total 196096K, used 16083K [0x00000000d5580000, 0x00000000e4280000, 0x0000000100000000)
|
||||
eden space 179712K, 0% used [0x00000000d5580000,0x00000000d5580000,0x00000000e0500000)
|
||||
from space 16384K, 98% used [0x00000000e1b00000,0x00000000e2ab4fd8,0x00000000e2b00000)
|
||||
to space 24064K, 0% used [0x00000000e2b00000,0x00000000e2b00000,0x00000000e4280000)
|
||||
ParOldGen total 114688K, used 53562K [0x0000000080000000, 0x0000000087000000, 0x00000000d5580000)
|
||||
object space 114688K, 46% used [0x0000000080000000,0x000000008344e860,0x0000000087000000)
|
||||
Metaspace used 93122K, capacity 98512K, committed 98584K, reserved 1134592K
|
||||
class space used 12343K, capacity 13338K, committed 13360K, reserved 1048576K
|
||||
|
||||
Card table byte_map: [0x0000000011ea0000,0x00000000122b0000] byte_map_base: 0x0000000011aa0000
|
||||
|
||||
Marking Bits: (ParMarkBitMap*) 0x000000005593f030
|
||||
Begin Bits: [0x0000000012960000, 0x0000000014960000)
|
||||
End Bits: [0x0000000014960000, 0x0000000016960000)
|
||||
|
||||
Polling page: 0x0000000000fb0000
|
||||
|
||||
CodeCache: size=245760Kb used=44438Kb max_used=44438Kb free=201321Kb
|
||||
bounds [0x0000000002ae0000, 0x0000000005680000, 0x0000000011ae0000]
|
||||
total_blobs=14784 nmethods=13907 adapters=787
|
||||
compilation: enabled
|
||||
|
||||
Compilation events (10 events):
|
||||
Event: 2449.032 Thread 0x000000001772c000 nmethod 16780 0x000000000567a690 code [0x000000000567a7e0, 0x000000000567a950]
|
||||
Event: 2449.059 Thread 0x000000001772c000 16781 1 org.gradle.api.internal.tasks.TaskStateInternal::getOutcome (5 bytes)
|
||||
Event: 2449.060 Thread 0x000000001772c000 nmethod 16781 0x000000000567a3d0 code [0x000000000567a520, 0x000000000567a630]
|
||||
Event: 2449.098 Thread 0x000000001772c000 16782 1 org.gradle.api.internal.tasks.properties.AbstractValidatingProperty::cleanupValue (1 bytes)
|
||||
Event: 2449.098 Thread 0x000000001772c000 nmethod 16782 0x000000000567a110 code [0x000000000567a260, 0x000000000567a370]
|
||||
Event: 2449.127 Thread 0x000000001772c000 16783 s 3 com.android.builder.profile.ProcessProfileWriterFactory::get (63 bytes)
|
||||
Event: 2449.129 Thread 0x000000001772c000 nmethod 16783 0x000000000567b350 code [0x000000000567b580, 0x000000000567c288]
|
||||
Event: 2449.144 Thread 0x000000001772c000 16784 3 com.google.protobuf.GeneratedMessageV3$Builder::markClean (6 bytes)
|
||||
Event: 2449.144 Thread 0x000000001772c000 nmethod 16784 0x0000000005679dd0 code [0x0000000005679f20, 0x000000000567a070]
|
||||
Event: 2449.146 Thread 0x000000001772c000 16785 3 org.gradle.internal.snapshot.impl.SnapshotSerializer::write (886 bytes)
|
||||
|
||||
GC Heap History (10 events):
|
||||
Event: 96.284 GC heap after
|
||||
Heap after GC invocations=20 (full 3):
|
||||
PSYoungGen total 195584K, used 15218K [0x00000000d5580000, 0x00000000e3f00000, 0x0000000100000000)
|
||||
eden space 177664K, 0% used [0x00000000d5580000,0x00000000d5580000,0x00000000e0300000)
|
||||
from space 17920K, 84% used [0x00000000e0300000,0x00000000e11dc8d0,0x00000000e1480000)
|
||||
to space 19456K, 0% used [0x00000000e2c00000,0x00000000e2c00000,0x00000000e3f00000)
|
||||
ParOldGen total 114688K, used 35317K [0x0000000080000000, 0x0000000087000000, 0x00000000d5580000)
|
||||
object space 114688K, 30% used [0x0000000080000000,0x000000008227d4a0,0x0000000087000000)
|
||||
Metaspace used 70112K, capacity 73424K, committed 73752K, reserved 1114112K
|
||||
class space used 9274K, capacity 9911K, committed 10032K, reserved 1048576K
|
||||
}
|
||||
Event: 103.128 GC heap before
|
||||
{Heap before GC invocations=21 (full 3):
|
||||
PSYoungGen total 195584K, used 192882K [0x00000000d5580000, 0x00000000e3f00000, 0x0000000100000000)
|
||||
eden space 177664K, 100% used [0x00000000d5580000,0x00000000e0300000,0x00000000e0300000)
|
||||
from space 17920K, 84% used [0x00000000e0300000,0x00000000e11dc8d0,0x00000000e1480000)
|
||||
to space 19456K, 0% used [0x00000000e2c00000,0x00000000e2c00000,0x00000000e3f00000)
|
||||
ParOldGen total 114688K, used 35317K [0x0000000080000000, 0x0000000087000000, 0x00000000d5580000)
|
||||
object space 114688K, 30% used [0x0000000080000000,0x000000008227d4a0,0x0000000087000000)
|
||||
Metaspace used 79058K, capacity 82536K, committed 82712K, reserved 1120256K
|
||||
class space used 10376K, capacity 11040K, committed 11056K, reserved 1048576K
|
||||
Event: 103.196 GC heap after
|
||||
Heap after GC invocations=21 (full 3):
|
||||
PSYoungGen total 212480K, used 19427K [0x00000000d5580000, 0x00000000e4d80000, 0x0000000100000000)
|
||||
eden space 193024K, 0% used [0x00000000d5580000,0x00000000d5580000,0x00000000e1200000)
|
||||
from space 19456K, 99% used [0x00000000e2c00000,0x00000000e3ef8db0,0x00000000e3f00000)
|
||||
to space 26624K, 0% used [0x00000000e1200000,0x00000000e1200000,0x00000000e2c00000)
|
||||
ParOldGen total 114688K, used 47089K [0x0000000080000000, 0x0000000087000000, 0x00000000d5580000)
|
||||
object space 114688K, 41% used [0x0000000080000000,0x0000000082dfc7a8,0x0000000087000000)
|
||||
Metaspace used 79058K, capacity 82536K, committed 82712K, reserved 1120256K
|
||||
class space used 10376K, capacity 11040K, committed 11056K, reserved 1048576K
|
||||
}
|
||||
Event: 171.003 GC heap before
|
||||
{Heap before GC invocations=22 (full 3):
|
||||
PSYoungGen total 212480K, used 212451K [0x00000000d5580000, 0x00000000e4d80000, 0x0000000100000000)
|
||||
eden space 193024K, 100% used [0x00000000d5580000,0x00000000e1200000,0x00000000e1200000)
|
||||
from space 19456K, 99% used [0x00000000e2c00000,0x00000000e3ef8db0,0x00000000e3f00000)
|
||||
to space 26624K, 0% used [0x00000000e1200000,0x00000000e1200000,0x00000000e2c00000)
|
||||
ParOldGen total 114688K, used 47089K [0x0000000080000000, 0x0000000087000000, 0x00000000d5580000)
|
||||
object space 114688K, 41% used [0x0000000080000000,0x0000000082dfc7a8,0x0000000087000000)
|
||||
Metaspace used 91935K, capacity 97120K, committed 97176K, reserved 1132544K
|
||||
class space used 12269K, capacity 13214K, committed 13232K, reserved 1048576K
|
||||
Event: 171.037 GC heap after
|
||||
Heap after GC invocations=22 (full 3):
|
||||
PSYoungGen total 219648K, used 20859K [0x00000000d5580000, 0x00000000e5e00000, 0x0000000100000000)
|
||||
eden space 193024K, 0% used [0x00000000d5580000,0x00000000d5580000,0x00000000e1200000)
|
||||
from space 26624K, 78% used [0x00000000e1200000,0x00000000e265ee08,0x00000000e2c00000)
|
||||
to space 28672K, 0% used [0x00000000e4200000,0x00000000e4200000,0x00000000e5e00000)
|
||||
ParOldGen total 114688K, used 53546K [0x0000000080000000, 0x0000000087000000, 0x00000000d5580000)
|
||||
object space 114688K, 46% used [0x0000000080000000,0x000000008344a860,0x0000000087000000)
|
||||
Metaspace used 91935K, capacity 97120K, committed 97176K, reserved 1132544K
|
||||
class space used 12269K, capacity 13214K, committed 13232K, reserved 1048576K
|
||||
}
|
||||
Event: 2134.261 GC heap before
|
||||
{Heap before GC invocations=23 (full 3):
|
||||
PSYoungGen total 219648K, used 213883K [0x00000000d5580000, 0x00000000e5e00000, 0x0000000100000000)
|
||||
eden space 193024K, 100% used [0x00000000d5580000,0x00000000e1200000,0x00000000e1200000)
|
||||
from space 26624K, 78% used [0x00000000e1200000,0x00000000e265ee08,0x00000000e2c00000)
|
||||
to space 28672K, 0% used [0x00000000e4200000,0x00000000e4200000,0x00000000e5e00000)
|
||||
ParOldGen total 114688K, used 53546K [0x0000000080000000, 0x0000000087000000, 0x00000000d5580000)
|
||||
object space 114688K, 46% used [0x0000000080000000,0x000000008344a860,0x0000000087000000)
|
||||
Metaspace used 92882K, capacity 98120K, committed 98328K, reserved 1134592K
|
||||
class space used 12319K, capacity 13294K, committed 13360K, reserved 1048576K
|
||||
Event: 2134.568 GC heap after
|
||||
Heap after GC invocations=23 (full 3):
|
||||
PSYoungGen total 204800K, used 17943K [0x00000000d5580000, 0x00000000e5400000, 0x0000000100000000)
|
||||
eden space 186368K, 0% used [0x00000000d5580000,0x00000000d5580000,0x00000000e0b80000)
|
||||
from space 18432K, 97% used [0x00000000e4200000,0x00000000e5385f40,0x00000000e5400000)
|
||||
to space 29184K, 0% used [0x00000000e1b00000,0x00000000e1b00000,0x00000000e3780000)
|
||||
ParOldGen total 114688K, used 53554K [0x0000000080000000, 0x0000000087000000, 0x00000000d5580000)
|
||||
object space 114688K, 46% used [0x0000000080000000,0x000000008344c860,0x0000000087000000)
|
||||
Metaspace used 92882K, capacity 98120K, committed 98328K, reserved 1134592K
|
||||
class space used 12319K, capacity 13294K, committed 13360K, reserved 1048576K
|
||||
}
|
||||
Event: 2449.147 GC heap before
|
||||
{Heap before GC invocations=24 (full 3):
|
||||
PSYoungGen total 204800K, used 114188K [0x00000000d5580000, 0x00000000e5400000, 0x0000000100000000)
|
||||
eden space 186368K, 51% used [0x00000000d5580000,0x00000000db37d328,0x00000000e0b80000)
|
||||
from space 18432K, 97% used [0x00000000e4200000,0x00000000e5385f40,0x00000000e5400000)
|
||||
to space 29184K, 0% used [0x00000000e1b00000,0x00000000e1b00000,0x00000000e3780000)
|
||||
ParOldGen total 114688K, used 53554K [0x0000000080000000, 0x0000000087000000, 0x00000000d5580000)
|
||||
object space 114688K, 46% used [0x0000000080000000,0x000000008344c860,0x0000000087000000)
|
||||
Metaspace used 93122K, capacity 98512K, committed 98584K, reserved 1134592K
|
||||
class space used 12343K, capacity 13338K, committed 13360K, reserved 1048576K
|
||||
Event: 2449.265 GC heap after
|
||||
Heap after GC invocations=24 (full 3):
|
||||
PSYoungGen total 196096K, used 16083K [0x00000000d5580000, 0x00000000e4280000, 0x0000000100000000)
|
||||
eden space 179712K, 0% used [0x00000000d5580000,0x00000000d5580000,0x00000000e0500000)
|
||||
from space 16384K, 98% used [0x00000000e1b00000,0x00000000e2ab4fd8,0x00000000e2b00000)
|
||||
to space 24064K, 0% used [0x00000000e2b00000,0x00000000e2b00000,0x00000000e4280000)
|
||||
ParOldGen total 114688K, used 53562K [0x0000000080000000, 0x0000000087000000, 0x00000000d5580000)
|
||||
object space 114688K, 46% used [0x0000000080000000,0x000000008344e860,0x0000000087000000)
|
||||
Metaspace used 93122K, capacity 98512K, committed 98584K, reserved 1134592K
|
||||
class space used 12343K, capacity 13338K, committed 13360K, reserved 1048576K
|
||||
}
|
||||
Event: 2449.266 GC heap before
|
||||
{Heap before GC invocations=25 (full 4):
|
||||
PSYoungGen total 196096K, used 16083K [0x00000000d5580000, 0x00000000e4280000, 0x0000000100000000)
|
||||
eden space 179712K, 0% used [0x00000000d5580000,0x00000000d5580000,0x00000000e0500000)
|
||||
from space 16384K, 98% used [0x00000000e1b00000,0x00000000e2ab4fd8,0x00000000e2b00000)
|
||||
to space 24064K, 0% used [0x00000000e2b00000,0x00000000e2b00000,0x00000000e4280000)
|
||||
ParOldGen total 114688K, used 53562K [0x0000000080000000, 0x0000000087000000, 0x00000000d5580000)
|
||||
object space 114688K, 46% used [0x0000000080000000,0x000000008344e860,0x0000000087000000)
|
||||
Metaspace used 93122K, capacity 98512K, committed 98584K, reserved 1134592K
|
||||
class space used 12343K, capacity 13338K, committed 13360K, reserved 1048576K
|
||||
|
||||
Deoptimization events (10 events):
|
||||
Event: 2134.216 Thread 0x000000001ecac000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x000000000542b01c method=org.gradle.internal.fingerprint.impl.AbsolutePathFingerprintingStrategy$1.visitFile(Lorg/gradle/internal/snapshot/CompleteFileSystemLocationSnapshot;)V @ 18
|
||||
Event: 2134.216 Thread 0x000000001ecac000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000005503f88 method=com.google.common.collect.Iterables.elementsEqual(Ljava/lang/Iterable;Ljava/lang/Iterable;)Z @ 36
|
||||
Event: 2134.658 Thread 0x000000001dc3f800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00000000030507ac method=org.gradle.internal.logging.text.AbstractLineChoppingStyledTextOutput$2.execute(Lorg/gradle/internal/logging/text/AbstractLineChoppingStyledTextOutput$StateContext;)V @ 30
|
||||
Event: 2134.660 Thread 0x000000001dc3f800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000002f12d0c method=org.gradle.internal.logging.text.AbstractLineChoppingStyledTextOutput$2.execute(Lorg/gradle/internal/logging/text/AbstractLineChoppingStyledTextOutput$StateContext;)V @ 30
|
||||
Event: 2134.660 Thread 0x000000001dc3f800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000002f14cac method=org.gradle.internal.logging.text.AbstractLineChoppingStyledTextOutput$2.execute(Lorg/gradle/internal/logging/text/AbstractLineChoppingStyledTextOutput$StateContext;)V @ 30
|
||||
Event: 2134.660 Thread 0x000000001dc3f800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000002f12558 method=org.gradle.internal.logging.text.AbstractLineChoppingStyledTextOutput$2.execute(Lorg/gradle/internal/logging/text/AbstractLineChoppingStyledTextOutput$StateContext;)V @ 30
|
||||
Event: 2446.963 Thread 0x000000001ecaa000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000003647ba0 method=com.google.common.base.Suppliers$NonSerializableMemoizingSupplier.<init>(Lcom/google/common/base/Supplier;)V @ 9
|
||||
Event: 2446.968 Thread 0x000000001ecaa000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000003647ba0 method=com.google.common.base.Suppliers$NonSerializableMemoizingSupplier.<init>(Lcom/google/common/base/Supplier;)V @ 9
|
||||
Event: 2447.353 Thread 0x000000001ecaa000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000003647ba0 method=com.google.common.base.Suppliers$NonSerializableMemoizingSupplier.<init>(Lcom/google/common/base/Supplier;)V @ 9
|
||||
Event: 2447.354 Thread 0x000000001ecaa000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000003647ba0 method=com.google.common.base.Suppliers$NonSerializableMemoizingSupplier.<init>(Lcom/google/common/base/Supplier;)V @ 9
|
||||
|
||||
Classes redefined (0 events):
|
||||
No events
|
||||
|
||||
Internal exceptions (10 events):
|
||||
Event: 2130.269 Thread 0x000000001ecac000 Implicit null exception at 0x0000000003df7a75 to 0x0000000003df7af9
|
||||
Event: 2130.342 Thread 0x000000001ecac000 Implicit null exception at 0x0000000004640b65 to 0x000000000463e719
|
||||
Event: 2130.925 Thread 0x000000001ecb0000 Exception <a 'sun/nio/fs/WindowsException'> (0x00000000df380098) thrown at [C:\src\AOSP-openjdk-git\hotspot\src\share\vm\prims\jni.cpp, line 710]
|
||||
Event: 2130.926 Thread 0x000000001ecb0000 Exception <a 'sun/nio/fs/WindowsException'> (0x00000000df380dc0) thrown at [C:\src\AOSP-openjdk-git\hotspot\src\share\vm\prims\jni.cpp, line 710]
|
||||
Event: 2134.023 Thread 0x000000001ecb2000 Exception <a 'sun/nio/fs/WindowsException'> (0x00000000e0d9d5f0) thrown at [C:\src\AOSP-openjdk-git\hotspot\src\share\vm\prims\jni.cpp, line 710]
|
||||
Event: 2134.023 Thread 0x000000001ecb2000 Exception <a 'sun/nio/fs/WindowsException'> (0x00000000e0d9dd70) thrown at [C:\src\AOSP-openjdk-git\hotspot\src\share\vm\prims\jni.cpp, line 710]
|
||||
Event: 2134.183 Thread 0x000000001ecac000 Exception <a 'java/lang/reflect/InvocationTargetException'> (0x00000000e1093788) thrown at [C:\src\AOSP-openjdk-git\hotspot\src\share\vm\runtime\reflection.cpp, line 1092]
|
||||
Event: 2447.511 Thread 0x000000001ecaa000 Exception <a 'sun/nio/fs/WindowsException'> (0x00000000d6f833e8) thrown at [C:\src\AOSP-openjdk-git\hotspot\src\share\vm\prims\jni.cpp, line 710]
|
||||
Event: 2448.776 Thread 0x0000000020443000 Exception <a 'sun/nio/fs/WindowsException'> (0x00000000da3d3018) thrown at [C:\src\AOSP-openjdk-git\hotspot\src\share\vm\prims\jni.cpp, line 710]
|
||||
Event: 2448.777 Thread 0x0000000020443000 Exception <a 'sun/nio/fs/WindowsException'> (0x00000000da3d3d78) thrown at [C:\src\AOSP-openjdk-git\hotspot\src\share\vm\prims\jni.cpp, line 710]
|
||||
|
||||
Events (10 events):
|
||||
Event: 2448.471 Thread 0x0000000020445000 Thread added: 0x0000000020445000
|
||||
Event: 2448.471 Thread 0x0000000020446800 Thread added: 0x0000000020446800
|
||||
Event: 2448.495 Executing VM operation: RevokeBias
|
||||
Event: 2448.496 Executing VM operation: RevokeBias done
|
||||
Event: 2448.575 Executing VM operation: RevokeBias
|
||||
Event: 2448.577 Executing VM operation: RevokeBias done
|
||||
Event: 2448.677 Thread 0x0000000017706000 flushing nmethod 0x0000000002f41710
|
||||
Event: 2448.690 Thread 0x000000001772c000 flushing nmethod 0x0000000003170f90
|
||||
Event: 2448.786 Thread 0x000000001772c000 flushing nmethod 0x0000000004ba9f90
|
||||
Event: 2449.146 Executing VM operation: CollectForMetadataAllocation
|
||||
|
||||
|
||||
Dynamic libraries:
|
||||
0x00007ff605000000 - 0x00007ff605031000 T:\Program Files\Android Studio\jre\bin\java.exe
|
||||
0x00007fffd1370000 - 0x00007fffd1566000 C:\Windows\SYSTEM32\ntdll.dll
|
||||
0x00007fffd1010000 - 0x00007fffd10cd000 C:\Windows\System32\KERNEL32.DLL
|
||||
0x00007fffcef20000 - 0x00007fffcf1e9000 C:\Windows\System32\KERNELBASE.dll
|
||||
0x00007fffcf4c0000 - 0x00007fffcf56c000 C:\Windows\System32\ADVAPI32.dll
|
||||
0x00007fffcf570000 - 0x00007fffcf60e000 C:\Windows\System32\msvcrt.dll
|
||||
0x00007fffd07e0000 - 0x00007fffd087c000 C:\Windows\System32\sechost.dll
|
||||
0x00007fffcfc70000 - 0x00007fffcfd9b000 C:\Windows\System32\RPCRT4.dll
|
||||
0x00007fffd0da0000 - 0x00007fffd0f40000 C:\Windows\System32\USER32.dll
|
||||
0x00007fffcf2d0000 - 0x00007fffcf2f2000 C:\Windows\System32\win32u.dll
|
||||
0x00007fffd0d70000 - 0x00007fffd0d9a000 C:\Windows\System32\GDI32.dll
|
||||
0x00007fffcebf0000 - 0x00007fffcecfb000 C:\Windows\System32\gdi32full.dll
|
||||
0x00007fffced80000 - 0x00007fffcee1d000 C:\Windows\System32\msvcp_win.dll
|
||||
0x00007fffcee20000 - 0x00007fffcef20000 C:\Windows\System32\ucrtbase.dll
|
||||
0x00007fffba1d0000 - 0x00007fffba46b000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.19041.746_none_ca02b4b61b8320a4\COMCTL32.dll
|
||||
0x00007fffd0880000 - 0x00007fffd08b0000 C:\Windows\System32\IMM32.DLL
|
||||
0x0000000054600000 - 0x00000000546d2000 T:\Program Files\Android Studio\jre\jre\bin\msvcr100.dll
|
||||
0x0000000055170000 - 0x00000000559bb000 T:\Program Files\Android Studio\jre\jre\bin\server\jvm.dll
|
||||
0x00007fffd07b0000 - 0x00007fffd07b8000 C:\Windows\System32\PSAPI.DLL
|
||||
0x00007fffc37a0000 - 0x00007fffc37a9000 C:\Windows\SYSTEM32\WSOCK32.dll
|
||||
0x00007fffd0c10000 - 0x00007fffd0c7b000 C:\Windows\System32\WS2_32.dll
|
||||
0x00007fffc4460000 - 0x00007fffc4487000 C:\Windows\SYSTEM32\WINMM.dll
|
||||
0x00007fffc8fc0000 - 0x00007fffc8fca000 C:\Windows\SYSTEM32\VERSION.dll
|
||||
0x00007fffc0c40000 - 0x00007fffc0c4f000 T:\Program Files\Android Studio\jre\jre\bin\verify.dll
|
||||
0x00007fffa7630000 - 0x00007fffa7659000 T:\Program Files\Android Studio\jre\jre\bin\java.dll
|
||||
0x00007fffb59c0000 - 0x00007fffb59d6000 T:\Program Files\Android Studio\jre\jre\bin\zip.dll
|
||||
0x00007fffcfe80000 - 0x00007fffd05c3000 C:\Windows\System32\SHELL32.dll
|
||||
0x00007fffccd00000 - 0x00007fffcd48f000 C:\Windows\SYSTEM32\windows.storage.dll
|
||||
0x00007fffd08b0000 - 0x00007fffd0c06000 C:\Windows\System32\combase.dll
|
||||
0x00007fffce600000 - 0x00007fffce62c000 C:\Windows\SYSTEM32\Wldp.dll
|
||||
0x00007fffd0700000 - 0x00007fffd07ae000 C:\Windows\System32\SHCORE.dll
|
||||
0x00007fffcfe20000 - 0x00007fffcfe75000 C:\Windows\System32\shlwapi.dll
|
||||
0x00007fffcead0000 - 0x00007fffceaf6000 C:\Windows\SYSTEM32\profapi.dll
|
||||
0x00007fffb18a0000 - 0x00007fffb18ba000 T:\Program Files\Android Studio\jre\jre\bin\net.dll
|
||||
0x00007fffce380000 - 0x00007fffce3ea000 C:\Windows\system32\mswsock.dll
|
||||
0x00007fffaf5a0000 - 0x00007fffaf5b3000 T:\Program Files\Android Studio\jre\jre\bin\nio.dll
|
||||
0x00007fffa3c30000 - 0x00007fffa3c57000 C:\Users\pawez\.gradle\native\f6784746aeab05261644944871eae4fe03e0ef1612fff0a4a95f87b438bc6780\windows-amd64\native-platform.dll
|
||||
0x00007fffc07c0000 - 0x00007fffc07cd000 T:\Program Files\Android Studio\jre\jre\bin\management.dll
|
||||
0x00007fffce550000 - 0x00007fffce568000 C:\Windows\SYSTEM32\CRYPTSP.dll
|
||||
0x00007fffcdcb0000 - 0x00007fffcdce4000 C:\Windows\system32\rsaenh.dll
|
||||
0x00007fffcf2a0000 - 0x00007fffcf2c7000 C:\Windows\System32\bcrypt.dll
|
||||
0x00007fffcea50000 - 0x00007fffcea7e000 C:\Windows\SYSTEM32\USERENV.dll
|
||||
0x00007fffced00000 - 0x00007fffced80000 C:\Windows\System32\bcryptprimitives.dll
|
||||
0x00007fffce570000 - 0x00007fffce57c000 C:\Windows\SYSTEM32\CRYPTBASE.dll
|
||||
0x00007fffce020000 - 0x00007fffce05b000 C:\Windows\SYSTEM32\IPHLPAPI.DLL
|
||||
0x00007fffcf610000 - 0x00007fffcf618000 C:\Windows\System32\NSI.dll
|
||||
0x00007fffc85e0000 - 0x00007fffc85f7000 C:\Windows\SYSTEM32\dhcpcsvc6.DLL
|
||||
0x00007fffc85c0000 - 0x00007fffc85dd000 C:\Windows\SYSTEM32\dhcpcsvc.DLL
|
||||
0x00007fffce070000 - 0x00007fffce13b000 C:\Windows\SYSTEM32\DNSAPI.dll
|
||||
0x00007fffc8980000 - 0x00007fffc898b000 C:\Windows\SYSTEM32\WINNSI.DLL
|
||||
0x00007fffc7580000 - 0x00007fffc7764000 C:\Windows\SYSTEM32\dbghelp.dll
|
||||
|
||||
VM Arguments:
|
||||
jvm_args: -Xmx2048m -Dfile.encoding=UTF-8 -Duser.country=PL -Duser.language=pl -Duser.variant
|
||||
java_command: org.gradle.launcher.daemon.bootstrap.GradleDaemon 6.5
|
||||
java_class_path (initial): C:\Users\pawez\.gradle\wrapper\dists\gradle-6.5-bin\6nifqtx7604sqp1q6g8wikw7p\gradle-6.5\lib\gradle-launcher-6.5.jar
|
||||
Launcher Type: SUN_STANDARD
|
||||
|
||||
Environment Variables:
|
||||
PATH=C:\ProgramData\Oracle\Java\javapath;C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;T:\Program Files\Git\cmd;C:\Users\pawez\AppData\Local\Microsoft\WindowsApps;C:\Users\pawez\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\Scripts;
|
||||
USERNAME=pawez
|
||||
OS=Windows_NT
|
||||
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 142 Stepping 9, GenuineIntel
|
||||
|
||||
|
||||
|
||||
--------------- S Y S T E M ---------------
|
||||
|
||||
OS: Windows 10.0 , 64 bit Build 19041 (10.0.19041.662)
|
||||
|
||||
CPU:total 4 (initial active 4) (2 cores per cpu, 2 threads per core) family 6 model 142 stepping 9, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, erms, 3dnowpref, lzcnt, ht, tsc, tscinvbit, bmi1, bmi2, adx
|
||||
|
||||
Memory: 4k page, physical 8253668k(645140k free), swap 17711840k(2237676k free)
|
||||
|
||||
vm_info: OpenJDK 64-Bit Server VM (25.242-b01) for windows-amd64 JRE (1.8.0_242-release-1644-b01), built by "builder" with MS VC++ 10.0 (VS2010)
|
||||
|
||||
time: Fri Feb 05 03:11:23 2021
|
||||
timezone: Œrodkowoeuropejski czas stand.
|
||||
elapsed time: 2449 seconds (0d 0h 40m 49s)
|
||||
|
2
settings.gradle
Normal file
@ -0,0 +1,2 @@
|
||||
include ':app'
|
||||
rootProject.name = "PizzujemyV3"
|