1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-08-13 17:03:48 -04:00

formatting from astyle

This commit is contained in:
Jesse Vincent 2009-12-15 02:51:34 +00:00
parent 647dc827d8
commit e82bbc25ab

View File

@ -1,5 +1,5 @@
package com.fsck.k9.activity;
//import android.os.Debug;
import android.os.Debug;
import android.app.AlertDialog;
import android.app.Dialog;
@ -293,6 +293,7 @@ public class MessageList
public void onItemClick(AdapterView parent, View v, int position, long id)
{
Debug.stopMethodTracing();
if ((position+1) == (mAdapter.getCount()))
{
MessagingController.getInstance(getApplication()).loadMoreMessages(
@ -316,7 +317,7 @@ public class MessageList
@Override
public void onCreate(Bundle savedInstanceState)
{
//Debug.startMethodTracing("k9");
Debug.startMethodTracing("k9");
super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
@ -1237,8 +1238,9 @@ public class MessageList
}
private final int[] batch_ops = { R.id.batch_copy_op, R.id.batch_delete_op, R.id.batch_flag_op,
R.id.batch_unflag_op, R.id.batch_mark_read_op, R.id.batch_mark_unread_op, R.id.batch_move_op ,
R.id.batch_select_all, R.id.batch_deselect_all };
R.id.batch_unflag_op, R.id.batch_mark_read_op, R.id.batch_mark_unread_op, R.id.batch_move_op ,
R.id.batch_select_all, R.id.batch_deselect_all
};
private final int[] batch_modes = { R.id.batch_flag_mode, R.id.batch_select_mode, R.id.batch_plain_mode };
@ -1824,11 +1826,12 @@ public class MessageList
view = mInflater.inflate(R.layout.message_list_item, parent, false);
view.setId(R.layout.message_list_item);
View widgetParent;
if (mLeftHanded == false )
if (mLeftHanded == false)
{
widgetParent = view.findViewById(R.id.widgets_right);
}
else {
else
{
widgetParent = view.findViewById(R.id.widgets_left);
}
View widgets = mInflater.inflate(R.layout.message_list_widgets,parent,false);