mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-24 02:12:15 -05:00
formatting from astyle
This commit is contained in:
parent
647dc827d8
commit
e82bbc25ab
@ -1,5 +1,5 @@
|
|||||||
package com.fsck.k9.activity;
|
package com.fsck.k9.activity;
|
||||||
//import android.os.Debug;
|
import android.os.Debug;
|
||||||
|
|
||||||
import android.app.AlertDialog;
|
import android.app.AlertDialog;
|
||||||
import android.app.Dialog;
|
import android.app.Dialog;
|
||||||
@ -293,6 +293,7 @@ public class MessageList
|
|||||||
|
|
||||||
public void onItemClick(AdapterView parent, View v, int position, long id)
|
public void onItemClick(AdapterView parent, View v, int position, long id)
|
||||||
{
|
{
|
||||||
|
Debug.stopMethodTracing();
|
||||||
if ((position+1) == (mAdapter.getCount()))
|
if ((position+1) == (mAdapter.getCount()))
|
||||||
{
|
{
|
||||||
MessagingController.getInstance(getApplication()).loadMoreMessages(
|
MessagingController.getInstance(getApplication()).loadMoreMessages(
|
||||||
@ -316,7 +317,7 @@ public class MessageList
|
|||||||
@Override
|
@Override
|
||||||
public void onCreate(Bundle savedInstanceState)
|
public void onCreate(Bundle savedInstanceState)
|
||||||
{
|
{
|
||||||
//Debug.startMethodTracing("k9");
|
Debug.startMethodTracing("k9");
|
||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
|
|
||||||
requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
|
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,
|
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_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_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 };
|
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 = mInflater.inflate(R.layout.message_list_item, parent, false);
|
||||||
view.setId(R.layout.message_list_item);
|
view.setId(R.layout.message_list_item);
|
||||||
View widgetParent;
|
View widgetParent;
|
||||||
if (mLeftHanded == false )
|
if (mLeftHanded == false)
|
||||||
{
|
{
|
||||||
widgetParent = view.findViewById(R.id.widgets_right);
|
widgetParent = view.findViewById(R.id.widgets_right);
|
||||||
}
|
}
|
||||||
else {
|
else
|
||||||
|
{
|
||||||
widgetParent = view.findViewById(R.id.widgets_left);
|
widgetParent = view.findViewById(R.id.widgets_left);
|
||||||
}
|
}
|
||||||
View widgets = mInflater.inflate(R.layout.message_list_widgets,parent,false);
|
View widgets = mInflater.inflate(R.layout.message_list_widgets,parent,false);
|
||||||
|
Loading…
Reference in New Issue
Block a user