Android Open Source - eyebrows-sync v11






From Project

Back to project page eyebrows-sync.

License

The source code is released under:

Copyright (c) 2014 Jon Petraglia of Qweex All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "...

If you think the Android project eyebrows-sync listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.qweex.eyebrowssync.JobList;
/*from   www  . java  2s . c om*/
import android.view.*;
import android.widget.*;
import com.qweex.eyebrowssync.R;

import java.util.ArrayList;

public class v11 extends Base implements PopupMenu.OnMenuItemClickListener {

    // Overridden Methods
    void showItemMenu(View v, String name, ArrayList<SimpleMenuItem> menuItems) {
        PopupMenu popupMenu = new PopupMenu(v11.this, v);
        popupMenu.getMenu().clear();

        for(int i=0; i<menuItems.size(); i++)
            popupMenu.getMenu().add(
                    0, menuItems.get(i).getItemId(),
                    0, menuItems.get(i).getTitle()
                    );

        popupMenu.getMenu().findItem(R.id.status).setVisible(syncers.get(name)!=null);

        popupMenu.setOnMenuItemClickListener(v11.this);
        popupMenu.show();
    }

    // Specific Methods
    @Override
    public boolean onMenuItemClick(MenuItem item) {
        handleMenuItemClick(item.getItemId());
        return false;
    }
}




Java Source Code List

com.qweex.NumberPickerDialogPreference.java
com.qweex.eyebrows.EyebrowsError.java
com.qweex.eyebrows.did_not_write.JSONDownloader.java
com.qweex.eyebrowssync.AboutActivity.java
com.qweex.eyebrowssync.AsyncCrypt.java
com.qweex.eyebrowssync.AttachedRelativeLayout.java
com.qweex.eyebrowssync.EditJob.java
com.qweex.eyebrowssync.FileModifiedHelper.java
com.qweex.eyebrowssync.NotificationSupervisor.java
com.qweex.eyebrowssync.SavedJobs.java
com.qweex.eyebrowssync.StartActivity.java
com.qweex.eyebrowssync.StatusWindow.java
com.qweex.eyebrowssync.Syncer.java
com.qweex.eyebrowssync.UserConfig.java
com.qweex.eyebrowssync.JobList.Base.java
com.qweex.eyebrowssync.JobList.v11.java
com.qweex.eyebrowssync.JobList.v3.java
com.qweex.utils.Crypt.java
com.qweex.utils.DirectoryChooserDialog.java