SYMBOL INDEX (649 symbols across 80 files) FILE: bluedot/app.py class BlueDotClient (line 20) | class BlueDotClient: method __init__ (line 21) | def __init__(self, device, server, port, fullscreen, width, height): method _run (line 60) | def _run(self): class BlueDotScreen (line 71) | class BlueDotScreen: method __init__ (line 72) | def __init__(self, screen, font, width, height): method draw_screen (line 84) | def draw_screen(self): method draw_close_button (line 90) | def draw_close_button(self): method draw_error (line 102) | def draw_error(self, e): method draw_status_message (line 107) | def draw_status_message(self, message, colour = BLUE.rgb): method draw_text (line 113) | def draw_text(self, text, colour, start_y, antiaalias=False, backgroun... class DevicesScreen (line 159) | class DevicesScreen(BlueDotScreen): method __init__ (line 160) | def __init__(self, screen, font, device, port, width, height): method draw_screen (line 167) | def draw_screen(self): method run (line 183) | def run(self): class ButtonScreen (line 220) | class ButtonScreen(BlueDotScreen): method __init__ (line 221) | def __init__(self, screen, font, device, server, port, width, height): method draw_screen (line 238) | def draw_screen(self): method _draw_dot (line 256) | def _draw_dot(self): method _process (line 284) | def _process(self, op, pos): method _send_protocol_version (line 301) | def _send_protocol_version(self): method _send_message (line 305) | def _send_message(self, message): method _data_received (line 312) | def _data_received(self, data): method _process_commands (line 324) | def _process_commands(self, commands): method run (line 359) | def run(self): method _connect (line 412) | def _connect(self): function main (line 420) | def main(): FILE: bluedot/btcomm.py class BluetoothAdapter (line 24) | class BluetoothAdapter: method __init__ (line 39) | def __init__(self, device = "hci0"): method device (line 45) | def device(self): method address (line 52) | def address(self): method powered (line 61) | def powered(self): method powered (line 73) | def powered(self, value): method discoverable (line 77) | def discoverable(self): method discoverable (line 84) | def discoverable(self, value): method pairable (line 88) | def pairable(self): method pairable (line 95) | def pairable(self, value): method paired_devices (line 99) | def paired_devices(self): method allow_pairing (line 112) | def allow_pairing(self, timeout = 60): method _expire_pairing (line 134) | def _expire_pairing(self, timeout): class BluetoothServer (line 141) | class BluetoothServer: method __init__ (line 202) | def __init__(self, method device (line 233) | def device(self): method adapter (line 240) | def adapter(self): method port (line 248) | def port(self): method encoding (line 255) | def encoding(self): method running (line 262) | def running(self): method server_address (line 269) | def server_address(self): method client_address (line 278) | def client_address(self): method client_connected (line 291) | def client_connected(self): method data_received_callback (line 298) | def data_received_callback(self): method data_received_callback (line 308) | def data_received_callback(self, value): method when_client_connects (line 312) | def when_client_connects(self): method when_client_connects (line 319) | def when_client_connects(self, value): method when_client_disconnects (line 323) | def when_client_disconnects(self): method when_client_disconnects (line 330) | def when_client_disconnects(self, value): method start (line 333) | def start(self): method stop (line 367) | def stop(self): method send (line 376) | def send(self, data): method _send_data (line 392) | def _send_data(self, data): method disconnect_client (line 401) | def disconnect_client(self): method _setup_adapter (line 417) | def _setup_adapter(self, device): method _wait_for_connection (line 420) | def _wait_for_connection(self): method _read (line 448) | def _read(self): method _handle_bt_error (line 471) | def _handle_bt_error(self, bt_error): class BluetoothClient (line 490) | class BluetoothClient(): method __init__ (line 544) | def __init__(self, method device (line 570) | def device(self): method server (line 577) | def server(self): method port (line 587) | def port(self): method adapter (line 594) | def adapter(self): method encoding (line 602) | def encoding(self): method client_address (line 609) | def client_address(self): method connected (line 616) | def connected(self): method data_received_callback (line 623) | def data_received_callback(self): method data_received_callback (line 633) | def data_received_callback(self, value): method connect (line 636) | def connect(self): method disconnect (line 667) | def disconnect(self): method send (line 685) | def send(self, data): method _send_data (line 700) | def _send_data(self, data): method _read (line 709) | def _read(self): method _setup_adapter (line 727) | def _setup_adapter(self, device): method _handle_bt_error (line 730) | def _handle_bt_error(self, bt_error): FILE: bluedot/colors.py class Color (line 3) | class Color: method __init__ (line 22) | def __init__(self, red = 255, green = 255, blue = 255, alpha = 255): method red (line 29) | def red(self): method green (line 36) | def green(self): method blue (line 43) | def blue(self): method alpha (line 50) | def alpha(self): method rgb (line 57) | def rgb(self): method rgba (line 64) | def rgba(self): method str_rgb (line 71) | def str_rgb(self): method str_rgba (line 79) | def str_rgba(self): method str_argb (line 87) | def str_argb(self): method get_adjusted_color (line 94) | def get_adjusted_color(self, factor): method __eq__ (line 103) | def __eq__(self, other): method __str__ (line 107) | def __str__(self): function parse_color (line 1250) | def parse_color(value): FILE: bluedot/dot.py class Dot (line 17) | class Dot: method __init__ (line 21) | def __init__(self, color, square, border, visible): method is_pressed (line 52) | def is_pressed(self): method value (line 59) | def value(self): method values (line 66) | def values(self): method position (line 74) | def position(self): method when_pressed (line 90) | def when_pressed(self): method when_pressed (line 123) | def when_pressed(self, value): method set_when_pressed (line 126) | def set_when_pressed(self, callback, background=False): method when_double_pressed (line 141) | def when_double_pressed(self): method when_double_pressed (line 159) | def when_double_pressed(self, value): method set_when_double_pressed (line 162) | def set_when_double_pressed(self, callback, background=False): method double_press_time (line 177) | def double_press_time(self): method double_press_time (line 184) | def double_press_time(self, value): method when_released (line 188) | def when_released(self): method when_released (line 202) | def when_released(self, value): method set_when_released (line 205) | def set_when_released(self, callback, background=False): method when_moved (line 220) | def when_moved(self): method when_moved (line 234) | def when_moved(self, value): method set_when_moved (line 237) | def set_when_moved(self, callback, background=False): method when_swiped (line 252) | def when_swiped(self): method when_swiped (line 266) | def when_swiped(self, value): method set_when_swiped (line 269) | def set_when_swiped(self, callback, background=False): method rotation_segments (line 284) | def rotation_segments(self): method rotation_segments (line 292) | def rotation_segments(self, value): method when_rotated (line 296) | def when_rotated(self): method when_rotated (line 311) | def when_rotated(self, value): method set_when_rotated (line 314) | def set_when_rotated(self, callback, background=False): method color (line 330) | def color(self): method color (line 346) | def color(self, value): method square (line 350) | def square(self): method square (line 357) | def square(self, value): method border (line 361) | def border(self): method border (line 368) | def border(self, value): method visible (line 372) | def visible(self): method visible (line 384) | def visible(self, value): method wait_for_press (line 387) | def wait_for_press(self, timeout = None): method wait_for_double_press (line 398) | def wait_for_double_press(self, timeout = None): method wait_for_release (line 409) | def wait_for_release(self, timeout = None): method wait_for_move (line 420) | def wait_for_move(self, timeout = None): method wait_for_swipe (line 431) | def wait_for_swipe(self, timeout = None): method press (line 442) | def press(self, position): method release (line 456) | def release(self, position): method move (line 470) | def move(self, position): method double_press (line 482) | def double_press(self, position): method swipe (line 494) | def swipe(self, swipe): method rotate (line 506) | def rotate(self, rotation): method _process_callback (line 516) | def _process_callback(self, callback, arg, background): class BlueDotButton (line 538) | class BlueDotButton(Dot): method __init__ (line 586) | def __init__(self, bd, col, row, color, square, border, visible): method color (line 597) | def color(self): method color (line 601) | def color(self, value): method square (line 606) | def square(self): method square (line 610) | def square(self, value): method border (line 615) | def border(self): method border (line 619) | def border(self, value): method visible (line 624) | def visible(self): method visible (line 628) | def visible(self, value): method modified (line 633) | def modified(self): method interaction (line 646) | def interaction(self): method press (line 660) | def press(self, position): method release (line 672) | def release(self, position): method move (line 683) | def move(self, position): method is_double_press (line 694) | def is_double_press(self, position): method get_swipe (line 717) | def get_swipe(self): method get_rotation (line 727) | def get_rotation(self): method _build_config_msg (line 740) | def _build_config_msg(self): method _send_config (line 750) | def _send_config(self): class BlueDot (line 754) | class BlueDot(Dot): method __init__ (line 812) | def __init__(self, method buttons (line 847) | def buttons(self): method cols (line 854) | def cols(self): method cols (line 861) | def cols(self, value): method rows (line 865) | def rows(self): method rows (line 872) | def rows(self, value): method device (line 876) | def device(self): method port (line 883) | def port(self): method server (line 890) | def server(self): method adapter (line 898) | def adapter(self): method paired_devices (line 905) | def paired_devices(self): method print_messages (line 919) | def print_messages(self): method print_messages (line 927) | def print_messages(self, value): method running (line 931) | def running(self): method is_connected (line 938) | def is_connected(self): method is_pressed (line 945) | def is_pressed(self): method interaction (line 961) | def interaction(self): method rotation_segments (line 982) | def rotation_segments(self): method rotation_segments (line 995) | def rotation_segments(self, value): method double_press_time (line 1001) | def double_press_time(self): method double_press_time (line 1013) | def double_press_time(self, value): method color (line 1019) | def color(self): method color (line 1040) | def color(self, value): method square (line 1046) | def square(self): method square (line 1058) | def square(self, value): method border (line 1064) | def border(self): method border (line 1076) | def border(self, value): method visible (line 1082) | def visible(self): method visible (line 1097) | def visible(self, value): method when_client_connects (line 1103) | def when_client_connects(self): method when_client_connects (line 1114) | def when_client_connects(self, value): method set_when_client_connects (line 1117) | def set_when_client_connects(self, callback, background=False): method when_client_disconnects (line 1132) | def when_client_disconnects(self): method when_client_disconnects (line 1142) | def when_client_disconnects(self, value): method set_when_client_disconnects (line 1145) | def set_when_client_disconnects(self, callback, background=False): method wait_for_connection (line 1159) | def wait_for_connection(self, timeout = None): method start (line 1170) | def start(self): method _create_server (line 1179) | def _create_server(self): method stop (line 1189) | def stop(self): method allow_pairing (line 1195) | def allow_pairing(self, timeout = 60): method resize (line 1206) | def resize(self, cols, rows): method _get_button (line 1239) | def _get_button(self, key): method _client_connected (line 1245) | def _client_connected(self): method _client_disconnected (line 1257) | def _client_disconnected(self): method _data_received (line 1264) | def _data_received(self, data): method _process_commands (line 1276) | def _process_commands(self, commands): method _parse_interaction_msg (line 1318) | def _parse_interaction_msg(self, operation, params): method _process_press (line 1331) | def _process_press(self, button, position): method _process_move (line 1341) | def _process_move(self, button, position): method _process_release (line 1352) | def _process_release(self, button, position): method _check_protocol_version (line 1364) | def _check_protocol_version(self, protocol_version, client_name): method _send_bluedot_config (line 1383) | def _send_bluedot_config(self): method _print_message (line 1405) | def _print_message(self, message): method __getitem__ (line 1409) | def __getitem__(self, key): FILE: bluedot/exceptions.py class ButtonDoesNotExist (line 1) | class ButtonDoesNotExist(Exception): FILE: bluedot/interactions.py class BlueDotPosition (line 4) | class BlueDotPosition: method __init__ (line 16) | def __init__(self, col, row, x, y): method _clamped (line 25) | def _clamped(self, v): method col (line 29) | def col(self): method row (line 36) | def row(self): method x (line 43) | def x(self): method y (line 51) | def y(self): method angle (line 59) | def angle(self): method distance (line 69) | def distance(self): method middle (line 79) | def middle(self): method top (line 86) | def top(self): method right (line 93) | def right(self): method bottom (line 100) | def bottom(self): method left (line 107) | def left(self): method time (line 114) | def time(self): method __str__ (line 125) | def __str__(self): class BlueDotInteraction (line 131) | class BlueDotInteraction: method __init__ (line 143) | def __init__(self, pressed_position): method active (line 149) | def active(self): method positions (line 157) | def positions(self): method pressed_position (line 169) | def pressed_position(self): method released_position (line 177) | def released_position(self): method current_position (line 187) | def current_position(self): method previous_position (line 197) | def previous_position(self): method duration (line 206) | def duration(self): method distance (line 217) | def distance(self): method moved (line 229) | def moved(self, moved_position): method released (line 237) | def released(self, released_position): class BlueDotSwipe (line 248) | class BlueDotSwipe: method __init__ (line 259) | def __init__(self, interaction): method _is_valid_swipe (line 268) | def _is_valid_swipe(self): method col (line 279) | def col(self): method row (line 286) | def row(self): method interaction (line 293) | def interaction(self): method valid (line 300) | def valid(self): method distance (line 307) | def distance(self): method angle (line 321) | def angle(self): method speed (line 334) | def speed(self): method up (line 341) | def up(self): method down (line 348) | def down(self): method left (line 355) | def left(self): method right (line 362) | def right(self): method direction (line 369) | def direction(self): method __str__ (line 385) | def __str__(self): class BlueDotRotation (line 391) | class BlueDotRotation: method __init__ (line 392) | def __init__(self, interaction, no_of_segments): method col (line 439) | def col(self): method row (line 446) | def row(self): method valid (line 453) | def valid(self): method interaction (line 460) | def interaction(self): method value (line 467) | def value(self): method anti_clockwise (line 474) | def anti_clockwise(self): method clockwise (line 481) | def clockwise(self): method __str__ (line 487) | def __str__(self): FILE: bluedot/mock.py class MockBluetoothAdapter (line 8) | class MockBluetoothAdapter(BluetoothAdapter): method __init__ (line 9) | def __init__(self, device = "mock0", address = "00:00:00:00:00:00"): method powered (line 18) | def powered(self): method powered (line 22) | def powered(self, value): method discoverable (line 26) | def discoverable(self): method discoverable (line 30) | def discoverable(self, value): method pairable (line 34) | def pairable(self): method pairable (line 38) | def pairable(self, value): method paired_devices (line 42) | def paired_devices(self): class MockBluetoothServer (line 46) | class MockBluetoothServer(BluetoothServer): method __init__ (line 53) | def __init__(self, method start (line 75) | def start(self): method stop (line 78) | def stop(self): method mock_client_connected (line 81) | def mock_client_connected(self, mock_client = None): method mock_client_disconnected (line 102) | def mock_client_disconnected(self): method mock_client_sending_data (line 113) | def mock_client_sending_data(self, data): method _send_data (line 121) | def _send_data(self, data): method _setup_adapter (line 128) | def _setup_adapter(self, device): class MockBluetoothClient (line 132) | class MockBluetoothClient(BluetoothClient): method __init__ (line 141) | def __init__(self, method connect (line 159) | def connect(self): method disconnect (line 166) | def disconnect(self): method mock_server_sending_data (line 173) | def mock_server_sending_data(self, data): method _send_data (line 181) | def _send_data(self, data): method _setup_adapter (line 188) | def _setup_adapter(self, device): class MockBlueDot (line 191) | class MockBlueDot(BlueDot): method _create_server (line 197) | def _create_server(self): method mock_client_connected (line 207) | def mock_client_connected(self): method mock_client_disconnected (line 218) | def mock_client_disconnected(self): method mock_blue_dot_pressed (line 224) | def mock_blue_dot_pressed(self, col, row, x, y): method mock_blue_dot_released (line 242) | def mock_blue_dot_released(self, col, row, x, y): method mock_blue_dot_moved (line 261) | def mock_blue_dot_moved(self, col, row, x, y): method launch_mock_app (line 280) | def launch_mock_app(self): method _launch_mock_app (line 295) | def _launch_mock_app(self): FILE: bluedot/threads.py function _shutdown (line 6) | def _shutdown(): class WrapThread (line 14) | class WrapThread(Thread): method __init__ (line 15) | def __init__(self, group=None, target=None, name=None, args=(), kwargs... method start (line 20) | def start(self): method stop (line 25) | def stop(self): method join (line 29) | def join(self): FILE: bluedot/utils.py function get_managed_objects (line 12) | def get_managed_objects(): function find_adapter (line 17) | def find_adapter(pattern=None): function find_adapter_in_objects (line 20) | def find_adapter_in_objects(objects, pattern=None): function get_adapter_property (line 31) | def get_adapter_property(device_name, prop): function get_mac (line 37) | def get_mac(device_name): function get_adapter_powered_status (line 40) | def get_adapter_powered_status(device_name): function get_adapter_discoverable_status (line 44) | def get_adapter_discoverable_status(device_name): function get_adapter_pairable_status (line 48) | def get_adapter_pairable_status(device_name): function get_paired_devices (line 52) | def get_paired_devices(device_name): function device_discoverable (line 71) | def device_discoverable(device_name, discoverable): function device_pairable (line 81) | def device_pairable(device_name, pairable): function device_powered (line 91) | def device_powered(device_name, powered): function register_spp (line 101) | def register_spp(port): FILE: clients/android/app/src/androidTest/java/com/stuffaboutcode/bluedot/ExampleInstrumentedTest.java class ExampleInstrumentedTest (line 17) | @RunWith(AndroidJUnit4.class) method useAppContext (line 19) | @Test FILE: clients/android/app/src/main/java/com/stuffaboutcode/bluedot/BluetoothChatService.java class BluetoothChatService (line 43) | public class BluetoothChatService { method BluetoothChatService (line 79) | public BluetoothChatService(Context context, Handler handler) { method updateUserInterfaceTitle (line 89) | private synchronized void updateUserInterfaceTitle() { method getState (line 101) | public synchronized int getState() { method start (line 109) | public synchronized void start() { method connect (line 143) | public synchronized void connect(BluetoothDevice device, int port, boo... method connected (line 173) | public synchronized void connected(BluetoothSocket socket, BluetoothDe... method stop (line 216) | public synchronized void stop() { method write (line 249) | public void write(byte[] out) { method connectionFailed (line 264) | private void connectionFailed() { method connectionLost (line 283) | private void connectionLost() { class AcceptThread (line 304) | private class AcceptThread extends Thread { method AcceptThread (line 309) | public AcceptThread(boolean secure) { method run (line 329) | public void run() { method cancel (line 374) | public void cancel() { class ConnectThread (line 390) | private class ConnectThread extends Thread { method ConnectThread (line 395) | public ConnectThread(BluetoothDevice device, int port, boolean secur... method run (line 432) | public void run() { method cancel (line 472) | public void cancel() { class ConnectedThread (line 487) | private class ConnectedThread extends Thread { method ConnectedThread (line 492) | public ConnectedThread(BluetoothSocket socket, String socketType) { method run (line 511) | public void run() { method write (line 540) | public void write(byte[] buffer) { method cancel (line 552) | public void cancel() { FILE: clients/android/app/src/main/java/com/stuffaboutcode/bluedot/Button.java class Button (line 22) | public class Button extends AppCompatActivity { method onCreate (line 40) | @Override method calcX (line 119) | private double calcX(DynamicMatrix.MatrixCell cell, float actual_x) { method calcY (line 126) | private double calcY(DynamicMatrix.MatrixCell cell, float actual_y) { method calcX (line 133) | private double calcX(View roundButton, MotionEvent event) { method calcY (line 139) | private double calcY(View roundButton, MotionEvent event) { method buildMessage (line 145) | private String buildMessage(String operation, int col, int row, double... method send (line 149) | public void send(String message) { method disconnect (line 167) | private void disconnect() { method msg (line 175) | private void msg(String message) { method parseData (line 180) | private void parseData(String data) { method processMessage (line 210) | private void processMessage(String message) { method processSetMatrixMessage (line 235) | private boolean processSetMatrixMessage(String parameters[]) { method processSetCellMessage (line 270) | private boolean processSetCellMessage(String parameters[]) { method convertColor (line 308) | private String convertColor(String color) { method handleMessage (line 324) | @Override method onBackPressed (line 381) | @Override FILE: clients/android/app/src/main/java/com/stuffaboutcode/bluedot/Constants.java type Constants (line 22) | public interface Constants { FILE: clients/android/app/src/main/java/com/stuffaboutcode/bluedot/Devices.java class Devices (line 30) | public class Devices method checkPermissions (line 48) | private void checkPermissions(){ method onCreate (line 60) | @Override method onResume (line 92) | @Override method onCreateOptionsMenu (line 99) | @Override method onOptionsItemSelected (line 106) | @Override method onSharedPreferenceChanged (line 122) | @Override method setConnectMsg (line 130) | private void setConnectMsg() { method setConnectMsg (line 135) | private void setConnectMsg(SharedPreferences sharedPreferences) { method pairedDevicesList (line 148) | private void pairedDevicesList() { method onItemClick (line 172) | public void onItemClick (AdapterView av, View v, int arg2, long arg3) FILE: clients/android/app/src/main/java/com/stuffaboutcode/bluedot/DynamicMatrix.java class DynamicMatrix (line 16) | class DynamicMatrix extends View { type DynamicMatrixListener (line 30) | public interface DynamicMatrixListener { method onPress (line 31) | public void onPress(MatrixCell cell, int pointerId, float actual_x, ... method onMove (line 32) | public void onMove(MatrixCell cell, int pointerId, float actual_x, f... method onRelease (line 33) | public void onRelease(MatrixCell cell, int pointerId, float actual_x... method DynamicMatrix (line 38) | public DynamicMatrix(Context context, AttributeSet attrs) { method setOnUseListener (line 59) | public void setOnUseListener(DynamicMatrixListener listener) { method init (line 64) | private void init() { method onSizeChanged (line 78) | @Override method setupMatrix (line 93) | private void setupMatrix() { method sizeMatrix (line 119) | private void sizeMatrix() { method sizeCell (line 162) | private RectF sizeCell(int c, int r) { method onDraw (line 171) | protected void onDraw(Canvas canvas) { method onTouchEvent (line 221) | @Override method findCellFromXY (line 308) | private MatrixCell findCellFromXY(float x, float y) { method performClick (line 326) | @Override method update (line 333) | public void update() { method getCells (line 339) | public ArrayList> getCells() { method getCell (line 343) | public MatrixCell getCell(int col, int row) { method setSize (line 347) | public void setSize(int cols, int rows) { method setColor (line 357) | public void setColor(int color) { method setVisible (line 365) | public void setVisible(boolean value) { method setBorder (line 373) | public void setBorder(boolean value) { method setSquare (line 381) | public void setSquare(boolean value) { method getCols (line 389) | public int getCols() { method setCols (line 393) | public void setCols(int value) { method getRows (line 397) | public int getRows() { method setRows (line 401) | public void setRows(int value) { class MatrixPointer (line 408) | private class MatrixPointer { method MatrixPointer (line 414) | private MatrixPointer(int pointerId, float x, float y, MatrixCell pr... method move (line 420) | private void move(float x, float y) { method getPressedCell (line 424) | private MatrixCell getPressedCell() { method getX (line 427) | private float getX() { method getY (line 430) | private float getY() { class MatrixCell (line 436) | public class MatrixCell { method MatrixCell (line 442) | private MatrixCell(int col, int row, RectF bounds, boolean visible, ... method getBounds (line 454) | public RectF getBounds() { method setBounds (line 457) | private void setBounds(RectF value) { method getInnerBounds (line 460) | public RectF getInnerBounds() { method getColor (line 468) | public int getColor() { method getMovedColor (line 471) | public int getMovedColor() { method setColor (line 474) | public void setColor(int value) { method getBorder (line 477) | public boolean getBorder() { method setBorder (line 480) | public void setBorder(boolean value) { method getVisible (line 483) | public boolean getVisible() { method setVisible (line 486) | public void setVisible(boolean value) { method getSquare (line 489) | public boolean getSquare() { method setSquare (line 492) | public void setSquare(boolean value) { method getCol (line 495) | public int getCol() { method getRow (line 498) | public int getRow() { method getWidth (line 501) | public float getWidth() { method getHeight (line 504) | public float getHeight() { method getPressed (line 507) | public boolean getPressed() { method press (line 512) | private void press() { method release (line 520) | private void release() { method moved (line 528) | private void moved() { method updateColors (line 534) | private void updateColors(int color) { method manipulateColor (line 547) | private int manipulateColor(int color, float factor) { FILE: clients/android/app/src/main/java/com/stuffaboutcode/bluedot/SettingsActivity.java class SettingsActivity (line 13) | public class SettingsActivity extends AppCompatActivity { method onCreate (line 15) | @Override class SettingsFragment (line 33) | public static class SettingsFragment method onCreatePreferences (line 37) | @Override method onResume (line 44) | @Override method onPause (line 52) | @Override method onSharedPreferenceChanged (line 60) | @Override method setupPreferences (line 65) | private void setupPreferences() { FILE: clients/android/app/src/main/java/com/stuffaboutcode/logger/Log.java class Log (line 26) | public class Log { method getLogNode (line 43) | public static LogNode getLogNode() { method setLogNode (line 50) | public static void setLogNode(LogNode node) { method println (line 64) | public static void println(int priority, String tag, String msg, Throw... method println (line 78) | public static void println(int priority, String tag, String msg) { method v (line 90) | public static void v(String tag, String msg, Throwable tr) { method v (line 100) | public static void v(String tag, String msg) { method d (line 113) | public static void d(String tag, String msg, Throwable tr) { method d (line 123) | public static void d(String tag, String msg) { method i (line 135) | public static void i(String tag, String msg, Throwable tr) { method i (line 145) | public static void i(String tag, String msg) { method w (line 157) | public static void w(String tag, String msg, Throwable tr) { method w (line 167) | public static void w(String tag, String msg) { method w (line 178) | public static void w(String tag, Throwable tr) { method e (line 190) | public static void e(String tag, String msg, Throwable tr) { method e (line 200) | public static void e(String tag, String msg) { method wtf (line 212) | public static void wtf(String tag, String msg, Throwable tr) { method wtf (line 222) | public static void wtf(String tag, String msg) { method wtf (line 233) | public static void wtf(String tag, Throwable tr) { FILE: clients/android/app/src/main/java/com/stuffaboutcode/logger/LogFragment.java class LogFragment (line 49) | public class LogFragment extends Fragment { method LogFragment (line 54) | public LogFragment() {} method inflateViews (line 56) | public View inflateViews() { method onCreateView (line 85) | @Override method getLogView (line 106) | public LogView getLogView() { FILE: clients/android/app/src/main/java/com/stuffaboutcode/logger/LogNode.java type LogNode (line 27) | public interface LogNode { method println (line 37) | public void println(int priority, String tag, String msg, Throwable tr); FILE: clients/android/app/src/main/java/com/stuffaboutcode/logger/LogView.java class LogView (line 25) | public class LogView extends TextView implements LogNode { method LogView (line 27) | public LogView(Context context) { method LogView (line 31) | public LogView(Context context, AttributeSet attrs) { method LogView (line 35) | public LogView(Context context, AttributeSet attrs, int defStyle) { method println (line 47) | @Override method getNext (line 108) | public LogNode getNext() { method setNext (line 112) | public void setNext(LogNode node) { method appendIfNotNull (line 125) | private StringBuilder appendIfNotNull(StringBuilder source, String add... method appendToLog (line 140) | public void appendToLog(String s) { FILE: clients/android/app/src/main/java/com/stuffaboutcode/logger/LogWrapper.java class LogWrapper (line 24) | public class LogWrapper implements LogNode { method getNext (line 32) | public LogNode getNext() { method setNext (line 39) | public void setNext(LogNode node) { method println (line 51) | @Override FILE: clients/android/app/src/main/java/com/stuffaboutcode/logger/MessageOnlyLogFilter.java class MessageOnlyLogFilter (line 23) | public class MessageOnlyLogFilter implements LogNode { method MessageOnlyLogFilter (line 32) | public MessageOnlyLogFilter(LogNode next) { method MessageOnlyLogFilter (line 36) | public MessageOnlyLogFilter() { method println (line 39) | @Override method getNext (line 49) | public LogNode getNext() { method setNext (line 56) | public void setNext(LogNode node) { FILE: clients/android/app/src/test/java/com/stuffaboutcode/bluedot/ExampleUnitTest.java class ExampleUnitTest (line 12) | public class ExampleUnitTest { method addition_isCorrect (line 13) | @Test FILE: docs/conf.py class Mock (line 28) | class Mock: method __init__ (line 30) | def __init__(self, *args, **kw): pass method __call__ (line 31) | def __call__(self, *args, **kw): return Mock() method __mul__ (line 32) | def __mul__(self, other): return Mock() method __and__ (line 33) | def __and__(self, other): return Mock() method __bool__ (line 34) | def __bool__(self): return False method __nonzero__ (line 35) | def __nonzero__(self): return False method __getattr__ (line 37) | def __getattr__(cls, name): FILE: docs/examples/camera.py function take_picture (line 8) | def take_picture(): FILE: docs/examples/dpad.py function dpad (line 4) | def dpad(pos): FILE: docs/examples/dpad_layout.py function up (line 4) | def up(): function down (line 7) | def down(): function left (line 10) | def left(): function right (line 13) | def right(): FILE: docs/examples/goodbye_world.py function say_hello (line 4) | def say_hello(): function say_goodbye (line 7) | def say_goodbye(): FILE: docs/examples/hello_event.py function say_hello (line 4) | def say_hello(): FILE: docs/examples/joypad.py function up (line 4) | def up(): function down (line 7) | def down(): function left (line 10) | def left(): function right (line 13) | def right(): function button_A (line 16) | def button_A(): function button_B (line 19) | def button_B(): FILE: docs/examples/many_buttons.py function pressed (line 4) | def pressed(pos): FILE: docs/examples/many_buttons_random_colors.py function pressed (line 5) | def pressed(pos): FILE: docs/examples/mock_app.py function say_hello (line 4) | def say_hello(): FILE: docs/examples/mock_script.py function say_hello (line 3) | def say_hello(): FILE: docs/examples/multiple_dots.py function bd1_pressed (line 4) | def bd1_pressed(): function bd2_pressed (line 7) | def bd2_pressed(): FILE: docs/examples/robot1.py function move (line 8) | def move(pos): function stop (line 18) | def stop(): FILE: docs/examples/robot2.py function move (line 8) | def move(pos): function stop (line 18) | def stop(): FILE: docs/examples/robot3.py function pos_to_values (line 5) | def pos_to_values(x, y): function clamped (line 10) | def clamped(v): function drive (line 13) | def drive(): FILE: docs/examples/rotation.py function rotated (line 6) | def rotated(rotation): FILE: docs/examples/shout_hello.py function shout_hello (line 4) | def shout_hello(): FILE: docs/examples/slider_centre.py function show_percentage (line 4) | def show_percentage(pos): FILE: docs/examples/slider_dimmer.py function set_brightness (line 5) | def set_brightness(pos): FILE: docs/examples/slider_left_right.py function show_percentage (line 4) | def show_percentage(pos): FILE: docs/examples/swipe2.py function swiped (line 4) | def swiped(): FILE: docs/examples/swipe_direction.py function swiped (line 4) | def swiped(swipe): FILE: docs/examples/swipe_speed_angle.py function swiped (line 4) | def swiped(swipe): FILE: docs/examples/two_buttons.py function pressed (line 4) | def pressed(pos): FILE: docs/examples/two_buttons_gap.py function pressed (line 4) | def pressed(pos): FILE: docs/examples/two_buttons_two_events.py function pressed_1 (line 4) | def pressed_1(pos): function pressed_2 (line 7) | def pressed_2(pos): FILE: examples/click_wheel.py function rotated (line 6) | def rotated(rotation): FILE: examples/client_connects.py function client_connected (line 4) | def client_connected(): function client_disconnected (line 7) | def client_disconnected(): FILE: examples/client_debug.py function data_received (line 6) | def data_received(data): FILE: examples/color_changer.py function on (line 6) | def on(pos): function off (line 11) | def off(): FILE: examples/connect_multiple_apps.py function bd1_pressed (line 4) | def bd1_pressed(): function bd2_pressed (line 7) | def bd2_pressed(): FILE: examples/dot_changer.py function change_dot (line 6) | def change_dot(pos): FILE: examples/dot_debug.py function pressed (line 8) | def pressed(pos): function pressed_two (line 11) | def pressed_two(pos): function released (line 14) | def released(): function moved (line 17) | def moved(pos): function swiped (line 20) | def swiped(swipe): function double_presed (line 23) | def double_presed(pos): function client_connected (line 26) | def client_connected(): function client_disconnected (line 29) | def client_disconnected(): function rotated (line 32) | def rotated(rotation): FILE: examples/dot_single_button_debug.py function pressed (line 7) | def pressed(pos): function released (line 10) | def released(): function moved (line 13) | def moved(pos): function swiped (line 16) | def swiped(swipe): function double_presed (line 19) | def double_presed(pos): function client_connected (line 22) | def client_connected(): function client_disconnected (line 25) | def client_disconnected(): FILE: examples/double_press.py function double_pressed (line 5) | def double_pressed(): FILE: examples/dpad.py function dpad (line 4) | def dpad(pos): FILE: examples/dpad_layout.py function up (line 4) | def up(): function down (line 7) | def down(): function left (line 10) | def left(): function right (line 13) | def right(): FILE: examples/joypad.py function up (line 4) | def up(): function down (line 7) | def down(): function left (line 10) | def left(): function right (line 13) | def right(): function button_A (line 16) | def button_A(): function button_B (line 19) | def button_B(): FILE: examples/many_buttons.py function pressed (line 4) | def pressed(pos): FILE: examples/matrix_of_dots.py function pressed (line 8) | def pressed(pos): function moved (line 11) | def moved(pos): function released (line 14) | def released(pos): function double_press (line 17) | def double_press(pos): function swipe (line 20) | def swipe(swipe): function rotation (line 23) | def rotation(rotation): function increase_matrix (line 26) | def increase_matrix(): function change_color (line 30) | def change_color(): FILE: examples/mock_app_debug.py function pressed (line 6) | def pressed(pos): function released (line 9) | def released(): function moved (line 13) | def moved(pos): FILE: examples/mock_btcomm_debug.py function s_client_connected (line 3) | def s_client_connected(): function s_data_received (line 6) | def s_data_received(data): function c_data_received (line 15) | def c_data_received(data): FILE: examples/mock_debug.py function pressed (line 6) | def pressed(pos): function released (line 9) | def released(): function moved (line 13) | def moved(pos): FILE: examples/remote_camera.py function take_picture (line 8) | def take_picture(): FILE: examples/server_debug.py function data_received (line 5) | def data_received(data): function client_connected (line 9) | def client_connected(): function client_disconnected (line 12) | def client_disconnected(): FILE: examples/simple_robot.py function move (line 8) | def move(pos): function stop (line 18) | def stop(): FILE: examples/simple_variable_robot.py function move (line 8) | def move(pos): function stop (line 18) | def stop(): FILE: examples/slider_centre.py function show_percentage (line 4) | def show_percentage(pos): FILE: examples/slider_horizontal.py function show_percentage (line 4) | def show_percentage(pos): FILE: examples/slider_led_dimmer.py function set_brightness (line 5) | def set_brightness(pos): FILE: examples/source_robot.py function pos_to_values (line 5) | def pos_to_values(x, y): function clamped (line 10) | def clamped(v): function drive (line 13) | def drive(): FILE: examples/swipe_debug.py function released (line 10) | def released(): function valid_swipe (line 15) | def valid_swipe(swipe): FILE: examples/threaded_callbacks.py function pressed (line 6) | def pressed(): function released (line 11) | def released(): FILE: examples/two_buttons.py function pressed (line 4) | def pressed(pos): FILE: tests/test_blue_dot.py function test_default_values (line 7) | def test_default_values(): function test_modify_values (line 29) | def test_modify_values(): function test_start_stop (line 51) | def test_start_stop(): function test_connect_disconnect (line 59) | def test_connect_disconnect(): function test_when_connect_disconnect (line 68) | def test_when_connect_disconnect(): function test_when_connect_disconnect_background (line 85) | def test_when_connect_disconnect_background(): function test_resize (line 105) | def test_resize(): function test_pressed_moved_released (line 113) | def test_pressed_moved_released(): function test_double_press (line 165) | def test_double_press(): function test_when_pressed_moved_released (line 229) | def test_when_pressed_moved_released(): function test_when_pressed_moved_released_background (line 274) | def test_when_pressed_moved_released_background(): function test_position (line 332) | def test_position(): function test_interaction (line 385) | def test_interaction(): function test_swipe (line 434) | def test_swipe(): function test_callback_in_class (line 516) | def test_callback_in_class(): function test_rotation (line 547) | def test_rotation(): function test_button_does_not_exist (line 601) | def test_button_does_not_exist(): function test_allow_pairing (line 607) | def test_allow_pairing(): function test_dot_appearance (line 616) | def test_dot_appearance(): function test_dot_colors (line 666) | def test_dot_colors(): function delay_function (line 697) | def delay_function(func, time): function _delayed_function (line 701) | def _delayed_function(func, time): FILE: tests/test_bluetooth_adapter.py function test_bluetooth_adapter (line 10) | def test_bluetooth_adapter(): FILE: tests/test_bluetooth_comms.py function test_server_default_values (line 27) | def test_server_default_values(): function test_server_alt_values (line 43) | def test_server_alt_values(): function test_server_start_stop (line 71) | def test_server_start_stop(): function test_client_default_values (line 81) | def test_client_default_values(): function test_client_alt_values (line 99) | def test_client_alt_values(): function test_client_connect_disconnect (line 121) | def test_client_connect_disconnect(): function test_send_receive (line 148) | def test_send_receive(): function test_volume_data (line 172) | def test_volume_data():