file_name stringlengths 6 86 | file_path stringlengths 45 249 | content stringlengths 47 6.26M | file_size int64 47 6.26M | language stringclasses 1
value | extension stringclasses 1
value | repo_name stringclasses 767
values | repo_stars int64 8 14.4k | repo_forks int64 0 1.17k | repo_open_issues int64 0 788 | repo_created_at stringclasses 767
values | repo_pushed_at stringclasses 767
values |
|---|---|---|---|---|---|---|---|---|---|---|---|
NotFoundException.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/sensor/striptest/qrdetector/NotFoundException.java | /*
* Copyright 2007 ZXing authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | 1,199 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
BitMatrixCreator.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/sensor/striptest/qrdetector/BitMatrixCreator.java | package org.akvo.caddisfly.sensor.striptest.qrdetector;
/**
* Uses a very naive threshold: a single fixed black point. As we have good control
* over the lighting conditions, this should be sufficient.
*/
public class BitMatrixCreator {
private static BitMatrix matrix;
public BitMatrixCreator(int width, ... | 3,650 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
PerspectiveTransform.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/sensor/striptest/qrdetector/PerspectiveTransform.java | /*
* Copyright 2007 ZXing authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | 6,563 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
DefaultGridSampler.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/sensor/striptest/qrdetector/DefaultGridSampler.java | /*
* Copyright 2007 ZXing authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | 3,938 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
ResultPoint.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/sensor/striptest/qrdetector/ResultPoint.java | /*
* Copyright 2007 ZXing authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | 1,945 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
StriptestHandler.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/sensor/striptest/ui/StriptestHandler.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 19,627 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
StripMeasureListener.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/sensor/striptest/ui/StripMeasureListener.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 990 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
StripTestActivity.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/sensor/striptest/ui/StripTestActivity.java | package org.akvo.caddisfly.sensor.striptest.ui;
import static org.akvo.caddisfly.sensor.striptest.utils.ResultUtils.createValueUnitString;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.util.SparseArray;
import android.view.LayoutInflater;
import android.view.M... | 16,774 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
ResultFragment.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/sensor/striptest/ui/ResultFragment.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 18,934 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
StripMeasureFragment.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/sensor/striptest/ui/StripMeasureFragment.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 4,709 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
StripMeasureActivity.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/sensor/striptest/ui/StripMeasureActivity.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 10,349 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
DecodeProcessor.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/sensor/striptest/decode/DecodeProcessor.java | package org.akvo.caddisfly.sensor.striptest.decode;
import android.os.Handler;
import android.os.HandlerThread;
import androidx.annotation.Nullable;
import org.akvo.caddisfly.model.TestInfo;
import org.akvo.caddisfly.sensor.striptest.models.CalibrationCardData;
import org.akvo.caddisfly.sensor.striptest.models.Decod... | 25,950 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
PercentageMeterView.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/sensor/striptest/widget/PercentageMeterView.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 2,970 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
FinderPatternIndicatorView.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/sensor/striptest/widget/FinderPatternIndicatorView.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 8,934 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
CameraPreview.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/sensor/striptest/camera/CameraPreview.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 7,498 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
TheCamera.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/sensor/striptest/camera/TheCamera.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 1,332 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
CameraOperationsManager.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/sensor/striptest/camera/CameraOperationsManager.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 6,414 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
SwatchSelectFragment.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/sensor/manual/SwatchSelectFragment.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 3,767 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
ResultPhotoFragment.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/sensor/manual/ResultPhotoFragment.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 7,863 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
SwatchSelectWidget.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/sensor/manual/SwatchSelectWidget.java | package org.akvo.caddisfly.sensor.manual;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Path;
import android.graphics.Point;
import android.graphics.Rect;
import android.graphics.Typeface;
import android.util.Attrib... | 18,331 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
MeasurementInputFragment.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/sensor/manual/MeasurementInputFragment.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 8,542 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
ManualTestActivity.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/sensor/manual/ManualTestActivity.java | package org.akvo.caddisfly.sensor.manual;
import static org.akvo.caddisfly.sensor.striptest.utils.BitmapUtils.concatTwoBitmapsHorizontal;
import static org.akvo.caddisfly.sensor.striptest.utils.BitmapUtils.concatTwoBitmapsVertical;
import static org.akvo.caddisfly.sensor.striptest.utils.ResultUtils.createValueUnitStri... | 21,276 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
SwatchSelectTestActivity.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/sensor/manual/SwatchSelectTestActivity.java | package org.akvo.caddisfly.sensor.manual;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.util.SparseArray;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import and... | 14,517 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
OnKeyboardVisibilityListener.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/sensor/manual/OnKeyboardVisibilityListener.java | package org.akvo.caddisfly.sensor.manual;
//https://stackoverflow.com/questions/4312319/how-to-capture-the-virtual-keyboard-show-hide-event-in-android
public interface OnKeyboardVisibilityListener {
void onKeyboardVisibilityChanged(boolean visible);
}
| 257 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
SensorActivity.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/sensor/usb/SensorActivity.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 18,232 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
WaitingFragment.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/sensor/bluetooth/WaitingFragment.java | package org.akvo.caddisfly.sensor.bluetooth;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ProgressBar;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.fragment.app.Fragment;
import org.... | 1,483 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
BluetoothResultFragment.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/sensor/bluetooth/BluetoothResultFragment.java | package org.akvo.caddisfly.sensor.bluetooth;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.ClipData;
import android.content.ClipboardManager;
import android.content.Intent;
import android.os.Bundle;
import android.text.SpannableStringBuilder;
import android.text.TextUtils;
import... | 13,645 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
DeviceScanActivity.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/sensor/bluetooth/DeviceScanActivity.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 23,711 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
GattAttributes.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/sensor/bluetooth/GattAttributes.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 1,833 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
DeviceConnectDialog.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/sensor/bluetooth/DeviceConnectDialog.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 2,771 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
ReagentLabel.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/sensor/bluetooth/ReagentLabel.java | package org.akvo.caddisfly.sensor.bluetooth;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Rect;
import android.graphics.Typeface;
import android.graphics.drawable.Drawable;
imp... | 6,821 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
BluetoothLeService.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/sensor/bluetooth/BluetoothLeService.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 10,621 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
DeviceControlActivity.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/sensor/bluetooth/DeviceControlActivity.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 19,750 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
SelectTestFragment.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/sensor/bluetooth/SelectTestFragment.java | package org.akvo.caddisfly.sensor.bluetooth;
import android.os.Bundle;
import android.text.SpannableStringBuilder;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import org.akvo.caddisfly.R;
import org.akvo.caddisfly.common.ConstantKey;
imp... | 1,735 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
CbtActivity.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/sensor/cbt/CbtActivity.java | package org.akvo.caddisfly.sensor.cbt;
import static org.akvo.caddisfly.sensor.striptest.utils.BitmapUtils.concatTwoBitmapsHorizontal;
import static org.akvo.caddisfly.sensor.striptest.utils.BitmapUtils.concatTwoBitmapsVertical;
import static org.akvo.caddisfly.sensor.striptest.utils.ResultUtils.createValueUnitString;... | 26,251 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
CbtResultFragment.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/sensor/cbt/CbtResultFragment.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 5,178 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
CustomShapeButton.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/sensor/cbt/CustomShapeButton.java | package org.akvo.caddisfly.sensor.cbt;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Path;
import android.graphics.Rect;
import android.graphics.Typeface;
import android.util.AttributeSet;
import android.view.Motion... | 9,555 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
CompartmentBagFragment.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/sensor/cbt/CompartmentBagFragment.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 4,045 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
TestInfoAdapter.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/ui/TestInfoAdapter.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 3,434 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
TestInfoClickCallback.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/ui/TestInfoClickCallback.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 1,527 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
NoticesDialogFragment.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/ui/NoticesDialogFragment.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 2,893 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
Intro2Fragment.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/ui/Intro2Fragment.java | /*
* Copyright (C) 2018 Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Flow.
*
* Akvo Flow is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your... | 1,704 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
AboutActivity.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/ui/AboutActivity.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 5,789 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
TestListActivity.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/ui/TestListActivity.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 5,723 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
BaseFragment.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/ui/BaseFragment.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 2,730 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
TestListFragment.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/ui/TestListFragment.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 4,553 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
TestInfoFragment.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/ui/TestInfoFragment.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 3,971 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
BaseActivity.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/ui/BaseActivity.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 4,971 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
Intro1Fragment.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/ui/Intro1Fragment.java | /*
* Copyright (C) 2018 Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Flow.
*
* Akvo Flow is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your... | 1,704 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
TimerView.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/widget/TimerView.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 7,338 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
SwipeDirection.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/widget/SwipeDirection.java | package org.akvo.caddisfly.widget;
public enum SwipeDirection {
all, left, right, none
} | 93 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
CircleView.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/widget/CircleView.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 1,873 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
ButtonType.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/widget/ButtonType.java | package org.akvo.caddisfly.widget;
public enum ButtonType {
NONE,
START,
SUBMIT,
CLOSE
}
| 106 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
WrapContentViewPager.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/widget/WrapContentViewPager.java | package org.akvo.caddisfly.widget;
import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import androidx.viewpager.widget.ViewPager;
public class WrapContentViewPager extends ViewPager {
public WrapContentViewPager(Context context) {
super(context);
}
public... | 1,099 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
RowView.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/widget/RowView.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 2,439 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
HtmlTextView.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/widget/HtmlTextView.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 1,586 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
SwatchView.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/widget/SwatchView.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 6,984 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
CenteredImageSpan.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/widget/CenteredImageSpan.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 3,255 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
SoundPoolPlayer.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/helper/SoundPoolPlayer.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 2,317 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
ErrorMessages.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/helper/ErrorMessages.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 2,480 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
CameraHelper.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/helper/CameraHelper.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 2,431 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
ApkHelper.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/helper/ApkHelper.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 4,540 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
TestConfigHelper.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/helper/TestConfigHelper.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 6,955 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
InstructionHelper.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/helper/InstructionHelper.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 5,986 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
PermissionsDelegate.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/helper/PermissionsDelegate.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 2,740 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
CaddisflyApp.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/app/CaddisflyApp.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 7,896 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
AssetsManager.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/util/AssetsManager.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 2,433 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
AnimatedColor.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/util/AnimatedColor.java | package org.akvo.caddisfly.util;
import android.graphics.Color;
// http://myhexaville.com/2017/06/14/android-animated-status-bar-color/
public class AnimatedColor {
private final int mStartColor, mEndColor;
private final float[] mStartHSV, mEndHSV;
private float[] mMove = new float[3];
public Animat... | 1,071 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
MathUtil.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/util/MathUtil.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 5,237 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
PreferencesUtil.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/util/PreferencesUtil.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 9,473 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
AlertUtil.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/util/AlertUtil.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 9,772 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
ApiUtil.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/util/ApiUtil.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 3,736 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
ImageUtil.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/util/ImageUtil.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 8,275 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
ListViewUtil.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/util/ListViewUtil.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 2,231 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
DateUtil.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/util/DateUtil.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 1,910 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
StringUtil.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/util/StringUtil.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 9,323 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
MpnValue.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/model/MpnValue.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 1,767 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
TestInfo.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/model/TestInfo.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 12,561 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
Reagent.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/model/Reagent.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 2,288 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
TestConfig.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/model/TestConfig.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 1,094 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
PageIndex.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/model/PageIndex.java | package org.akvo.caddisfly.model;
import android.util.SparseArray;
import java.util.ArrayList;
public class PageIndex {
private SparseArray<PageType> pages = new SparseArray<>();
private ArrayList<Integer> inputIndexes = new ArrayList<>();
private ArrayList<Integer> photoIndexes = new ArrayList<>();
... | 1,862 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
Result.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/model/Result.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 6,510 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
TestType.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/model/TestType.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 1,662 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
Instruction.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/model/Instruction.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 2,834 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
GroupType.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/model/GroupType.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 1,289 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
ColorItem.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/model/ColorItem.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 3,142 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
PageType.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/model/PageType.java | package org.akvo.caddisfly.model;
public enum PageType {
DEFAULT,
PHOTO,
INPUT,
RESULT
}
| 106 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
ReagentType.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/main/java/org/akvo/caddisfly/model/ReagentType.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 1,120 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
NetUtil.java | /FileExtraction/Java_unseen/akvo_akvo-caddisfly/caddisfly-app/app/src/tryout/java/org/akvo/caddisfly/util/NetUtil.java | /*
* Copyright (C) Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo Caddisfly.
*
* Akvo Caddisfly is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | 1,330 | Java | .java | akvo/akvo-caddisfly | 12 | 9 | 0 | 2014-10-07T06:55:01Z | 2023-09-20T21:02:30Z |
RootTest.java | /FileExtraction/Java_unseen/williamleven_Cypher/src/test/java/com/github/cypher/RootTest.java | /*package com.github.cypher;
import com.airhacks.afterburner.injection.Injector;
import RootView;
import javafx.scene.Scene;
import javafx.stage.Stage;
import org.junit.Test;
import org.testfx.framework.junit.ApplicationTest;
import java.util.HashMap;
import java.util.Map;
import static org.testfx.api.FxAssert.verif... | 929 | Java | .java | williamleven/Cypher | 8 | 1 | 0 | 2017-03-20T10:42:03Z | 2017-10-22T22:59:11Z |
ClientTest.java | /FileExtraction/Java_unseen/williamleven_Cypher/src/test/java/com/github/cypher/sdk/ClientTest.java | package com.github.cypher.sdk;
import org.junit.Test;
import org.junit.Assert;
import java.io.IOException;
import java.util.Map;
public class ClientTest {
ApiMock api = new ApiMock();
Client client = new Client(api, "ex.example.test");
// Test the user cache
@Test
public void getUser() {
// Grab tha same ... | 2,500 | Java | .java | williamleven/Cypher | 8 | 1 | 0 | 2017-03-20T10:42:03Z | 2017-10-22T22:59:11Z |
ApiMock.java | /FileExtraction/Java_unseen/williamleven_Cypher/src/test/java/com/github/cypher/sdk/ApiMock.java | package com.github.cypher.sdk;
import com.github.cypher.sdk.api.ApiLayer;
import com.github.cypher.sdk.api.RestfulHTTPException;
import com.github.cypher.sdk.api.Session;
import com.google.gson.JsonArray;
import com.google.gson.JsonObject;
import java.io.IOException;
import java.io.InputStream;
import java.net.Malfor... | 7,898 | Java | .java | williamleven/Cypher | 8 | 1 | 0 | 2017-03-20T10:42:03Z | 2017-10-22T22:59:11Z |
UserTest.java | /FileExtraction/Java_unseen/williamleven_Cypher/src/test/java/com/github/cypher/sdk/UserTest.java | package com.github.cypher.sdk;
import com.github.cypher.sdk.api.RestfulHTTPException;
import com.github.cypher.sdk.api.Util;
import com.google.gson.JsonObject;
import org.junit.Assert;
import org.junit.Test;
import java.io.IOException;
import java.net.URL;
public class UserTest {
private final ApiMock api = new Api... | 1,113 | Java | .java | williamleven/Cypher | 8 | 1 | 0 | 2017-03-20T10:42:03Z | 2017-10-22T22:59:11Z |
RoomTest.java | /FileExtraction/Java_unseen/williamleven_Cypher/src/test/java/com/github/cypher/sdk/RoomTest.java | package com.github.cypher.sdk;
import com.github.cypher.sdk.api.RestfulHTTPException;
import com.google.gson.JsonArray;
import com.google.gson.JsonObject;
import org.junit.Assert;
import org.junit.Test;
import java.io.IOException;
public class RoomTest {
private final ApiMock api = new ApiMock();
private final Ro... | 2,344 | Java | .java | williamleven/Cypher | 8 | 1 | 0 | 2017-03-20T10:42:03Z | 2017-10-22T22:59:11Z |
MessageTest.java | /FileExtraction/Java_unseen/williamleven_Cypher/src/test/java/com/github/cypher/sdk/MessageTest.java | package com.github.cypher.sdk;
import com.google.gson.JsonObject;
import org.junit.Assert;
import org.junit.Test;
public class MessageTest {
@Test
public void createMessage() {
// Build json
JsonObject content = new JsonObject();
content.addProperty("body", "TestBody");
content.addProperty("msgtype", "Tes... | 630 | Java | .java | williamleven/Cypher | 8 | 1 | 0 | 2017-03-20T10:42:03Z | 2017-10-22T22:59:11Z |
UtilTest.java | /FileExtraction/Java_unseen/williamleven_Cypher/src/test/java/com/github/cypher/sdk/api/UtilTest.java | package com.github.cypher.sdk.api;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import java.net.MalformedURLException;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
public class UtilTest {
@Tes... | 1,764 | Java | .java | williamleven/Cypher | 8 | 1 | 0 | 2017-03-20T10:42:03Z | 2017-10-22T22:59:11Z |
SessionTest.java | /FileExtraction/Java_unseen/williamleven_Cypher/src/test/java/com/github/cypher/sdk/api/SessionTest.java | package com.github.cypher.sdk.api;
import com.google.gson.JsonObject;
import org.junit.Test;
import java.io.IOException;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
public class SessionTest {
@Test
public void constructorParsing(){
// Crate lacking json object
Js... | 1,384 | Java | .java | williamleven/Cypher | 8 | 1 | 0 | 2017-03-20T10:42:03Z | 2017-10-22T22:59:11Z |
EndpointTest.java | /FileExtraction/Java_unseen/williamleven_Cypher/src/test/java/com/github/cypher/sdk/api/EndpointTest.java | package com.github.cypher.sdk.api;
import static org.junit.Assert.assertFalse;
import org.junit.Test;
import java.net.MalformedURLException;
import java.net.URL;
public class EndpointTest {
@Test
public void EndpointValues(){
// Make sure all endpoint build correct URL's
try {
for(Endpoint endpoint : Endp... | 487 | Java | .java | williamleven/Cypher | 8 | 1 | 0 | 2017-03-20T10:42:03Z | 2017-10-22T22:59:11Z |
RestfulHTTPExceptionTest.java | /FileExtraction/Java_unseen/williamleven_Cypher/src/test/java/com/github/cypher/sdk/api/RestfulHTTPExceptionTest.java | package com.github.cypher.sdk.api;
import com.google.gson.JsonObject;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
public class RestfulHTTPExceptionTest {
@Rule
public ExpectedException expectedEc1 = ExpectedException.none();
@Test
public void ContructorWithOneJsonArgu... | 1,315 | Java | .java | williamleven/Cypher | 8 | 1 | 0 | 2017-03-20T10:42:03Z | 2017-10-22T22:59:11Z |
ExecutorTest.java | /FileExtraction/Java_unseen/williamleven_Cypher/src/test/java/com/github/cypher/gui/ExecutorTest.java | package com.github.cypher.gui;
import javafx.beans.property.BooleanProperty;
import javafx.beans.property.SimpleBooleanProperty;
import org.junit.Test;
import static org.junit.Assert.assertTrue;
public class ExecutorTest {
@Test
public void executorTest() {
// Create and start executor
Executor executor = new... | 1,081 | Java | .java | williamleven/Cypher | 8 | 1 | 0 | 2017-03-20T10:42:03Z | 2017-10-22T22:59:11Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.