SYMBOL INDEX (5828 symbols across 571 files) FILE: androidshared/src/main/java/org/odk/collect/androidshared/livedata/LiveDataUtils.java class LiveDataUtils (line 16) | public class LiveDataUtils { method LiveDataUtils (line 18) | private LiveDataUtils() { method observe (line 22) | public static Cancellable observe(LiveData liveData, Consumer LiveData liveDataOf(T value) { method combine (line 40) | public static LiveData> combine(LiveData one, Liv... method combine3 (line 47) | public static LiveData> combine3(LiveData... method combine4 (line 54) | public static LiveData> combine4(LiveDat... class CombinedLiveData (line 61) | private static class CombinedLiveData extends MediatorLiveData { method CombinedLiveData (line 67) | CombinedLiveData(LiveData[] sources, Function map) { method update (line 82) | private void update() { class Quad (line 92) | public static class Quad { method Quad (line 99) | public Quad(T first, U second, V third, W fourth) { FILE: androidshared/src/main/java/org/odk/collect/androidshared/system/CameraUtils.java class CameraUtils (line 27) | public class CameraUtils { method getFrontCameraId (line 28) | public static int getFrontCameraId() { method isFrontCameraAvailable (line 41) | public boolean isFrontCameraAvailable(Context context) { FILE: androidshared/src/main/java/org/odk/collect/androidshared/system/PlayServicesChecker.java class PlayServicesChecker (line 11) | public class PlayServicesChecker { method isGooglePlayServicesAvailable (line 16) | public boolean isGooglePlayServicesAvailable(Context context) { method showGooglePlayServicesAvailabilityErrorDialog (line 23) | public void showGooglePlayServicesAvailabilityErrorDialog(Context cont... FILE: androidshared/src/main/java/org/odk/collect/androidshared/utils/ScreenUtils.java class ScreenUtils (line 23) | public class ScreenUtils { method ScreenUtils (line 27) | public ScreenUtils(Context context) { method getScreenWidth (line 31) | public static int getScreenWidth(Context context) { method getScreenHeight (line 35) | public static int getScreenHeight(Context context) { method xdpi (line 39) | public static float xdpi(Context context) { method ydpi (line 43) | public static float ydpi(Context context) { method getDisplayMetrics (line 47) | private static DisplayMetrics getDisplayMetrics(Context context) { method getScreenSizeConfiguration (line 51) | public int getScreenSizeConfiguration() { FILE: androidshared/src/test/java/org/odk/collect/androidshared/utils/DialogFragmentUtilsTest.java class DialogFragmentUtilsTest (line 20) | @RunWith(AndroidJUnit4.class) method showIfNotShowing_onlyEverOpensOneDialog (line 23) | @Test method showIfNotShowing_whenActivitySavedState_doesNotShowDialog (line 37) | @Test method showIfNotShowing_whenActivityDestroyed_doesNotShowDialog (line 47) | @Test FILE: collect_app/src/androidTest/java/org/odk/collect/android/feature/formentry/AudioRecordingTest.java class AudioRecordingTest (line 25) | @RunWith(AndroidJUnit4.class) method providesAudioRecorder (line 31) | @Override method onAudioQuestion_withoutAudioQuality_canRecordAndPlayBackInApp (line 55) | @Test method onAudioQuestion_withQualitySpecified_canRecordAudioInApp (line 67) | @Test method whileRecording_pressingBack_showsWarning_andStaysOnSameScreen (line 80) | @Test method whileRecording_swipingToADifferentScreen_showsWarning_andStaysOnSameScreen (line 91) | @Test FILE: collect_app/src/androidTest/java/org/odk/collect/android/feature/formentry/BackgroundAudioRecordingTest.java class BackgroundAudioRecordingTest (line 43) | @RunWith(AndroidJUnit4.class) method providesAudioRecorder (line 52) | @Override method providesPermissionsChecker (line 69) | @Override method providesPermissionsProvider (line 74) | @Override method fillingOutForm_recordsAudio (line 86) | @Test method fillingOutForm_withMultipleRecordActions_recordsAudioOnceForAllOfThem (line 108) | @Test method pressingBackWhileRecording_andClickingSave_exitsForm (line 131) | @Test method uncheckingRecordAudio_andConfirming_endsAndDeletesRecording (line 141) | @Test method whenRecordAudioPermissionNotGranted_openingForm_andDenyingPermissions_closesForm (line 161) | @Test method viewForm_doesNotRecordAudio (line 176) | @Test class RevokeableRecordAudioPermissionsChecker (line 188) | private static class RevokeableRecordAudioPermissionsChecker extends C... method RevokeableRecordAudioPermissionsChecker (line 192) | RevokeableRecordAudioPermissionsChecker(Context context) { method isPermissionGranted (line 196) | @Override method revoke (line 205) | public void revoke() { class ControllableRecordAudioPermissionsProvider (line 210) | private static class ControllableRecordAudioPermissionsProvider extend... method ControllableRecordAudioPermissionsProvider (line 215) | ControllableRecordAudioPermissionsProvider(PermissionsChecker permis... method requestRecordAudioPermission (line 219) | @Override method makeControllable (line 228) | public void makeControllable() { method additionalExplanationClosed (line 232) | public void additionalExplanationClosed() { FILE: collect_app/src/androidTest/java/org/odk/collect/android/feature/formentry/ContextMenuTest.java class ContextMenuTest (line 10) | public class ContextMenuTest { method whenRemoveStringAnswer_ShouldAppropriateQuestionBeCleared (line 19) | @Test method whenLongPressedOnEditText_ShouldNotRemoveAnswerOptionAppear (line 38) | @Test FILE: collect_app/src/androidTest/java/org/odk/collect/android/feature/formentry/DeletingRepeatGroupsTest.java class DeletingRepeatGroupsTest (line 19) | @Ignore method requestingDeletionOfFirstRepeat_deletesFirstRepeat (line 29) | @Test method requestingDeletionOfMiddleRepeat_deletesMiddleRepeat (line 37) | @Test method requestingDeletionOfLastRepeat_deletesLastRepeat (line 46) | @Test method requestingDeletionOfFirstRepeatInHierarchy_deletesFirstRepeat (line 57) | @Test method requestingDeletionOfMiddleRepeatInHierarchy_deletesMiddleRepeat (line 76) | @Test method requestingDeletionOfLastRepeatInHierarchy_deletesLastRepeat (line 95) | @Test method requestingDeletionOfAllRepeatsInHierarchyStartingFromIndexThatWillBeDeleted_shouldBringAUserToTheFirstRelevantQuestionBeforeTheGroup (line 114) | @Test method requestingDeletionOfAllRepeatsInHierarchyStartingFromIndexThatWillNotBeDeleted_shouldBringAUserBackToTheSameIndex (line 132) | @Test method requestingDeletionOfAllRepeatsInHierarchyStartingFromTheEndView_shouldBringAUserToTheEndView (line 149) | @Test method requestingDeletionOfFirstRepeatWithFieldList_deletesFirstRepeat (line 167) | @Test method requestingDeletionOfMiddleRepeatWithFieldList_deletesMiddleRepeat (line 181) | @Test method requestingDeletionOfLastRepeatWithFieldList_deletesLastRepeat (line 195) | @Test method requestingDeletionOfFirstRepeatWithFieldListInHierarchy_deletesFirstRepeat (line 209) | @Test method requestingDeletionOfMiddleRepeatWithFieldListInHierarchy_deletesMiddleRepeat (line 229) | @Test method requestingDeletionOfLastRepeatWithFieldListInHierarchy_deletesLastRepeat (line 248) | @Test method requestingDeletionOfAllRepeatsWithFieldListInHierarchyStartingFromIndexThatWillBeDeleted_shouldBringAUserToTheFirstRelevantQuestionBeforeTheGroup (line 267) | @Test method requestingDeletionOfAllRepeatsWithFieldListInHierarchyStartingFromIndexThatWillNotBeDeleted_shouldBringAUserBackToTheSameIndex (line 291) | @Test method requestingDeletionOfAllRepeatsWithFieldListInHierarchyStartingFromTheEndView_shouldBringAUserToTheEndView (line 308) | @Test FILE: collect_app/src/androidTest/java/org/odk/collect/android/feature/formentry/ExternalAudioRecordingTest.java class ExternalAudioRecordingTest (line 28) | @RunWith(AndroidJUnit4.class) method onAudioQuestion_whenAudioQualityIsExternal_usesExternalRecorder (line 54) | @Test FILE: collect_app/src/androidTest/java/org/odk/collect/android/feature/formentry/ExternalSecondaryInstanceTest.java class ExternalSecondaryInstanceTest (line 23) | @RunWith(AndroidJUnit4.class) method displaysAllOptionsFromXMLSecondaryInstance (line 32) | @Test method displaysAllOptionsFromCSVSecondaryInstance (line 43) | @Test FILE: collect_app/src/androidTest/java/org/odk/collect/android/feature/formentry/FormHierarchyTest.java class FormHierarchyTest (line 22) | public class FormHierarchyTest { method allRelevantQuestionsShouldBeVisibleInHierarchyView (line 30) | @Test method notRelevantRepeatGroupsShouldNotBeVisibleInHierarchy (line 47) | @Test method repeatGroupsShouldBeVisibleAsAppropriate (line 91) | @Test method deletingLastGroupShouldNotBreakHierarchy (line 121) | @Test method deletingLastGroupAndAddingOneShouldNotBreakHierarchy (line 156) | @Test method showRepeatsPickerWhenFirstRepeatIsEmpty (line 176) | @Test method regularGroupThatWrapsARepeatableGroupShouldBeTreatedAsARegularOne (line 190) | @Test method when_openHierarchyViewFromLastPage_should_mainGroupViewBeVisible (line 203) | @Test method hierachyView_shouldNotChangeAfterScreenRotation (line 215) | @Test method theListOfQuestionsShouldBeScrolledToTheLastDisplayedQuestionAfterOpeningTheHierarchy (line 228) | @Test method whenViewFormInHierarchyForRepeatGroup_noDeleteButtonAppears (line 241) | @Test method whenViewFormInHierarchy_clickingOnQuestion_doesNothing (line 257) | @Test method clickingBackButtonAfterNavigatingInTheHierarchyOfGroups_movesToTheQuestionDisplayedBeforeOpeningTheHierarchy (line 270) | @Test FILE: collect_app/src/androidTest/java/org/odk/collect/android/feature/formentry/FormLanguageTest.java class FormLanguageTest (line 14) | @RunWith(AndroidJUnit4.class) method canSwitchLanguagesInForm (line 22) | @Test method languageChoiceIsPersisted (line 35) | @Test FILE: collect_app/src/androidTest/java/org/odk/collect/android/feature/formentry/LikertTest.java class LikertTest (line 26) | public class LikertTest { method allText_canClick (line 35) | @Test method allImages_canClick (line 43) | @Test method insufficientText_canClick (line 51) | @Test method insufficientImages_canClick (line 59) | @Test method missingImage_canClick (line 67) | @Test method missingText_canClick (line 75) | @Test method onlyOneRemainsClicked (line 83) | @Test method testImagesLoad (line 94) | @Test method updateTest_SelectionChangeAtOneCascadeLevelWithLikert_ShouldUpdateNextLevels (line 104) | @Test method openWidgetList (line 141) | private void openWidgetList() { FILE: collect_app/src/androidTest/java/org/odk/collect/android/feature/formentry/QuickSaveTest.java class QuickSaveTest (line 13) | @RunWith(AndroidJUnit4.class) method whenFillingForm_clickingSaveIcon_savesCurrentAnswers (line 22) | @Test method whenFillingForm_withViolatedConstraintsOnCurrentScreen_clickingSaveIcon_savesCurrentAnswers (line 40) | @Test method whenEditingANonFinalizedForm_withViolatedConstraintsOnCurrentScreen_clickingSaveIcon_savesCurrentAnswers (line 55) | @Test FILE: collect_app/src/androidTest/java/org/odk/collect/android/feature/formentry/QuittingFormTest.java class QuittingFormTest (line 15) | @RunWith(AndroidJUnit4.class) method whenFillingForm_pressingBack_andClickingSaveChanges_savesCurrentAnswers (line 24) | @Test method whenFillingForm_pressingBack_andClickingIgnoreChanges_doesNotSaveForm (line 43) | @Test method whenFillingForm_saving_andPressingBack_andClickingIgnoreChanges_savesAnswersBeforeSave (line 55) | @Test method whenFillingForm_withViolatedConstraintsOnCurrentScreen_pressingBack_andClickingSaveChanges_savesCurrentAnswers (line 72) | @Test method whenEditingANonFinalizedForm_withViolatedConstraintsOnCurrentScreen_pressingBack_andClickingSaveChanges_savesCurrentAnswers (line 88) | @Test FILE: collect_app/src/androidTest/java/org/odk/collect/android/feature/formentry/RankingWidgetWithCSVTest.java class RankingWidgetWithCSVTest (line 12) | public class RankingWidgetWithCSVTest { method rankingWidget_shouldDisplayItemsFromSearchFunc (line 23) | @Test FILE: collect_app/src/androidTest/java/org/odk/collect/android/feature/formentry/backgroundlocation/LocationTrackingAuditTest.java class LocationTrackingAuditTest (line 24) | public class LocationTrackingAuditTest { method providesFusedLocationClient (line 32) | @Override method locationTrackingIsLogged_andLocationIsLoggedForEachQuestion (line 39) | @Test method locationCollectionToggle_ShouldBeAvailable (line 72) | @Test FILE: collect_app/src/androidTest/java/org/odk/collect/android/feature/formentry/backgroundlocation/SetGeopointActionTest.java class SetGeopointActionTest (line 10) | public class SetGeopointActionTest { method locationCollectionSnackbar_ShouldBeDisplayedAtFormLaunch (line 19) | @Test method locationCollectionToggle_ShouldBeAvailable (line 28) | @Test FILE: collect_app/src/androidTest/java/org/odk/collect/android/feature/formentry/dynamicpreload/DynamicPreLoadedDataSelects.java class DynamicPreLoadedDataSelects (line 18) | public class DynamicPreLoadedDataSelects { method withoutFilterAndWithFilter_displaysMatchingChoices (line 26) | @Test method displayErrorWhenFilesAreMissing (line 49) | @Test method displayWarningWhenQueryIsBad (line 58) | @Test FILE: collect_app/src/androidTest/java/org/odk/collect/android/feature/formmanagement/DeleteBlankFormTest.java class DeleteBlankFormTest (line 14) | @RunWith(AndroidJUnit4.class) method deletingAForm_removesFormFromBlankFormList (line 24) | @Test method deletingAForm_whenThereFilledForms_removesFormFromBlankFormList_butAllowsEditingFilledForms (line 39) | @Test method afterFillingAForm_andDeletingIt_allowsFormToBeReDownloaded (line 66) | @Test FILE: collect_app/src/androidTest/java/org/odk/collect/android/feature/formmanagement/FormsAdbTest.java class FormsAdbTest (line 20) | @RunWith(AndroidJUnit4.class) method canUpdateAFormFromDisk (line 30) | @Test method canUpdateFormOnDiskFromServer (line 46) | @Test method canDeleteFormFromDisk (line 64) | @Test FILE: collect_app/src/androidTest/java/org/odk/collect/android/feature/formmanagement/GetBlankFormsTest.java class GetBlankFormsTest (line 14) | @RunWith(AndroidJUnit4.class) method whenThereIsAnAuthenticationErrorFetchingFormList_allowsUserToReenterCredentials (line 25) | @Test method whenThereIsAnErrorFetchingFormList_showsError (line 38) | @Test method whenThereIsAnErrorFetchingForms_showsError (line 48) | @Test FILE: collect_app/src/androidTest/java/org/odk/collect/android/feature/formmanagement/HideOldVersionsTest.java class HideOldVersionsTest (line 14) | @RunWith(AndroidJUnit4.class) method whenHideOldVersionsEnabled_onlyTheNewestVersionOfAFormShowsInFormList (line 23) | @Test method whenHideOldVersionsDisabled_allVersionOfAFormShowsInFormList (line 36) | @Test FILE: collect_app/src/androidTest/java/org/odk/collect/android/feature/formmanagement/ManualUpdatesTest.java class ManualUpdatesTest (line 17) | @RunWith(AndroidJUnit4.class) method whenManualUpdatesEnabled_getBlankFormsIsAvailable (line 26) | @Test method whenManualUpdatesEnabled_fillBlankFormRefreshButtonIsGone (line 33) | @Test FILE: collect_app/src/androidTest/java/org/odk/collect/android/feature/settings/ConfigureWithQRCodeTest.java class ConfigureWithQRCodeTest (line 30) | @RunWith(AndroidJUnit4.class) method providesQRCodeGenerator (line 34) | @Override method teardown (line 46) | @After method clickConfigureQRCode_opensScanner_andThenScanning_importsSettings (line 52) | @Test method clickConfigureQRCode_andClickingOnView_showsQRCode (line 73) | @Test method whenThereIsAnAdminPassword_canRemoveFromQRCode (line 87) | @Test method whenThereIsAServerPassword_canRemoveFromQRCode (line 102) | @Test class StubQRCodeGenerator (line 125) | private static class StubQRCodeGenerator implements QRCodeGenerator { method generateQRCode (line 129) | @Override method setup (line 134) | public void setup() { method teardown (line 141) | public void teardown() { method getQRCodeFilePath (line 148) | String getQRCodeFilePath() { method getDrawableID (line 152) | int getDrawableID() { method saveBitmap (line 156) | private void saveBitmap(Bitmap bitmap) { FILE: collect_app/src/androidTest/java/org/odk/collect/android/feature/settings/ServerSettingsTest.java class ServerSettingsTest (line 16) | @RunWith(AndroidJUnit4.class) method whenUsingODKServer_canAddCredentialsForServer (line 28) | @Test FILE: collect_app/src/androidTest/java/org/odk/collect/android/feature/smoke/BadServerTest.java class BadServerTest (line 17) | @RunWith(AndroidJUnit4.class) method whenHashNotIncludedInFormList_showError (line 27) | @Test method whenMediaFileHasMissingPrefix_showsAsUpdated (line 49) | @Test method whenMediaFileHasUnstableHash_butIsIdentical_doesNotShowAsUpdatedAfterRedownload (line 66) | @Test FILE: collect_app/src/androidTest/java/org/odk/collect/android/feature/smoke/GetAndSubmitFormTest.java class GetAndSubmitFormTest (line 15) | @RunWith(AndroidJUnit4.class) method canGetBlankForm_fillItIn_andSubmit (line 25) | @Test FILE: collect_app/src/androidTest/java/org/odk/collect/android/instrumented/forms/FormUtilsTest.java class FormUtilsTest (line 35) | public class FormUtilsTest { method create (line 39) | @Override method setUp (line 48) | @Before method sessionRootTranslatorOrderDoesNotMatter (line 57) | @Test method hostStringsOrderedCorrectly (line 90) | @Test FILE: collect_app/src/androidTest/java/org/odk/collect/android/instrumented/tasks/FormLoaderTaskTest.java class FormLoaderTaskTest (line 37) | public class FormLoaderTaskTest { method create (line 47) | @Override method loadSearchFromExternalCSVmultipleTimes (line 70) | @Test FILE: collect_app/src/androidTest/java/org/odk/collect/android/instrumented/utilities/CustomSQLiteQueryExecutionTest.java class CustomSQLiteQueryExecutionTest (line 39) | @RunWith(AndroidJUnit4.class) method dropTableTest (line 60) | @Test method renameTableTest (line 71) | @Test method copyTableTest (line 88) | @Test method addColumnTest (line 128) | @Test method checkValues (line 150) | private void checkValues(String tableName) { method createTestTable (line 169) | private void createTestTable() { method insertExampleData (line 177) | private void insertExampleData(String tableName) { method tableExists (line 184) | private boolean tableExists(String tableName) { FILE: collect_app/src/androidTest/java/org/odk/collect/android/instrumented/utilities/DateTimeUtilsTest.java class DateTimeUtilsTest (line 39) | @RunWith(AndroidJUnit4.class) method setUp (line 55) | @Before method getDateTimeLabelTest (line 71) | @Test method resetTimeZone (line 106) | @After FILE: collect_app/src/androidTest/java/org/odk/collect/android/support/ActivityHelpers.java class ActivityHelpers (line 21) | public final class ActivityHelpers { method ActivityHelpers (line 23) | private ActivityHelpers() { method getActivity (line 26) | public static Activity getActivity() { method getLaunchIntent (line 55) | public static Intent getLaunchIntent() { FILE: collect_app/src/androidTest/java/org/odk/collect/android/support/CountingTaskExecutorIdlingResource.java class CountingTaskExecutorIdlingResource (line 6) | public class CountingTaskExecutorIdlingResource extends CountingTaskExec... method getName (line 10) | @Override method isIdleNow (line 15) | @Override method registerIdleTransitionCallback (line 20) | @Override method onIdle (line 25) | @Override FILE: collect_app/src/androidTest/java/org/odk/collect/android/support/FakeLocationClient.java class FakeLocationClient (line 11) | public class FakeLocationClient implements LocationClient { method start (line 17) | public void start(LocationClientListener listener) { method stop (line 24) | public void stop() { method isLocationAvailable (line 32) | public boolean isLocationAvailable() { method requestLocationUpdates (line 36) | public void requestLocationUpdates(LocationListener locationListener) { method stopLocationUpdates (line 41) | public void stopLocationUpdates() { method setListener (line 45) | @Override method getLastLocation (line 50) | public Location getLastLocation() { method isMonitoringLocation (line 54) | public boolean isMonitoringLocation() { method setPriority (line 58) | public void setPriority(Priority priority) { } method setRetainMockAccuracy (line 60) | @Override method setUpdateInterval (line 65) | public void setUpdateInterval(long updateInterval) { } method setLocation (line 67) | public void setLocation(Location location) { method updateLocationListener (line 72) | private void updateLocationListener() { method getListener (line 78) | private LocationClientListener getListener() { FILE: collect_app/src/androidTest/java/org/odk/collect/android/support/actions/RotateAction.java class RotateAction (line 16) | public class RotateAction implements ViewAction { method RotateAction (line 20) | public RotateAction(int screenOrientation) { method getConstraints (line 24) | @Override method getDescription (line 29) | @Override method perform (line 34) | @Override FILE: collect_app/src/androidTest/java/org/odk/collect/android/support/matchers/ToastMatcher.java class ToastMatcher (line 11) | public class ToastMatcher extends TypeSafeMatcher { method describeTo (line 13) | @Override method matchesSafely (line 18) | @Override FILE: collect_app/src/androidTest/java/org/odk/collect/android/support/pages/AboutPage.java class AboutPage (line 11) | public class AboutPage extends Page { method assertOnPage (line 13) | @Override method scrollToOpenSourceLibrariesLicenses (line 19) | public AboutPage scrollToOpenSourceLibrariesLicenses() { method clickOnOpenSourceLibrariesLicenses (line 24) | public OpenSourceLicensesPage clickOnOpenSourceLibrariesLicenses() { FILE: collect_app/src/androidTest/java/org/odk/collect/android/support/pages/BlankFormSearchPage.java class BlankFormSearchPage (line 8) | public class BlankFormSearchPage extends Page { method assertOnPage (line 10) | @Override FILE: collect_app/src/androidTest/java/org/odk/collect/android/support/pages/CancelRecordingDialog.java class CancelRecordingDialog (line 3) | public class CancelRecordingDialog extends Page { method CancelRecordingDialog (line 7) | CancelRecordingDialog(String formName) { method assertOnPage (line 11) | @Override method clickOk (line 17) | public FormEntryPage clickOk() { FILE: collect_app/src/androidTest/java/org/odk/collect/android/support/pages/ChangesReasonPromptPage.java class ChangesReasonPromptPage (line 16) | public class ChangesReasonPromptPage extends Page> D clickSave(D destination) { method pressClose (line 55) | public > D pressClose(D destination) { method clickSaveWithValidationError (line 60) | public ChangesReasonPromptPage clickSaveWithValidationError() { FILE: collect_app/src/androidTest/java/org/odk/collect/android/support/pages/DeleteSavedFormPage.java class DeleteSavedFormPage (line 8) | public class DeleteSavedFormPage extends Page { method assertOnPage (line 10) | @Override method clickBlankForms (line 16) | public DeleteSavedFormPage clickBlankForms() { method clickForm (line 21) | public DeleteSavedFormPage clickForm(String formName) { method clickDeleteSelected (line 26) | public DeleteSelectedDialog clickDeleteSelected(int numberSelected) { FILE: collect_app/src/androidTest/java/org/odk/collect/android/support/pages/DeleteSelectedDialog.java class DeleteSelectedDialog (line 3) | public class DeleteSelectedDialog extends Page { method DeleteSelectedDialog (line 8) | public DeleteSelectedDialog(int numberSelected, DeleteSavedFormPage de... method assertOnPage (line 13) | @Override method clickDeleteForms (line 19) | public DeleteSavedFormPage clickDeleteForms() { FILE: collect_app/src/androidTest/java/org/odk/collect/android/support/pages/EditSavedFormPage.java class EditSavedFormPage (line 40) | public class EditSavedFormPage extends Page { method assertOnPage (line 42) | @Override method checkInstanceState (line 48) | public EditSavedFormPage checkInstanceState(String instanceName, Strin... method clickOnFormWithDialog (line 58) | public OkDialog clickOnFormWithDialog(String instanceName) { method clickOnFormWithIdentityPrompt (line 63) | public IdentifyUserPromptPage clickOnFormWithIdentityPrompt(String for... method clickOnForm (line 68) | public FormHierarchyPage clickOnForm(String formName, String instanceN... method clickOnForm (line 73) | public FormHierarchyPage clickOnForm(String formName) { method clickOnFormWithSavepoint (line 78) | public SavepointRecoveryDialogPage clickOnFormWithSavepoint(String for... method clickOnFormClosingApp (line 83) | public AppClosedPage clickOnFormClosingApp(String formName) { method scrollToAndClickOnForm (line 88) | private void scrollToAndClickOnForm(String formName) { method clickMenuFilter (line 92) | public EditSavedFormPage clickMenuFilter() { method searchInBar (line 97) | public EditSavedFormPage searchInBar(String query) { method clickFinalizeAll (line 102) | public BulkFinalizationConfirmationDialogPage clickFinalizeAll(int cou... FILE: collect_app/src/androidTest/java/org/odk/collect/android/support/pages/ExperimentalPage.java class ExperimentalPage (line 3) | public class ExperimentalPage extends Page { method assertOnPage (line 5) | @Override FILE: collect_app/src/androidTest/java/org/odk/collect/android/support/pages/FillBlankFormPage.java class FillBlankFormPage (line 24) | public class FillBlankFormPage extends Page { method assertOnPage (line 26) | @Override method clickOnFormWithIdentityPrompt (line 32) | public IdentifyUserPromptPage clickOnFormWithIdentityPrompt(String for... method clickOnSortByButton (line 37) | public FillBlankFormPage clickOnSortByButton() { method clickMenuFilter (line 42) | public FillBlankFormPage clickMenuFilter() { method searchInBar (line 47) | public BlankFormSearchPage searchInBar(String query) { method checkMapIconDisplayedForForm (line 52) | public FillBlankFormPage checkMapIconDisplayedForForm(String formName) { method checkMapIconNotDisplayedForForm (line 59) | public FillBlankFormPage checkMapIconNotDisplayedForForm(String formNa... method clickOnMapIconForForm (line 66) | public FormMapPage clickOnMapIconForForm(String formName) { method clickOnForm (line 73) | public FormEntryPage clickOnForm(String formName) { method clickOnFormButton (line 78) | private void clickOnFormButton(String formName) { method clickOnEmptyForm (line 84) | public FormEndPage clickOnEmptyForm(String formName) { method clickRefresh (line 89) | public FillBlankFormPage clickRefresh() { method clickRefreshWithError (line 94) | public FillBlankFormPage clickRefreshWithError() { method clickRefreshWithAuthError (line 99) | public ServerAuthDialog clickRefreshWithAuthError() { method assertFormExists (line 104) | public FillBlankFormPage assertFormExists(String formName) { method assertFormDoesNotExist (line 115) | public FillBlankFormPage assertFormDoesNotExist(String formName) { method assertNoForms (line 122) | public FillBlankFormPage assertNoForms() { FILE: collect_app/src/androidTest/java/org/odk/collect/android/support/pages/FormEndPage.java class FormEndPage (line 10) | public class FormEndPage extends Page { method FormEndPage (line 14) | public FormEndPage(String formName) { method assertOnPage (line 18) | @Override method clickSaveAsDraft (line 24) | public > D clickSaveAsDraft(D destination) { method clickSaveAsDraft (line 28) | public MainMenuPage clickSaveAsDraft() { method clickSaveAsDraftWithError (line 32) | public FormEndPage clickSaveAsDraftWithError(String errorMsg) { method clickFinalize (line 38) | public > D clickFinalize(D destination) { method clickFinalize (line 42) | public MainMenuPage clickFinalize() { method clickFinalizeWithError (line 47) | public FormEndPage clickFinalizeWithError(String errorMsg) { method clickSend (line 53) | public MainMenuPage clickSend() { method clickSaveAndExitBackToMap (line 57) | public FormMapPage clickSaveAndExitBackToMap() { method clickSaveAndExitWithError (line 61) | public FormEntryPage clickSaveAndExitWithError(String errorText) { method clickSaveAndExitWithChangesReasonPrompt (line 67) | public ChangesReasonPromptPage clickSaveAndExitWithChangesReasonPrompt... method clickGoToArrow (line 71) | public FormHierarchyPage clickGoToArrow() { method swipeToPreviousQuestion (line 76) | public FormEntryPage swipeToPreviousQuestion(String questionText) { method swipeToPreviousQuestion (line 80) | public FormEntryPage swipeToPreviousQuestion(String questionText, bool... method clickOptionsIcon (line 84) | public FormEndPage clickOptionsIcon() { FILE: collect_app/src/androidTest/java/org/odk/collect/android/support/pages/FormEntryPage.java class FormEntryPage (line 43) | public class FormEntryPage extends Page { method FormEntryPage (line 47) | public FormEntryPage(String formName) { method assertOnPage (line 51) | @Override method fillOut (line 71) | public FormEntryPage fillOut(QuestionAndAnswer... questionsAndAnswers) { method fillOutAndSave (line 87) | public > D fillOutAndSave(D destination, QuestionAnd... method fillOutAndSave (line 93) | public MainMenuPage fillOutAndSave(QuestionAndAnswer... questionsAndAn... method fillOutAndFinalize (line 99) | public MainMenuPage fillOutAndFinalize(QuestionAndAnswer... questionsA... method swipeToNextQuestion (line 105) | public FormEntryPage swipeToNextQuestion(String questionText) { method swipeToNextQuestion (line 109) | public FormEntryPage swipeToNextQuestion(String questionText, boolean ... method swipeToPreviousQuestion (line 121) | public FormEntryPage swipeToPreviousQuestion(String questionText) { method swipeToPreviousQuestion (line 125) | public FormEntryPage swipeToPreviousQuestion(String questionText, bool... method swipeToNextRepeat (line 137) | public FormEntryPage swipeToNextRepeat(String repeatLabel, int repeatN... method swipeToEndScreen (line 144) | public FormEndPage swipeToEndScreen(String instanceName) { method swipeToEndScreen (line 149) | public FormEndPage swipeToEndScreen() { method swipeToNextQuestionWithError (line 154) | public ErrorDialog swipeToNextQuestionWithError(boolean isFatal) { method swipeToNextQuestionWithConstraintViolation (line 159) | public FormEntryPage swipeToNextQuestionWithConstraintViolation(int co... method swipeToNextQuestionWithConstraintViolation (line 166) | public FormEntryPage swipeToNextQuestionWithConstraintViolation(String... method assertQuestionText (line 173) | private void assertQuestionText(String text) { method clickOptionsIcon (line 177) | public FormEntryPage clickOptionsIcon() { method clickProjectSettings (line 181) | public ProjectSettingsPage clickProjectSettings() { method assertNavigationButtonsAreDisplayed (line 186) | public FormEntryPage assertNavigationButtonsAreDisplayed() { method assertNavigationButtonsAreHidden (line 192) | public FormEntryPage assertNavigationButtonsAreHidden() { method assertGoToIconExists (line 198) | public FormEntryPage assertGoToIconExists() { method assertGoToIconDoesNotExist (line 203) | public FormEntryPage assertGoToIconDoesNotExist() { method clickGoToArrow (line 208) | public FormHierarchyPage clickGoToArrow() { method clickWidgetButton (line 217) | public FormEntryPage clickWidgetButton() { method clickRankingButton (line 222) | public FormEntryPage clickRankingButton() { method deleteGroup (line 227) | public FormEntryPage deleteGroup(String questionText) { method clickForwardButton (line 234) | public FormEntryPage clickForwardButton() { method clickForwardButtonToEndScreen (line 240) | public FormEndPage clickForwardButtonToEndScreen() { method clickBackwardButton (line 246) | public FormEntryPage clickBackwardButton() { method clickSave (line 252) | public FormEntryPage clickSave() { method clickSaveWithError (line 257) | public FormEntryPage clickSaveWithError(String errorMsg) { method clickSaveWithChangesReasonPrompt (line 263) | public ChangesReasonPromptPage clickSaveWithChangesReasonPrompt() { method clickPlus (line 268) | public AddNewRepeatDialog clickPlus(String repeatName) { method longPressOnQuestion (line 273) | public FormEntryPage longPressOnQuestion(int id, int index) { method longPressOnQuestion (line 278) | public FormEntryPage longPressOnQuestion(String question) { method longPressOnQuestion (line 283) | public FormEntryPage longPressOnQuestion(String question, boolean isRe... method removeResponse (line 297) | public FormEntryPage removeResponse() { method swipeToNextQuestionWithRepeatGroup (line 302) | public AddNewRepeatDialog swipeToNextQuestionWithRepeatGroup(String re... method swipeToPreviousQuestionWithRepeatGroup (line 307) | public AddNewRepeatDialog swipeToPreviousQuestionWithRepeatGroup(Strin... method answerQuestion (line 312) | public FormEntryPage answerQuestion(String question, String answer) { method answerQuestion (line 317) | public FormEntryPage answerQuestion(String question, boolean isRequire... method answerQuestion (line 332) | @Deprecated method assertAnswer (line 339) | public FormEntryPage assertAnswer(String questionText, String answer) { method assertAnswer (line 343) | public FormEntryPage assertAnswer(String questionText, String answer, ... method clickOnQuestionField (line 354) | public FormEntryPage clickOnQuestionField(String questionText) { method assertQuestion (line 359) | public FormEntryPage assertQuestion(String text) { method assertQuestion (line 363) | public FormEntryPage assertQuestion(String text, boolean isRequired) { method assertNoQuestion (line 373) | public FormEntryPage assertNoQuestion(String text) { method assertNoQuestion (line 377) | public FormEntryPage assertNoQuestion(String text, boolean isRequired) { method flingLeft (line 387) | private void flingLeft() { method flingRight (line 393) | private void flingRight() { method openSelectMinimalDialog (line 399) | public SelectMinimalDialogPage openSelectMinimalDialog() { method openSelectMinimalDialog (line 403) | public SelectMinimalDialogPage openSelectMinimalDialog(int index) { method assertSelectMinimalDialogAnswer (line 408) | public FormEntryPage assertSelectMinimalDialogAnswer(@Nullable String ... method swipeToEndScreenWhileRecording (line 417) | public OkDialog swipeToEndScreenWhileRecording() { method clickRecordAudio (line 424) | public CancelRecordingDialog clickRecordAudio() { method pressBackAndDiscardChanges (line 429) | public MainMenuPage pressBackAndDiscardChanges() { method pressBackAndDiscardChanges (line 435) | public > D pressBackAndDiscardChanges(D destination) { method pressBackAndSaveAsDraft (line 441) | public MainMenuPage pressBackAndSaveAsDraft() { method pressBackAndSaveAsDraft (line 447) | public > D pressBackAndSaveAsDraft(D destination) { method pressBackAndDiscardForm (line 453) | public MainMenuPage pressBackAndDiscardForm() { method pressBackAndDiscardForm (line 459) | public > D pressBackAndDiscardForm(D destination) { method assertBackgroundLocationSnackbarShown (line 465) | public FormEntryPage assertBackgroundLocationSnackbarShown() { method setRating (line 470) | public FormEntryPage setRating(float value) { method assertQuestionHasFocus (line 475) | public FormEntryPage assertQuestionHasFocus(String questionText) { method getQuestionFieldMatcher (line 481) | private static @NonNull Matcher getQuestionFieldMatcher(String q... method assertImageViewShowsImage (line 488) | public FormEntryPage assertImageViewShowsImage(int resourceid, Bitmap ... class QuestionAndAnswer (line 493) | public static class QuestionAndAnswer { method QuestionAndAnswer (line 499) | public QuestionAndAnswer(String question, String answer) { method QuestionAndAnswer (line 503) | public QuestionAndAnswer(String question, String answer, boolean isR... FILE: collect_app/src/androidTest/java/org/odk/collect/android/support/pages/FormManagementPage.java class FormManagementPage (line 15) | public class FormManagementPage extends Page { method assertOnPage (line 17) | @Override method clickUpdateForms (line 23) | public ListPreferenceDialog clickUpdateForms() { method clickAutomaticUpdateFrequency (line 28) | public ListPreferenceDialog clickAutomaticUpdateFr... method clickAutoSend (line 33) | public ListPreferenceDialog clickAutoSend() { method openShowGuidanceForQuestions (line 38) | public FormManagementPage openShowGuidanceForQuestions() { method openConstraintProcessing (line 43) | public FormManagementPage openConstraintProcessing() { method scrollToConstraintProcessing (line 48) | public FormManagementPage scrollToConstraintProcessing() { method checkIfConstraintProcessingIsDisabled (line 54) | public FormManagementPage checkIfConstraintProcessingIsDisabled() { method checkIfConstraintProcessingIsEnabled (line 59) | public FormManagementPage checkIfConstraintProcessingIsEnabled() { FILE: collect_app/src/androidTest/java/org/odk/collect/android/support/pages/FormMapPage.java class FormMapPage (line 5) | public class FormMapPage extends Page { method FormMapPage (line 9) | public FormMapPage(String formName) { method assertOnPage (line 13) | @Override method clickFillBlankFormButton (line 20) | public FormEntryPage clickFillBlankFormButton(String formName) { method selectForm (line 25) | public FormMapPage selectForm(FakeClickableMapFragment mapFragment, in... method clickEditSavedForm (line 30) | public FormHierarchyPage clickEditSavedForm(String formName) { FILE: collect_app/src/androidTest/java/org/odk/collect/android/support/pages/FormMetadataPage.java class FormMetadataPage (line 7) | public class FormMetadataPage extends PreferencePage { method assertOnPage (line 9) | @Override method clickEmail (line 15) | public FormMetadataPage clickEmail() { method clickUsername (line 20) | public FormMetadataPage clickUsername() { method clickPhoneNumber (line 25) | public FormMetadataPage clickPhoneNumber() { FILE: collect_app/src/androidTest/java/org/odk/collect/android/support/pages/GetBlankFormPage.java class GetBlankFormPage (line 11) | public class GetBlankFormPage extends Page { method assertOnPage (line 13) | @Override method clickGetSelected (line 19) | public FormsDownloadResultPage clickGetSelected() { method clickClearAll (line 24) | public GetBlankFormPage clickClearAll() { method clickSelectAll (line 29) | public GetBlankFormPage clickSelectAll() { method clickForm (line 34) | public GetBlankFormPage clickForm(String formName) { FILE: collect_app/src/androidTest/java/org/odk/collect/android/support/pages/IdentifyUserPromptPage.java class IdentifyUserPromptPage (line 10) | public class IdentifyUserPromptPage extends Page { method IdentifyUserPromptPage (line 14) | public IdentifyUserPromptPage(String formName) { method assertOnPage (line 19) | @Override method enterIdentity (line 26) | public IdentifyUserPromptPage enterIdentity(String identity) { method clickKeyboardEnter (line 31) | public > D clickKeyboardEnter(D destination) { method clickKeyboardEnterWithValidationError (line 36) | public IdentifyUserPromptPage clickKeyboardEnterWithValidationError() { method pressClose (line 41) | public MainMenuPage pressClose() { FILE: collect_app/src/androidTest/java/org/odk/collect/android/support/pages/ListPreferenceDialog.java class ListPreferenceDialog (line 3) | public class ListPreferenceDialog> extends Page { method assertOnPage (line 28) | @Override method openProjectSettingsDialog (line 40) | public ProjectSettingsDialogPage openProjectSettingsDialog() { method startBlankForm (line 47) | public FormEntryPage startBlankForm(String formName) { method startBlankFormWithSavepoint (line 52) | public SavepointRecoveryDialogPage startBlankFormWithSavepoint(String ... method startBlankFormWithRepeatGroup (line 57) | public AddNewRepeatDialog startBlankFormWithRepeatGroup(String formNam... method startBlankFormWithError (line 62) | public ErrorDialog startBlankFormWithError(String formName, boolean is... method startBlankFormWithDialog (line 67) | public OkDialog startBlankFormWithDialog(String formName) { method clickFillBlankForm (line 72) | public FillBlankFormPage clickFillBlankForm() { method goToBlankForm (line 80) | private void goToBlankForm(String formName) { method clickDrafts (line 84) | public EditSavedFormPage clickDrafts() { method clickDrafts (line 89) | public EditSavedFormPage clickDrafts(int formCount) { method assertNumberOfFinalizedForms (line 94) | public MainMenuPage assertNumberOfFinalizedForms(int number) { method assertNumberOfEditableForms (line 103) | public MainMenuPage assertNumberOfEditableForms(int number) { method assertNumberOfSentForms (line 113) | private MainMenuPage assertNumberOfSentForms(int number) { method clickGetBlankForm (line 123) | public GetBlankFormPage clickGetBlankForm() { method clickGetBlankForm (line 127) | public > D clickGetBlankForm(D destination) { method clickSendFinalizedForm (line 132) | public SendFinalizedFormPage clickSendFinalizedForm(int number) { method setServer (line 138) | public MainMenuPage setServer(String url) { method enableManualUpdates (line 149) | public MainMenuPage enableManualUpdates() { method enablePreviouslyDownloadedOnlyUpdates (line 159) | public MainMenuPage enablePreviouslyDownloadedOnlyUpdates() { method enablePreviouslyDownloadedOnlyUpdatesWithAutomaticDownload (line 169) | public MainMenuPage enablePreviouslyDownloadedOnlyUpdatesWithAutomatic... method enableMatchExactly (line 180) | public MainMenuPage enableMatchExactly() { method enableAutoSend (line 190) | public MainMenuPage enableAutoSend(TrackingCoroutineAndWorkManagerSche... method addAndSwitchToProject (line 203) | public MainMenuPage addAndSwitchToProject(String serverUrl) { method clickGetBlankFormWithAuthenticationError (line 211) | public ServerAuthDialog clickGetBlankFormWithAuthenticationError() { method clickGetBlankFormWithError (line 216) | public OkDialog clickGetBlankFormWithError() { method clickViewSentForm (line 221) | public ViewSentFormPage clickViewSentForm(int number) { method clickDeleteSavedForm (line 227) | public DeleteSavedFormPage clickDeleteSavedForm() { method assertProjectIcon (line 232) | public MainMenuPage assertProjectIcon(String projectIcon) { method copyForm (line 237) | public MainMenuPage copyForm(String formFilename) { method copyForm (line 241) | public MainMenuPage copyForm(String formFilename, String projectName) { method copyForm (line 245) | public MainMenuPage copyForm(String formFilename, List mediaFi... method copyForm (line 249) | public MainMenuPage copyForm(String formFilename, List mediaFi... method copyForm (line 253) | public MainMenuPage copyForm(String formFilename, List mediaFi... method copyInstance (line 263) | public MainMenuPage copyInstance(String instanceFileName) { method copyInstance (line 268) | public MainMenuPage copyInstance(String instanceFileName, String proje... method openEntityBrowser (line 278) | public EntitiesPage openEntityBrowser() { method refreshForms (line 287) | public MainMenuPage refreshForms() { FILE: collect_app/src/androidTest/java/org/odk/collect/android/support/pages/MapsSettingsPage.java class MapsSettingsPage (line 3) | public class MapsSettingsPage extends Page { method assertOnPage (line 5) | @Override FILE: collect_app/src/androidTest/java/org/odk/collect/android/support/pages/OkDialog.java class OkDialog (line 25) | public class OkDialog extends Page { method assertOnPage (line 27) | @Override method clickOK (line 33) | public > D clickOK(D destination) { FILE: collect_app/src/androidTest/java/org/odk/collect/android/support/pages/OpenSourceLicensesPage.java class OpenSourceLicensesPage (line 3) | class OpenSourceLicensesPage extends Page { method assertOnPage (line 5) | @Override FILE: collect_app/src/androidTest/java/org/odk/collect/android/support/pages/PreferencePage.java class PreferencePage (line 14) | abstract class PreferencePage> extends Page { method assertPreference (line 16) | public T assertPreference(int name, String summary) { FILE: collect_app/src/androidTest/java/org/odk/collect/android/support/pages/ProjectSettingsPage.java class ProjectSettingsPage (line 10) | public class ProjectSettingsPage extends Page { method assertOnPage (line 12) | @Override method clickProjectDisplay (line 18) | public ProjectDisplayPage clickProjectDisplay() { method clickProjectManagement (line 23) | public ProjectManagementPage clickProjectManagement() { method clickAccessControl (line 28) | public AccessControlPage clickAccessControl() { method clickOnUserInterface (line 33) | public UserInterfacePage clickOnUserInterface() { method openFormManagement (line 38) | public FormManagementPage openFormManagement() { method clickServerSettings (line 43) | public ServerSettingsPage clickServerSettings() { method clickMaps (line 48) | public MapsSettingsPage clickMaps() { method clickUserAndDeviceIdentity (line 54) | public UserAndDeviceIdentitySettingsPage clickUserAndDeviceIdentity() { method checkIfServerOptionIsDisplayed (line 59) | public ProjectSettingsPage checkIfServerOptionIsDisplayed() { method checkIfFormManagementOptionIsDisplayed (line 64) | public ProjectSettingsPage checkIfFormManagementOptionIsDisplayed() { method checkIfServerOptionIsNotDisplayed (line 69) | public ProjectSettingsPage checkIfServerOptionIsNotDisplayed() { method clickFormManagement (line 74) | public FormManagementPage clickFormManagement() { method clickExperimental (line 79) | public ExperimentalPage clickExperimental() { method setAdminPassword (line 84) | public ProjectSettingsPage setAdminPassword(String password) { FILE: collect_app/src/androidTest/java/org/odk/collect/android/support/pages/QRCodePage.java class QRCodePage (line 19) | public class QRCodePage extends Page { method assertOnPage (line 20) | @Override method clickScanFragment (line 26) | public QRCodePage clickScanFragment() { method clickView (line 31) | public QRCodePage clickView() { method assertImageViewShowsImage (line 42) | public QRCodePage assertImageViewShowsImage(int resourceid, Bitmap ima... method clickOnMenu (line 47) | public QRCodePage clickOnMenu() { FILE: collect_app/src/androidTest/java/org/odk/collect/android/support/pages/ResetApplicationDialog.java class ResetApplicationDialog (line 9) | public class ResetApplicationDialog extends Page { method assertOnPage (line 11) | @Override FILE: collect_app/src/androidTest/java/org/odk/collect/android/support/pages/ServerAuthDialog.java class ServerAuthDialog (line 3) | public class ServerAuthDialog extends Page { method assertOnPage (line 5) | @Override method fillUsername (line 11) | public ServerAuthDialog fillUsername(String username) { method fillPassword (line 16) | public ServerAuthDialog fillPassword(String password) { method clickOK (line 21) | public > D clickOK(D destination) { FILE: collect_app/src/androidTest/java/org/odk/collect/android/support/pages/ServerSettingsPage.java class ServerSettingsPage (line 7) | public class ServerSettingsPage extends Page { method assertOnPage (line 9) | @Override method clickServerUsername (line 15) | public ServerSettingsPage clickServerUsername() { method clickOnURL (line 20) | public ServerSettingsPage clickOnURL() { method clickServerPassword (line 25) | public ServerSettingsPage clickServerPassword() { FILE: collect_app/src/androidTest/java/org/odk/collect/android/support/pages/ShortcutsPage.java class ShortcutsPage (line 9) | public class ShortcutsPage extends Page { method ShortcutsPage (line 13) | public ShortcutsPage(ActivityScenario scenar... method assertOnPage (line 17) | @Override method selectForm (line 23) | public Intent selectForm(String formName) { FILE: collect_app/src/androidTest/java/org/odk/collect/android/support/pages/UserAndDeviceIdentitySettingsPage.java class UserAndDeviceIdentitySettingsPage (line 3) | public class UserAndDeviceIdentitySettingsPage extends Page { method assertOnPage (line 11) | @Override method clickOnLanguage (line 17) | public UserInterfacePage clickOnLanguage() { method clickOnSelectedLanguage (line 22) | public MainMenuPage clickOnSelectedLanguage(String language) { method clickNavigation (line 27) | public UserInterfacePage clickNavigation() { method clickUseSwipesAndButtons (line 32) | public UserInterfacePage clickUseSwipesAndButtons() { method clickOnTheme (line 37) | public UserInterfacePage clickOnTheme() { method clickUseNavigationButtons (line 42) | public UserInterfacePage clickUseNavigationButtons() { method clickSwipes (line 47) | public UserInterfacePage clickSwipes() { FILE: collect_app/src/androidTest/java/org/odk/collect/android/support/pages/ViewSentFormPage.java class ViewSentFormPage (line 9) | public class ViewSentFormPage extends Page { method assertOnPage (line 11) | @Override method clickOnForm (line 17) | public ViewFormPage clickOnForm(String formName) { FILE: collect_app/src/main/assets/svg_map_helper.js function selectArea (line 25) | function selectArea(areaId) { function unselectArea (line 29) | function unselectArea(areaId) { function notifyChanges (line 33) | function notifyChanges() { function clearAreas (line 37) | function clearAreas() { function addSelectedArea (line 47) | function addSelectedArea(selectedAreaId) { function addArea (line 55) | function addArea(areaId) { function setSelectMode (line 59) | function setSelectMode(isSingleSelect) { function clickOnArea (line 63) | function clickOnArea(areaId) { FILE: collect_app/src/main/java/org/odk/collect/android/activities/ActivityUtils.java class ActivityUtils (line 6) | public final class ActivityUtils { method ActivityUtils (line 8) | private ActivityUtils() { method startActivityAndCloseAllOthers (line 12) | public static void startActivityAndCloseAllOthers... FILE: collect_app/src/main/java/org/odk/collect/android/activities/AppListActivity.java class AppListActivity (line 53) | public abstract class AppListActivity extends LocalizedActivity { method onCreate (line 76) | @Override method toggleChecked (line 90) | public static boolean toggleChecked(ListView lv) { method setAllToCheckedState (line 101) | public static void setAllToCheckedState(ListView lv, boolean check) { method toggleButtonLabel (line 113) | public static void toggleButtonLabel(Button toggleButton, ListView lv) { method setContentView (line 121) | @Override method setContentView (line 127) | @Override method init (line 133) | private void init() { method onResume (line 150) | @Override method onSaveInstanceState (line 156) | @Override method onRestoreInstanceState (line 169) | @Override method onCreateOptionsMenu (line 177) | @Override method onOptionsItemSelected (line 223) | @Override method checkPreviouslyCheckedItems (line 245) | protected void checkPreviouslyCheckedItems() { method updateAdapter (line 265) | protected abstract void updateAdapter(); method getSortingOrderKey (line 267) | protected abstract String getSortingOrderKey(); method areCheckedItems (line 269) | protected boolean areCheckedItems() { method getCheckedCount (line 273) | protected int getCheckedCount() { method saveSelectedSortingOrder (line 277) | private void saveSelectedSortingOrder(int selectedStringOrder) { method restoreSelectedSortingOrder (line 282) | protected void restoreSelectedSortingOrder() { method getSelectedSortingOrder (line 286) | protected int getSelectedSortingOrder() { method getFilterText (line 293) | protected CharSequence getFilterText() { method clearSearchView (line 297) | protected void clearSearchView() { method hideProgressBarAndAllow (line 301) | protected void hideProgressBarAndAllow() { method hideProgressBar (line 305) | private void hideProgressBar() { method showProgressBar (line 309) | protected void showProgressBar() { FILE: collect_app/src/main/java/org/odk/collect/android/activities/BearingActivity.java class BearingActivity (line 31) | public class BearingActivity extends LocalizedActivity implements Sensor... method onCreate (line 43) | @Override method onPause (line 55) | @Override method onResume (line 67) | @Override method setupBearingDialog (line 79) | private void setupBearingDialog() { method returnBearing (line 111) | private void returnBearing() { method onAccuracyChanged (line 119) | @Override method onSensorChanged (line 125) | @Override method formatDegrees (line 179) | public static String formatDegrees(double degrees) { method normalizeDegrees (line 183) | public static double normalizeDegrees(double value) { FILE: collect_app/src/main/java/org/odk/collect/android/activities/FormDownloadListActivity.java class FormDownloadListActivity (line 94) | public class FormDownloadListActivity extends FormListActivity implement... method onCreate (line 134) | @SuppressWarnings("unchecked") method init (line 149) | private void init(Bundle savedInstanceState) { method clearChoices (line 252) | private void clearChoices() { method onItemClick (line 257) | @Override method downloadFormList (line 272) | private void downloadFormList() { method onRestoreInstanceState (line 307) | @Override method onSaveInstanceState (line 313) | @Override method getSortingOrderKey (line 319) | @Override method updateAdapter (line 324) | @Override method checkPreviouslyCheckedItems (line 350) | @Override method sortList (line 362) | private void sortList() { method getFilesToDownload (line 372) | private ArrayList getFilesToDownload() { method startFormsDownload (line 389) | @SuppressWarnings("unchecked") method onRetainCustomNonConfigurationInstance (line 413) | @Override method onDestroy (line 422) | @Override method onResume (line 433) | @Override method onPause (line 450) | @Override method isLocalFormSuperseded (line 458) | public boolean isLocalFormSuperseded(String formId) { method selectSupersededForms (line 473) | private void selectSupersededForms() { method formListDownloadingComplete (line 484) | @Override method performDownloadModeDownload (line 551) | private void performDownloadModeDownload() { method createAlertDialog (line 582) | private void createAlertDialog(String title, String message, final boo... method createAuthDialog (line 611) | private void createAuthDialog() { method createCancelDialog (line 622) | private void createCancelDialog() { method progressUpdate (line 632) | @Override method formsDownloadingComplete (line 642) | @Override method formsDownloadingCancelled (line 670) | @Override method updatedCredentials (line 690) | @Override method cancelledUpdatingCredentials (line 706) | @Override method setReturnResult (line 711) | private void setReturnResult(boolean successful, @Nullable String mess... method cleanUpWebCredentials (line 724) | private void cleanUpWebCredentials() { method onCancelFormLoading (line 735) | @Override method onCloseDownloadingResult (line 758) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/activities/FormFillingActivity.java class FormFillingActivity (line 226) | public class FormFillingActivity extends LocalizedActivity implements Co... method allowSwiping (line 293) | @Override method handleOnBackPressed (line 396) | @Override method onCreate (line 416) | @Override method setupViewModels (line 556) | private void setupViewModels(FormEntryViewModelFactory formEntryViewMo... method handleValidationResult (line 649) | private void handleValidationResult(ODKView view, ValidationResult val... method formControllerAvailable (line 667) | private void formControllerAvailable(@NonNull FormController formContr... method setupFields (line 673) | private void setupFields(Bundle savedInstanceState) { method loadForm (line 699) | private void loadForm() { method loadFromIntent (line 736) | private void loadFromIntent(Intent intent) { method initToolbar (line 751) | private void initToolbar() { method nonblockingCreateSavePointData (line 763) | private void nonblockingCreateSavePointData() { method getFormController (line 794) | @Nullable method onSaveInstanceState (line 799) | @Override method onActivityResult (line 837) | @Override method loadMedia (line 930) | private void loadMedia(Uri uri) { method getWidgetWaitingForBinaryData (line 940) | public QuestionWidget getWidgetWaitingForBinaryData() { method setWidgetData (line 955) | public void setWidgetData(Object data) { method clearAnswer (line 986) | private void clearAnswer(QuestionWidget qw) { method onCreateContextMenu (line 994) | @Override method onContextItemSelected (line 1009) | @Override method deleteGroup (line 1028) | public void deleteGroup() { method onRetainCustomNonConfigurationInstance (line 1041) | @Override method createView (line 1060) | private SwipeHandler.View createView(int event, boolean advancingPage) { method createODKView (line 1128) | @NotNull method releaseOdkView (line 1140) | private void releaseOdkView() { method createViewForFormEnd (line 1155) | private SwipeHandler.View createViewForFormEnd(FormController formCont... method dispatchTouchEvent (line 1195) | @Override method onSwipeForward (line 1205) | @Override method onSwipeBackward (line 1210) | @Override method moveScreen (line 1215) | private void moveScreen(Direction direction) { method onScreenChange (line 1265) | @Override method onScreenRefresh (line 1289) | @Override method animateToNextView (line 1299) | private void animateToNextView(int event) { method animateToPreviousView (line 1322) | private void animateToPreviousView(int event) { method showView (line 1332) | public void showView(SwipeHandler.View next, FormAnimationType from) { method createRepeatDialog (line 1425) | private void createRepeatDialog() { method createErrorDialog (line 1483) | private void createErrorDialog(FormError error) { method saveForm (line 1518) | public boolean saveForm(boolean exit, boolean complete, String updated... method handleSaveResult (line 1533) | private void handleSaveResult(FormSaveViewModel.SaveResult result) { method getAbsoluteInstancePath (line 1613) | @Nullable method createClearDialog (line 1622) | private void createClearDialog(final QuestionWidget qw) { method createLanguageDialog (line 1660) | public void createLanguageDialog() { method updateNavigationButtonVisibility (line 1694) | private void updateNavigationButtonVisibility() { method onStart (line 1704) | @Override method onPause (line 1722) | @Override method onResume (line 1729) | @Override method onResumeFragments (line 1772) | @Override method onKeyDown (line 1788) | @Override method onDestroy (line 1809) | @Override method afterAllAnimations (line 1838) | private void afterAllAnimations() { method onAnimationEnd (line 1855) | @Override method onAnimationRepeat (line 1870) | @Override method onAnimationStart (line 1874) | @Override method loadingComplete (line 1894) | @Override method loadingError (line 2037) | @Override method showFormLoadErrorAndExit (line 2042) | private void showFormLoadErrorAndExit(String errorMsg) { method onProgressStep (line 2052) | public void onProgressStep(String stepMessage) { method next (line 2061) | public void next() { method finishAndReturnInstance (line 2072) | private void finishAndReturnInstance() { method exit (line 2094) | private void exit() { method advance (line 2100) | @Override method onSavePointError (line 2105) | @Override method onSaveFormIndexError (line 2112) | @Override method onDateChanged (line 2119) | @Override method onTimeChanged (line 2124) | @Override method onRankingChanged (line 2129) | @Override method updateSelectedItems (line 2138) | @Override method onCancelFormLoading (line 2148) | @Override method onDataChanged (line 2160) | private void onDataChanged(Object data) { method getCurrentViewIfODKView (line 2173) | @Nullable class EmptyView (line 2184) | static class EmptyView extends SwipeHandler.View { method EmptyView (line 2185) | EmptyView(Context context) { method shouldSuppressFlingGesture (line 2189) | @Override method verticalScrollView (line 2194) | @Nullable class LocationProvidersReceiver (line 2201) | private class LocationProvidersReceiver extends BroadcastReceiver { method onReceive (line 2202) | @Override method activityDisplayed (line 2211) | private void activityDisplayed() { method displayUIFor (line 2232) | private void displayUIFor(@Nullable BackgroundLocationManager.Backgrou... method widgetValueChanged (line 2259) | @Override method updateFieldListQuestions (line 2299) | private void updateFieldListQuestions(FormIndex lastChangedIndex) thro... method getAnswers (line 2309) | private HashMap getAnswers() { FILE: collect_app/src/main/java/org/odk/collect/android/activities/FormListActivity.java class FormListActivity (line 10) | public abstract class FormListActivity extends AppListActivity { method getSortingOrder (line 19) | protected String getSortingOrder() { FILE: collect_app/src/main/java/org/odk/collect/android/activities/InstanceChooserList.java class InstanceChooserList (line 74) | @Deprecated method onCreate (line 107) | @Override method init (line 174) | private void init() { method onItemClick (line 182) | @Override method setupAdapter (line 218) | private void setupAdapter() { method getSortingOrderKey (line 231) | @Override method updateAdapter (line 236) | @Override method onCreateLoader (line 241) | @NonNull method onLoadFinished (line 252) | @Override method onLoaderReset (line 258) | @Override method getSortingOrder (line 263) | protected String getSortingOrder() { FILE: collect_app/src/main/java/org/odk/collect/android/activities/viewmodels/FormDownloadListViewModel.java class FormDownloadListViewModel (line 30) | public class FormDownloadListViewModel extends ViewModel { method getFormDetailsByFormId (line 59) | public HashMap getFormDetailsByFormId() { method setFormDetailsByFormId (line 63) | public void setFormDetailsByFormId(HashMap ... method clearFormDetailsByFormId (line 67) | public void clearFormDetailsByFormId() { method getAlertTitle (line 71) | public String getAlertTitle() { method setAlertTitle (line 75) | public void setAlertTitle(String alertTitle) { method getAlertDialogMsg (line 79) | public String getAlertDialogMsg() { method setAlertDialogMsg (line 83) | public void setAlertDialogMsg(String alertDialogMsg) { method isAlertShowing (line 87) | public boolean isAlertShowing() { method setAlertShowing (line 91) | public void setAlertShowing(boolean alertShowing) { method shouldExit (line 95) | public boolean shouldExit() { method setShouldExit (line 99) | public void setShouldExit(boolean shouldExit) { method getFormList (line 103) | public ArrayList> getFormList() { method clearFormList (line 107) | public void clearFormList() { method addForm (line 111) | public void addForm(HashMap item) { method addForm (line 115) | public void addForm(int index, HashMap item) { method getSelectedFormIds (line 119) | public LinkedHashSet getSelectedFormIds() { method addSelectedFormId (line 123) | public void addSelectedFormId(String selectedFormId) { method removeSelectedFormId (line 127) | public void removeSelectedFormId(String selectedFormId) { method clearSelectedFormIds (line 131) | public void clearSelectedFormIds() { method isDownloadOnlyMode (line 135) | public boolean isDownloadOnlyMode() { method setDownloadOnlyMode (line 139) | public void setDownloadOnlyMode(boolean downloadOnlyMode) { method getFormResults (line 143) | public HashMap getFormResults() { method putFormResult (line 147) | public void putFormResult(String formId, boolean result) { method getPassword (line 151) | public String getPassword() { method setPassword (line 155) | public void setPassword(String password) { method getUsername (line 159) | public String getUsername() { method setUsername (line 163) | public void setUsername(String username) { method getUrl (line 167) | public String getUrl() { method setUrl (line 171) | public void setUrl(String url) { method getFormIdsToDownload (line 175) | public String[] getFormIdsToDownload() { method setFormIdsToDownload (line 179) | public void setFormIdsToDownload(String[] formIdsToDownload) { method isCancelDialogShowing (line 183) | public boolean isCancelDialogShowing() { method setCancelDialogShowing (line 187) | public void setCancelDialogShowing(boolean cancelDialogShowing) { method wasLoadingCanceled (line 191) | public boolean wasLoadingCanceled() { method setLoadingCanceled (line 195) | public void setLoadingCanceled(boolean loadingCanceled) { class Factory (line 199) | public static class Factory implements ViewModelProvider.Factory { method create (line 201) | @SuppressWarnings("unchecked") FILE: collect_app/src/main/java/org/odk/collect/android/adapters/AbstractSelectListAdapter.java class AbstractSelectListAdapter (line 62) | public abstract class AbstractSelectListAdapter extends RecyclerView.Ada... method AbstractSelectListAdapter (line 76) | AbstractSelectListAdapter(Context context, List items, F... method onBindViewHolder (line 91) | @Override method getItemCount (line 96) | @Override method getFilter (line 101) | @Override method createButton (line 133) | abstract CompoundButton createButton(int index, ViewGroup parent); method setUpButton (line 135) | void setUpButton(TextView button, int index) { method isItemSelected (line 141) | boolean isItemSelected(List selectedItems, @NonNull Selecti... method onItemClick (line 150) | abstract void onItemClick(Selection selection, View view); method getSelectedItems (line 152) | public abstract List getSelectedItems(); method getFilteredItems (line 154) | public List getFilteredItems() { method getAudioPlayer (line 158) | public AudioPlayer getAudioPlayer() { method setContext (line 162) | public void setContext(Context context) { method setAudioPlayer (line 166) | public void setAudioPlayer(AudioPlayer audioPlayer) { class ViewHolder (line 170) | abstract class ViewHolder extends RecyclerView.ViewHolder { method ViewHolder (line 174) | ViewHolder(View itemView) { method bind (line 178) | void bind(final int index) { method getImageFile (line 190) | private File getImageFile(int index) { method getChoiceText (line 204) | private String getChoiceText(int index) { method getErrorMsg (line 209) | private String getErrorMsg(File imageFile) { method enableLongClickToAllowRemovingAnswers (line 213) | private void enableLongClickToAllowRemovingAnswers(View view) { method addMediaFromChoice (line 227) | public void addMediaFromChoice(AudioVideoImageTextLabel audioVideoIm... method getImageURI (line 258) | private String getImageURI(int index, List items) { method adjustAudioVideoImageTextLabelForFlexAppearance (line 269) | void adjustAudioVideoImageTextLabelForFlexAppearance() { method playAudio (line 282) | public void playAudio(SelectChoice selectChoice) { method getNumColumns (line 290) | public int getNumColumns() { method clearAnswer (line 294) | public abstract void clearAnswer(); method hasAnswerChanged (line 296) | public abstract boolean hasAnswerChanged(); FILE: collect_app/src/main/java/org/odk/collect/android/adapters/FormDownloadListAdapter.java class FormDownloadListAdapter (line 37) | public class FormDownloadListAdapter extends ArrayAdapter { method FormDownloadListAdapter (line 42) | public FormDownloadListAdapter(Context context, ArrayList for... class ViewHolder (line 53) | private static class ViewHolder { method getView (line 59) | public View getView(int position, View convertView, @NonNull ViewGroup... FILE: collect_app/src/main/java/org/odk/collect/android/adapters/InstanceListCursorAdapter.java class InstanceListCursorAdapter (line 31) | public class InstanceListCursorAdapter extends SimpleCursorAdapter { method InstanceListCursorAdapter (line 35) | public InstanceListCursorAdapter(Context context, int layout, Cursor c... method setOnItemClickListener (line 40) | public void setOnItemClickListener(OnItemClickListener onItemClickList... method getView (line 44) | @Override type OnItemClickListener (line 64) | public interface OnItemClickListener { method onItemClick (line 65) | void onItemClick(View view, int position); FILE: collect_app/src/main/java/org/odk/collect/android/adapters/InstanceUploaderAdapter.java class InstanceUploaderAdapter (line 19) | public class InstanceUploaderAdapter extends CursorAdapter { method InstanceUploaderAdapter (line 23) | public InstanceUploaderAdapter(Context context, Cursor cursor, Consume... method newView (line 28) | @Override method bindView (line 35) | @Override method setSelected (line 49) | public void setSelected(Set ids) { FILE: collect_app/src/main/java/org/odk/collect/android/adapters/RankingListAdapter.java class RankingListAdapter (line 41) | public class RankingListAdapter extends Adapter { method RankingListAdapter (line 46) | public RankingListAdapter(List items, FormEntryPrompt fo... method onCreateViewHolder (line 51) | @NonNull method onBindViewHolder (line 57) | @Override method onItemMove (line 63) | public void onItemMove(int fromPosition, int toPosition) { method getItemCount (line 68) | @Override method getItems (line 73) | public List getItems() { class ItemViewHolder (line 77) | public static class ItemViewHolder extends ViewHolder { method ItemViewHolder (line 83) | ItemViewHolder(View itemView) { method onItemSelected (line 91) | public void onItemSelected() { method onItemClear (line 98) | public void onItemClear() { FILE: collect_app/src/main/java/org/odk/collect/android/adapters/SelectMultipleListAdapter.java class SelectMultipleListAdapter (line 44) | public class SelectMultipleListAdapter extends AbstractSelectListAdapter { method SelectMultipleListAdapter (line 50) | public SelectMultipleListAdapter(List selectedItems, Select... method onCreateViewHolder (line 60) | @Override class ViewHolder (line 67) | class ViewHolder extends AbstractSelectListAdapter.ViewHolder { method ViewHolder (line 68) | ViewHolder(View v) { method bind (line 79) | void bind(final int index) { method createButton (line 95) | @Override method checkCheckBoxIfNeeded (line 115) | private void checkCheckBoxIfNeeded(CheckBox checkBox, int index) { method onItemClick (line 125) | @Override method addItem (line 146) | public void addItem(Selection item) { method removeItem (line 152) | public void removeItem(Selection item) { method clearAnswer (line 161) | @Override method getSelectedItems (line 167) | @Override method hasAnswerChanged (line 172) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/adapters/SelectOneListAdapter.java class SelectOneListAdapter (line 46) | public class SelectOneListAdapter extends AbstractSelectListAdapter impl... method SelectOneListAdapter (line 53) | public SelectOneListAdapter(String selectedValue, SelectItemClickListe... method onCreateViewHolder (line 62) | @Override method onCheckedChanged (line 69) | @Override method setSelectItemClickListener (line 80) | public void setSelectItemClickListener(SelectItemClickListener listene... class ViewHolder (line 84) | class ViewHolder extends AbstractSelectListAdapter.ViewHolder { method ViewHolder (line 85) | ViewHolder(View v) { method bind (line 96) | void bind(final int index) { method createButton (line 111) | @Override method onItemClick (line 125) | @Override method getSelectedItems (line 139) | @Override method clearAnswer (line 146) | @Override method getSelectedItem (line 158) | public Selection getSelectedItem() { method hasAnswerChanged (line 169) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/application/Collect.java class Collect (line 94) | public class Collect extends Application implements method getInstance (line 131) | @Deprecated method getExternalDataManager (line 136) | public ExternalDataManager getExternalDataManager() { method setExternalDataManager (line 140) | public void setExternalDataManager(ExternalDataManager externalDataMan... method onCreate (line 144) | @Override method setupDagger (line 163) | private void setupDagger() { method getAudioRecorderDependencyComponent (line 202) | @NotNull method getProjectsDependencyComponent (line 208) | @NotNull method onConfigurationChanged (line 214) | @Override method getComponent (line 222) | @Nullable method setComponent (line 227) | public void setComponent(AppDependencyComponent applicationComponent) { method getFormIdentifierHash (line 239) | public static String getFormIdentifierHash(String formId, String formV... method fixGoogleBug154855417 (line 249) | private void fixGoogleBug154855417() { method getLocale (line 266) | @NotNull method getState (line 276) | @NotNull method getGeoDependencyComponent (line 282) | @NonNull method getOsmDroidDependencyComponent (line 295) | @NonNull method getObjectProvider (line 307) | @NonNull method getEntitiesDependencyComponent (line 313) | @NonNull method getSelfieCameraDependencyComponent (line 325) | @NonNull method getGoogleMapsDependencyComponent (line 331) | @NonNull method getDrawDependencyComponent (line 343) | @NonNull method getLocationDependencyComponent (line 349) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/audio/AMRAppender.java class AMRAppender (line 8) | public class AMRAppender implements AudioFileAppender { method append (line 10) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/audio/AudioButton.java class AudioButton (line 28) | public class AudioButton extends MultiClickSafeMaterialButton implements... method AudioButton (line 34) | public AudioButton(Context context) { method AudioButton (line 39) | public AudioButton(Context context, AttributeSet attrs) { method isPlaying (line 44) | public Boolean isPlaying() { method setPlaying (line 48) | public void setPlaying(Boolean isPlaying) { method setListener (line 53) | public void setListener(Listener listener) { method onClick (line 57) | @Override method initView (line 66) | private void initView() { method render (line 71) | private void render() { type Listener (line 79) | public interface Listener { method onPlayClicked (line 81) | void onPlayClicked(); method onStopClicked (line 83) | void onStopClicked(); FILE: collect_app/src/main/java/org/odk/collect/android/audio/AudioControllerView.java class AudioControllerView (line 34) | public class AudioControllerView extends FrameLayout { method AudioControllerView (line 50) | public AudioControllerView(Context context) { method AudioControllerView (line 54) | public AudioControllerView(Context context, AttributeSet attrs) { method playClicked (line 74) | private void playClicked() { method onPositionChanged (line 86) | private void onPositionChanged(Integer newPosition) { method setPlaying (line 95) | public void setPlaying(Boolean playing) { method setListener (line 105) | public void setListener(Listener listener) { method setPosition (line 109) | public void setPosition(Integer position) { method setDuration (line 115) | public void setDuration(Integer duration) { method renderPosition (line 123) | private void renderPosition(Integer position) { type SwipableParent (line 131) | public interface SwipableParent { method allowSwiping (line 132) | void allowSwiping(boolean allowSwiping); type Listener (line 135) | public interface Listener { method onPlayClicked (line 137) | void onPlayClicked(); method onPauseClicked (line 139) | void onPauseClicked(); method onPositionChanged (line 141) | void onPositionChanged(Integer newPosition); method onRemoveClicked (line 143) | void onRemoveClicked(); class SwipeListener (line 146) | private class SwipeListener implements SeekBar.OnSeekBarChangeListener { method onStartTrackingTouch (line 151) | @Override method onProgressChanged (line 162) | @Override method onStopTrackingTouch (line 169) | @Override method isSwiping (line 182) | Boolean isSwiping() { FILE: collect_app/src/main/java/org/odk/collect/android/audio/AudioFileAppender.java type AudioFileAppender (line 6) | public interface AudioFileAppender { method append (line 8) | void append(File one, File two) throws IOException; FILE: collect_app/src/main/java/org/odk/collect/android/audio/AudioRecordingControllerFragment.java class AudioRecordingControllerFragment (line 33) | public class AudioRecordingControllerFragment extends Fragment { method AudioRecordingControllerFragment (line 44) | public AudioRecordingControllerFragment(ViewModelProvider.Factory view... method onAttach (line 48) | @Override method onCreateView (line 58) | @Nullable method onViewCreated (line 66) | @Override method update (line 90) | private void update(boolean hasBackgroundRecording, boolean isBackgrou... method renderRecordingProblem (line 115) | private void renderRecordingProblem(String string) { method renderRecordingInProgress (line 123) | private void renderRecordingInProgress(RecordingSession session, boole... method renderControls (line 135) | private void renderControls(RecordingSession session) { FILE: collect_app/src/main/java/org/odk/collect/android/audio/AudioRecordingErrorDialogFragment.java class AudioRecordingErrorDialogFragment (line 21) | public class AudioRecordingErrorDialogFragment extends DialogFragment { method onAttach (line 29) | @Override method onCreateDialog (line 36) | @NonNull method onDismiss (line 51) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/audio/BackgroundAudioHelpDialogFragment.java class BackgroundAudioHelpDialogFragment (line 16) | public class BackgroundAudioHelpDialogFragment extends DialogFragment { method onCreateDialog (line 18) | @NonNull FILE: collect_app/src/main/java/org/odk/collect/android/audio/M4AAppender.java class M4AAppender (line 15) | public class M4AAppender implements AudioFileAppender { method append (line 17) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/audio/VolumeBar.java class VolumeBar (line 19) | public class VolumeBar extends LinearLayout { method VolumeBar (line 39) | public VolumeBar(@NonNull Context context) { method VolumeBar (line 44) | public VolumeBar(@NonNull Context context, @Nullable AttributeSet attr... method VolumeBar (line 49) | public VolumeBar(@NonNull Context context, @Nullable AttributeSet attr... method init (line 54) | private void init(Context context) { method onLayout (line 63) | @Override method addAmplitude (line 82) | public void addAmplitude(int amplitude) { method getLatestAmplitude (line 100) | @Nullable method getBestPipSize (line 105) | private int getBestPipSize(int availableWidth) { method createPipView (line 113) | @NotNull FILE: collect_app/src/main/java/org/odk/collect/android/audio/Waveform.java class Waveform (line 19) | public class Waveform extends FrameLayout { method Waveform (line 28) | public Waveform(@NotNull Context context) { method Waveform (line 33) | public Waveform(@NotNull Context context, @NotNull AttributeSet attrs) { method Waveform (line 38) | public Waveform(@NotNull Context context, @NotNull AttributeSet attrs,... method init (line 43) | private void init(Context context, @Nullable AttributeSet attrs) { method onLayout (line 52) | @Override method addAmplitude (line 58) | public void addAmplitude(int amplitude) { method getLatestAmplitude (line 72) | @Nullable method clear (line 77) | public void clear() { FILE: collect_app/src/main/java/org/odk/collect/android/backgroundwork/BackgroundWorkUtils.java class BackgroundWorkUtils (line 5) | public final class BackgroundWorkUtils { method BackgroundWorkUtils (line 12) | private BackgroundWorkUtils() { method getPeriodInMilliseconds (line 16) | public static long getPeriodInMilliseconds(String period, Context cont... FILE: collect_app/src/main/java/org/odk/collect/android/backgroundwork/FormUpdateAndInstanceSubmitScheduler.java class FormUpdateAndInstanceSubmitScheduler (line 18) | public class FormUpdateAndInstanceSubmitScheduler implements FormUpdateS... method FormUpdateAndInstanceSubmitScheduler (line 24) | public FormUpdateAndInstanceSubmitScheduler(Scheduler scheduler, Setti... method scheduleUpdates (line 30) | @Override method scheduleAutoUpdate (line 52) | private void scheduleAutoUpdate(long periodInMilliseconds, String proj... method scheduleMatchExactly (line 58) | private void scheduleMatchExactly(long periodInMilliseconds, String pr... method cancelUpdates (line 64) | @Override method scheduleAutoSend (line 70) | @Override method scheduleFormAutoSend (line 90) | @Override method cancelSubmit (line 98) | @Override method getAutoSendTag (line 103) | @NotNull method getAutoSendFormTag (line 108) | public String getAutoSendFormTag(String projectId) { method getMatchExactlyTag (line 112) | @NotNull method getAutoUpdateTag (line 117) | @NotNull FILE: collect_app/src/main/java/org/odk/collect/android/backgroundwork/FormUpdateScheduler.java type FormUpdateScheduler (line 3) | public interface FormUpdateScheduler { method scheduleUpdates (line 5) | void scheduleUpdates(String projectId); method cancelUpdates (line 7) | void cancelUpdates(String projectId); FILE: collect_app/src/main/java/org/odk/collect/android/backgroundwork/InstanceSubmitScheduler.java type InstanceSubmitScheduler (line 3) | public interface InstanceSubmitScheduler { method scheduleAutoSend (line 5) | void scheduleAutoSend(String projectId); method scheduleFormAutoSend (line 7) | void scheduleFormAutoSend(String projectId); method cancelSubmit (line 9) | void cancelSubmit(String projectId); FILE: collect_app/src/main/java/org/odk/collect/android/dao/CursorLoaderFactory.java class CursorLoaderFactory (line 13) | @Deprecated method CursorLoaderFactory (line 19) | public CursorLoaderFactory(ProjectsDataService projectsDataService) { method createSentInstancesCursorLoader (line 23) | public CursorLoader createSentInstancesCursorLoader(CharSequence charS... method createEditableInstancesCursorLoader (line 46) | public CursorLoader createEditableInstancesCursorLoader(CharSequence c... method createFinalizedInstancesCursorLoader (line 67) | public CursorLoader createFinalizedInstancesCursorLoader(CharSequence ... method createCompletedUndeletedInstancesCursorLoader (line 90) | public CursorLoader createCompletedUndeletedInstancesCursorLoader(Char... method getInstancesCursorLoader (line 121) | private CursorLoader getInstancesCursorLoader(String selection, String... method getUriWithAnalyticsParam (line 133) | private Uri getUriWithAnalyticsParam(Uri uri) { FILE: collect_app/src/main/java/org/odk/collect/android/dao/helpers/InstancesDaoHelper.java class InstancesDaoHelper (line 30) | @Deprecated method InstancesDaoHelper (line 33) | private InstancesDaoHelper() { method isInstanceComplete (line 47) | public static boolean isInstanceComplete(FormController formController) { FILE: collect_app/src/main/java/org/odk/collect/android/database/DatabaseConstants.java class DatabaseConstants (line 3) | public final class DatabaseConstants { method DatabaseConstants (line 20) | private DatabaseConstants() { FILE: collect_app/src/main/java/org/odk/collect/android/database/forms/DatabaseFormsRepository.java class DatabaseFormsRepository (line 59) | public class DatabaseFormsRepository implements FormsRepository { method DatabaseFormsRepository (line 67) | public DatabaseFormsRepository(Context context, String dbPath, String ... method get (line 81) | @Nullable method getLatestByFormIdAndVersion (line 87) | @Nullable method getOneByPath (line 98) | @Nullable method getOneByMd5Hash (line 106) | @Nullable method getAll (line 118) | @Override method getAllByFormIdAndVersion (line 124) | @Override method getAllByFormId (line 133) | @Override method getAllNotDeletedByFormId (line 139) | @Override method getAllNotDeletedByFormIdAndVersion (line 146) | @Override method save (line 157) | @Override method delete (line 192) | @Override method softDelete (line 200) | @Override method deleteByMd5Hash (line 208) | @Override method deleteAll (line 216) | @Override method restore (line 221) | @Override method rawQuery (line 228) | public Cursor rawQuery(Map projectionMap, String[] pro... method queryForForm (line 232) | @Nullable method queryForForms (line 239) | private List
queryForForms(String selection, String[] selectionA... method queryAndReturnCursor (line 245) | private Cursor queryAndReturnCursor(Map projectionMap,... method insertForm (line 288) | private Long insertForm(ContentValues values) { method updateForm (line 293) | private void updateForm(Long id, ContentValues values) { method deleteForms (line 298) | private void deleteForms(String selection, String[] selectionArgs) { method getFormsFromCursor (line 310) | @NotNull method deleteFilesForForm (line 337) | private void deleteFilesForForm(Form form) { FILE: collect_app/src/main/java/org/odk/collect/android/database/forms/FormDatabaseMigrator.java class FormDatabaseMigrator (line 35) | public class FormDatabaseMigrator implements DatabaseMigrator { method onCreate (line 46) | public void onCreate(SQLiteDatabase db) { method onUpgrade (line 50) | @SuppressWarnings({"checkstyle:FallThrough"}) method upgradeToVersion2 (line 85) | private void upgradeToVersion2(SQLiteDatabase db) { method upgradeToVersion4 (line 90) | private void upgradeToVersion4(SQLiteDatabase db, int oldVersion) { method upgradeToVersion5 (line 210) | private void upgradeToVersion5(SQLiteDatabase db) { method upgradeToVersion6 (line 215) | private void upgradeToVersion6(SQLiteDatabase db) { method upgradeToVersion7 (line 219) | private void upgradeToVersion7(SQLiteDatabase db) { method upgradeToVersion8 (line 227) | private void upgradeToVersion8(SQLiteDatabase db) { method upgradeToVersion9 (line 231) | private void upgradeToVersion9(SQLiteDatabase db) { method upgradeToVersion10 (line 242) | private void upgradeToVersion10(SQLiteDatabase db) { method upgradeToVersion11 (line 253) | private void upgradeToVersion11(SQLiteDatabase db) { method upgradeToVersion12 (line 264) | private void upgradeToVersion12(SQLiteDatabase db) { method upgradeToVersion13 (line 268) | private void upgradeToVersion13(SQLiteDatabase db) { method upgradeToVersion14 (line 279) | private void upgradeToVersion14(SQLiteDatabase db) { method createFormsTableV4 (line 283) | private void createFormsTableV4(SQLiteDatabase db, String tableName) { method createFormsTableV7 (line 304) | public void createFormsTableV7(SQLiteDatabase db) { method createFormsTableV8 (line 324) | public void createFormsTableV8(SQLiteDatabase database) { method createFormsTableV9 (line 345) | public void createFormsTableV9(SQLiteDatabase db) { method createFormsTableV10 (line 366) | public void createFormsTableV10(SQLiteDatabase db) { method createFormsTableV11 (line 387) | public void createFormsTableV11(SQLiteDatabase db) { method createFormsTableV12 (line 408) | public void createFormsTableV12(SQLiteDatabase db) { method createFormsTableV13 (line 430) | public void createFormsTableV13(SQLiteDatabase db) { method createFormsTableV14 (line 452) | private void createFormsTableV14(SQLiteDatabase db) { FILE: collect_app/src/main/java/org/odk/collect/android/database/instances/DatabaseInstancesRepository.java class DatabaseInstancesRepository (line 46) | public final class DatabaseInstancesRepository implements InstancesRepos... method DatabaseInstancesRepository (line 52) | public DatabaseInstancesRepository(Context context, String dbPath, Str... method get (line 65) | @Override method getOneByPath (line 76) | @Override method getAll (line 90) | @Override method getAllNotDeleted (line 99) | @Override method getAllByStatus (line 108) | @Override method getCountByStatus (line 115) | @Override method getAllByFormId (line 123) | @Override method getAllNotDeletedByFormIdAndVersion (line 132) | @Override method delete (line 147) | @Override method deleteAll (line 164) | @Override method save (line 183) | @Override method deleteWithLogging (line 220) | @Override method rawQuery (line 232) | public Cursor rawQuery(String[] projection, String selection, String[]... method getCursorForAllByStatus (line 236) | private Cursor getCursorForAllByStatus(String[] status) { method query (line 245) | private Cursor query(String[] projection, String selection, String[] s... method insert (line 281) | private long insert(ContentValues values) throws IntegrityException { method update (line 293) | private void update(Long instanceId, ContentValues values) { method deleteInstanceFiles (line 302) | private void deleteInstanceFiles(Instance instance) { method getInstancesFromCursor (line 306) | private static List getInstancesFromCursor(Cursor cursor, St... FILE: collect_app/src/main/java/org/odk/collect/android/database/instances/InstanceDatabaseMigrator.java class InstanceDatabaseMigrator (line 35) | public class InstanceDatabaseMigrator implements DatabaseMigrator { method onCreate (line 43) | public void onCreate(SQLiteDatabase db) { method onUpgrade (line 47) | @SuppressWarnings({"checkstyle:FallThrough"}) method upgradeToVersion2 (line 75) | private void upgradeToVersion2(SQLiteDatabase db) { method upgradeToVersion3 (line 87) | private void upgradeToVersion3(SQLiteDatabase db) { method upgradeToVersion4 (line 91) | private void upgradeToVersion4(SQLiteDatabase db) { method upgradeToVersion5 (line 101) | private void upgradeToVersion5(SQLiteDatabase db) { method dropObsoleteColumns (line 126) | private void dropObsoleteColumns(SQLiteDatabase db, String[] relevantC... method upgradeToVersion6 (line 136) | private void upgradeToVersion6(SQLiteDatabase db, String name) { method upgradeToVersion7 (line 141) | private void upgradeToVersion7(SQLiteDatabase db) { method upgradeToVersion8 (line 149) | private void upgradeToVersion8(SQLiteDatabase db) { method upgradeToVersion9 (line 154) | private void upgradeToVersion9(SQLiteDatabase db) { method upgradeToVersion10 (line 159) | private void upgradeToVersion10(SQLiteDatabase db) { method createInstancesTableV5 (line 167) | private void createInstancesTableV5(SQLiteDatabase db, String name) { method createInstancesTableV6 (line 181) | public void createInstancesTableV6(SQLiteDatabase db) { method createInstancesTableV7 (line 197) | public void createInstancesTableV7(SQLiteDatabase db) { method createInstancesTableV8 (line 213) | public void createInstancesTableV8(SQLiteDatabase db) { method createInstancesTableV9 (line 230) | public void createInstancesTableV9(SQLiteDatabase db) { method createInstancesTableV10 (line 251) | public void createInstancesTableV10(SQLiteDatabase db) { FILE: collect_app/src/main/java/org/odk/collect/android/dynamicpreload/ExternalAnswerResolver.java class ExternalAnswerResolver (line 46) | public class ExternalAnswerResolver extends DefaultAnswerResolver { method resolveAnswer (line 48) | @Override method createBugRuntimeException (line 171) | private RuntimeException createBugRuntimeException(TreeElement treeEle... method createCustomSelectChoices (line 177) | protected List createCustomSelectChoices(String complete... FILE: collect_app/src/main/java/org/odk/collect/android/dynamicpreload/ExternalAppsUtils.java class ExternalAppsUtils (line 55) | public final class ExternalAppsUtils { method ExternalAppsUtils (line 60) | private ExternalAppsUtils() { method extractIntentName (line 63) | public static String extractIntentName(String exString) { method extractParameters (line 73) | public static Map extractParameters(String exString) { method getParamPairs (line 96) | private static List getParamPairs(String paramsStr) { method populateParameters (line 116) | public static void populateParameters(Intent intent, Map externalDataMap); FILE: collect_app/src/main/java/org/odk/collect/android/dynamicpreload/ExternalDataReaderImpl.java class ExternalDataReaderImpl (line 40) | public class ExternalDataReaderImpl implements ExternalDataReader { method ExternalDataReaderImpl (line 45) | public ExternalDataReaderImpl(Supplier isCancelled, Consumer<... method doImport (line 50) | @Override method doImportDataSetAndContinue (line 64) | private boolean doImportDataSetAndContinue(String dataSetName, File da... FILE: collect_app/src/main/java/org/odk/collect/android/dynamicpreload/ExternalDataUtil.java class ExternalDataUtil (line 60) | public final class ExternalDataUtil { method ExternalDataUtil (line 73) | private ExternalDataUtil() { method toSafeColumnName (line 77) | public static String toSafeColumnName(String columnName, Map findMatchingColumnsAfterSafeningNames(Strin... method getSearchXPathExpression (line 111) | public static XPathFuncExpr getSearchXPathExpression(String appearance) { method populateExternalChoices (line 166) | public static ArrayList populateExternalChoices(FormEntr... method createMapWithDisplayingColumns (line 239) | public static LinkedHashMap createMapWithDisplayingCol... method createListOfColumns (line 261) | public static List createListOfColumns(String columnString) { method splitTrimmed (line 274) | private static List splitTrimmed(String displayColumns, String... method splitTrimmed (line 285) | private static List splitTrimmed(String text, String separator) { method containsAnyData (line 297) | public static boolean containsAnyData(String[] row) { method fillUpNullValues (line 309) | public static String[] fillUpNullValues(String[] row, String[] headerR... method nullSafe (line 327) | public static String nullSafe(String value) { method isAnInteger (line 331) | public static boolean isAnInteger(String value) { method containsConfigurationChoice (line 351) | private static boolean containsConfigurationChoice(List ... method getFilePath (line 360) | private static String getFilePath(XPathFuncExpr xpathfuncexpr, FormCon... FILE: collect_app/src/main/java/org/odk/collect/android/dynamicpreload/ExternalSQLiteOpenHelper.java class ExternalSQLiteOpenHelper (line 59) | public class ExternalSQLiteOpenHelper extends SQLiteOpenHelper { method ExternalSQLiteOpenHelper (line 71) | ExternalSQLiteOpenHelper(File dbFile) { method importFromCSV (line 75) | void importFromCSV(File dataSetFile, ExternalDataReader externalDataRe... method onCreate (line 92) | @Override method onCreateNamed (line 114) | private void onCreateNamed(SQLiteDatabase db, String tableName) throws... method isCancelled (line 279) | protected boolean isCancelled() { method createAndPopulateMetadataTable (line 285) | static void createAndPopulateMetadataTable(SQLiteDatabase db, String m... method getLastMd5Hash (line 301) | static String getLastMd5Hash(SQLiteDatabase db, String metadataTableNa... method shouldUpdateDBforDataSet (line 319) | static boolean shouldUpdateDBforDataSet(File dbFile, File dataSetFile) { method shouldUpdateDBforDataSet (line 324) | static boolean shouldUpdateDBforDataSet(SQLiteDatabase db, String data... method onUpgrade (line 337) | @Override method onProgress (line 341) | private void onProgress(String message) { method removeByteOrderMark (line 351) | private String removeByteOrderMark(String bomCheckString) { FILE: collect_app/src/main/java/org/odk/collect/android/dynamicpreload/ExternalSelectChoice.java class ExternalSelectChoice (line 28) | public class ExternalSelectChoice extends SelectChoice { method ExternalSelectChoice (line 32) | public ExternalSelectChoice(String labelOrID, String value, boolean is... method getImage (line 36) | public String getImage() { method setImage (line 40) | public void setImage(String image) { FILE: collect_app/src/main/java/org/odk/collect/android/dynamicpreload/handler/ExternalDataHandlerBase.java class ExternalDataHandlerBase (line 31) | public abstract class ExternalDataHandlerBase implements ExternalDataHan... method getExternalDataManager (line 35) | public ExternalDataManager getExternalDataManager() { method setExternalDataManager (line 39) | public void setExternalDataManager(ExternalDataManager externalDataMan... method ExternalDataHandlerBase (line 43) | protected ExternalDataHandlerBase(ExternalDataManager externalDataMana... method normalize (line 53) | protected String normalize(String dataSetName) { FILE: collect_app/src/main/java/org/odk/collect/android/dynamicpreload/handler/ExternalDataHandlerPull.java class ExternalDataHandlerPull (line 42) | public class ExternalDataHandlerPull extends ExternalDataHandlerBase { method ExternalDataHandlerPull (line 46) | public ExternalDataHandlerPull(ExternalDataManager externalDataManager) { method getName (line 50) | @Override method getPrototypes (line 55) | @Override method rawArgs (line 60) | @Override method realTime (line 65) | @Override method eval (line 70) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/dynamicpreload/handler/ExternalDataHandlerSearch.java class ExternalDataHandlerSearch (line 51) | public class ExternalDataHandlerSearch extends ExternalDataHandlerBase { method ExternalDataHandlerSearch (line 59) | public ExternalDataHandlerSearch(ExternalDataManager externalDataManag... method getDisplayColumns (line 67) | public String getDisplayColumns() { method getValueColumn (line 71) | public String getValueColumn() { method getImageColumn (line 75) | public String getImageColumn() { method getName (line 79) | @Override method getPrototypes (line 84) | @Override method rawArgs (line 89) | @Override method realTime (line 94) | @Override method eval (line 99) | @Override method createDynamicSelectChoices (line 200) | protected ArrayList createDynamicSelectChoices(Cursor c, method createLikeExpression (line 245) | protected String createLikeExpression(List queriedColumns) { method buildLabel (line 263) | protected String buildLabel(Cursor c, LinkedHashMap se... FILE: collect_app/src/main/java/org/odk/collect/android/dynamicpreload/handler/ExternalDataSearchType.java type ExternalDataSearchType (line 26) | enum ExternalDataSearchType { method getSingleLikeArgument (line 29) | @Override method getSingleLikeArgument (line 36) | @Override method getSingleLikeArgument (line 43) | @Override method getSingleLikeArgument (line 50) | @Override method ExternalDataSearchType (line 58) | ExternalDataSearchType(String keyword) { method getKeyword (line 62) | public String getKeyword() { method getByKeyword (line 66) | public static ExternalDataSearchType getByKeyword(String keyword, method constructLikeArguments (line 80) | public String[] constructLikeArguments(String queriedValue, int times) { method getSingleLikeArgument (line 88) | protected abstract String getSingleLikeArgument(String queriedValue); FILE: collect_app/src/main/java/org/odk/collect/android/exception/EncryptionException.java class EncryptionException (line 26) | public class EncryptionException extends Exception { method EncryptionException (line 28) | public EncryptionException(String detailMessage, Throwable throwable) { FILE: collect_app/src/main/java/org/odk/collect/android/exception/ExternalDataException.java class ExternalDataException (line 26) | public class ExternalDataException extends RuntimeException { method ExternalDataException (line 28) | public ExternalDataException(String detailMessage) { method ExternalDataException (line 32) | public ExternalDataException(String detailMessage, Throwable throwable) { FILE: collect_app/src/main/java/org/odk/collect/android/exception/ExternalParamsException.java class ExternalParamsException (line 26) | public class ExternalParamsException extends Exception { method ExternalParamsException (line 28) | public ExternalParamsException(String detailMessage, Throwable throwab... FILE: collect_app/src/main/java/org/odk/collect/android/exception/JavaRosaException.java class JavaRosaException (line 28) | public class JavaRosaException extends Exception { method JavaRosaException (line 30) | public JavaRosaException(Throwable throwable) { FILE: collect_app/src/main/java/org/odk/collect/android/external/FormsContract.java class FormsContract (line 30) | public final class FormsContract { method getUri (line 39) | public static Uri getUri(String projectId, Long formDbId) { method getUri (line 43) | public static Uri getUri(String projectId) { method getContentNewestFormsByFormIdUri (line 55) | @Deprecated method FormsContract (line 60) | private FormsContract() { FILE: collect_app/src/main/java/org/odk/collect/android/external/FormsProvider.java class FormsProvider (line 67) | public class FormsProvider extends ContentProvider { method deferDaggerInit (line 95) | private void deferDaggerInit() { method onCreate (line 99) | @Override method query (line 104) | @Override method getType (line 170) | @Override method insert (line 185) | @Override method delete (line 195) | @Override method update (line 231) | @Override method getFormsRepository (line 236) | @NotNull method getProjectId (line 241) | private String getProjectId(@NonNull Uri uri) { method databaseQuery (line 251) | private Cursor databaseQuery(String projectId, String[] projection, St... method logServerEvent (line 255) | private void logServerEvent(String projectId, String event) { FILE: collect_app/src/main/java/org/odk/collect/android/external/InstanceProvider.java class InstanceProvider (line 48) | public class InstanceProvider extends ContentProvider { method onCreate (line 69) | @Override method query (line 74) | @Override method dbQuery (line 106) | private Cursor dbQuery(String projectId, String[] projection, String s... method getType (line 110) | @Override method insert (line 124) | @Override method delete (line 149) | @Override method update (line 199) | @Override method getProjectId (line 204) | private String getProjectId(@NonNull Uri uri) { method logServerEvent (line 214) | private void logServerEvent(String projectId, String event) { FILE: collect_app/src/main/java/org/odk/collect/android/external/InstancesContract.java class InstancesContract (line 21) | public final class InstancesContract { method getUri (line 27) | public static Uri getUri(String projectId) { method getUri (line 31) | public static Uri getUri(String projectId, Long instanceDbId) { method InstancesContract (line 36) | private InstancesContract() { FILE: collect_app/src/main/java/org/odk/collect/android/fastexternalitemset/ItemsetDao.java class ItemsetDao (line 39) | public class ItemsetDao { method ItemsetDao (line 44) | public ItemsetDao(ItemsetDbAdapter adapter) { method getItemLabel (line 48) | public String getItemLabel(String itemName, String mediaFolderPath, St... method getItems (line 88) | public List getItems(FormEntryPrompt formEntryPrompt, XP... method getNodesetString (line 98) | private String getNodesetString(FormEntryPrompt formEntryPrompt) { method getQueryString (line 105) | private String getQueryString(String nodesetStr) { method getSelectionStringAndPopulateArguments (line 110) | private String getSelectionStringAndPopulateArguments(String queryStri... method getSelectionArgs (line 175) | @SuppressWarnings("PMD.AvoidThrowingNewInstanceOfSameException") method getItemsFromDatabase (line 220) | private List getItemsFromDatabase(String selection, Stri... method getItemsetFile (line 275) | public File getItemsetFile(String mediaFolderPath) { FILE: collect_app/src/main/java/org/odk/collect/android/fastexternalitemset/ItemsetDbAdapter.java class ItemsetDbAdapter (line 24) | public class ItemsetDbAdapter implements Closeable { class DatabaseHelper (line 46) | private static class DatabaseHelper extends SQLiteOpenHelper { method DatabaseHelper (line 47) | DatabaseHelper() { method onCreate (line 51) | @Override method onUpgrade (line 58) | @Override method open (line 87) | public ItemsetDbAdapter open() throws SQLException { method close (line 93) | @Override method createTable (line 98) | public boolean createTable(String formHash, String pathHash, String[] ... method addRow (line 133) | public boolean addRow(String tableName, String[] columns, String[] new... method beginTransaction (line 147) | public void beginTransaction() { method commit (line 151) | public void commit() { method query (line 155) | public Cursor query(String hash, String selection, String[] selectionA... method dropTable (line 160) | public void dropTable(String pathHash, String path) { method getItemsets (line 172) | public Cursor getItemsets(String path) { method getItemsets (line 180) | public Cursor getItemsets() { method update (line 184) | public void update(ContentValues values, String where, String[] whereA... method delete (line 188) | public void delete(String path) { method getMd5FromString (line 207) | public static String getMd5FromString(String toEncode) { FILE: collect_app/src/main/java/org/odk/collect/android/fastexternalitemset/XPathParseTool.java class XPathParseTool (line 11) | public class XPathParseTool { method parseXPath (line 12) | public XPathExpression parseXPath(String xpath) throws XPathSyntaxExce... FILE: collect_app/src/main/java/org/odk/collect/android/formentry/BackgroundAudioPermissionDialogFragment.java class BackgroundAudioPermissionDialogFragment (line 24) | public class BackgroundAudioPermissionDialogFragment extends DialogFragm... method BackgroundAudioPermissionDialogFragment (line 33) | public BackgroundAudioPermissionDialogFragment(ViewModelProvider.Facto... method onAttach (line 37) | @Override method onCreateDialog (line 44) | @NonNull method onOKClicked (line 58) | private void onOKClicked(FragmentActivity activity) { FILE: collect_app/src/main/java/org/odk/collect/android/formentry/BackgroundAudioViewModel.java class BackgroundAudioViewModel (line 31) | public class BackgroundAudioViewModel extends ViewModel { method BackgroundAudioViewModel (line 50) | public BackgroundAudioViewModel(AudioRecorder audioRecorder, Settings ... method onCleared (line 66) | @Override method isPermissionRequired (line 72) | public LiveData isPermissionRequired() { method isBackgroundRecordingEnabled (line 76) | public NonNullLiveData isBackgroundRecordingEnabled() { method setBackgroundRecordingEnabled (line 80) | public void setBackgroundRecordingEnabled(boolean enabled) { method isBackgroundRecording (line 97) | public boolean isBackgroundRecording() { method grantAudioPermission (line 101) | public void grantAudioPermission() { method handleRecordAction (line 113) | private void handleRecordAction(TreeReference treeReference, String qu... method startBackgroundRecording (line 137) | private void startBackgroundRecording(String quality, HashSet listener); method unregister (line 152) | void unregister(); FILE: collect_app/src/main/java/org/odk/collect/android/formentry/FormEntryViewModel.java class FormEntryViewModel (line 57) | public class FormEntryViewModel extends ViewModel implements SelectChoic... method FormEntryViewModel (line 85) | @SuppressWarnings("WeakerAccess") method getSessionId (line 104) | public String getSessionId() { method getFormController (line 111) | @Deprecated method getCurrentIndex (line 116) | public LiveData getCurrentIndex() { method getError (line 120) | public LiveData getError() { method isLoading (line 124) | public NonNullLiveData isLoading() { method promptForNewRepeat (line 128) | @SuppressWarnings("WeakerAccess") method jumpToNewRepeat (line 139) | public void jumpToNewRepeat() { method addRepeat (line 143) | public void addRepeat() { method cancelRepeatPrompt (line 167) | public void cancelRepeatPrompt() { method errorDisplayed (line 189) | public void errorDisplayed() { method canAddRepeat (line 193) | public boolean canAddRepeat() { method moveForward (line 203) | public void moveForward(HashMap answers) { method moveForward (line 207) | public void moveForward(HashMap answers, Boole... method moveBackward (line 226) | public void moveBackward(HashMap answers) { method updateAnswersForScreen (line 245) | public boolean updateAnswersForScreen(HashMap ... method saveScreenAnswersToFormController (line 252) | public boolean saveScreenAnswersToFormController(HashMap hasBackgroundRecording() { method getQuestionPrompt (line 279) | public FormEntryPrompt getQuestionPrompt(FormIndex formIndex) { method answerQuestion (line 283) | public void answerQuestion(FormIndex index, IAnswerData answer) { method loadSelectChoices (line 306) | @NonNull method onCleared (line 319) | @Override method refreshSync (line 327) | @Deprecated method refresh (line 332) | public void refresh() { method updateIndex (line 339) | private void updateIndex(boolean isAsync, @Nullable ValidationResult v... method updateIndex (line 343) | private void updateIndex(boolean isAsync, @Nullable ValidationResult v... method exit (line 380) | public void exit() { method validateForm (line 386) | public void validateForm() { method preloadSelectChoices (line 402) | private void preloadSelectChoices() throws RepeatsInFieldListException... method changeLanguage (line 418) | public void changeLanguage(String newLanguage) { method isFormEditableAfterFinalization (line 429) | public boolean isFormEditableAfterFinalization() { method shouldShowNewEditMessage (line 438) | public boolean shouldShowNewEditMessage() { method saveFieldList (line 449) | public FormEntryPrompt[] saveFieldList(HashMap... method isQuestionRecalculated (line 473) | private boolean isQuestionRecalculated(FormEntryPrompt mutableQuestion... FILE: collect_app/src/main/java/org/odk/collect/android/formentry/FormLoadingDialogFragment.java class FormLoadingDialogFragment (line 24) | public class FormLoadingDialogFragment extends MaterialProgressDialogFra... type FormLoadingDialogFragmentListener (line 26) | public interface FormLoadingDialogFragmentListener { method onCancelFormLoading (line 27) | void onCancelFormLoading(); method onAttach (line 38) | @Override method getCancelButtonText (line 51) | @Override method getOnCancelCallback (line 56) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/formentry/ODKView.java class ODKView (line 115) | @SuppressLint("ViewConstructor") method ODKView (line 152) | public ODKView( method setupAudioErrors (line 219) | private void setupAudioErrors() { method autoplayIfNeeded (line 232) | private void autoplayIfNeeded(boolean advancingPage) { method autoplayAudio (line 246) | private Boolean autoplayAudio(FormEntryPrompt firstPrompt) { method autoplayVideo (line 255) | private void autoplayVideo(FormEntryPrompt prompt) { method configureIntentGroup (line 273) | private void configureIntentGroup(ComponentActivity context, FormEntry... method addWidgetForQuestion (line 300) | private void addWidgetForQuestion(FormEntryPrompt question) { method addWidgetForQuestion (line 317) | private void addWidgetForQuestion(FormEntryPrompt question, int index) { method isInIntentGroup (line 361) | private boolean isInIntentGroup(FormEntryPrompt question) { method configureWidgetForQuestion (line 376) | private QuestionWidget configureWidgetForQuestion(FormEntryPrompt ques... method getDividerView (line 390) | private View getDividerView() { method getAnswers (line 409) | public HashMap getAnswers() { method setGroupText (line 426) | private void setGroupText(FormEntryCaption[] groups) { method getGroupsPath (line 443) | @NonNull method getGroupsPath (line 455) | @NonNull method addIntentLaunchButton (line 485) | private void addIntentLaunchButton(Context context, FormEntryPrompt[] ... method setFocus (line 556) | public void setFocus(Context context) { method isDisplayed (line 565) | public boolean isDisplayed(QuestionWidget qw) { method focusToTopOf (line 571) | public void focusToTopOf(FormIndex index) { method focusToTopOf (line 580) | public void focusToTopOf(@Nullable QuestionWidget qw) { method setDataForFields (line 590) | public void setDataForFields(Bundle bundle) throws JavaRosaException { method shouldSuppressFlingGesture (line 651) | @Override method verticalScrollView (line 661) | @Nullable method clearAnswer (line 670) | public boolean clearAnswer() { method getWidgets (line 681) | public ArrayList getWidgets() { method setOnFocusChangeListener (line 685) | @Override method onLongClick (line 693) | @Override method cancelLongPress (line 698) | @Override method setErrorForQuestionWithIndex (line 706) | public void setErrorForQuestionWithIndex(FormIndex formIndex, String e... method removeWidgetAt (line 720) | private void removeWidgetAt(int index) { method setWidgetValueChangedListener (line 753) | public void setWidgetValueChangedListener(WidgetValueChangedListener l... method widgetValueChanged (line 757) | public void widgetValueChanged(QuestionWidget changedWidget) { method onUpdated (line 763) | public void onUpdated(FormIndex lastChangedIndex, FormEntryPrompt[] qu... method updateQuestions (line 807) | private void updateQuestions(FormEntryPrompt[] prompts) { method isNavigationBlocked (line 814) | @Nullable FILE: collect_app/src/main/java/org/odk/collect/android/formentry/RecordingHandler.java class RecordingHandler (line 21) | public class RecordingHandler { method RecordingHandler (line 29) | public RecordingHandler(QuestionMediaManager questionMediaManager, Lif... method handle (line 37) | public void handle(FormController formController, RecordingSession ses... method handleBackgroundRecording (line 55) | private void handleBackgroundRecording(FormController formController, ... FILE: collect_app/src/main/java/org/odk/collect/android/formentry/RecordingWarningDialogFragment.java class RecordingWarningDialogFragment (line 12) | public class RecordingWarningDialogFragment extends DialogFragment { method onCreateDialog (line 14) | @NonNull FILE: collect_app/src/main/java/org/odk/collect/android/formentry/RefreshFormListDialogFragment.java class RefreshFormListDialogFragment (line 9) | public class RefreshFormListDialogFragment extends MaterialProgressDialo... method onAttach (line 13) | @Override method getCancelButtonText (line 25) | @Override method getOnCancelCallback (line 30) | @Override type RefreshFormListDialogFragmentListener (line 39) | public interface RefreshFormListDialogFragmentListener { method onCancelFormLoading (line 40) | void onCancelFormLoading(); FILE: collect_app/src/main/java/org/odk/collect/android/formentry/audit/AsyncTaskAuditEventWriter.java class AsyncTaskAuditEventWriter (line 10) | public class AsyncTaskAuditEventWriter implements AuditEventLogger.Audit... method AsyncTaskAuditEventWriter (line 19) | public AsyncTaskAuditEventWriter(@NonNull File file, boolean isLocatio... method writeEvents (line 27) | @Override method isWriting (line 33) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/formentry/audit/AuditConfig.java class AuditConfig (line 30) | public class AuditConfig { method AuditConfig (line 57) | public AuditConfig(String mode, String locationMinInterval, String loc... method getMode (line 66) | private LocationClient.Priority getMode(@NonNull String mode) { method getLocationPriority (line 81) | @Nullable method getLocationMinInterval (line 86) | @Nullable method getLocationMaxAge (line 95) | @Nullable method isLocationEnabled (line 100) | public boolean isLocationEnabled() { method isTrackingChangesEnabled (line 104) | public boolean isTrackingChangesEnabled() { method isIdentifyUserEnabled (line 108) | public boolean isIdentifyUserEnabled() { method isTrackChangesReasonEnabled (line 112) | public boolean isTrackChangesReasonEnabled() { class Builder (line 116) | public static class Builder { method setMode (line 124) | public Builder setMode(String mode) { method setLocationMinInterval (line 129) | public Builder setLocationMinInterval(String locationMinInterval) { method setLocationMaxAge (line 134) | public Builder setLocationMaxAge(String locationMaxAge) { method setIsTrackingChangesEnabled (line 139) | public Builder setIsTrackingChangesEnabled(boolean isTrackingChanges... method setIsIdentifyUserEnabled (line 144) | public Builder setIsIdentifyUserEnabled(boolean isIdentifyUserEnable... method setIsTrackChangesReasonEnabled (line 149) | public Builder setIsTrackChangesReasonEnabled(boolean isTrackChanges... method createAuditConfig (line 154) | public AuditConfig createAuditConfig() { FILE: collect_app/src/main/java/org/odk/collect/android/formentry/audit/AuditEvent.java class AuditEvent (line 24) | public class AuditEvent { type AuditEventType (line 26) | public enum AuditEventType { method AuditEventType (line 88) | AuditEventType(String value, boolean isLogged, boolean isInterval, b... method AuditEventType (line 96) | AuditEventType(String value, boolean isInterval) { method AuditEventType (line 100) | AuditEventType(String value) { method getValue (line 104) | public String getValue() { method isLogged (line 108) | public boolean isLogged() { method isInterval (line 115) | public boolean isInterval() { method isLocationRelated (line 119) | public boolean isLocationRelated() { method AuditEvent (line 142) | public AuditEvent(long start, AuditEventType auditEventType) { method AuditEvent (line 146) | public AuditEvent(long start, AuditEventType auditEventType, method isIntervalAuditEventType (line 159) | public boolean isIntervalAuditEventType() { method setEnd (line 166) | public void setEnd(long endTime) { method isEndTimeSet (line 171) | public boolean isEndTimeSet() { method getAuditEventType (line 175) | public AuditEventType getAuditEventType() { method getFormIndex (line 179) | public FormIndex getFormIndex() { method hasNewAnswer (line 183) | public boolean hasNewAnswer() { method isLocationAlreadySet (line 187) | public boolean isLocationAlreadySet() { method setLocationCoordinates (line 193) | public void setLocationCoordinates(String latitude, String longitude, ... method setUser (line 199) | public void setUser(String user) { method recordValueChange (line 203) | public boolean recordValueChange(String newValue) { method getChangeReason (line 216) | public String getChangeReason() { method getLatitude (line 220) | public String getLatitude() { method getLongitude (line 224) | public String getLongitude() { method getAccuracy (line 228) | public String getAccuracy() { method getUser (line 232) | public String getUser() { method getStart (line 236) | public long getStart() { method getOldValue (line 240) | @NonNull method getNewValue (line 245) | @NonNull method getEnd (line 250) | public long getEnd() { method getAuditEventTypeFromFecType (line 255) | public static AuditEventType getAuditEventTypeFromFecType(int fcEvent) { FILE: collect_app/src/main/java/org/odk/collect/android/formentry/audit/AuditEventCSVLine.java class AuditEventCSVLine (line 14) | public final class AuditEventCSVLine { method AuditEventCSVLine (line 16) | private AuditEventCSVLine() { method toCSVLine (line 20) | public static String toCSVLine(AuditEvent auditEvent, boolean isTracki... method getXPathPath (line 72) | private static String getXPathPath(FormIndex formIndex) { FILE: collect_app/src/main/java/org/odk/collect/android/formentry/audit/AuditEventLogger.java class AuditEventLogger (line 31) | public class AuditEventLogger { method AuditEventLogger (line 44) | public AuditEventLogger(AuditConfig auditConfig, AuditEventWriter writ... method logEvent (line 50) | public void logEvent(AuditEvent.AuditEventType eventType, boolean writ... method logEvent (line 58) | public void logEvent(AuditEvent.AuditEventType eventType, FormIndex fo... method internalLog (line 63) | private synchronized void internalLog(AuditEvent.AuditEventType eventT... method flush (line 108) | public synchronized void flush() { method addLocationCoordinatesToAuditEvent (line 115) | private void addLocationCoordinatesToAuditEvent(AuditEvent auditEvent,... method addNewValueToQuestionAuditEvent (line 123) | private void addNewValueToQuestionAuditEvent(AuditEvent aev, FormContr... method isDuplicateOfLastLocationEvent (line 130) | boolean isDuplicateOfLastLocationEvent(AuditEvent.AuditEventType event... method isDuplicatedIntervalEvent (line 140) | private boolean isDuplicatedIntervalEvent(AuditEvent newAuditEvent) { method finalizeEvents (line 154) | private void finalizeEvents() { method setIntervalEventFinalParameters (line 171) | private void setIntervalEventFinalParameters(AuditEvent aev, long end,... method shouldBeIgnored (line 194) | private boolean shouldBeIgnored(AuditEvent.AuditEventType eventType) { method shouldEventBeLogged (line 204) | private boolean shouldEventBeLogged(AuditEvent aev) { method writeEvents (line 212) | private void writeEvents() { method getEventTime (line 224) | private long getEventTime() { method addLocation (line 232) | public void addLocation(Location location) { method getMostAccurateLocation (line 236) | @Nullable method removeExpiredLocations (line 251) | private void removeExpiredLocations(long currentTime) { method isAuditEnabled (line 267) | boolean isAuditEnabled() { method getLocations (line 271) | List getLocations() { method isUserRequired (line 275) | public boolean isUserRequired() { method setUser (line 279) | public void setUser(String user) { method getUser (line 283) | public String getUser() { method isChangeReasonRequired (line 287) | public boolean isChangeReasonRequired() { type AuditEventWriter (line 291) | public interface AuditEventWriter { method writeEvents (line 293) | void writeEvents(List auditEvents); method isWriting (line 295) | boolean isWriting(); FILE: collect_app/src/main/java/org/odk/collect/android/formentry/audit/AuditEventSaveTask.java class AuditEventSaveTask (line 21) | public class AuditEventSaveTask extends AsyncTask { method AuditEventSaveTask (line 35) | public AuditEventSaveTask(@NonNull File file, boolean isLocationEnable... method doInBackground (line 43) | @Override method updateHeaderIfNeeded (line 76) | private boolean updateHeaderIfNeeded() { method shouldHeaderBeUpdated (line 110) | private boolean shouldHeaderBeUpdated(String header) { method getHeader (line 117) | private String getHeader() { FILE: collect_app/src/main/java/org/odk/collect/android/formentry/audit/ChangesReasonPromptDialogFragment.java class ChangesReasonPromptDialogFragment (line 21) | public class ChangesReasonPromptDialogFragment extends MaterialFullScree... method onCreateView (line 25) | @Nullable method onViewCreated (line 31) | @Override method onAttach (line 68) | @Override method onBackPressed (line 74) | @Override method getToolbar (line 79) | @Override method onCloseClicked (line 84) | @Override method shouldShowSoftKeyboard (line 89) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/formentry/audit/IdentifyUserPromptDialogFragment.java class IdentifyUserPromptDialogFragment (line 19) | public class IdentifyUserPromptDialogFragment extends MaterialFullScreen... method onCreateView (line 23) | @Override method onViewCreated (line 28) | @Override method onAttach (line 65) | @Override method onCloseClicked (line 77) | @Override method onBackPressed (line 83) | @Override method getToolbar (line 89) | @Override method shouldShowSoftKeyboard (line 94) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/formentry/audit/IdentityPromptViewModel.java class IdentityPromptViewModel (line 13) | public class IdentityPromptViewModel extends ViewModel { method IdentityPromptViewModel (line 24) | public IdentityPromptViewModel() { method formLoaded (line 28) | public void formLoaded(@NonNull FormController formController) { method requiresIdentityToContinue (line 34) | public LiveData requiresIdentityToContinue() { method isFormEntryCancelled (line 38) | public LiveData isFormEntryCancelled() { method getUser (line 42) | public String getUser() { method setIdentity (line 46) | public void setIdentity(String identity) { method done (line 50) | public void done() { method promptDismissed (line 58) | public void promptDismissed() { method updateRequiresIdentity (line 62) | private void updateRequiresIdentity() { method userIsValid (line 68) | private static boolean userIsValid(String user) { method getFormTitle (line 72) | public String getFormTitle() { FILE: collect_app/src/main/java/org/odk/collect/android/formentry/backgroundlocation/BackgroundLocationHelper.java class BackgroundLocationHelper (line 30) | public class BackgroundLocationHelper { method BackgroundLocationHelper (line 37) | public BackgroundLocationHelper( method isAndroidLocationPermissionGranted (line 49) | boolean isAndroidLocationPermissionGranted() { method isBackgroundLocationPreferenceEnabled (line 53) | boolean isBackgroundLocationPreferenceEnabled() { method arePlayServicesAvailable (line 57) | boolean arePlayServicesAvailable() { method isCurrentFormSet (line 64) | boolean isCurrentFormSet() { method currentFormCollectsBackgroundLocation (line 73) | boolean currentFormCollectsBackgroundLocation() { method currentFormAuditsLocation (line 83) | boolean currentFormAuditsLocation() { method getCurrentFormAuditConfig (line 92) | AuditConfig getCurrentFormAuditConfig() { method logAuditEvent (line 101) | void logAuditEvent(AuditEvent.AuditEventType eventType) { method provideLocationToAuditLogger (line 110) | void provideLocationToAuditLogger(Location location) { method getFormController (line 114) | @Nullable FILE: collect_app/src/main/java/org/odk/collect/android/formentry/backgroundlocation/BackgroundLocationManager.java class BackgroundLocationManager (line 27) | public class BackgroundLocationManager implements LocationClient.Locatio... method BackgroundLocationManager (line 40) | public BackgroundLocationManager(LocationClient locationClient, Backgr... method formFinishedLoading (line 49) | public void formFinishedLoading() { method activityDisplayed (line 58) | public BackgroundLocationMessage activityDisplayed() { method activityHidden (line 111) | public void activityHidden() { method isPendingPermissionCheck (line 119) | public boolean isPendingPermissionCheck() { method locationPermissionGranted (line 123) | public BackgroundLocationMessage locationPermissionGranted() { method locationPermissionDenied (line 161) | public void locationPermissionDenied() { method backgroundLocationPreferenceToggled (line 174) | public void backgroundLocationPreferenceToggled() { method locationPermissionChanged (line 192) | public void locationPermissionChanged() { method locationProvidersChanged (line 204) | public void locationProvidersChanged() { method startLocationRequests (line 217) | private void startLocationRequests() { method stopLocationRequests (line 232) | private void stopLocationRequests() { method onLocationChanged (line 238) | @Override method onClientStart (line 246) | @Override method onClientStartFailure (line 251) | @Override method onClientStop (line 256) | @Override type BackgroundLocationState (line 261) | private enum BackgroundLocationState { type BackgroundLocationMessage (line 287) | public enum BackgroundLocationMessage { method BackgroundLocationMessage (line 298) | BackgroundLocationMessage(int messageTextResourceId, boolean isMenuC... method getMessageTextResourceId (line 303) | public int getMessageTextResourceId() { method isMenuCharacterNeeded (line 307) | public boolean isMenuCharacterNeeded() { FILE: collect_app/src/main/java/org/odk/collect/android/formentry/backgroundlocation/BackgroundLocationViewModel.java class BackgroundLocationViewModel (line 19) | public class BackgroundLocationViewModel extends ViewModel { method BackgroundLocationViewModel (line 23) | public BackgroundLocationViewModel(BackgroundLocationManager locationM... method formFinishedLoading (line 27) | public void formFinishedLoading() { method activityDisplayed (line 31) | public BackgroundLocationManager.BackgroundLocationMessage activityDis... method activityHidden (line 35) | public void activityHidden() { method isBackgroundLocationPermissionsCheckNeeded (line 39) | public boolean isBackgroundLocationPermissionsCheckNeeded() { method locationPermissionsGranted (line 43) | public BackgroundLocationManager.BackgroundLocationMessage locationPer... method locationPermissionsDenied (line 47) | public void locationPermissionsDenied() { method locationPermissionChanged (line 51) | public void locationPermissionChanged() { method locationProvidersChanged (line 55) | public void locationProvidersChanged() { method backgroundLocationPreferenceToggled (line 59) | public void backgroundLocationPreferenceToggled(Settings generalSettin... FILE: collect_app/src/main/java/org/odk/collect/android/formentry/media/FormMediaUtils.java class FormMediaUtils (line 17) | public final class FormMediaUtils { method FormMediaUtils (line 19) | private FormMediaUtils() { method getClip (line 23) | @Nullable method getClipID (line 34) | public static String getClipID(FormEntryPrompt prompt) { method getClipID (line 38) | public static String getClipID(FormEntryPrompt prompt, SelectChoice se... method getPlayableAudioURI (line 42) | @Nullable method getPlayableAudioURI (line 47) | @Nullable method deriveReference (line 57) | @Nullable method getPlayColor (line 71) | public static int getPlayColor(FormEntryPrompt prompt, ThemeUtils them... FILE: collect_app/src/main/java/org/odk/collect/android/formentry/media/PromptAutoplayer.java class PromptAutoplayer (line 20) | public class PromptAutoplayer { method PromptAutoplayer (line 28) | public PromptAutoplayer(AudioPlayer audioPlayer, ReferenceManager refe... method autoplayIfNeeded (line 33) | public Boolean autoplayIfNeeded(FormEntryPrompt prompt) { method hasAudioAutoplay (line 60) | private boolean hasAudioAutoplay(String autoplayOption) { method getSelectClips (line 64) | private List getSelectClips(FormEntryPrompt prompt) { method appearanceDoesNotShowControls (line 89) | private boolean appearanceDoesNotShowControls(String appearance) { method getPromptClip (line 95) | private Clip getPromptClip(FormEntryPrompt prompt) { FILE: collect_app/src/main/java/org/odk/collect/android/formentry/questions/AnswersProvider.java type AnswersProvider (line 8) | public interface AnswersProvider { method getAnswers (line 9) | HashMap getAnswers(); FILE: collect_app/src/main/java/org/odk/collect/android/formentry/questions/AudioVideoImageTextLabel.java class AudioVideoImageTextLabel (line 49) | public class AudioVideoImageTextLabel extends RelativeLayout implements ... method AudioVideoImageTextLabel (line 60) | public AudioVideoImageTextLabel(Context context) { method AudioVideoImageTextLabel (line 66) | public AudioVideoImageTextLabel(Context context, AttributeSet attrs) { method setTextView (line 72) | public void setTextView(TextView questionText) { method setText (line 85) | public void setText(String questionText, boolean isRequiredQuestion, f... method setAudio (line 98) | public void setAudio(String audioURI, AudioPlayer audioPlayer) { method setImage (line 128) | public void setImage(@NonNull File imageFile, ImageLoader imageLoader) { method setBigImage (line 141) | public void setBigImage(@NonNull File bigImageFile) { method setVideo (line 145) | public void setVideo(@NonNull File videoFile) { method setPlayTextColor (line 153) | public void setPlayTextColor(int textColor) { method setMediaUtils (line 157) | public void setMediaUtils(MediaUtils mediaUtils) { method playVideo (line 161) | public void playVideo() { method getLabelTextView (line 165) | public TextView getLabelTextView() { method getImageView (line 169) | public ImageView getImageView() { method getMissingImage (line 173) | public TextView getMissingImage() { method getVideoButton (line 177) | public Button getVideoButton() { method getAudioButton (line 181) | public Button getAudioButton() { method onClick (line 185) | @Override method setEnabled (line 194) | @Override method isEnabled (line 200) | @Override method onImageClick (line 205) | private void onImageClick() { method selectItem (line 213) | private void selectItem() { method setItemClickListener (line 225) | public void setItemClickListener(SelectItemClickListener listener) { FILE: collect_app/src/main/java/org/odk/collect/android/formentry/questions/NoButtonsItem.java class NoButtonsItem (line 16) | public class NoButtonsItem extends FrameLayout { method NoButtonsItem (line 20) | public NoButtonsItem(Context context, boolean enabled, ImageLoader ima... method setUpNoButtonsItem (line 29) | public void setUpNoButtonsItem(File imageFile, String choiceText, Stri... FILE: collect_app/src/main/java/org/odk/collect/android/formentry/questions/QuestionDetails.java class QuestionDetails (line 10) | public class QuestionDetails { method QuestionDetails (line 15) | public QuestionDetails(FormEntryPrompt prompt) { method QuestionDetails (line 19) | public QuestionDetails(FormEntryPrompt prompt, boolean readOnlyOverrid... method getPrompt (line 24) | public FormEntryPrompt getPrompt() { method isReadOnly (line 28) | public boolean isReadOnly() { FILE: collect_app/src/main/java/org/odk/collect/android/formentry/repeats/DeleteRepeatDialogFragment.java class DeleteRepeatDialogFragment (line 24) | public class DeleteRepeatDialogFragment extends DialogFragment { method DeleteRepeatDialogFragment (line 31) | public DeleteRepeatDialogFragment(ViewModelProvider.Factory viewModelF... method onAttach (line 35) | @Override method onCreateDialog (line 43) | @NonNull FILE: collect_app/src/main/java/org/odk/collect/android/formentry/saving/DiskFormSaver.java class DiskFormSaver (line 15) | public class DiskFormSaver implements FormSaver { method save (line 17) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/formentry/saving/FormSaveViewModel.java class FormSaveViewModel (line 60) | public class FormSaveViewModel extends ViewModel implements MaterialProg... method FormSaveViewModel (line 98) | public FormSaveViewModel(SavedStateHandle stateHandle, Supplier ... method onCleared (line 132) | @Override method saveForm (line 137) | public void saveForm(Uri instanceContentURI, boolean shouldFinalize, S... method ignoreChanges (line 157) | public void ignoreChanges() { method resumeSave (line 198) | public void resumeSave() { method getAbsoluteInstancePath (line 217) | @Nullable method isSaving (line 222) | public boolean isSaving() { method cancel (line 226) | @Override method setReason (line 235) | public void setReason(@NonNull String reason) { method getReason (line 239) | public String getReason() { method saveReason (line 243) | private boolean saveReason() { method saveToDisk (line 252) | private void saveToDisk(SaveRequest saveRequest) { method handleTaskResult (line 267) | private void handleTaskResult(SaveToDiskResult taskResult, SaveRequest... method getSaveResult (line 321) | public LiveData getSaveResult() { method resumeFormEntry (line 325) | public void resumeFormEntry() { method requiresReasonToSave (line 329) | private boolean requiresReasonToSave() { method getFormName (line 335) | public String getFormName() { method deleteAnswerFile (line 342) | @Override method replaceAnswerFile (line 356) | @Override method createAnswerFile (line 369) | @Override method getAnswerFile (line 412) | @Override method isSavingAnswerFile (line 422) | public LiveData isSavingAnswerFile() { method clearMediaFiles (line 426) | private void clearMediaFiles() { method getAnswerFileError (line 431) | public LiveData getAnswerFileError() { method answerFileErrorDisplayed (line 435) | public void answerFileErrorDisplayed() { method canBeFullyDiscarded (line 439) | public boolean canBeFullyDiscarded() { method getLastSavedTime (line 443) | public Long getLastSavedTime() { method getInstance (line 447) | @Nullable method removeSavepoint (line 452) | private void removeSavepoint(long formDbId, @Nullable Long instanceDbI... class SaveResult (line 460) | public static class SaveResult { method SaveResult (line 465) | SaveResult(State state, SaveRequest request) { method SaveResult (line 469) | SaveResult(State state, SaveRequest request, String message) { method getState (line 475) | public State getState() { method getMessage (line 479) | public String getMessage() { type State (line 483) | public enum State { method getRequest (line 493) | public SaveRequest getRequest() { class SaveRequest (line 498) | public static class SaveRequest { method SaveRequest (line 505) | SaveRequest(Uri instanceContentURI, boolean viewExiting, String upda... method shouldFinalize (line 512) | public boolean shouldFinalize() { method viewExiting (line 516) | public boolean viewExiting() { class SaveTask (line 521) | private static class SaveTask extends AsyncTask fetchFormDetails(FormsRepository formsReposi... FILE: collect_app/src/main/java/org/odk/collect/android/fragments/MediaLoadingFragment.java class MediaLoadingFragment (line 15) | public class MediaLoadingFragment extends Fragment { method beginMediaLoadingTask (line 19) | public void beginMediaLoadingTask(Uri uri, FormController formControll... method onCreate (line 24) | @Override method onAttach (line 30) | @Override method isMediaLoadingTaskRunning (line 38) | public boolean isMediaLoadingTaskRunning() { FILE: collect_app/src/main/java/org/odk/collect/android/fragments/dialogs/LocationProvidersDisabledDialog.java class LocationProvidersDisabledDialog (line 30) | public class LocationProvidersDisabledDialog extends DialogFragment { method newInstance (line 34) | public static LocationProvidersDisabledDialog newInstance() { method show (line 43) | @Override method onCreateDialog (line 55) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/fragments/dialogs/MovingBackwardsDialog.java class MovingBackwardsDialog (line 27) | public class MovingBackwardsDialog extends DialogFragment { type MovingBackwardsDialogListener (line 31) | public interface MovingBackwardsDialogListener { method preventOtherWaysOfEditingForm (line 32) | void preventOtherWaysOfEditingForm(); method onAttach (line 37) | @Override method onCreateDialog (line 45) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/fragments/dialogs/RankingWidgetDialog.java class RankingWidgetDialog (line 53) | public class RankingWidgetDialog extends DialogFragment { type RankingListener (line 60) | public interface RankingListener { method onRankingChanged (line 61) | void onRankingChanged(List items); method RankingWidgetDialog (line 64) | public RankingWidgetDialog() { method RankingWidgetDialog (line 67) | public RankingWidgetDialog(List items, FormEntryPrompt f... method onAttach (line 72) | @Override method onCreateDialog (line 84) | @Override method setUpRankingLayout (line 96) | private NestedScrollView setUpRankingLayout() { method setUpPositionsLayout (line 113) | private LinearLayout setUpPositionsLayout() { method setUpRecyclerView (line 132) | private RecyclerView setUpRecyclerView() { FILE: collect_app/src/main/java/org/odk/collect/android/fragments/dialogs/ResetSettingsResultDialog.java class ResetSettingsResultDialog (line 27) | public class ResetSettingsResultDialog extends DialogFragment { type ResetSettingsResultDialogListener (line 32) | public interface ResetSettingsResultDialogListener { method onDialogClosed (line 33) | void onDialogClosed(); method newInstance (line 38) | public static ResetSettingsResultDialog newInstance(String dialogMessa... method onAttach (line 47) | @Override method onCreateDialog (line 55) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/fragments/dialogs/SelectMinimalDialog.java class SelectMinimalDialog (line 30) | public abstract class SelectMinimalDialog extends MaterialFullScreenDial... type SelectMinimalDialogListener (line 44) | public interface SelectMinimalDialogListener { method updateSelectedItems (line 45) | void updateSelectedItems(List items); method SelectMinimalDialog (line 48) | public SelectMinimalDialog() { method SelectMinimalDialog (line 51) | public SelectMinimalDialog(boolean isFlex, boolean isAutoComplete) { method onAttach (line 56) | @Override method onCreateView (line 69) | @Override method onViewCreated (line 75) | @Override method onDestroyView (line 82) | @Override method onCloseClicked (line 89) | @Override method onBackPressed (line 94) | @Override method closeDialogAndSaveAnswers (line 99) | protected void closeDialogAndSaveAnswers() { method getToolbar (line 107) | @Nullable method initToolbar (line 113) | private void initToolbar() { method initSearchBar (line 121) | private void initSearchBar() { method initRecyclerView (line 143) | private void initRecyclerView() { method setListener (line 150) | public void setListener(SelectMinimalDialogListener listener) { FILE: collect_app/src/main/java/org/odk/collect/android/fragments/dialogs/SelectMultiMinimalDialog.java class SelectMultiMinimalDialog (line 14) | public class SelectMultiMinimalDialog extends SelectMinimalDialog { method SelectMultiMinimalDialog (line 15) | public SelectMultiMinimalDialog() { method SelectMultiMinimalDialog (line 18) | public SelectMultiMinimalDialog(List selectedItems, boolean... FILE: collect_app/src/main/java/org/odk/collect/android/fragments/dialogs/SelectOneMinimalDialog.java class SelectOneMinimalDialog (line 17) | public class SelectOneMinimalDialog extends SelectMinimalDialog implemen... method SelectOneMinimalDialog (line 18) | public SelectOneMinimalDialog() { method SelectOneMinimalDialog (line 21) | public SelectOneMinimalDialog(String selectedItem, boolean isFlex, boo... method onViewCreated (line 29) | @Override method onItemClicked (line 36) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/fragments/dialogs/SimpleDialog.java class SimpleDialog (line 33) | public class SimpleDialog extends DialogFragment { method newInstance (line 43) | public static SimpleDialog newInstance(String dialogTitle, int iconId,... method show (line 61) | @Override method onCreateDialog (line 73) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/fragments/viewmodels/RankingViewModel.java class RankingViewModel (line 12) | public class RankingViewModel extends ViewModel { method RankingViewModel (line 17) | private RankingViewModel(List items, FormEntryPrompt for... method getItems (line 22) | public List getItems() { method getFormEntryPrompt (line 26) | public FormEntryPrompt getFormEntryPrompt() { class Factory (line 30) | public static class Factory implements ViewModelProvider.Factory { method Factory (line 34) | public Factory(List items, FormEntryPrompt formEntryPr... method create (line 39) | @NonNull FILE: collect_app/src/main/java/org/odk/collect/android/fragments/viewmodels/SelectMinimalViewModel.java class SelectMinimalViewModel (line 9) | public class SelectMinimalViewModel extends ViewModel { method SelectMinimalViewModel (line 14) | private SelectMinimalViewModel(AbstractSelectListAdapter selectListAda... method getSelectListAdapter (line 20) | public AbstractSelectListAdapter getSelectListAdapter() { method isFlex (line 24) | public boolean isFlex() { method isAutoComplete (line 28) | public boolean isAutoComplete() { class Factory (line 32) | public static class Factory implements ViewModelProvider.Factory { method Factory (line 37) | public Factory(AbstractSelectListAdapter selectListAdapter, boolean ... method create (line 43) | @NonNull FILE: collect_app/src/main/java/org/odk/collect/android/geo/MapConfiguratorProvider.java class MapConfiguratorProvider (line 32) | public class MapConfiguratorProvider { method MapConfiguratorProvider (line 42) | private MapConfiguratorProvider() { method initOptions (line 51) | public static void initOptions(Context context) { method getConfigurator (line 121) | public static @NonNull method getConfigurator (line 130) | public static @NonNull MapConfigurator getConfigurator(String id) { method getIds (line 135) | public static String[] getIds() { method getLabelIds (line 144) | public static int[] getLabelIds() { method isMapboxSupported (line 152) | private static boolean isMapboxSupported() { method getOption (line 160) | private static @NonNull SourceOption getOption(String id) { method getApplication (line 173) | private static Collect getApplication() { class SourceOption (line 177) | private static class SourceOption { method SourceOption (line 182) | private SourceOption(String id, int labelId, MapConfigurator cftor) { FILE: collect_app/src/main/java/org/odk/collect/android/injection/config/AppDependencyModule.java class AppDependencyModule (line 164) | @Module method context (line 167) | @Provides method provideMimeTypeMap (line 172) | @Provides method providesUserAgent (line 177) | @Provides method provideHttpInterface (line 183) | @Provides method provideWebCredentials (line 194) | @Provides method providesAnalytics (line 199) | @Provides method providesPermissionsProvider (line 210) | @Provides method providesReferenceManager (line 215) | @Provides method providesSettingsProvider (line 220) | @Provides method providesInstallIDProvider (line 227) | @Provides method providesStoragePathProvider (line 232) | @Provides method providesAdminPasswordProvider (line 243) | @Provides method providesFormUpdateManger (line 248) | @Provides method providesFormSubmitManager (line 253) | @Provides method providesNetworkStateProvider (line 258) | @Provides method providesQRCodeGenerator (line 263) | @Provides method providesVersionInformation (line 268) | @Provides method providesFileProvider (line 273) | @Provides method providesWorkManager (line 278) | @Provides method providesScheduler (line 283) | @Provides method providesPreferenceMigrator (line 292) | @Provides method providesPropertyManager (line 297) | @Provides method providesSettingsChangeHandler (line 303) | @Provides method providesODKAppSettingsImporter (line 308) | @Provides method providesQRCodeDecoder (line 333) | @Provides method providesNotifier (line 338) | @Provides method providesChangeLockProvider (line 343) | @Provides method providesScreenUtils (line 349) | @Provides method providesAudioRecorder (line 354) | @Provides method provideEntitiesRepositoryProvider (line 359) | @Provides method provideSoftKeyboardController (line 364) | @Provides method providesJsonPreferencesGenerator (line 369) | @Provides method providesPermissionsChecker (line 374) | @Provides method providesExternalAppIntentProvider (line 380) | @Provides method providesFormSessionStore (line 386) | @Provides method providesWebPageService (line 391) | @Provides method providesProjectsRepository (line 396) | @Provides method providesProjectCreator (line 402) | @Provides method providesGson (line 408) | @Provides method providesUUIDGenerator (line 413) | @Provides method providesInstancesDataService (line 419) | @Provides method providesItemsetsRepository (line 433) | @Provides method providesCurrentProjectProvider (line 438) | @Provides method providesFormsRepositoryProvider (line 443) | @Provides method providesInstancesRepositoryProvider (line 448) | @Provides method providesSavepointsRepositoryProvider (line 453) | @Provides method providesProjectPreferencesViewModel (line 458) | @Provides method providesReadyToSendViewModel (line 463) | @Provides method providesMainMenuViewModelFactory (line 468) | @Provides method providesAnalyticsInitializer (line 478) | @Provides method providesFormSourceProvider (line 483) | @Provides method providesFormsUpdater (line 488) | @Provides method providesAutoSendSettingsProvider (line 493) | @Provides method providesExistingProjectMigrator (line 498) | @Provides method providesFormUpdatesUpgrader (line 503) | @Provides method providesExistingSettingsMigrator (line 508) | @Provides method providesGoogleDriveProjectsDeleter (line 513) | @Provides method providesUpgradeInitializer (line 518) | @Provides method providesApplicationInitializer (line 532) | @Provides method providesProjectDeleter (line 537) | @Provides method providesProjectResetter (line 542) | @Provides method providesDisabledPreferencesRemover (line 547) | @Provides method providesReferenceLayerRepository (line 552) | @Provides method providesIntentLauncher (line 563) | @Provides method providesLocationClient (line 568) | @Provides method providesFusedLocationClient (line 573) | @Provides method providesMediaUtils (line 579) | @Provides method providesMapFragmentFactory (line 584) | @Provides method providesImageLoader (line 589) | @Provides method providesBlankFormListViewModel (line 594) | @Provides method providesImageCompressorManager (line 599) | @Provides method formEntryControllerFactory (line 605) | @Provides method providesBroadcastReceiverRegister (line 612) | @Provides method providesRestrictionsManager (line 617) | @Provides method providesMDMConfigObserver (line 622) | @Provides method providesBarcodeScannerViewFactory (line 653) | @Provides method providesAudioPlayerFactory (line 658) | @Provides method providesUniqueIdGenerator (line 663) | @Provides FILE: collect_app/src/main/java/org/odk/collect/android/instancemanagement/InstanceDiskSynchronizer.java class InstanceDiskSynchronizer (line 53) | public class InstanceDiskSynchronizer { method getStatusMessage (line 63) | public String getStatusMessage() { method InstanceDiskSynchronizer (line 67) | public InstanceDiskSynchronizer(SettingsProvider settingsProvider) { method doInBackground (line 74) | public String doInBackground() { method getFormIdFromInstance (line 157) | private String getFormIdFromInstance(final String instancePath) { method getInstanceIdFromInstance (line 171) | private String getInstanceIdFromInstance(final String instancePath) { method encryptInstanceIfNeeded (line 185) | private void encryptInstanceIfNeeded(Form form, Instance instance) thr... method encryptInstance (line 193) | private void encryptInstance(Instance instance) throws EncryptionExcep... method shouldInstanceBeEncrypted (line 222) | private boolean shouldInstanceBeEncrypted(Form form) { FILE: collect_app/src/main/java/org/odk/collect/android/instancemanagement/send/InstanceUploaderActivity.java class InstanceUploaderActivity (line 57) | public class InstanceUploaderActivity extends LocalizedActivity implemen... method onCreate (line 96) | @Override method init (line 106) | private void init(Bundle savedInstanceState) { method onResume (line 203) | @Override method onPostResume (line 214) | @Override method onSaveInstanceState (line 220) | @Override method onRetainCustomNonConfigurationInstance (line 238) | @Override method onDestroy (line 243) | @Override method uploadingComplete (line 251) | @Override method progressUpdate (line 271) | @Override method onCreateDialog (line 277) | @Override method authRequest (line 323) | @Override method createUploadInstancesResultDialog (line 359) | private void createUploadInstancesResultDialog(String message) { method updatedCredentials (line 367) | @Override method cancelledUpdatingCredentials (line 385) | @Override method getReferrerUri (line 390) | private String getReferrerUri() { FILE: collect_app/src/main/java/org/odk/collect/android/instancemanagement/send/InstanceUploaderListActivity.java class InstanceUploaderListActivity (line 93) | public class InstanceUploaderListActivity extends LocalizedActivity impl... method onCreate (line 141) | @Override method onUploadButtonsClicked (line 186) | public void onUploadButtonsClicked() { method init (line 209) | void init() { method updateAutoSendStatus (line 254) | private void updateAutoSendStatus() { method onResume (line 272) | @Override method uploadSelectedFiles (line 279) | private void uploadSelectedFiles(long[] instanceIds) { method onCreateOptionsMenu (line 285) | @Override method onOptionsItemSelected (line 336) | @Override method createPreferencesMenu (line 366) | private void createPreferencesMenu() { method onItemClick (line 371) | @Override method onSaveInstanceState (line 385) | @Override method onActivityResult (line 399) | @Override method setupAdapter (line 420) | private void setupAdapter() { method getSortingOrderKey (line 428) | private String getSortingOrderKey() { method updateAdapter (line 432) | private void updateAdapter() { method onCreateLoader (line 436) | @NonNull method onLoadFinished (line 447) | @Override method onLoaderReset (line 461) | @Override method onLongClick (line 466) | @Override method showSentAndUnsentChoices (line 475) | private boolean showSentAndUnsentChoices() { method getSortingOrder (line 504) | private String getSortingOrder() { method getSelectedSortingOrder (line 523) | private int getSelectedSortingOrder() { method restoreSelectedSortingOrder (line 530) | private void restoreSelectedSortingOrder() { method showProgressBar (line 534) | private void showProgressBar() { method hideProgressBarAndAllow (line 538) | private void hideProgressBarAndAllow() { method hideProgressBar (line 542) | private void hideProgressBar() { method getFilterText (line 546) | private CharSequence getFilterText() { method saveSelectedSortingOrder (line 550) | private void saveSelectedSortingOrder(int selectedStringOrder) { FILE: collect_app/src/main/java/org/odk/collect/android/javarosawrapper/FormIndexUtils.java class FormIndexUtils (line 10) | public final class FormIndexUtils { method FormIndexUtils (line 12) | private FormIndexUtils() { method getPreviousLevel (line 21) | @Nullable method getRepeatGroupIndex (line 30) | @Nullable FILE: collect_app/src/main/java/org/odk/collect/android/javarosawrapper/InstanceMetadata.java class InstanceMetadata (line 14) | public class InstanceMetadata { method InstanceMetadata (line 19) | public InstanceMetadata(String instanceId, String instanceName, AuditC... FILE: collect_app/src/main/java/org/odk/collect/android/javarosawrapper/JavaRosaFormController.java class JavaRosaFormController (line 75) | public class JavaRosaFormController implements FormController { method JavaRosaFormController (line 104) | public JavaRosaFormController(File mediaFolder, FormEntryController fe... method isEditing (line 111) | @Override method getFormDef (line 116) | public FormDef getFormDef() { method getMediaFolder (line 120) | public File getMediaFolder() { method getInstanceFile (line 124) | @Nullable method setInstanceFile (line 129) | public void setInstanceFile(File instanceFile) { method getAbsoluteInstancePath (line 133) | @Nullable method getLastSavedPath (line 138) | @Nullable method setIndexWaitingForData (line 143) | public void setIndexWaitingForData(FormIndex index) { method getIndexWaitingForData (line 147) | public FormIndex getIndexWaitingForData() { method getAuditEventLogger (line 151) | public AuditEventLogger getAuditEventLogger() { method getXPath (line 165) | public String getXPath(FormIndex index) { method getIndexFromXPath (line 196) | @Nullable method getEvent (line 229) | public int getEvent() { method getEvent (line 233) | public int getEvent(FormIndex index) { method getFormIndex (line 237) | public FormIndex getFormIndex() { method getLanguages (line 241) | public String[] getLanguages() { method getFormTitle (line 245) | public String getFormTitle() { method getLanguage (line 249) | public String getLanguage() { method getBindAttribute (line 253) | private String getBindAttribute(FormIndex idx, String attributeNamespa... method getCaptionHierarchy (line 263) | private FormEntryCaption[] getCaptionHierarchy() { method getCaptionHierarchy (line 272) | private FormEntryCaption[] getCaptionHierarchy(FormIndex index) { method getCaptionPrompt (line 276) | public FormEntryCaption getCaptionPrompt(FormIndex index) { method getCaptionPrompt (line 280) | public FormEntryCaption getCaptionPrompt() { method finalizeForm (line 284) | public void finalizeForm() { method getInstance (line 291) | private FormInstance getInstance() { method groupIsFieldList (line 301) | private boolean groupIsFieldList(FormIndex index) { method repeatIsFieldList (line 311) | private boolean repeatIsFieldList(FormIndex index) { method getAppearanceAttr (line 318) | private String getAppearanceAttr(@NonNull FormIndex index) { method usesDatabaseExternalDataFeature (line 328) | public boolean usesDatabaseExternalDataFeature(@NonNull FormIndex inde... method indexIsInFieldList (line 336) | public boolean indexIsInFieldList(FormIndex index) { method indexIsInFieldList (line 364) | public boolean indexIsInFieldList() { method currentPromptIsQuestion (line 368) | public boolean currentPromptIsQuestion() { method isCurrentQuestionFirstInForm (line 375) | public boolean isCurrentQuestionFirstInForm() { method answerQuestion (line 388) | public int answerQuestion(FormIndex index, IAnswerData data) throws Ja... method validateAnswerConstraint (line 396) | public ValidationResult validateAnswerConstraint(FormIndex index, IAns... method validateAnswers (line 405) | public ValidationResult validateAnswers(boolean moveToInvalidIndex) th... method getFailedValidationResult (line 423) | private ValidationResult getFailedValidationResult(FormIndex index, in... method saveAnswer (line 443) | public boolean saveAnswer(FormIndex index, IAnswerData data) throws Ja... method stepToNextEvent (line 456) | public int stepToNextEvent(boolean stepIntoGroup) { method stepOverGroup (line 466) | public int stepOverGroup() { method stepToPreviousScreenEvent (line 477) | public int stepToPreviousScreenEvent() throws JavaRosaException { method stepToNextScreenEvent (line 513) | public int stepToNextScreenEvent() throws JavaRosaException { method stepToNextEventType (line 556) | private int stepToNextEventType(int eventType) { method stepToOuterScreenEvent (line 568) | public int stepToOuterScreenEvent() { method isDisplayableGroup (line 610) | public boolean isDisplayableGroup(FormIndex index) { method isPresentationGroup (line 622) | private boolean isPresentationGroup(FormIndex groupIndex) { method isLogicalGroup (line 633) | private boolean isLogicalGroup(FormIndex groupIndex) { method saveAllScreenAnswers (line 642) | public ValidationResult saveAllScreenAnswers(HashMap getIndicesForGroup(GroupDef gd) { method getIndicesForGroup (line 805) | private List getIndicesForGroup(GroupDef gd, FormIndex curr... method isGroupRelevant (line 825) | public boolean isGroupRelevant() { method getQuestionPrompt (line 836) | public FormEntryPrompt getQuestionPrompt(FormIndex index) { method getQuestionPrompt (line 840) | public FormEntryPrompt getQuestionPrompt() { method getQuestionPromptConstraintText (line 844) | public String getQuestionPromptConstraintText(FormIndex index) { method currentCaptionPromptIsQuestion (line 848) | public boolean currentCaptionPromptIsQuestion() { method getQuestionPromptRequiredText (line 852) | public String getQuestionPromptRequiredText(FormIndex index) { method getGroupsForIndex (line 889) | public FormEntryCaption[] getGroupsForIndex(FormIndex index) { method indexContainsRepeatableGroup (line 915) | public boolean indexContainsRepeatableGroup() { method indexContainsRepeatableGroup (line 919) | public boolean indexContainsRepeatableGroup(FormIndex formIndex) { method getLastRepeatedGroupRepeatCount (line 932) | public int getLastRepeatedGroupRepeatCount() { method getLastRepeatedGroupName (line 945) | public String getLastRepeatedGroupName() { method getLastGroup (line 963) | private FormEntryCaption getLastGroup() { method getLastGroupText (line 972) | public String getLastGroupText() { method getSubmissionDataReference (line 982) | private IDataReference getSubmissionDataReference() { method isSubmissionEntireForm (line 993) | public boolean isSubmissionEntireForm() { method getFilledInFormXml (line 998) | public ByteArrayPayload getFilledInFormXml() throws IOException { method getSubmissionXml (line 1006) | public ByteArrayPayload getSubmissionXml() throws IOException { method findDepthFirst (line 1016) | private TreeElement findDepthFirst(TreeElement parent, String name) { method getSubmissionMetadata (line 1032) | public InstanceMetadata getSubmissionMetadata() { method currentFormAuditsLocation (line 1109) | public boolean currentFormAuditsLocation() { method currentFormCollectsBackgroundLocation (line 1115) | public boolean currentFormCollectsBackgroundLocation() { method getAnswer (line 1119) | public IAnswerData getAnswer(TreeReference treeReference) { method getEntities (line 1123) | public EntitiesExtra getEntities() { FILE: collect_app/src/main/java/org/odk/collect/android/listeners/AdvanceToNextListener.java type AdvanceToNextListener (line 17) | public interface AdvanceToNextListener { method advance (line 19) | void advance(); FILE: collect_app/src/main/java/org/odk/collect/android/listeners/DeleteInstancesListener.java type DeleteInstancesListener (line 23) | public interface DeleteInstancesListener { method deleteComplete (line 24) | void deleteComplete(int deletedInstances); method progressUpdate (line 26) | void progressUpdate(int progress, int total); FILE: collect_app/src/main/java/org/odk/collect/android/listeners/DownloadFormsTaskListener.java type DownloadFormsTaskListener (line 25) | public interface DownloadFormsTaskListener { method formsDownloadingComplete (line 26) | void formsDownloadingComplete(Map fo... FILE: collect_app/src/main/java/org/odk/collect/android/listeners/FormLoaderListener.java type FormLoaderListener (line 24) | public interface FormLoaderListener extends ProgressNotifier { method loadingComplete (line 25) | void loadingComplete(FormLoaderTask task, FormDef fd, String warningMsg); method loadingError (line 27) | void loadingError(String errorMsg); FILE: collect_app/src/main/java/org/odk/collect/android/listeners/InstanceUploaderListener.java type InstanceUploaderListener (line 24) | public interface InstanceUploaderListener { method uploadingComplete (line 25) | void uploadingComplete(HashMap result); method progressUpdate (line 27) | void progressUpdate(int progress, int total); method authRequest (line 29) | void authRequest(Uri url, HashMap doneSoFar); FILE: collect_app/src/main/java/org/odk/collect/android/listeners/Result.java type Result (line 8) | public interface Result { method onComplete (line 9) | void onComplete(T result); FILE: collect_app/src/main/java/org/odk/collect/android/listeners/SelectItemClickListener.java type SelectItemClickListener (line 3) | public interface SelectItemClickListener { method onItemClicked (line 4) | void onItemClicked(); FILE: collect_app/src/main/java/org/odk/collect/android/listeners/ThousandsSeparatorTextWatcher.java class ThousandsSeparatorTextWatcher (line 18) | public class ThousandsSeparatorTextWatcher implements TextWatcher { method ThousandsSeparatorTextWatcher (line 23) | public ThousandsSeparatorTextWatcher(EditText editText) { method beforeTextChanged (line 35) | @Override method onTextChanged (line 40) | @Override method afterTextChanged (line 43) | @Override method getDecimalFormattedString (line 67) | private static String getDecimalFormattedString(String value) { method getOriginalString (line 101) | public static String getOriginalString(String string) { FILE: collect_app/src/main/java/org/odk/collect/android/listeners/WidgetValueChangedListener.java type WidgetValueChangedListener (line 5) | public interface WidgetValueChangedListener { method widgetValueChanged (line 6) | void widgetValueChanged(QuestionWidget changedWidget); FILE: collect_app/src/main/java/org/odk/collect/android/location/client/MaxAccuracyWithinTimeoutLocationClientWrapper.java class MaxAccuracyWithinTimeoutLocationClientWrapper (line 21) | public class MaxAccuracyWithinTimeoutLocationClientWrapper implements Lo... method MaxAccuracyWithinTimeoutLocationClientWrapper (line 34) | public MaxAccuracyWithinTimeoutLocationClientWrapper(LocationClient lo... method requestLocationUpdates (line 45) | public void requestLocationUpdates(long timeoutSeconds) { method onClientStart (line 61) | @Override method onClientStartFailure (line 73) | @Override method onClientStop (line 78) | @Override method onLocationChanged (line 94) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/logic/FileReference.java class FileReference (line 19) | public class FileReference implements Reference { method FileReference (line 23) | public FileReference(String localPart, String referencePart) { method getInternalURI (line 28) | private String getInternalURI() { method doesBinaryExist (line 32) | @Override method getStream (line 37) | @Override method getURI (line 42) | @Override method isReadOnly (line 47) | @Override method getOutputStream (line 52) | @Override method remove (line 57) | @Override method getLocalURI (line 63) | @Override method probeAlternativeReferences (line 68) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/logic/FileReferenceFactory.java class FileReferenceFactory (line 13) | public class FileReferenceFactory extends PrefixedRootFactory { method FileReferenceFactory (line 17) | public FileReferenceFactory(String localRoot) { method factory (line 24) | @Override method toString (line 29) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/logic/ImmutableDisplayableQuestion.java class ImmutableDisplayableQuestion (line 34) | public class ImmutableDisplayableQuestion { method ImmutableDisplayableQuestion (line 79) | public ImmutableDisplayableQuestion(FormEntryPrompt question) { method getFormIndex (line 95) | public FormIndex getFormIndex() { method getAnswerText (line 99) | public Object getAnswerText() { method sameAs (line 107) | public boolean sameAs(FormEntryPrompt question) { method selectChoiceListsEqual (line 119) | private static boolean selectChoiceListsEqual(List selec... method getGuidanceHintText (line 140) | private static String getGuidanceHintText(FormEntryPrompt question) { method selectChoicesEqual (line 152) | private static boolean selectChoicesEqual(SelectChoice selectChoice1, ... FILE: collect_app/src/main/java/org/odk/collect/android/logic/actions/setgeopoint/CollectSetGeopointAction.java class CollectSetGeopointAction (line 52) | public class CollectSetGeopointAction extends SetGeopointAction implemen... method CollectSetGeopointAction (line 57) | public CollectSetGeopointAction() { method CollectSetGeopointAction (line 62) | CollectSetGeopointAction(TreeReference targetReference) { method requestLocationUpdates (line 66) | @Override method onLocationChanged (line 89) | @Override method isBackgroundLocationEnabled (line 101) | private boolean isBackgroundLocationEnabled() { FILE: collect_app/src/main/java/org/odk/collect/android/logic/actions/setgeopoint/CollectSetGeopointActionHandler.java class CollectSetGeopointActionHandler (line 25) | public class CollectSetGeopointActionHandler extends SetGeopointActionHa... method getSetGeopointAction (line 26) | public SetGeopointAction getSetGeopointAction() { FILE: collect_app/src/main/java/org/odk/collect/android/preferences/ServerPreferencesAdder.java class ServerPreferencesAdder (line 28) | public class ServerPreferencesAdder { method ServerPreferencesAdder (line 32) | public ServerPreferencesAdder(PreferenceFragmentCompat fragment) { method add (line 36) | public boolean add() { FILE: collect_app/src/main/java/org/odk/collect/android/preferences/dialogs/ResetDialogPreference.java class ResetDialogPreference (line 26) | public class ResetDialogPreference extends DialogPreference { method ResetDialogPreference (line 28) | public ResetDialogPreference(Context context, AttributeSet attrs) { method getDialogLayoutResource (line 32) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/preferences/dialogs/ResetDialogPreferenceFragmentCompat.java class ResetDialogPreferenceFragmentCompat (line 34) | public class ResetDialogPreferenceFragmentCompat extends PreferenceDialo... method newInstance (line 47) | public static ResetDialogPreferenceFragmentCompat newInstance(String k... method onAttach (line 55) | @Override method onBindDialogView (line 63) | @Override method onStart (line 78) | @Override method onDetach (line 84) | @Override method onClick (line 94) | @Override method onDialogClosed (line 101) | @Override method resetSelected (line 105) | private void resetSelected() { method handleResult (line 147) | private void handleResult(final List resetActions, List { method MediaLoadingTask (line 35) | public MediaLoadingTask(FormFillingActivity formFillingActivity, File ... method onAttach (line 40) | public void onAttach(FormFillingActivity formFillingActivity) { method doInBackground (line 45) | @Override method onPostExecute (line 64) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/tasks/ProgressNotifier.java type ProgressNotifier (line 26) | public interface ProgressNotifier { method onProgressStep (line 28) | void onProgressStep(String stepMessage); FILE: collect_app/src/main/java/org/odk/collect/android/tasks/SaveFormIndexTask.java class SaveFormIndexTask (line 32) | public class SaveFormIndexTask extends AsyncTask { type SaveFormIndexListener (line 38) | public interface SaveFormIndexListener { method onSaveFormIndexError (line 39) | void onSaveFormIndexError(String errorMessage); method SaveFormIndexTask (line 42) | public SaveFormIndexTask(SaveFormIndexListener listener, FormIndex for... method doInBackground (line 48) | @Override method onPostExecute (line 67) | @Override method exportFormIndexToFile (line 76) | public static void exportFormIndexToFile(FormIndex formIndex, File sav... method loadFormIndexFromFile (line 87) | public static FormIndex loadFormIndexFromFile(FormController formContr... FILE: collect_app/src/main/java/org/odk/collect/android/tasks/SaveFormToDisk.java class SaveFormToDisk (line 81) | public class SaveFormToDisk { method SaveFormToDisk (line 100) | public SaveFormToDisk(FormController formController, MediaUtils mediaU... method saveForm (line 115) | @Nullable method updateInstanceDatabase (line 179) | private Instance updateInstanceDatabase(boolean incomplete, boolean ca... method extractGeometryContentValues (line 261) | private Pair extractGeometryContentValues(FormInstance... method toGeoJson (line 300) | @NonNull method getFormIndexFile (line 320) | public static File getFormIndexFile(String instanceName) { method removeIndexFile (line 325) | public static void removeIndexFile(String instanceName) { method exportData (line 335) | private Instance exportData(boolean markCompleted, FormSaver.ProgressL... method getGeometryXpathForInstance (line 452) | private static String getGeometryXpathForInstance(Instance instance) { method manageFilesAfterSavingEncryptedForm (line 461) | public static void manageFilesAfterSavingEncryptedForm(File instanceXm... method writeFile (line 491) | public static void writeFile(ByteArrayPayload payload, File file) thro... FILE: collect_app/src/main/java/org/odk/collect/android/tasks/SaveToDiskResult.java class SaveToDiskResult (line 28) | public class SaveToDiskResult { method getSaveResult (line 35) | public int getSaveResult() { method isComplete (line 39) | public boolean isComplete() { method setSaveResult (line 43) | public void setSaveResult(int saveResult, boolean complete) { method setSaveErrorMessage (line 48) | public void setSaveErrorMessage(String saveErrorMessage) { method getSaveErrorMessage (line 52) | public String getSaveErrorMessage() { method setInstance (line 56) | public void setInstance(Instance instance) { method getInstance (line 60) | public Instance getInstance() { FILE: collect_app/src/main/java/org/odk/collect/android/upload/InstanceServerUploader.java class InstanceServerUploader (line 50) | public class InstanceServerUploader extends InstanceUploader { method InstanceServerUploader (line 58) | public InstanceServerUploader(OpenRosaHttpInterface httpInterface, method uploadOneSubmission (line 73) | @Override method getFilesInParentDirectory (line 230) | private List getFilesInParentDirectory(File instanceFile, File s... method getUrlToSubmitTo (line 265) | @Override method getServerSubmissionURL (line 288) | private String getServerSubmissionURL() { FILE: collect_app/src/main/java/org/odk/collect/android/upload/InstanceUploader.java class InstanceUploader (line 26) | public abstract class InstanceUploader { method InstanceUploader (line 30) | public InstanceUploader(InstancesRepository instancesRepository) { method uploadOneSubmission (line 42) | @Nullable method getUrlToSubmitTo (line 45) | @NonNull method getInstancesFromIds (line 51) | public List getInstancesFromIds(Long... instanceDatabaseIds) { method markSubmissionFailed (line 61) | public void markSubmissionFailed(Instance instance) { method markSubmissionComplete (line 69) | public void markSubmissionComplete(Instance instance) { FILE: collect_app/src/main/java/org/odk/collect/android/utilities/AdminPasswordProvider.java class AdminPasswordProvider (line 7) | public class AdminPasswordProvider { method AdminPasswordProvider (line 10) | public AdminPasswordProvider(Settings adminSettings) { method isAdminPasswordSet (line 14) | public boolean isAdminPasswordSet() { method getAdminPassword (line 19) | public String getAdminPassword() { FILE: collect_app/src/main/java/org/odk/collect/android/utilities/AndroidUserAgent.java class AndroidUserAgent (line 6) | public final class AndroidUserAgent implements UserAgentProvider { method getUserAgent (line 8) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/utilities/AnimationUtils.java class AnimationUtils (line 18) | public final class AnimationUtils { method AnimationUtils (line 22) | private AnimationUtils() { method expand (line 29) | public static Animation expand(final View view, Result result) { method collapse (line 79) | public static Animation collapse(final View view, Result resu... method computeDurationFromHeight (line 127) | private static int computeDurationFromHeight(View view) { method areAnimationsEnabled (line 132) | public static boolean areAnimationsEnabled(Context context) { FILE: collect_app/src/main/java/org/odk/collect/android/utilities/ApplicationConstants.java class ApplicationConstants (line 21) | public class ApplicationConstants { method ApplicationConstants (line 23) | private ApplicationConstants() { class BundleKeys (line 27) | public abstract static class BundleKeys { class SortingOrder (line 37) | public abstract static class SortingOrder { class RequestCodes (line 46) | public abstract static class RequestCodes { class Namespaces (line 77) | public abstract static class Namespaces { FILE: collect_app/src/main/java/org/odk/collect/android/utilities/ArrayUtils.java class ArrayUtils (line 3) | public final class ArrayUtils { method ArrayUtils (line 15) | private ArrayUtils() { method toObject (line 25) | @SuppressWarnings("PMD.AvoidArrayLoops") method toPrimitive (line 43) | @SuppressWarnings("PMD.AvoidArrayLoops") FILE: collect_app/src/main/java/org/odk/collect/android/utilities/AuthDialogUtility.java class AuthDialogUtility (line 38) | public class AuthDialogUtility { method AuthDialogUtility (line 51) | public AuthDialogUtility() { method createDialog (line 58) | @Deprecated method setCustomUsername (line 120) | public void setCustomUsername(String customUsername) { method setCustomPassword (line 124) | public void setCustomPassword(String customPassword) { type AuthDialogUtilityResultListener (line 128) | public interface AuthDialogUtilityResultListener { method updatedCredentials (line 129) | void updatedCredentials(); method cancelledUpdatingCredentials (line 131) | void cancelledUpdatingCredentials(); FILE: collect_app/src/main/java/org/odk/collect/android/utilities/CSVUtils.java class CSVUtils (line 8) | public final class CSVUtils { method CSVUtils (line 10) | private CSVUtils() { method getEscapedValueForCsv (line 14) | @Contract(value = "null -> null; !null -> !null", pure = true) method escapeDoubleQuote (line 23) | @Contract(value = "null -> null; !null -> !null", pure = true) method quoteStringIfNeeded (line 32) | @Contract(value = "null -> null; !null -> !null", pure = true) FILE: collect_app/src/main/java/org/odk/collect/android/utilities/ContentUriProvider.java class ContentUriProvider (line 23) | public final class ContentUriProvider { method getUriForFile (line 27) | public Uri getUriForFile(@NonNull Context context, @NonNull String aut... FILE: collect_app/src/main/java/org/odk/collect/android/utilities/DialogUtils.java class DialogUtils (line 32) | public final class DialogUtils { method DialogUtils (line 34) | private DialogUtils() { method showDialog (line 44) | public static void showDialog(Dialog dialog, Activity activity) { method getDialog (line 66) | @Deprecated FILE: collect_app/src/main/java/org/odk/collect/android/utilities/EncryptionUtils.java class EncryptionUtils (line 76) | public class EncryptionUtils { method EncryptionUtils (line 104) | private EncryptionUtils() { class EncryptedFormInformation (line 107) | public static final class EncryptedFormInformation { method EncryptedFormInformation (line 119) | EncryptedFormInformation(String formId, String formVersion, method appendElementSignatureSource (line 172) | public void appendElementSignatureSource(String value) { method appendFileSignatureSource (line 176) | public void appendFileSignatureSource(File file) { method getBase64EncryptedElementSignature (line 181) | public String getBase64EncryptedElementSignature() { method getCipher (line 222) | public Cipher getCipher() throws InvalidKeyException, method isNotBouncyCastle (line 241) | public boolean isNotBouncyCastle() { method getEncryptedFormInformation (line 258) | public static EncryptedFormInformation getEncryptedFormInformation(Uri... method encryptFile (line 348) | private static void encryptFile(File file, EncryptedFormInformation fo... method deletePlaintextFiles (line 397) | public static boolean deletePlaintextFiles(File instanceXml, @Nullable... method encryptSubmissionFiles (line 429) | private static List encryptSubmissionFiles(File instanceXml, method generateEncryptedSubmission (line 476) | public static void generateEncryptedSubmission(File instanceXml, method writeSubmissionManifest (line 495) | private static void writeSubmissionManifest( FILE: collect_app/src/main/java/org/odk/collect/android/utilities/ExternalAppIntentProvider.java class ExternalAppIntentProvider (line 15) | public class ExternalAppIntentProvider { method getIntentToRunExternalApp (line 19) | public Intent getIntentToRunExternalApp(FormController formController,... method getIntentToRunExternalAppWithoutDefaultCategory (line 49) | public Intent getIntentToRunExternalAppWithoutDefaultCategory(FormCont... FILE: collect_app/src/main/java/org/odk/collect/android/utilities/ExternalizableFormDefCache.java class ExternalizableFormDefCache (line 20) | public final class ExternalizableFormDefCache implements FormDefCache { method writeCache (line 30) | @Override method readCache (line 78) | @Override method getCacheFile (line 106) | private static File getCacheFile(File formXml) { method deserializeFormDef (line 111) | private static FormDef deserializeFormDef(File serializedFormDef) thro... FILE: collect_app/src/main/java/org/odk/collect/android/utilities/FileProvider.java type FileProvider (line 5) | public interface FileProvider { method getURIForFile (line 6) | Uri getURIForFile(String filePath); FILE: collect_app/src/main/java/org/odk/collect/android/utilities/FileUtils.java class FileUtils (line 55) | public final class FileUtils { method FileUtils (line 65) | private FileUtils() { method saveAnswerFileFromUri (line 68) | public static void saveAnswerFileFromUri(Uri uri, File destFile, Conte... method createDestinationMediaFile (line 77) | public static File createDestinationMediaFile(String fileLocation, Str... method createFolder (line 85) | public static boolean createFolder(String path) { method copyFile (line 90) | public static String copyFile(File sourceFile, File destFile) { method actualCopy (line 110) | private static String actualCopy(File sourceFile, File destFile) { method deleteAndReport (line 140) | public static void deleteAndReport(File file) { method getFormBasename (line 152) | public static String getFormBasename(File formXml) { method getFormBasename (line 156) | public static String getFormBasename(String formFilePath) { method constructMediaPath (line 160) | public static String constructMediaPath(String formFilePath) { method getFormMediaDir (line 164) | public static File getFormMediaDir(File formXml) { method getFormBasenameFromMediaFolder (line 169) | public static String getFormBasenameFromMediaFolder(File mediaFolder) { method getLastSavedFile (line 180) | public static File getLastSavedFile(File formXml) { method getLastSavedPath (line 184) | public static String getLastSavedPath(File mediaFolder) { method getOrCreateLastSavedSrc (line 192) | public static String getOrCreateLastSavedSrc(File formXml) { method checkMediaPath (line 205) | public static void checkMediaPath(File mediaDir) { method purgeMediaPath (line 225) | public static void purgeMediaPath(String mediaPath) { method read (line 238) | public static byte[] read(File file) { method write (line 248) | public static void write(File file, byte[] data) { method grantFilePermissions (line 259) | public static void grantFilePermissions(Intent intent, Uri uri, Contex... method expandAndroidStoragePath (line 264) | @SuppressWarnings("PMD.DoNotHardCodeSDCard") method getMimeType (line 273) | public static String getMimeType(File file) { method listFiles (line 289) | public static List listFiles(File file) { method getFilenameError (line 297) | public static String getFilenameError(String filename) { method interuptablyWriteFile (line 312) | public static void interuptablyWriteFile(InputStream inputStream, File... method copyFileFromAssets (line 402) | public static void copyFileFromAssets(Context context, String fileDest... method copyFileFromResources (line 406) | public static File copyFileFromResources(String fileSourcePath, File f... method copyFileFromResources (line 411) | public static void copyFileFromResources(String fileSourcePath, String... method getAssetAsStream (line 415) | @NonNull method getResourceAsStream (line 420) | @Nullable method copyStreamToPath (line 425) | private static void copyStreamToPath(InputStream inputStream, String f... FILE: collect_app/src/main/java/org/odk/collect/android/utilities/FormEntryPromptUtils.java class FormEntryPromptUtils (line 28) | public final class FormEntryPromptUtils { method FormEntryPromptUtils (line 30) | private FormEntryPromptUtils() { method styledQuestionText (line 33) | public static CharSequence styledQuestionText(String questionText, boo... method getBindAttribute (line 46) | @Nullable method getAdditionalAttribute (line 56) | @Nullable FILE: collect_app/src/main/java/org/odk/collect/android/utilities/FormNameUtils.java class FormNameUtils (line 22) | public final class FormNameUtils { method FormNameUtils (line 27) | private FormNameUtils() { method normalizeFormName (line 30) | public static String normalizeFormName(String formName, boolean return... method formatFilenameFromFormName (line 42) | public static String formatFilenameFromFormName(String formName) { FILE: collect_app/src/main/java/org/odk/collect/android/utilities/FormUtils.java class FormUtils (line 15) | public final class FormUtils { method FormUtils (line 17) | private FormUtils() { method getMediaFiles (line 21) | @NonNull method setupReferenceManagerForForm (line 32) | @Deprecated method setupReferenceManagerForForm (line 44) | public static void setupReferenceManagerForForm(ReferenceManager refer... method enumerateHostStrings (line 54) | public static String[] enumerateHostStrings() { method buildSessionRootTranslators (line 58) | public static List buildSessionRootTranslators(String ... method addSessionRootTranslators (line 68) | public static void addSessionRootTranslators(ReferenceManager referenc... FILE: collect_app/src/main/java/org/odk/collect/android/utilities/HtmlUtils.java class HtmlUtils (line 23) | public final class HtmlUtils { method matchFound (line 40) | public String matchFound(MatchResult match) { method sanitizeAttributes (line 46) | private String sanitizeAttributes(String attributes) { method HtmlUtils (line 68) | private HtmlUtils() { method markdownToHtml (line 72) | public static String markdownToHtml(String text) { method textToHtml (line 113) | public static CharSequence textToHtml(String text) { FILE: collect_app/src/main/java/org/odk/collect/android/utilities/InstanceUploaderUtils.java class InstanceUploaderUtils (line 33) | public final class InstanceUploaderUtils { method InstanceUploaderUtils (line 37) | private InstanceUploaderUtils() { method getUploadResultMessage (line 48) | public static String getUploadResultMessage(InstancesRepository instan... method getUploadResultMessageForInstances (line 65) | private static String getUploadResultMessageForInstances(Instance inst... method localizeDefaultAggregateSuccessfulText (line 79) | private static String localizeDefaultAggregateSuccessfulText(String te... FILE: collect_app/src/main/java/org/odk/collect/android/utilities/MyanmarDateUtils.java class MyanmarDateUtils (line 28) | public final class MyanmarDateUtils { method MyanmarDateUtils (line 30) | private MyanmarDateUtils() { method gregorianDateToMyanmarDate (line 33) | public static MyanmarDate gregorianDateToMyanmarDate(LocalDateTime loc... method myanmarDateToGregorianDate (line 43) | public static LocalDateTime myanmarDateToGregorianDate(MyanmarDate mya... method createMyanmarDate (line 55) | public static MyanmarDate createMyanmarDate(int myanmarYear, int myanm... method getMyanmarMonthsArray (line 59) | public static String[] getMyanmarMonthsArray(int myanmarYear) { method getFirstMonthDay (line 66) | public static int getFirstMonthDay(MyanmarDate myanmarDate) { method getFirstMonthDay (line 70) | private static int getFirstMonthDay(int myanmarYear, int monthIndex) { method getMonthId (line 74) | public static int getMonthId(MyanmarDate myanmarDate) { method getMonthLength (line 81) | public static int getMonthLength(MyanmarDate myanmarDate) { method getMonthLength (line 88) | public static int getMonthLength(int myanmarYear, int monthIndex) { method getNewYearsDay (line 93) | private static int getNewYearsDay(int myanmarYear) { method isLastMonthInYear (line 99) | private static boolean isLastMonthInYear(MyanmarDate myanmarDate) { method isFirstYearMonth (line 103) | private static boolean isFirstYearMonth(MyanmarDate myanmarDate) { method isFirstYearMonth (line 107) | private static boolean isFirstYearMonth(int myanmarYear, int monthInde... FILE: collect_app/src/main/java/org/odk/collect/android/utilities/QuestionMediaManager.java type QuestionMediaManager (line 15) | public interface QuestionMediaManager { method createAnswerFile (line 17) | LiveData> createAnswerFile(File file); method getAnswerFile (line 19) | @Nullable method deleteAnswerFile (line 22) | void deleteAnswerFile(String questionIndex, String fileName); method replaceAnswerFile (line 24) | void replaceAnswerFile(String questionIndex, String fileName); FILE: collect_app/src/main/java/org/odk/collect/android/utilities/RankingItemTouchHelperCallback.java class RankingItemTouchHelperCallback (line 25) | public class RankingItemTouchHelperCallback extends ItemTouchHelper.Call... method RankingItemTouchHelperCallback (line 29) | public RankingItemTouchHelperCallback(RankingListAdapter adapter) { method isLongPressDragEnabled (line 33) | @Override method isItemViewSwipeEnabled (line 38) | @Override method getMovementFlags (line 43) | @Override method onMove (line 48) | @Override method onSwiped (line 58) | @Override method onSelectedChanged (line 62) | @Override method clearView (line 71) | @Override method onChildDraw (line 78) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/utilities/ReplaceCallback.java class ReplaceCallback (line 24) | public class ReplaceCallback { method ReplaceCallback (line 26) | private ReplaceCallback() { method replace (line 33) | public static String replace(String pattern, String subject, Callback ... method replace (line 37) | public static String replace(String pattern, String subject, int limit... method replace (line 50) | public static String replace(String regex, String subject, int limit, type Callback (line 68) | public interface Callback { method matchFound (line 74) | String matchFound(MatchResult match); FILE: collect_app/src/main/java/org/odk/collect/android/utilities/ResponseMessageParser.java class ResponseMessageParser (line 15) | public class ResponseMessageParser { method isValid (line 22) | public boolean isValid() { method getMessageResponse (line 26) | public String getMessageResponse() { method setMessageResponse (line 30) | public void setMessageResponse(String response) { FILE: collect_app/src/main/java/org/odk/collect/android/utilities/SelectOneWidgetUtils.java class SelectOneWidgetUtils (line 12) | public final class SelectOneWidgetUtils { method SelectOneWidgetUtils (line 14) | private SelectOneWidgetUtils() { method getSelectedItem (line 18) | public static Selection getSelectedItem(FormEntryPrompt prompt, List items) { FILE: collect_app/src/main/java/org/odk/collect/android/utilities/WebCredentialsUtils.java class WebCredentialsUtils (line 20) | @Singleton method WebCredentialsUtils (line 27) | public WebCredentialsUtils(Settings generalSettings) { method saveCredentials (line 31) | public void saveCredentials(@NonNull String url, @NonNull String usern... method saveCredentialsPreferences (line 40) | public void saveCredentialsPreferences(String userName, String passwor... method clearCredentials (line 57) | public void clearCredentials(@NonNull String url) { method clearAllCredentials (line 68) | public static void clearAllCredentials() { method getServerUrlFromPreferences (line 72) | public String getServerUrlFromPreferences() { method getPasswordFromPreferences (line 76) | public String getPasswordFromPreferences() { method getUserNameFromPreferences (line 80) | public String getUserNameFromPreferences() { method getCredentials (line 90) | public @NonNull HttpCredentialsInterface getCredentials(@NonNull URI u... FILE: collect_app/src/main/java/org/odk/collect/android/utilities/ZipUtils.java class ZipUtils (line 37) | public final class ZipUtils { method ZipUtils (line 39) | private ZipUtils() { method unzip (line 43) | public static void unzip(File[] zipFiles) { method doExtractInTheSameFolder (line 56) | private static void doExtractInTheSameFolder(File zipFile, ZipInputStr... FILE: collect_app/src/main/java/org/odk/collect/android/version/VersionDescriptionProvider.java type VersionDescriptionProvider (line 3) | public interface VersionDescriptionProvider { method getVersionDescription (line 4) | String getVersionDescription(); FILE: collect_app/src/main/java/org/odk/collect/android/version/VersionInformation.java class VersionInformation (line 5) | public class VersionInformation { method VersionInformation (line 12) | public VersionInformation(VersionDescriptionProvider versionDescriptio... method getSemanticVersion (line 16) | public String getSemanticVersion() { method getBetaNumber (line 20) | @Nullable method getCommitSHA (line 30) | @Nullable method getCommitCount (line 43) | @Nullable method getVersionToDisplay (line 56) | public String getVersionToDisplay() { method isRelease (line 64) | public boolean isRelease() { method isBeta (line 68) | public boolean isBeta() { method isDirty (line 72) | public boolean isDirty() { method getVersionDescriptionComponents (line 76) | private String[] getVersionDescriptionComponents() { FILE: collect_app/src/main/java/org/odk/collect/android/views/ChoicesRecyclerView.java class ChoicesRecyclerView (line 21) | public class ChoicesRecyclerView extends RecyclerView { method ChoicesRecyclerView (line 31) | public ChoicesRecyclerView(@NonNull Context context) { method ChoicesRecyclerView (line 35) | public ChoicesRecyclerView(Context context, AttributeSet attrs) { method initRecyclerView (line 39) | public void initRecyclerView(AbstractSelectListAdapter adapter, boolea... method enableFlexboxLayout (line 49) | private void enableFlexboxLayout() { method enableGridLayout (line 56) | private void enableGridLayout(int numColumns) { method enableDivider (line 64) | private void enableDivider() { method adjustRecyclerViewSize (line 71) | private void adjustRecyclerViewSize() { class FlexItemDecoration (line 78) | static class FlexItemDecoration extends RecyclerView.ItemDecoration { method FlexItemDecoration (line 81) | FlexItemDecoration(int margin) { method getItemOffsets (line 85) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/views/CustomWebView.java class CustomWebView (line 24) | public class CustomWebView extends WebView { method CustomWebView (line 26) | public CustomWebView(Context context) { method CustomWebView (line 30) | public CustomWebView(Context context, AttributeSet attrs) { method onTouchEvent (line 36) | @Override method setClickable (line 50) | public void setClickable(boolean enabled) { method suppressFlingGesture (line 55) | public boolean suppressFlingGesture() { FILE: collect_app/src/main/java/org/odk/collect/android/views/DayNightProgressDialog.java class DayNightProgressDialog (line 22) | @Deprecated method DayNightProgressDialog (line 25) | public DayNightProgressDialog(Context context) { FILE: collect_app/src/main/java/org/odk/collect/android/views/SlidingTabLayout.java class SlidingTabLayout (line 52) | public class SlidingTabLayout extends HorizontalScrollView { method SlidingTabLayout (line 69) | public SlidingTabLayout(Context context) { method SlidingTabLayout (line 73) | public SlidingTabLayout(Context context, AttributeSet attrs) { method SlidingTabLayout (line 77) | public SlidingTabLayout(Context context, AttributeSet attrs, int defSt... method setCustomTabColorizer (line 98) | public void setCustomTabColorizer(TabColorizer tabColorizer) { method setDistributeEvenly (line 102) | public void setDistributeEvenly(boolean distributeEvenly) { method setSelectedIndicatorColors (line 110) | public void setSelectedIndicatorColors(int... colors) { method setOnPageChangeListener (line 121) | public void setOnPageChangeListener(ViewPager.OnPageChangeListener lis... method setCustomTabView (line 131) | public void setCustomTabView(int layoutResId, int textViewId) { method setViewPager (line 140) | public void setViewPager(ViewPager viewPager) { method createDefaultTabView (line 154) | protected TextView createDefaultTabView(Context context) { method populateTabStrip (line 174) | private void populateTabStrip() { method setFontSize (line 225) | public void setFontSize(int fontSize) { method setFontColor (line 229) | public void setFontColor(int color) { method setContentDescription (line 233) | public void setContentDescription(int i, String desc) { method onAttachedToWindow (line 237) | @Override method scrollToTab (line 246) | private void scrollToTab(int tabIndex, int positionOffset) { type TabColorizer (line 269) | public interface TabColorizer { method getIndicatorColor (line 274) | int getIndicatorColor(int position); class InternalViewPagerListener (line 278) | private class InternalViewPagerListener implements ViewPager.OnPageCha... method onPageScrolled (line 281) | @Override method onPageScrollStateChanged (line 302) | @Override method onPageSelected (line 311) | @Override class TabClickListener (line 327) | private class TabClickListener implements View.OnClickListener { method onClick (line 328) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/views/SlidingTabStrip.java class SlidingTabStrip (line 28) | class SlidingTabStrip extends LinearLayout { method SlidingTabStrip (line 46) | SlidingTabStrip(Context context) { method SlidingTabStrip (line 50) | SlidingTabStrip(Context context, AttributeSet attrs) { method setColorAlpha (line 77) | private static int setColorAlpha(int color, byte alpha) { method blendColors (line 87) | private static int blendColors(int color1, int color2, float ratio) { method setCustomTabColorizer (line 95) | void setCustomTabColorizer(SlidingTabLayout.TabColorizer customTabColo... method setSelectedIndicatorColors (line 100) | void setSelectedIndicatorColors(int... colors) { method onViewPagerPageChanged (line 107) | void onViewPagerPageChanged(int position, float positionOffset) { method onDraw (line 113) | @Override class SimpleTabColorizer (line 152) | private static class SimpleTabColorizer implements SlidingTabLayout.Ta... method getIndicatorColor (line 155) | @Override method setIndicatorColors (line 160) | void setIndicatorColors(int... colors) { FILE: collect_app/src/main/java/org/odk/collect/android/views/TwoItemMultipleChoiceView.java class TwoItemMultipleChoiceView (line 26) | public class TwoItemMultipleChoiceView extends ConstraintLayout implemen... method TwoItemMultipleChoiceView (line 28) | public TwoItemMultipleChoiceView(Context context, AttributeSet attrs, ... method TwoItemMultipleChoiceView (line 32) | public TwoItemMultipleChoiceView(Context context, AttributeSet attrs) { method TwoItemMultipleChoiceView (line 36) | public TwoItemMultipleChoiceView(Context context) { method isChecked (line 40) | @Override method setChecked (line 46) | @Override method toggle (line 52) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/widgets/AnnotateWidget.java class AnnotateWidget (line 48) | @SuppressLint("ViewConstructor") method AnnotateWidget (line 52) | public AnnotateWidget(Context context, QuestionDetails prompt, Questio... method onCreateWidgetView (line 60) | @Override method addExtrasToIntent (line 92) | @Override method doesSupportDefaultValues (line 106) | @Override method clearAnswer (line 111) | @Override method setOnLongClickListener (line 118) | @Override method cancelLongPress (line 126) | @Override method setData (line 134) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/widgets/AudioWidget.java class AudioWidget (line 56) | @SuppressLint("ViewConstructor") method AudioWidget (line 69) | public AudioWidget(Context context, QuestionDetails questionDetails, Q... method onCreateWidgetView (line 103) | @Override method deleteFile (line 117) | @Override method clearAnswer (line 124) | @Override method getAnswer (line 131) | @Override method setData (line 140) | @Override method updateVisibilities (line 162) | private void updateVisibilities() { method updatePlayerMedia (line 193) | private void updatePlayerMedia() { method getDurationOfFile (line 230) | private Integer getDurationOfFile(String uri) { method setOnLongClickListener (line 237) | @Override method cancelLongPress (line 243) | @Override method getAudioFile (line 253) | private File getAudioFile() { FILE: collect_app/src/main/java/org/odk/collect/android/widgets/BaseImageWidget.java class BaseImageWidget (line 50) | public abstract class BaseImageWidget extends QuestionWidget implements ... method BaseImageWidget (line 64) | public BaseImageWidget(Context context, QuestionDetails prompt, Questi... method getAnswer (line 74) | @Override method clearAnswer (line 79) | @Override method deleteFile (line 88) | @Override method setData (line 94) | @Override method setOnLongClickListener (line 115) | @Override method cancelLongPress (line 122) | @Override method updateAnswer (line 130) | protected void updateAnswer() { method addExtrasToIntent (line 159) | public abstract Intent addExtrasToIntent(Intent intent); type ImageClickHandler (line 164) | protected interface ImageClickHandler { method clickImage (line 165) | void clickImage(String context); class ViewImageClickHandler (line 171) | protected class ViewImageClickHandler implements ImageClickHandler { method clickImage (line 173) | @Override class DrawImageClickHandler (line 183) | protected class DrawImageClickHandler implements ImageClickHandler { method DrawImageClickHandler (line 189) | public DrawImageClickHandler(String option, final int code, final in... method clickImage (line 195) | @Override method launchDrawActivity (line 202) | private void launchDrawActivity() { type ExternalImageCaptureHandler (line 219) | protected interface ExternalImageCaptureHandler { method captureImage (line 220) | void captureImage(Intent intent, int requestCode, int stringResource); method chooseImage (line 222) | void chooseImage(int stringResource); class ImageCaptureHandler (line 228) | protected class ImageCaptureHandler implements ExternalImageCaptureHan... method captureImage (line 230) | @Override method chooseImage (line 235) | @Override method launchActivityForResult (line 250) | protected void launchActivityForResult(Intent intent, final int resour... method getFile (line 262) | @Nullable method getDefaultFilePath (line 281) | private String getDefaultFilePath() { method doesSupportDefaultValues (line 291) | protected abstract boolean doesSupportDefaultValues(); method getImageView (line 293) | public ImageView getImageView() { method getErrorTextView (line 297) | public TextView getErrorTextView() { FILE: collect_app/src/main/java/org/odk/collect/android/widgets/BearingWidget.java class BearingWidget (line 44) | @SuppressLint("ViewConstructor") method BearingWidget (line 51) | public BearingWidget(Context context, QuestionDetails questionDetails,... method onCreateWidgetView (line 59) | @Override method clearAnswer (line 81) | @Override method getAnswer (line 87) | @Override method setData (line 93) | @Override method setOnLongClickListener (line 99) | @Override method cancelLongPress (line 105) | @Override method areSensorsAvailable (line 112) | private boolean areSensorsAvailable() { method onButtonClick (line 117) | private void onButtonClick() { method hideError (line 131) | @Override method displayError (line 137) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/widgets/DecimalWidget.java class DecimalWidget (line 28) | @SuppressLint("ViewConstructor") method DecimalWidget (line 31) | public DecimalWidget(Context context, QuestionDetails questionDetails,... method getAnswer (line 39) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/widgets/DrawWidget.java class DrawWidget (line 36) | @SuppressLint("ViewConstructor") method DrawWidget (line 40) | public DrawWidget(Context context, QuestionDetails prompt, QuestionMed... method onCreateWidgetView (line 48) | @Override method addExtrasToIntent (line 64) | @Override method doesSupportDefaultValues (line 69) | @Override method clearAnswer (line 74) | @Override method setOnLongClickListener (line 80) | @Override method cancelLongPress (line 86) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/widgets/ExAudioWidget.java class ExAudioWidget (line 32) | @SuppressLint("ViewConstructor") method ExAudioWidget (line 43) | public ExAudioWidget(Context context, QuestionDetails questionDetails,... method onCreateWidgetView (line 58) | @Override method deleteFile (line 68) | @Override method clearAnswer (line 75) | @Override method getAnswer (line 82) | @Override method setData (line 87) | @Override method setOnLongClickListener (line 114) | @Override method cancelLongPress (line 119) | @Override method updateVisibilities (line 125) | private void updateVisibilities() { method updatePlayerMedia (line 143) | private void updatePlayerMedia() { method getDurationOfFile (line 180) | private Integer getDurationOfFile(String uri) { method launchExternalApp (line 187) | private void launchExternalApp() { method setupAnswerFile (line 192) | private void setupAnswerFile(String fileName) { FILE: collect_app/src/main/java/org/odk/collect/android/widgets/ExDecimalWidget.java class ExDecimalWidget (line 39) | @SuppressLint("ViewConstructor") method ExDecimalWidget (line 42) | public ExDecimalWidget(Context context, QuestionDetails questionDetail... method getAnswerForIntent (line 50) | @Override method getRequestCode (line 55) | @Override method getAnswer (line 60) | @Override method setData (line 65) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/widgets/ExImageWidget.java class ExImageWidget (line 27) | @SuppressLint("ViewConstructor") method ExImageWidget (line 37) | public ExImageWidget(Context context, QuestionDetails questionDetails,... method onCreateWidgetView (line 48) | @Override method deleteFile (line 66) | @Override method clearAnswer (line 72) | @Override method getAnswer (line 79) | @Override method setData (line 84) | @Override method setOnLongClickListener (line 110) | @Override method cancelLongPress (line 116) | @Override method launchExternalApp (line 123) | private void launchExternalApp() { method setupAnswerFile (line 128) | private void setupAnswerFile(String fileName) { method displayImage (line 134) | private void displayImage() { FILE: collect_app/src/main/java/org/odk/collect/android/widgets/ExIntegerWidget.java class ExIntegerWidget (line 39) | @SuppressLint("ViewConstructor") method ExIntegerWidget (line 42) | public ExIntegerWidget(Context context, QuestionDetails questionDetail... method getAnswerForIntent (line 50) | @Override method getRequestCode (line 55) | @Override method getAnswer (line 60) | @Override method setData (line 65) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/widgets/ExStringWidget.java class ExStringWidget (line 90) | @SuppressLint("ViewConstructor") method ExStringWidget (line 98) | public ExStringWidget(Context context, QuestionDetails questionDetails... method onCreateWidgetView (line 106) | @Override method getButtonText (line 136) | private String getButtonText() { method getAnswerForIntent (line 141) | protected Serializable getAnswerForIntent() { method getRequestCode (line 145) | protected int getRequestCode() { method getAnswer (line 149) | @Nullable method clearAnswer (line 156) | @Override method setData (line 161) | @Override method setFocus (line 167) | @Override method setOnLongClickListener (line 192) | @Override method cancelLongPress (line 198) | @Override method registerToClearAnswerOnLongPress (line 209) | @Override method focusAnswer (line 222) | private void focusAnswer() { method onException (line 226) | private void onException(String toastText) { method hideError (line 242) | @Override method displayError (line 248) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/widgets/GeoPointMapWidget.java class GeoPointMapWidget (line 36) | @SuppressLint("ViewConstructor") method GeoPointMapWidget (line 45) | public GeoPointMapWidget(Context context, QuestionDetails questionDeta... method onCreateWidgetView (line 54) | @Override method getAnswer (line 86) | @Override method clearAnswer (line 94) | @Override method setOnLongClickListener (line 103) | @Override method cancelLongPress (line 109) | @Override method setData (line 116) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/widgets/GeoPointWidget.java class GeoPointWidget (line 35) | @SuppressLint("ViewConstructor") method GeoPointWidget (line 44) | public GeoPointWidget(Context context, QuestionDetails questionDetails... method onCreateWidgetView (line 53) | @Override method getAnswer (line 79) | @Override method clearAnswer (line 87) | @Override method setOnLongClickListener (line 96) | @Override method cancelLongPress (line 102) | @Override method setData (line 109) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/widgets/GeoShapeWidget.java class GeoShapeWidget (line 29) | @SuppressLint("ViewConstructor") method GeoShapeWidget (line 35) | public GeoShapeWidget(Context context, QuestionDetails questionDetails, method onCreateWidgetView (line 43) | @Override method getAnswer (line 74) | @Override method clearAnswer (line 79) | @Override method setOnLongClickListener (line 82) | @Override method cancelLongPress (line 88) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/widgets/GeoTraceWidget.java class GeoTraceWidget (line 35) | @SuppressLint("ViewConstructor") method GeoTraceWidget (line 42) | public GeoTraceWidget(Context context, QuestionDetails questionDetails, method onCreateWidgetView (line 51) | @Override method getAnswer (line 88) | @Override method setOnLongClickListener (line 93) | @Override method clearAnswer (line 99) | @Override method cancelLongPress (line 102) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/widgets/ImageWidget.java class ImageWidget (line 44) | @SuppressLint("ViewConstructor") method ImageWidget (line 50) | public ImageWidget(Context context, final QuestionDetails prompt, Ques... method onCreateWidgetView (line 59) | @Override method addExtrasToIntent (line 84) | @Override method doesSupportDefaultValues (line 89) | @Override method clearAnswer (line 94) | @Override method setOnLongClickListener (line 100) | @Override method cancelLongPress (line 107) | @Override method captureImage (line 114) | private void captureImage() { FILE: collect_app/src/main/java/org/odk/collect/android/widgets/IntegerWidget.java class IntegerWidget (line 28) | @SuppressLint("ViewConstructor") method IntegerWidget (line 31) | public IntegerWidget(Context context, QuestionDetails questionDetails,... method getAnswer (line 39) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/widgets/OSMWidget.java class OSMWidget (line 38) | @SuppressLint("ViewConstructor") method OSMWidget (line 57) | public OSMWidget(Context context, QuestionDetails questionDetails, Wai... method onCreateWidgetView (line 86) | @Override method launchOpenMapKit (line 99) | private void launchOpenMapKit() { method setData (line 145) | @Override method getAnswer (line 155) | @Override method clearAnswer (line 161) | @Override method setOnLongClickListener (line 170) | @Override method onButtonClick (line 176) | private void onButtonClick() { method writeOsmRequiredTagsToExtras (line 184) | private void writeOsmRequiredTagsToExtras(Intent intent) { FILE: collect_app/src/main/java/org/odk/collect/android/widgets/QuestionWidget.java class QuestionWidget (line 69) | public abstract class QuestionWidget extends FrameLayout implements Widg... method QuestionWidget (line 111) | public QuestionWidget(Context context, Dependencies dependencies, Ques... method render (line 143) | public void render() { method onCreateWidgetView (line 168) | @SuppressWarnings("PMD.EmptyMethodInAbstractClassShouldBeAbstract") method setOnLongClickListener (line 178) | public abstract void setOnLongClickListener(OnLongClickListener l); method getLayout (line 180) | protected int getLayout() { method setupQuestionLabel (line 184) | private void setupQuestionLabel() { method setupGuidanceTextAndLayout (line 213) | private TextView setupGuidanceTextAndLayout(TextView guidanceTextView,... method configureGuidanceTextView (line 263) | private TextView configureGuidanceTextView(TextView guidanceTextView, ... method getHelpTextView (line 273) | public TextView getHelpTextView() { method getFormEntryPrompt (line 277) | public FormEntryPrompt getFormEntryPrompt() { method getQuestionDetails (line 281) | public QuestionDetails getQuestionDetails() { method setFocus (line 285) | public void setFocus(Context context) { method shouldSuppressFlingGesture (line 294) | public boolean shouldSuppressFlingGesture() { method setupHelpText (line 298) | private TextView setupHelpText(TextView helpText, FormEntryPrompt prom... method hideAnswerContainerIfNeeded (line 318) | private void hideAnswerContainerIfNeeded() { method showAnswerContainer (line 324) | public void showAnswerContainer() { method registerToClearAnswerOnLongPress (line 333) | protected void registerToClearAnswerOnLongPress(Activity activity, Vie... method cancelLongPress (line 341) | @Override method showWarning (line 352) | public void showWarning(String warningBody) { method getAudioVideoImageTextLabel (line 357) | public AudioVideoImageTextLabel getAudioVideoImageTextLabel() { method getReferenceManager (line 361) | public ReferenceManager getReferenceManager() { method getPermissionsProvider (line 365) | public PermissionsProvider getPermissionsProvider() { method setPermissionsProvider (line 369) | public void setPermissionsProvider(PermissionsProvider permissionsProv... method setValueChangedListener (line 373) | public void setValueChangedListener(WidgetValueChangedListener valueCh... method widgetValueChanged (line 377) | public void widgetValueChanged() { method adjustButtonFontSize (line 390) | private void adjustButtonFontSize(ViewGroup view) { method hideError (line 401) | public void hideError() { method displayError (line 406) | public void displayError(String errorMessage) { class Dependencies (line 412) | public static class Dependencies { method Dependencies (line 417) | public Dependencies(AudioPlayer audioPlayer, MediaWidgetAnswerViewMo... method getAudioPlayer (line 422) | public AudioPlayer getAudioPlayer() { method getMediaWidgetAnswerViewModel (line 426) | public MediaWidgetAnswerViewModel getMediaWidgetAnswerViewModel() { FILE: collect_app/src/main/java/org/odk/collect/android/widgets/RatingWidget.java class RatingWidget (line 32) | @SuppressLint("ViewConstructor") method RatingWidget (line 39) | public RatingWidget(Context context, QuestionDetails questionDetails, ... method onCreateWidgetView (line 44) | @Override method setOnLongClickListener (line 82) | @Override method getAnswer (line 88) | @Override method clearAnswer (line 95) | @Override method setUpRatingBar (line 100) | @SuppressLint("ClickableViewAccessibility") method calculateMaximumStarsInOneLine (line 130) | private int calculateMaximumStarsInOneLine() { method getTotalStars (line 135) | private int getTotalStars(RangeQuestion rangeQuestion) { FILE: collect_app/src/main/java/org/odk/collect/android/widgets/SignatureWidget.java class SignatureWidget (line 36) | @SuppressLint("ViewConstructor") method SignatureWidget (line 40) | public SignatureWidget(Context context, QuestionDetails prompt, Questi... method onCreateWidgetView (line 48) | @Override method addExtrasToIntent (line 64) | @Override method doesSupportDefaultValues (line 69) | @Override method clearAnswer (line 74) | @Override method setOnLongClickListener (line 80) | @Override method cancelLongPress (line 86) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/widgets/StringNumberWidget.java class StringNumberWidget (line 28) | @SuppressLint("ViewConstructor") method StringNumberWidget (line 31) | public StringNumberWidget(Context context, QuestionDetails questionDet... method getAnswer (line 41) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/widgets/StringWidget.java class StringWidget (line 39) | @SuppressLint("ViewConstructor") method StringWidget (line 43) | protected StringWidget(Context context, QuestionDetails questionDetail... method onCreateWidgetView (line 59) | @Override method clearAnswer (line 65) | @Override method getAnswer (line 70) | @Override method getAnswerText (line 76) | @NonNull method setFocus (line 81) | @Override method setOnLongClickListener (line 86) | @Override method cancelLongPress (line 91) | @Override method registerToClearAnswerOnLongPress (line 101) | @Override method setDisplayValueFromModel (line 114) | public void setDisplayValueFromModel() { method hideError (line 122) | @Override method displayError (line 128) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/widgets/TriggerWidget.java class TriggerWidget (line 33) | @SuppressLint("ViewConstructor") method TriggerWidget (line 40) | public TriggerWidget(Context context, QuestionDetails prompt, Dependen... method onCreateWidgetView (line 45) | @Override method clearAnswer (line 59) | @Override method getAnswer (line 65) | @Override method setOnLongClickListener (line 70) | @Override method cancelLongPress (line 75) | @Override method getCheckBox (line 81) | public CheckBox getCheckBox() { FILE: collect_app/src/main/java/org/odk/collect/android/widgets/UrlWidget.java class UrlWidget (line 31) | @SuppressLint("ViewConstructor") method UrlWidget (line 37) | public UrlWidget(Context context, QuestionDetails questionDetails, Web... method onCreateWidgetView (line 44) | @Override method clearAnswer (line 52) | @Override method getAnswer (line 57) | @Override method setOnLongClickListener (line 64) | @Override method cancelLongPress (line 69) | @Override method onButtonClick (line 75) | public void onButtonClick() { FILE: collect_app/src/main/java/org/odk/collect/android/widgets/WidgetFactory.java class WidgetFactory (line 81) | public class WidgetFactory { method WidgetFactory (line 100) | public WidgetFactory(FragmentActivity activity, method createWidgetFromPrompt (line 131) | public QuestionWidget createWidgetFromPrompt(FormEntryPrompt prompt, P... method createWidgetFromPrompt (line 135) | public QuestionWidget createWidgetFromPrompt(FormEntryPrompt prompt, P... method getSelectOneWidget (line 315) | private QuestionWidget getSelectOneWidget(String appearance, QuestionD... FILE: collect_app/src/main/java/org/odk/collect/android/widgets/datetime/DatePickerDetails.java class DatePickerDetails (line 21) | public class DatePickerDetails implements Serializable { type DatePickerType (line 22) | public enum DatePickerType { type DatePickerMode (line 26) | public enum DatePickerMode { method DatePickerDetails (line 33) | public DatePickerDetails(DatePickerType datePickerType, DatePickerMode... method isCalendarMode (line 38) | public boolean isCalendarMode() { method isSpinnerMode (line 42) | public boolean isSpinnerMode() { method isMonthYearMode (line 46) | public boolean isMonthYearMode() { method isYearMode (line 50) | public boolean isYearMode() { method getDatePickerType (line 54) | public DatePickerType getDatePickerType() { method equals (line 58) | @Override method hashCode (line 73) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/widgets/datetime/DateTimeUtils.java class DateTimeUtils (line 9) | public final class DateTimeUtils { method DateTimeUtils (line 11) | private DateTimeUtils() { method getCurrentDateTime (line 15) | public static LocalDateTime getCurrentDateTime() { method getSelectedDate (line 21) | public static LocalDateTime getSelectedDate(LocalDateTime selectedDate... method getDateAsGregorian (line 27) | public static LocalDateTime getDateAsGregorian(LocalDateTime date) { method getSelectedTime (line 34) | public static LocalDateTime getSelectedTime(LocalDateTime selectedTime... method getTimeData (line 40) | public static TimeData getTimeData(DateTime dateTime) { method getDateWithSkippedDaylightSavingGapIfExists (line 44) | public static LocalDateTime getDateWithSkippedDaylightSavingGapIfExist... method skipDaylightSavingGapIfExists (line 50) | public static LocalDateTime skipDaylightSavingGapIfExists(LocalDateTim... FILE: collect_app/src/main/java/org/odk/collect/android/widgets/datetime/DateTimeWidget.java class DateTimeWidget (line 40) | @SuppressLint("ViewConstructor") method DateTimeWidget (line 50) | public DateTimeWidget(Context context, QuestionDetails prompt, DateTim... method onCreateWidgetView (line 58) | @Override method getAnswer (line 96) | @Override method clearAnswer (line 110) | @Override method setOnLongClickListener (line 116) | @Override method cancelLongPress (line 125) | @Override method setData (line 135) | @Override method resetAnswerFields (line 150) | private void resetAnswerFields() { method isNullValue (line 156) | private boolean isNullValue() { method isDateNull (line 162) | private boolean isDateNull() { method isTimeNull (line 166) | private boolean isTimeNull() { FILE: collect_app/src/main/java/org/odk/collect/android/widgets/datetime/DateWidget.java class DateWidget (line 34) | @SuppressLint("ViewConstructor") method DateWidget (line 44) | public DateWidget(Context context, QuestionDetails prompt, DateTimeWid... method onCreateWidgetView (line 52) | @Override method getAnswer (line 79) | @Override method setOnLongClickListener (line 86) | @Override method cancelLongPress (line 92) | @Override method clearAnswer (line 99) | @Override method setData (line 106) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/widgets/datetime/TimeWidget.java class TimeWidget (line 36) | @SuppressLint("ViewConstructor") method TimeWidget (line 45) | public TimeWidget(Context context, final QuestionDetails prompt, DateT... method onCreateWidgetView (line 53) | @Override method clearAnswer (line 78) | @Override method getAnswer (line 85) | @Override method setOnLongClickListener (line 92) | @Override method cancelLongPress (line 98) | @Override method setData (line 105) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/widgets/datetime/pickers/BikramSambatDatePickerDialog.java class BikramSambatDatePickerDialog (line 29) | public class BikramSambatDatePickerDialog extends CustomDatePickerDialog { method onResume (line 35) | @Override method updateDays (line 41) | @Override method getOriginalDate (line 53) | @Override method setUpDatePicker (line 72) | private void setUpDatePicker() { method setUpValues (line 84) | private void setUpValues() { FILE: collect_app/src/main/java/org/odk/collect/android/widgets/datetime/pickers/CopticDatePickerDialog.java class CopticDatePickerDialog (line 26) | public class CopticDatePickerDialog extends CustomDatePickerDialog { method onResume (line 32) | @Override method updateDays (line 39) | @Override method getOriginalDate (line 45) | @Override method setUpDatePicker (line 50) | private void setUpDatePicker() { method setUpValues (line 61) | private void setUpValues() { method getCurrentCopticDate (line 66) | private LocalDateTime getCurrentCopticDate() { FILE: collect_app/src/main/java/org/odk/collect/android/widgets/datetime/pickers/CustomDatePickerDialog.java class CustomDatePickerDialog (line 41) | public abstract class CustomDatePickerDialog extends DialogFragment { type DateChangeListener (line 51) | public interface DateChangeListener { method onDateChanged (line 52) | void onDateChanged(LocalDateTime selectedDate); method onAttach (line 55) | @Override method onCreateDialog (line 76) | @Override method onDestroyView (line 90) | @Override method onResume (line 96) | @Override method setUpPickers (line 103) | private void setUpPickers() { method hidePickersIfNeeded (line 114) | private void hidePickersIfNeeded() { method updateGregorianDateLabel (line 123) | protected void updateGregorianDateLabel() { method setUpDayPicker (line 129) | protected void setUpDayPicker(int dayOfMonth, int daysInMonth) { method setUpDayPicker (line 133) | protected void setUpDayPicker(int minDay, int dayOfMonth, int daysInMo... method setUpMonthPicker (line 141) | protected void setUpMonthPicker(int monthOfYear, String[] monthsArray) { method setUpYearPicker (line 152) | protected void setUpYearPicker(int year, int minSupportedYear, int max... method monthUpdated (line 158) | protected void monthUpdated() { method yearUpdated (line 163) | protected void yearUpdated() { method getDay (line 168) | public int getDay() { method getMonth (line 172) | public String getMonth() { method getMonthId (line 176) | public int getMonthId() { method getYear (line 180) | public int getYear() { method getDate (line 184) | public LocalDateTime getDate() { method updateDays (line 188) | protected abstract void updateDays(); method getOriginalDate (line 190) | protected abstract LocalDateTime getOriginalDate(); FILE: collect_app/src/main/java/org/odk/collect/android/widgets/datetime/pickers/CustomTimePickerDialog.java class CustomTimePickerDialog (line 21) | public class CustomTimePickerDialog extends DialogFragment { type TimeChangeListener (line 25) | public interface TimeChangeListener { method onTimeChanged (line 26) | void onTimeChanged(DateTime selectedTime); method onAttach (line 29) | @Override method onCreateDialog (line 46) | @NonNull method onResume (line 56) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/widgets/datetime/pickers/EthiopianDatePickerDialog.java class EthiopianDatePickerDialog (line 30) | public class EthiopianDatePickerDialog extends CustomDatePickerDialog { method onResume (line 36) | @Override method updateDays (line 43) | @Override method getOriginalDate (line 49) | @Override method setUpDatePicker (line 54) | private void setUpDatePicker() { method setUpValues (line 65) | private void setUpValues() { method getCurrentEthiopianDate (line 70) | private LocalDateTime getCurrentEthiopianDate() { FILE: collect_app/src/main/java/org/odk/collect/android/widgets/datetime/pickers/FixedDatePickerDialog.java class FixedDatePickerDialog (line 22) | public class FixedDatePickerDialog extends DialogFragment { method onAttach (line 27) | @Override method onCreateDialog (line 48) | @NonNull method onResume (line 65) | @Override method hidePickersIfNeeded (line 75) | private void hidePickersIfNeeded(DatePickerDialog dialog, LocalDateTim... FILE: collect_app/src/main/java/org/odk/collect/android/widgets/datetime/pickers/IslamicDatePickerDialog.java class IslamicDatePickerDialog (line 26) | public class IslamicDatePickerDialog extends CustomDatePickerDialog { method onResume (line 33) | @Override method updateDays (line 40) | @Override method getOriginalDate (line 46) | @Override method setUpDatePicker (line 51) | private void setUpDatePicker() { method setUpValues (line 62) | private void setUpValues() { method getCurrentIslamicDate (line 67) | private LocalDateTime getCurrentIslamicDate() { FILE: collect_app/src/main/java/org/odk/collect/android/widgets/datetime/pickers/MyanmarDatePickerDialog.java class MyanmarDatePickerDialog (line 28) | public class MyanmarDatePickerDialog extends CustomDatePickerDialog { method onResume (line 32) | @Override method updateDays (line 39) | @Override method yearUpdated (line 45) | @Override method getOriginalDate (line 52) | @Override method setUpDatePicker (line 57) | private void setUpDatePicker() { method getCurrentMyanmarDate (line 65) | private MyanmarDate getCurrentMyanmarDate() { FILE: collect_app/src/main/java/org/odk/collect/android/widgets/datetime/pickers/PersianDatePickerDialog.java class PersianDatePickerDialog (line 26) | public class PersianDatePickerDialog extends CustomDatePickerDialog { method onResume (line 32) | @Override method updateDays (line 39) | @Override method getOriginalDate (line 45) | @Override method setUpDatePicker (line 50) | private void setUpDatePicker() { method setUpValues (line 61) | private void setUpValues() { method getCurrentPersianDate (line 66) | private LocalDateTime getCurrentPersianDate() { FILE: collect_app/src/main/java/org/odk/collect/android/widgets/interfaces/FileWidget.java type FileWidget (line 6) | public interface FileWidget extends Widget { method deleteFile (line 7) | void deleteFile(); FILE: collect_app/src/main/java/org/odk/collect/android/widgets/interfaces/MultiChoiceWidget.java type MultiChoiceWidget (line 6) | public interface MultiChoiceWidget extends Widget { method getChoiceCount (line 7) | int getChoiceCount(); method setChoiceSelected (line 9) | void setChoiceSelected(int choiceIndex, boolean isSelected); FILE: collect_app/src/main/java/org/odk/collect/android/widgets/interfaces/Widget.java type Widget (line 10) | public interface Widget { method getAnswer (line 12) | @Nullable method clearAnswer (line 15) | void clearAnswer(); FILE: collect_app/src/main/java/org/odk/collect/android/widgets/items/BaseSelectListWidget.java class BaseSelectListWidget (line 30) | public abstract class BaseSelectListWidget extends QuestionWidget implem... method BaseSelectListWidget (line 37) | public BaseSelectListWidget(Context context, QuestionDetails questionD... method onCreateWidgetView (line 50) | @Override method setFocus (line 56) | @Override method clearAnswer (line 63) | @Override method getChoiceCount (line 69) | @Override method setUpSearchBox (line 74) | private void setUpSearchBox() { method logAnalytics (line 104) | private void logAnalytics(QuestionDetails questionDetails) { method setUpAdapter (line 116) | protected abstract AbstractSelectListAdapter setUpAdapter(); FILE: collect_app/src/main/java/org/odk/collect/android/widgets/items/LabelWidget.java class LabelWidget (line 57) | @SuppressLint("ViewConstructor") method LabelWidget (line 62) | public LabelWidget(Context context, QuestionDetails questionDetails, S... method addItems (line 71) | private void addItems(Context context, QuestionDetails questionDetails) { method getLayout (line 188) | @Override method clearAnswer (line 193) | @Override method getAnswer (line 198) | @Override method setOnLongClickListener (line 203) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/widgets/items/LikertWidget.java class LikertWidget (line 46) | @SuppressLint("ViewConstructor") method LikertWidget (line 59) | public LikertWidget(Context context, QuestionDetails questionDetails, ... method onCreateWidgetView (line 70) | @Override method setMainViewLayoutParameters (line 75) | public void setMainViewLayoutParameters() { method setSavedButton (line 84) | public void setSavedButton() { method getAnswer (line 97) | @Override method setStructures (line 116) | public void setStructures() { method getImageView (line 159) | public ImageView getImageView() { method getRadioButton (line 165) | public RadioButton getRadioButton(int i) { method getTextView (line 185) | public TextView getTextView() { method getLinearLayout (line 194) | public LinearLayout getLinearLayout() { method setButtonListener (line 203) | public void setButtonListener() { method getImageAsImageView (line 221) | public ImageView getImageAsImageView(int index) { method setImageFromOtherSource (line 241) | public String setImageFromOtherSource(String imageURI, ImageView image... method setOnLongClickListener (line 278) | @Override method cancelLongPress (line 285) | @Override method clearAnswer (line 293) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/widgets/items/ListMultiWidget.java class ListMultiWidget (line 69) | @SuppressLint("ViewConstructor") method ListMultiWidget (line 76) | @SuppressWarnings("unchecked") method clearAnswer (line 255) | @Override method getAnswer (line 266) | @Override method setOnLongClickListener (line 284) | @Override method cancelLongPress (line 291) | @Override method getChoiceCount (line 299) | @Override method setChoiceSelected (line 304) | @Override method getLayout (line 309) | @Override method shouldDisplayLabel (line 314) | public boolean shouldDisplayLabel() { FILE: collect_app/src/main/java/org/odk/collect/android/widgets/items/ListWidget.java class ListWidget (line 70) | @SuppressLint("ViewConstructor") method ListWidget (line 82) | public ListWidget(Context context, QuestionDetails questionDetails, bo... method clearAnswer (line 237) | @Override method getAnswer (line 249) | @Override method getCheckedId (line 260) | public int getCheckedId() { method onCheckedChanged (line 270) | @Override method setOnLongClickListener (line 290) | @Override method cancelLongPress (line 297) | @Override method getChoiceCount (line 305) | @Override method setChoiceSelected (line 310) | @Override method getLayout (line 318) | @Override method shouldDisplayLabel (line 323) | public boolean shouldDisplayLabel() { FILE: collect_app/src/main/java/org/odk/collect/android/widgets/items/RankingWidget.java class RankingWidget (line 43) | @SuppressLint("ViewConstructor") method RankingWidget (line 51) | public RankingWidget(Context context, QuestionDetails prompt, WaitingF... method onCreateWidgetView (line 59) | @Override method getAnswer (line 83) | @Override method clearAnswer (line 95) | @Override method setOnLongClickListener (line 103) | @Override method cancelLongPress (line 109) | @Override method setData (line 116) | @Override method readSavedItems (line 124) | private void readSavedItems() { method getAnswerText (line 149) | private CharSequence getAnswerText() { FILE: collect_app/src/main/java/org/odk/collect/android/widgets/items/SelectImageMapWidget.java class SelectImageMapWidget (line 63) | public abstract class SelectImageMapWidget extends QuestionWidget { method SelectImageMapWidget (line 78) | public SelectImageMapWidget(Context context, QuestionDetails prompt, S... method convertDocumentToString (line 94) | private static String convertDocumentToString(Document doc) { method clearAnswer (line 110) | @Override method shouldSuppressFlingGesture (line 118) | @Override method onCreateWidgetView (line 123) | @Override method setUpWebView (line 131) | @SuppressLint({"SetJavaScriptEnabled", "AddJavascriptInterface"}) method selectArea (line 161) | protected void selectArea(String areaId) { method unselectArea (line 174) | private void unselectArea(String areaId) { method notifyChanges (line 187) | private void notifyChanges() { method getParsedSVGFile (line 191) | private String getParsedSVGFile() { method addOnClickAttributes (line 226) | private void addOnClickAttributes(NodeList nodes) { method doesElementExistInDataSet (line 236) | private boolean doesElementExistInDataSet(String elementId) { method addSizeAttributesIfNeeded (line 245) | private void addSizeAttributesIfNeeded(NodeList nodes) { method refreshSelectedItemsLabel (line 255) | protected void refreshSelectedItemsLabel() { method highlightSelections (line 277) | protected abstract void highlightSelections(WebView view); class JavaScriptInterface (line 279) | private class JavaScriptInterface { method selectArea (line 280) | @android.webkit.JavascriptInterface method unselectArea (line 285) | @android.webkit.JavascriptInterface method notifyChanges (line 290) | @android.webkit.JavascriptInterface FILE: collect_app/src/main/java/org/odk/collect/android/widgets/items/SelectMinimalWidget.java class SelectMinimalWidget (line 20) | public abstract class SelectMinimalWidget extends QuestionWidget impleme... method SelectMinimalWidget (line 27) | public SelectMinimalWidget(Context context, QuestionDetails prompt, Wa... method onCreateWidgetView (line 33) | @Override method clearAnswer (line 48) | @Override method getChoiceCount (line 54) | @Override method showDialog (line 59) | protected abstract void showDialog(); FILE: collect_app/src/main/java/org/odk/collect/android/widgets/items/SelectMultiImageMapWidget.java class SelectMultiImageMapWidget (line 36) | @SuppressLint("ViewConstructor") method SelectMultiImageMapWidget (line 38) | public SelectMultiImageMapWidget(Context context, QuestionDetails ques... method highlightSelections (line 48) | @Override method getAnswer (line 55) | @Override method setOnLongClickListener (line 60) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/widgets/items/SelectMultiMinimalWidget.java class SelectMultiMinimalWidget (line 25) | @SuppressLint("ViewConstructor") method SelectMultiMinimalWidget (line 29) | public SelectMultiMinimalWidget(Context context, QuestionDetails promp... method showDialog (line 42) | @Override method getAnswer (line 56) | @Override method clearAnswer (line 63) | @Override method setData (line 69) | @Override method setChoiceSelected (line 76) | @Override method updateAnswerLabel (line 85) | private void updateAnswerLabel() { method setOnLongClickListener (line 100) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/widgets/items/SelectMultiWidget.java class SelectMultiWidget (line 41) | @SuppressLint("ViewConstructor") method SelectMultiWidget (line 43) | public SelectMultiWidget(Context context, QuestionDetails prompt, Sele... method setUpAdapter (line 50) | @Override method getAnswer (line 61) | @Override method setChoiceSelected (line 69) | @Override method getSelectedItems (line 78) | private List getSelectedItems() { method onItemClicked (line 84) | @Override method setOnLongClickListener (line 89) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/widgets/items/SelectOneImageMapWidget.java class SelectOneImageMapWidget (line 37) | @SuppressLint("ViewConstructor") method SelectOneImageMapWidget (line 45) | public SelectOneImageMapWidget(Context context, QuestionDetails questi... method highlightSelections (line 61) | @Override method getAnswer (line 68) | @Override method selectArea (line 74) | @Override method setOnLongClickListener (line 85) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/widgets/items/SelectOneMinimalWidget.java class SelectOneMinimalWidget (line 25) | @SuppressLint("ViewConstructor") method SelectOneMinimalWidget (line 31) | public SelectOneMinimalWidget(Context context, QuestionDetails prompt,... method showDialog (line 43) | @Override method getAnswer (line 57) | @Override method clearAnswer (line 64) | @Override method setData (line 70) | @Override method setChoiceSelected (line 82) | @Override method updateAnswer (line 89) | private void updateAnswer() { method getSavedSelectedValue (line 97) | private String getSavedSelectedValue() { method setOnLongClickListener (line 103) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/widgets/items/SelectOneWidget.java class SelectOneWidget (line 47) | @SuppressLint("ViewConstructor") method SelectOneWidget (line 56) | public SelectOneWidget(Context context, QuestionDetails questionDetail... method setUpAdapter (line 65) | @Override method getAnswer (line 76) | @Override method getSelectedValue (line 84) | protected String getSelectedValue() { method setChoiceSelected (line 89) | @Override method onItemClicked (line 98) | @Override method clearAnswer (line 108) | @Override method clearFollowingItemsetWidgets (line 117) | private void clearFollowingItemsetWidgets() { method setListener (line 138) | public void setListener(AdvanceToNextListener listener) { method setOnLongClickListener (line 142) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/widgets/range/RangeDecimalWidget.java class RangeDecimalWidget (line 38) | @SuppressLint("ViewConstructor") method RangeDecimalWidget (line 43) | public RangeDecimalWidget(Context context, QuestionDetails prompt, Dep... method onCreateWidgetView (line 48) | @Override method getAnswer (line 62) | @Override method setOnLongClickListener (line 68) | @Override method shouldSuppressFlingGesture (line 72) | @Override method clearAnswer (line 77) | @Override method onValueChange (line 83) | @SuppressLint("RestrictedApi") method setUpActualValueLabel (line 93) | private void setUpActualValueLabel(BigDecimal actualValue) { FILE: collect_app/src/main/java/org/odk/collect/android/widgets/range/RangeIntegerWidget.java class RangeIntegerWidget (line 38) | @SuppressLint("ViewConstructor") method RangeIntegerWidget (line 43) | public RangeIntegerWidget(Context context, QuestionDetails prompt, Dep... method onCreateWidgetView (line 48) | @Override method getAnswer (line 62) | @Override method setOnLongClickListener (line 68) | @Override method shouldSuppressFlingGesture (line 72) | @Override method clearAnswer (line 77) | @Override method onValueChange (line 83) | @SuppressLint("RestrictedApi") method setUpActualValueLabel (line 93) | private void setUpActualValueLabel(BigDecimal actualValue) { FILE: collect_app/src/main/java/org/odk/collect/android/widgets/range/RangePickerWidget.java class RangePickerWidget (line 25) | public class RangePickerWidget extends QuestionWidget { method RangePickerWidget (line 34) | public RangePickerWidget(Context context, QuestionDetails questionDeta... method onCreateWidgetView (line 42) | @Override method setOnLongClickListener (line 64) | @Override method getAnswer (line 70) | @Override method clearAnswer (line 75) | @Override method setUpNullValue (line 81) | private void setUpNullValue() { FILE: collect_app/src/main/java/org/odk/collect/android/widgets/utilities/AudioFileRequester.java type AudioFileRequester (line 5) | public interface AudioFileRequester { method requestFile (line 6) | void requestFile(FormEntryPrompt prompt); FILE: collect_app/src/main/java/org/odk/collect/android/widgets/utilities/AudioRecorderRecordingStatusHandler.java class AudioRecorderRecordingStatusHandler (line 13) | public class AudioRecorderRecordingStatusHandler implements RecordingSta... method AudioRecorderRecordingStatusHandler (line 19) | public AudioRecorderRecordingStatusHandler(AudioRecorder audioRecorder... method onBlockedStatusChange (line 25) | @Override method onRecordingStatusChange (line 36) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/widgets/utilities/DateTimeWidgetUtils.java class DateTimeWidgetUtils (line 44) | public class DateTimeWidgetUtils { method getDatePickerDetails (line 50) | public static DatePickerDetails getDatePickerDetails(String appearance) { method getDateTimeLabel (line 90) | public static String getDateTimeLabel(Date date, DatePickerDetails dat... method showTimePickerDialog (line 189) | public void showTimePickerDialog(Context context, LocalDateTime dateTi... method showDatePickerDialog (line 199) | public void showDatePickerDialog(Context context, DatePickerDetails da... method getClass (line 210) | private static Class getClass(DatePickerDetails.DatePickerType datePic... method getDatePickerTheme (line 231) | private static int getDatePickerTheme(ThemeUtils themeUtils, DatePicke... method getGregorianDateTimeLabel (line 240) | private static String getGregorianDateTimeLabel(Date date, DatePickerD... method getDateTimeSkeleton (line 248) | private static String getDateTimeSkeleton(boolean containsTime, DatePi... FILE: collect_app/src/main/java/org/odk/collect/android/widgets/utilities/FormControllerWaitingForDataRegistry.java class FormControllerWaitingForDataRegistry (line 10) | public class FormControllerWaitingForDataRegistry implements WaitingForD... method FormControllerWaitingForDataRegistry (line 14) | public FormControllerWaitingForDataRegistry(Supplier f... method waitForData (line 18) | @Override method isWaitingForData (line 29) | @Override method cancelWaitingForData (line 39) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/widgets/utilities/InternalRecordingRequester.java class InternalRecordingRequester (line 13) | public class InternalRecordingRequester implements RecordingRequester { method InternalRecordingRequester (line 19) | public InternalRecordingRequester(ComponentActivity activity, AudioRec... method requestRecording (line 25) | @Override FILE: collect_app/src/main/java/org/odk/collect/android/widgets/utilities/RangeWidgetUtils.java class RangeWidgetUtils (line 20) | public class RangeWidgetUtils { method RangeWidgetUtils (line 24) | private RangeWidgetUtils() { class RangeWidgetLayoutElements (line 27) | public static class RangeWidgetLayoutElements { method RangeWidgetLayoutElements (line 32) | public RangeWidgetLayoutElements(View answerView, TrackingTouchSlide... method getAnswerView (line 38) | public View getAnswerView() { method getSlider (line 42) | public TrackingTouchSlider getSlider() { method getCurrentValue (line 46) | public TextView getCurrentValue() { method setUpLayoutElements (line 51) | public static RangeWidgetLayoutElements setUpLayoutElements(Context co... method setUpWidgetParameters (line 90) | static void setUpWidgetParameters(RangeQuestion rangeQuestion, TextVie... method setUpSlider (line 98) | @SuppressLint("ClickableViewAccessibility") method isValueInRange (line 146) | private static boolean isValueInRange(BigDecimal value, BigDecimal ran... method setUpRangePickerWidget (line 152) | public static void setUpRangePickerWidget(Context context, RangePicker... method getActualValue (line 165) | public static BigDecimal getActualValue(FormEntryPrompt prompt, float ... method getNumberPickerProgress (line 178) | public static int getNumberPickerProgress(RangePickerWidgetAnswerBindi... method isRangeSliderWidgetValid (line 195) | public static boolean isRangeSliderWidgetValid(RangeQuestion rangeQues... method isWidgetValid (line 202) | static boolean isWidgetValid(Context context, RangeQuestion rangeQuest... method isRangePickerWidgetValid (line 216) | private static boolean isRangePickerWidgetValid(RangeQuestion rangeQue... FILE: collect_app/src/main/java/org/odk/collect/android/widgets/utilities/RecordingRequester.java type RecordingRequester (line 5) | public interface RecordingRequester { method requestRecording (line 6) | void requestRecording(FormEntryPrompt prompt); FILE: collect_app/src/main/java/org/odk/collect/android/widgets/utilities/RecordingRequesterProvider.java class RecordingRequesterProvider (line 9) | public class RecordingRequesterProvider { method RecordingRequesterProvider (line 14) | public RecordingRequesterProvider(InternalRecordingRequester internalR... method create (line 19) | public RecordingRequester create(FormEntryPrompt prompt, boolean exter... FILE: collect_app/src/main/java/org/odk/collect/android/widgets/utilities/RecordingStatusHandler.java type RecordingStatusHandler (line 9) | public interface RecordingStatusHandler { method onBlockedStatusChange (line 11) | void onBlockedStatusChange(Consumer blockedStatusListener); method onRecordingStatusChange (line 13) | void onRecordingStatusChange(FormEntryPrompt prompt, Consumer getSelectedDate() { method getSelectedTime (line 37) | public LiveData getSelectedTime() { method setSelectedDate (line 41) | public void setSelectedDate(int year, int month, int day) { method setSelectedTime (line 45) | public void setSelectedTime(int hourOfDay, int minuteOfHour) { method getDateSetListener (line 49) | public DatePickerDialog.OnDateSetListener getDateSetListener() { method getTimeSetListener (line 53) | public TimePickerDialog.OnTimeSetListener getTimeSetListener() { method getLocalDateTime (line 57) | public LocalDateTime getLocalDateTime() { method setLocalDateTime (line 61) | public void setLocalDateTime(LocalDateTime localDateTime) { method getDatePickerDetails (line 65) | public DatePickerDetails getDatePickerDetails() { method setDatePickerDetails (line 69) | public void setDatePickerDetails(DatePickerDetails datePickerDetails) { method getDialogTheme (line 73) | public int getDialogTheme() { method setDialogTheme (line 77) | public void setDialogTheme(int dialogTheme) { FILE: collect_app/src/main/java/org/odk/collect/android/widgets/warnings/SpacesInUnderlyingValuesWarning.java class SpacesInUnderlyingValuesWarning (line 41) | public class SpacesInUnderlyingValuesWarning { method forQuestionWidget (line 46) | public static SpacesInUnderlyingValuesWarning forQuestionWidget(Questi... method SpacesInUnderlyingValuesWarning (line 52) | @VisibleForTesting method renderWarningIfNecessary (line 58) | public void renderWarningIfNecessary(List items) { type WarningRenderer (line 66) | interface WarningRenderer { method render (line 67) | void render(List items); class RenderIntoQuestionWidget (line 70) | private static class RenderIntoQuestionWidget implements WarningRender... method RenderIntoQuestionWidget (line 75) | RenderIntoQuestionWidget(QuestionWidget questionWidget) { method render (line 80) | @Override type UnderlyingValuesChecker (line 86) | interface UnderlyingValuesChecker { method check (line 87) | void check(List items); method hasInvalidValues (line 89) | boolean hasInvalidValues(); method getInvalidValues (line 91) | List getInvalidValues(); class SpacesInUnderlyingValues (line 94) | public static class SpacesInUnderlyingValues implements UnderlyingValu... method check (line 99) | @Override method hasInvalidValues (line 108) | @Override method getInvalidValues (line 114) | @Override method checkInitialization (line 120) | private void checkInitialization() { type WarningTextCreator (line 127) | public interface WarningTextCreator { method create (line 128) | String create(List invalidValues, Context context); class SpacesInUnderlyingValuesTextCreator (line 131) | private static class SpacesInUnderlyingValuesTextCreator implements Wa... method create (line 135) | @Override FILE: collect_app/src/main/java/org/odk/collect/utilities/Result.java class Result (line 11) | @Deprecated method Result (line 17) | public Result(@Nullable T value) { method getOrNull (line 21) | public T getOrNull() { method isSuccess (line 25) | public boolean isSuccess() { FILE: collect_app/src/main/java/org/odk/collect/utilities/UserAgentProvider.java type UserAgentProvider (line 3) | public interface UserAgentProvider { method getUserAgent (line 6) | String getUserAgent(); FILE: collect_app/src/test/java/org/odk/collect/android/application/RobolectricApplication.java class RobolectricApplication (line 22) | public class RobolectricApplication extends Collect implements CollectCo... method onCreate (line 24) | @Override FILE: collect_app/src/test/java/org/odk/collect/android/audio/AudioButtonTest.java class AudioButtonTest (line 18) | @RunWith(AndroidJUnit4.class) method setup (line 23) | @Before method isPlayingReturnsFalse_andShowsPlayIcon (line 29) | @Test method whenPlayingIsTrue_showsPlayingIcon (line 35) | @Test method whenPlayingIsFalse_showsPlayIcon (line 41) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/audio/AudioControllerViewTest.java class AudioControllerViewTest (line 24) | @RunWith(AndroidJUnit4.class) method setup (line 30) | @Before method setDuration_showsDurationInMinutesAndSeconds (line 36) | @Test method setPosition_showsPositionInMinutesAndSeconds (line 42) | @Test method setPosition_changesSeekBarPosition (line 50) | @Test method swipingSeekBar_whenPaused_skipsToPositionOnceStopped (line 61) | @Test method swipingSeekBar_whenPlaying_pauses_andThenSkipsToPositionAndPlaysOnceStopped (line 84) | @Test method whenSwiping_notifiesSwipeableParent (line 110) | @Test method whenNoListenerSet_clickingRemove_doesNotExplode (line 121) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/audio/AudioRecordingControllerFragmentTest.java class AudioRecordingControllerFragmentTest (line 42) | @RunWith(AndroidJUnit4.class) method create (line 53) | @NonNull method setup (line 71) | @Before method updatesTimecode (line 100) | @Test method updatesWaveform (line 113) | @Test method clickingPause_pausesRecording (line 126) | @Test method whenRecordingPaused_clickingPause_resumesRecording (line 137) | @Test method whenRecordingPaused_pauseIconChangesToResume (line 149) | @Test method whenRecordingPaused_recordingStatusChangesToPaused (line 161) | @Test method whenRecordingResumed_pauseIconChangesToPause (line 172) | @Test method whenRecordingResumed_recordingStatusChangesToRecording (line 185) | @Test method whenFormHasBackgroundRecording_hidesControls (line 197) | @Test method whenFormHasBackgroundRecording_clickingHelpButton_opensHelpDialog (line 208) | @Test method whenFormDoesNotHaveBackgroundRecording_hidesHelpButton (line 223) | @Test method whenThereIsAnErrorStartingRecording_showsErrorDialog (line 234) | @Test method whenFormHasBackgroundRecording_andBackgroundRecordingIsDisabled_showsThatRecordingIsDisabled (line 246) | @Test method whenFormDoesNotHaveBackgroundRecording_andBackgroundRecordingIsDisabled_doesNotShowRecordingIsDisabled (line 261) | @Test method whenFormHasBackgroundRecording_andThereIsAnError_andSessionIsOver_showsThatThereIsAnError (line 272) | @Test method whenFormDoesNotHaveBackgroundRecording_andThereIsAnError_andSessionIsOver_doesNotThatThereIsAnError (line 292) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/audio/AudioRecordingFormErrorDialogFragmentTest.java class AudioRecordingFormErrorDialogFragmentTest (line 28) | @RunWith(AndroidJUnit4.class) method setup (line 36) | @Before method clickingOK_dismissesDialog (line 49) | @Test method onDismiss_consumesConsumable (line 64) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/audio/BackgroundAudioHelpDialogFragmentTest.java class BackgroundAudioHelpDialogFragmentTest (line 18) | @RunWith(AndroidJUnit4.class) method hasOkButton (line 24) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/database/DatabaseFormsRepositoryTest.java class DatabaseFormsRepositoryTest (line 15) | @RunWith(AndroidJUnit4.class) method buildSubject (line 22) | @Override method buildSubject (line 27) | @Override method getFormFilesPath (line 32) | @Override FILE: collect_app/src/test/java/org/odk/collect/android/database/FormDatabaseMigratorTest.java class FormDatabaseMigratorTest (line 41) | @RunWith(AndroidJUnit4.class) method setup (line 46) | @Before method teardown (line 52) | @After method databaseIdsShouldNotBeReused (line 57) | @Test method onUpgrade_fromVersion13 (line 79) | @Test method onUpgrade_fromVersion12 (line 119) | @Test method onUpgrade_fromVersion11 (line 159) | @Test method onUpgrade_fromVersion10 (line 199) | @Test method onUpgrade_fromVersion9 (line 239) | @Test method onUpgrade_fromVersion8 (line 280) | @Test method onUpgrade_fromVersion7 (line 320) | @Test method createVersion8Form (line 360) | private ContentValues createVersion8Form() { method createVersion7Form (line 381) | private ContentValues createVersion7Form() { method createVersion9Form (line 401) | private ContentValues createVersion9Form() { method createVersion10Form (line 422) | private ContentValues createVersion10Form() { method createVersion11Form (line 443) | private ContentValues createVersion11Form() { method getContentValuesForFormV12 (line 464) | private ContentValues getContentValuesForFormV12() { method getContentValuesForFormV13 (line 486) | private ContentValues getContentValuesForFormV13() { FILE: collect_app/src/test/java/org/odk/collect/android/dependencies/BikramSambatTest.java class BikramSambatTest (line 29) | public class BikramSambatTest { method convertingGregorianToBikramSambatTest (line 31) | @Test method convertingBikramSambatToGregorian (line 89) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/dependencies/PersianCalendarTest.java class PersianCalendarTest (line 32) | public class PersianCalendarTest { method convertingGregorianToPersianTest (line 34) | @Test method convertingPersianToGregorianTest (line 97) | @Test method assertDate (line 160) | private void assertDate(DateTime dateTime, int expectedYear, int expec... method getPersianDateTime (line 166) | private DateTime getPersianDateTime(DateTime gregorianDateTime) { method getGregorianDateTime (line 170) | private DateTime getGregorianDateTime(DateTime persianDateTime) { FILE: collect_app/src/test/java/org/odk/collect/android/dynamicpreload/ExternalDataReaderTest.java class ExternalDataReaderTest (line 41) | @RunWith(AndroidJUnit4.class) method setUp (line 55) | @Before method doImport_createsDataAndMetadataTables (line 77) | @Test method doImport_doesNotModifyOriginalCsv (line 94) | @Test method createAndPopulateMetadataTable_createsMetadataTableWithExpectedMd5Hash (line 103) | @Test method doImport_reimportsCsvIfDatabaseFileIsDeleted (line 124) | @Test method doImport_reimportsCsvIfMetadataTableIsMissing (line 139) | @Test method doImport_reimportsCsvIfFileIsUpdated (line 160) | @Test method doImport_skipsImportIfFileNotUpdated (line 193) | @Test method makeExternalDataMap (line 218) | private static Map makeExternalDataMap() { FILE: collect_app/src/test/java/org/odk/collect/android/dynamicpreload/ExternalDataUtilTest.java class ExternalDataUtilTest (line 6) | public class ExternalDataUtilTest { method testSafeColumnName (line 7) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/external/FormsProviderTest.java class FormsProviderTest (line 47) | @RunWith(AndroidJUnit4.class) method setup (line 55) | @Before method insert_doesNotInsertForms_andReturnsNull (line 65) | @Test method update_doesNotUpdateForms_andReturns0 (line 81) | @Test method delete_deletesForm (line 98) | @Test method delete_deletesFiles (line 108) | @Test method delete_withSelection_onlyDeletesMatchingForms (line 135) | @Test method query_returnsTheExpectedNumberColumns (line 150) | @Test method query_withProjection_onlyReturnsSpecifiedColumns (line 159) | @Test method query_withSelection_onlyReturnsMatchingRows (line 173) | @Test method query_withSortOrder_returnsSortedResults (line 190) | @Test method query_withoutProjectId_usesFirstProject (line 210) | @Test method getType_returnsFormAndAllFormsTypes (line 231) | @Test method addFormsToDirAndDb (line 237) | private Uri addFormsToDirAndDb(String projectId, String id, String nam... method getContentValues (line 254) | @NotNull method addFormToFormsDir (line 269) | private File addFormToFormsDir(String projectId, String formId, String... method createFormFileInFormsDir (line 277) | private File createFormFileInFormsDir(String projectId, String formId,... method createExtraFormFiles (line 285) | private void createExtraFormFiles(String projectId, File formFile, Str... method getFormsDirPath (line 303) | @NotNull FILE: collect_app/src/test/java/org/odk/collect/android/external/InstanceProviderTest.java class InstanceProviderTest (line 50) | @RunWith(AndroidJUnit4.class) method setup (line 57) | @Before method insert_addsInstance (line 66) | @Test method insert_withSubmissionUri_throwsException (line 85) | @Test method insert_returnsInstanceUri (line 98) | @Test method update_doesNotUpdateInstance_andReturns0 (line 108) | @Test method delete_deletesInstance (line 131) | @Test method delete_deletesInstanceDir (line 141) | @Test method delete_whenStatusIsSubmitted_deletesFilesButSoftDeletesInstance (line 150) | @Test method delete_whenStatusIsSubmitted_clearsGeometryFields (line 170) | @Test method delete_withInstanceUri_andSelection_doesNotDeleteInstanceThatDoesNotMatchSelection (line 197) | @Test method delete_withSelection_deletesMatchingInstances (line 209) | @Test method query_returnsTheExpectedNumberColumns (line 223) | @Test method query_withProjection_onlyReturnsSpecifiedColumns (line 232) | @Test method query_withSelection_onlyReturnsMatchingRows (line 246) | @Test method query_withSortOrder_returnsSortedResults (line 264) | @Test method query_withoutProjectId_usesFirstProject (line 284) | @Test method getType_returnsInstanceAndAllInstanceTypes (line 305) | @Test method createInstanceDirAndFile (line 311) | private File createInstanceDirAndFile(String projectId) { method addInstanceToDb (line 315) | private Uri addInstanceToDb(String projectId, String instanceFilePath,... method getContentValues (line 320) | private ContentValues getContentValues(String instanceFilePath, String... FILE: collect_app/src/test/java/org/odk/collect/android/formentry/AudioVideoImageTextLabelTest.java class AudioVideoImageTextLabelTest (line 35) | @RunWith(AndroidJUnit4.class) method setup (line 45) | @Before method withNullText_hidesTextLabel (line 50) | @Test method withBlankText_hidesTextLabel (line 58) | @Test method withText_andAudio_showsTextAndAudioButton (line 66) | @Test method withText_andAudio_playingAudio_highlightsText (line 77) | @Test method withAudio_pressingStopOnAudioButton_stopsAudio (line 95) | @Test method bothClickingLabelAndImageView_shouldSelectOptionInSelectOneMode (line 106) | @Test method bothClickingLabelAndImageView_shouldSelectOptionInSelectMultiMode (line 130) | @Test method whenClickOneElementTwiceInSelectOneMode_shouldThatElementRemainSelected (line 150) | @Test method whenClickOneElementTwiceInSelectMultiMode_shouldThatElementBeUnSelected (line 178) | @Test method whenImageFileDoesNotExist_ShouldAnAppropriateMessageBeDisplayed (line 206) | @Test method whenVideoFileClicked_ShouldMediaUtilsBeCalled (line 217) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/formentry/BackgroundAudioPermissionDialogFragmentTest.java class BackgroundAudioPermissionDialogFragmentTest (line 34) | @RunWith(AndroidJUnit4.class) method create (line 41) | @NonNull method setup (line 55) | @Before method isNotCancellable (line 68) | @Test method clickingOk_andGrantingPermissions_callsGrantPermission (line 76) | @Test method clickingOk_andGrantingPermissions_whenGrantPermissionsThrowsIllegalStateException_finishesActivity (line 93) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/formentry/BackgroundAudioViewModelTest.java class BackgroundAudioViewModelTest (line 34) | @RunWith(AndroidJUnit4.class) method setup (line 49) | @Before method whenRecordAudioActionIsTriggered_whenQualityIsVoiceOnly_startsAMRRecording (line 61) | @Test method whenRecordAudioActionIsTriggered_whenQualityIsLow_startsAACLowRecording (line 76) | @Test method whenRecordAudioActionIsTriggered_whenQualityIsMissings_startsAMRRecording (line 91) | @Test method onCleared_unregistersRecordAudioActionListener (line 106) | @Test method grantAudioPermission_startsBackgroundRecording (line 112) | @Test method grantAudioPermission_whenActionsHaveDifferentQualities_usesFirstQuality (line 131) | @Test method grantAudioPermission_setsPermissionRequiredToFalse (line 150) | @Test method grantAudioPermission_whenThereWasNoPermissionCheck_throwsIllegalStateException (line 162) | @Test(expected = IllegalStateException.class) method setBackgroundRecordingEnabled_whenFalse_logsEventToAuditLog (line 167) | @Test method setBackgroundRecordingEnabled_whenTrue_logsEventToAuditLog (line 174) | @Test method onCleared_stopsUpdatingAuditEventLogger (line 181) | @Test class FakeRecordAudioActionRegistry (line 193) | private static class FakeRecordAudioActionRegistry implements Backgrou... method register (line 198) | @Override method unregister (line 203) | @Override FILE: collect_app/src/test/java/org/odk/collect/android/formentry/FormEntryViewModelTest.java class FormEntryViewModelTest (line 50) | @RunWith(AndroidJUnit4.class) method setup (line 66) | @Before method refresh_whenEventIsBeginningOfForm_stepsForwards (line 78) | @Test method refresh_whenEventIsBeginningOfForm_andThereIsAnErrorSteppingForward_setsError (line 87) | @Test method addRepeat_stepsToNextScreenEvent (line 97) | @Test method addRepeat_whenThereIsAnErrorCreatingRepeat_setsErrorWithMessage (line 104) | @Test method addRepeat_whenThereIsAnErrorCreatingRepeat_setsErrorWithoutCause (line 113) | @Test method addRepeat_whenThereIsAnErrorSteppingToNextScreen_setsErrorWithMessage (line 126) | @Test method addRepeat_whenThereIsAnErrorSteppingToNextScreen_setsErrorWithoutCause (line 135) | @Test method cancelRepeatPrompt_afterPromptForNewRepeatAndAddRepeat_stepsToNextRatherThanJumpingBack (line 148) | @Test method cancelRepeatPrompt_afterPromptForNewRepeatAndCancelRepeatPrompt_stepsToNextRatherThanJumpingBack (line 166) | @Test method cancelRepeatPrompt_whenThereIsAnErrorSteppingToNextScreen_setsErrorWithMessage (line 186) | @Test method getQuestionPrompt_returnsPromptForIndex (line 195) | @Test method moveForward_whenThereIsAnErrorSteppingToNextEvent_setErrorWithMessage (line 204) | @Test method moveForward_withEvaluateConstraints_whenThereIsAFailedConstraint_setsFailedConstraint (line 214) | @Test method moveForward_withEvaluateConstraints_whenThereIsAFailedConstraint_doesNotFlushAuditLog (line 231) | @Test method moveForward_withEvaluateConstraints_whenThereIsAFailedConstraint_doesNotStepToNextEvent (line 244) | @Test method moveForward_whenThereIsAnErrorSaving_setsErrorWithMessage (line 257) | @Test method moveForward_whenThereIsAnErrorSaving_doesNotStepToNextEvent (line 267) | @Test method moveForward_setsLoadingToTrueWhileBackgroundWorkHappens (line 277) | @Test method moveBackward_whenThereIsAnErrorSteppingToPreviousEvent_setErrorWithMessage (line 288) | @Test method moveBackward_whenThereIsAnErrorSaving_setsErrorWithMessage (line 298) | @Test method moveBackward_whenThereIsAnErrorSaving_doesNotStepToPreviousEvent (line 308) | @Test method moveBackward_whenThereIsAnErrorSaving_doesNotFlushAuditLog (line 321) | @Test method moveBackward_setsLoadingToTrueWhileBackgroundWorkHappens (line 331) | @Test method validate_setsLoadingToTrueWhileBackgroundWorkHappens (line 342) | @Test method validate_whenThereIsAnErrorValidating_setsError (line 353) | @Test method refresh_whenThereIsASelectOnePrompt_preloadsSelectChoices (line 362) | @Test method isFormEditableAfterFinalization_returnsFalse_whenSubmissionProfileIsMissing (line 392) | @Test method isFormEditableAfterFinalization_returnsFalse_whenSubmissionProfileHasNoClientEditableAttribute (line 397) | @Test method isFormEditableAfterFinalization_returnsFalse_whenClientEditableAttributeIsNotTrue (line 408) | @Test method isFormEditableAfterFinalization_returnsTrue_whenClientEditableAttributeIsTrue (line 422) | @Test method exit_releasesFormsLock (line 436) | @Test method answerQuestion_savesAnswerToFormController (line 444) | @Test method answerQuestion_whenQuestionIsAutoAdvance_movesForward (line 457) | @Test method answerQuestion_whenQuestionIsAutoAdvance_andAnswerViolatesConstraint_setsFailedConstraint (line 474) | @Test method answerQuestion_setsQuestionIndexToUpdatedQuestionIndex (line 495) | @Test method answerQuestion_whenQuestionIsAutoAdvance_setsScreenIndexToNextScreenIndex (line 517) | @Test method answerQuestion_whenQuestionIsAutoAdvance_andAnswerViolatesConstraint_setsScreenIndexToCurrentScreenIndex (line 541) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/formentry/FormLoadingDialogFragmentTest.java class FormLoadingDialogFragmentTest (line 14) | @RunWith(AndroidJUnit4.class) method dialogIsNotCancellable (line 20) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/formentry/RecordingHandlerTest.java class RecordingHandlerTest (line 32) | @SuppressWarnings("PMD.DoubleBraceInitialization") method setup (line 47) | @Before method whenBackgroundRecordingM4A_andThereIsNoRecordingAlreadySavedForReference_savesNewAnswer (line 52) | @Test method whenBackgroundRecordingM4A_andRecordingAlreadySavedForReference_appendsAudioFiles (line 75) | @Test method whenBackgroundRecordingM4A_andRecordingAlreadySavedForReferenceButTheAudioFileDoesNotExist_savesNewAnswer (line 97) | @Test method whenBackgroundRecordingAMR_andThereIsNoRecordingAlreadySavedForReference_savesNewAnswer (line 126) | @Test method whenBackgroundRecordingAMR_andRecordingAlreadySavedForReference_appendsAudioFiles (line 149) | @Test method whenBackgroundRecordingAMR_andRecordingAlreadySavedForReferenceButTheAudioFileDoesNotExist_savesNewAnswer (line 171) | @Test method whenBackgroundRecording_andRecordingAlreadySavedForReference_deletesNewFile (line 200) | @Test class TestFormController (line 221) | private class TestFormController extends StubFormController { method getFormDef (line 222) | @Override method getAnswer (line 227) | @Override FILE: collect_app/src/test/java/org/odk/collect/android/formentry/RefreshFormListDialogFragmentTest.java class RefreshFormListDialogFragmentTest (line 20) | @RunWith(AndroidJUnit4.class) method dialogIsNotCancellable (line 26) | @Test method clickingCancel_calls_onCancelFormLoading (line 34) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/formentry/SaveFormProgressDialogFragmentTest.java class SaveFormProgressDialogFragmentTest (line 25) | @RunWith(AndroidJUnit4.class) method create (line 30) | @NonNull method setup (line 44) | @Before method dialogIsNotCancellable (line 49) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/formentry/audit/AsyncTaskAuditEventWriterTest.java class AsyncTaskAuditEventWriterTest (line 50) | @RunWith(AndroidJUnit4.class) method setup (line 56) | @Before method saveAuditWithLocation (line 61) | @Test method saveAuditWithLocationAndTrackingChanges (line 85) | @Test method saveAuditWithUser (line 105) | @Test method saveAuditWithChangeReason (line 127) | @Test method whenChangeReasonHasCommaOrQuotes_escapesThem (line 142) | @Test method whenUserHasCommaOrQuotes_escapesThem (line 157) | @Test method whenAppUpdatedBetweenInstances_updatesHeader (line 176) | @Test method getSampleAuditEventsWithUser (line 306) | private List getSampleAuditEventsWithUser() { method getMoreSampleAuditEventsWithLocationsAndTrackingChangesAndUser (line 315) | private List getMoreSampleAuditEventsWithLocationsAndTrack... method getSampleAuditEventsWithoutLocations (line 324) | private List getSampleAuditEventsWithoutLocations() { method getMoreSampleAuditEventsWithLocations (line 355) | private ArrayList getMoreSampleAuditEventsWithLocations() { method getMoreSampleAuditEventsWithLocationsAndTrackingChanges (line 390) | private ArrayList getMoreSampleAuditEventsWithLocationsAnd... method getSampleAuditEventsWithLocations (line 424) | private ArrayList getSampleAuditEventsWithLocations() { method getSampleAuditEventsWithLocationsAndTrackingChanges (line 479) | private ArrayList getSampleAuditEventsWithLocationsAndTrac... method getTestFormIndex (line 527) | private FormIndex getTestFormIndex(String xpathPath) { FILE: collect_app/src/test/java/org/odk/collect/android/formentry/audit/AuditConfigTest.java class AuditConfigTest (line 30) | public class AuditConfigTest { method testParameters (line 32) | @Test method logLocationCoordinatesOnlyIfAllParametersAreSet (line 51) | @Test method testPriorities (line 71) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/formentry/audit/AuditEventCSVLineTest.java class AuditEventCSVLineTest (line 39) | public class AuditEventCSVLineTest { method commas_shouldBeSurroundedByQuotes (line 45) | @Test method newlines_shouldBeSurroundedByQuotes (line 54) | @Test method quotes_shouldBeEscaped_andSurroundedByQuotes (line 63) | @Test method toString_ (line 73) | @Test method toString_withLocationCoordinates (line 86) | @Test method toString_withTrackingChanges (line 99) | @Test method toString_withLocationCoordinates_andTrackingChanges (line 112) | @Test method toStringNullValues (line 126) | @Test method testEventTypes (line 140) | @Test method getTestFormIndex (line 263) | private FormIndex getTestFormIndex() { FILE: collect_app/src/test/java/org/odk/collect/android/formentry/audit/AuditEventLoggerTest.java class AuditEventLoggerTest (line 61) | public class AuditEventLoggerTest { method setup (line 71) | @Before method whenAuditConfigIsNull_doesntWriteEvents (line 79) | @Test method usesMostAccurateLocationForEvents (line 88) | @Test method expiresLocationsOlderThan60Seconds (line 136) | @Test method whenNoLocationSet_doesntAddedLocationToEvents (line 163) | @Test method isDuplicateOfLastAuditEventTest (line 173) | @Test method withUserSet_addsUserToEvents (line 186) | @Test method logEvent_WithChangeReason_addsChangeReasonToEvent (line 197) | @Test method testEventTypes (line 207) | @Test class TestWriter (line 239) | private static class TestWriter implements AuditEventLogger.AuditEvent... method writeEvents (line 243) | @Override method isWriting (line 248) | @Override FILE: collect_app/src/test/java/org/odk/collect/android/formentry/audit/AuditEventTest.java class AuditEventTest (line 30) | public class AuditEventTest { method getAuditEventTypeFromFecTypeTest (line 32) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/formentry/audit/FormSaveViewModelTest.java class FormSaveViewModelTest (line 62) | @RunWith(AndroidJUnit4.class) method setup (line 85) | @Before method saveForm_returnsSaveResult_inSavingState (line 110) | @Test method saveForm_wontRunMultipleSavesAtOnce (line 117) | @Test method saveForm_whenReasonRequiredToSave_returnsSaveResult_inChangeReasonRequiredState (line 130) | @Test method saveForm_whenReasonRequiredToSave_andAudioIsRecording_andExiting_returnsSaveResult_inChangeReasonRequiredState (line 139) | @Test method whenFormSaverFinishes_saved_setsSaveResultState_toSaved (line 149) | @Test method whenFormSaverFinishes_whenViewExiting_logsFormSaveAndFormExitAuditEventAfterFlush (line 158) | @Test method whenFormSaverFinishes_whenFormComplete_andViewExiting_logsFormExitAndFinalizeAuditEventsAfterFlush (line 174) | @Test method whenFormSaverFinishes_savedAndExit_setsSaveResultState_toSaved (line 191) | @Test method whenFormSaverFinishes_saveError_setSaveResultState_toSaveErrorWithMessage (line 200) | @Test method whenFormSaverFinishes_saveError_logsSaveErrorAuditEvenAfterFlush (line 210) | @Test method whenFormSaverFinishes_encryptionError_setSaveResultState_toFinalizeErrorWithMessage (line 221) | @Test method whenFormSaverFinishes_encryptionError_logsFinalizeErrorAuditEventAfterFlush (line 231) | @Test method whenFormSaverFinishes_answerConstraintViolated_setSaveResultState_toConstraintError (line 242) | @Test method whenFormSaverFinishes_answerConstraintViolated_finalizesAndLogsConstraintErrorAuditEvent (line 251) | @Test method whenFormSaverFinishes_answerRequiredButEmpty_setSaveResultState_toConstraintError (line 262) | @Test method whenFormSaverFinishes_isSaving_returnsFalse (line 271) | @Test method saveForm_savesCorrectFiles (line 282) | @Test method whenReasonRequiredToSave_resumeSave_setsSaveResultState_toSaving (line 298) | @Test method whenReasonRequiredToSave_resumeSave_logsChangeReasonAuditEvent (line 309) | @Test method whenReasonRequiredToSave_resumeSave_whenReasonIsNotValid_doesNotSave (line 320) | @Test method whenReasonRequiredToSave_andRecordingAudio_andExiting_resumeSave_savesRecording (line 335) | @Test method resumeFormEntry_clearsSaveResult (line 348) | @Test method ignoreChanges_whenThereAreUnsavedFiles_shouldDeleteThoseFiles (line 356) | @Test method ignoreChanges_whenAudioIsRecording_cleansUpAudioRecorder (line 364) | @Test method deleteAnswerFile_whenAnswerFileHasAlreadyBeenDeleted_actuallyDeletesNewFile (line 378) | @Test method deleteAnswerFile_whenAnswerFileHasAlreadyBeenDeleted_onRecreatingViewModel_actuallyDeletesNewFile (line 386) | @Test method replaceAnswerFile_whenAnswerFileHasAlreadyBeenReplaced_deletesPreviousReplacement (line 400) | @Test method replaceAnswerFile_whenAnswerFileHasAlreadyBeenReplaced_afterRecreatingViewModel_deletesPreviousReplacement (line 408) | @Test method getAnswerFile_returnsFileFromInstance (line 418) | @Test method createAnswerFile_copiesFileToInstanceFolder_andReturnsNewName (line 427) | @Test method createAnswerFile_whenThereIsAnError_returnsNull_andSetsAnswerFileErrorToFilePath (line 440) | @Test method createAnswerFile_forSameFile_returnsSameName (line 454) | @Test method isSavingFileAnswerFile_isTrueWhenWhileIsSaving (line 470) | @Test method ignoreChanges_whenFormControllerNotSet_doesNothing (line 484) | @Test method getLastSavedTime_whenNewInstance_returnsNull (line 490) | @Test method getLastSavedTime_whenInstanceNotSaved_returnsLastStatusChange (line 495) | @Test method getLastSavedTime_whenInstanceSaved_returnsLastStatusChange (line 505) | @Test method canBeFullyDiscarded_whenNewInstance_returnsTrue (line 513) | @Test method canBeFullyDiscarded_whenSavedInstance_returnsFalse (line 518) | @Test method canBeFullyDiscarded_whenNewlyEditedInstance_returnsTrue (line 529) | @Test method whenReasonRequiredToSave (line 540) | private void whenReasonRequiredToSave() { method whenFormSaverFinishes (line 545) | private void whenFormSaverFinishes(int result) { method whenFormSaverFinishes (line 549) | private void whenFormSaverFinishes(int result, String message) { class FakeFormSaver (line 558) | public static class FakeFormSaver implements FormSaver { method save (line 569) | @Override FILE: collect_app/src/test/java/org/odk/collect/android/formentry/audit/IdentityPromptViewModelTest.java class IdentityPromptViewModelTest (line 13) | @RunWith(AndroidJUnit4.class) method done_setsUserOnAuditEventLogger (line 16) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/formentry/backgroundlocation/BackgroundLocationManagerTest.java class BackgroundLocationManagerTest (line 29) | @RunWith(AndroidJUnit4.class) method setUp (line 40) | @Before method displayingActivityManyTimes_HasNoEffect_WhenFormNotLoaded (line 51) | @Test method locationPermissions_AreRequested_WhenFormRequestsBackgroundLocation_AndPreconditionsAreMet (line 73) | @Test method locationPermissionDenied_IsLogged_WhenFormAuditsLocation (line 89) | @Test method locationPermissionGranted_IsLogged_WhenFormAuditsLocation (line 107) | @Test method androidPermissionEvent_IsNotLogged_WhenActivityDisplayedMultipleTimes (line 128) | @Test method playServicesWarning_IsReturnedAndLogged_WhenFormRequestsBackgroundLocation_AndPlayServicesNotAvailable (line 159) | @Test method preferencesWarning_IsReturnedAndLogged_WhenFormRequestsBackgroundLocation_AndPreferenceDisabled (line 173) | @Test method playServicesWarning_IsReturned_WhenFormRequestsBackgroundLocation_AndNoPreconditionMet (line 187) | @Test method providersWarning_IsReturned_WhenFormRequestsLocationAudit_AndNoProviderAvailable (line 201) | @Test method locationTrackingWarning_IsReturned_WhenFormRequestsBackgroundLocation_AndAllPreconditionsMet (line 225) | @Test method locationChanges_AreSentToAuditLogger_WhenFormAuditsLocation_AndAllPreconditionsMet (line 238) | @Test method locationChanges_AreNotSentToAuditLogger_WhenFormHasSetGeopointAndNoAudit (line 265) | @Test method revokingLocationPermission_ResultsInLocationUpdatesStopping_WhenFormAuditsLocation (line 283) | @Test method grantingLocationPermission_ResultsInLocationUpdatesStarting_WhenFormAuditsLocation (line 323) | @Test method togglingBackgroundLocationPreference_TogglesLocationCapture (line 358) | @Test method changesInLocationProviders_AreAudited_IfFormRequestsAudit_AndAllPreconditionsMet (line 401) | @Test method locationEvents_IsNeverLogged_WhenFormDoesNotRequestLocation (line 438) | @Test method locationRequests_Resume_WhenActivityIsDisplayed_AndFormThatAuditsLocationWasAlreadyLoaded (line 469) | @Test method locationRequests_DoNotResume_WhenActivityIsDisplayed_AndFormThatDoesNotAuditLocationWasAlreadyLoaded (line 493) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/formentry/repeats/DeleteRepeatDialogFragmentTest.java class DeleteRepeatDialogFragmentTest (line 38) | @RunWith(AndroidJUnit4.class) method setup (line 47) | @Before method dialogIsNotCancellable (line 66) | @Test method shouldShowCorrectMessage (line 72) | @Test method clickingCancel_shouldDismissTheDialog (line 80) | @Test method clickingRemoveGroup_shouldDismissTheDialog (line 92) | @Test method clickingRemoveGroup_setsResult (line 104) | @Test method clickingRemoveGroup_callsDeleteRepeat (line 116) | @Test method launchDialog (line 125) | private AlertDialog launchDialog() { class TestActivity (line 131) | public static class TestActivity extends FragmentActivity { class FragmentResultCapturer (line 135) | private static class FragmentResultCapturer implements FragmentResultL... method onFragmentResult (line 139) | @Override FILE: collect_app/src/test/java/org/odk/collect/android/formmanagement/LocalFormUseCasesTest.java class LocalFormUseCasesTest (line 17) | public class LocalFormUseCasesTest { method whenFormHasDeletedInstances_deletesForm (line 22) | @Test method whenOtherVersionOfFormHasInstances_deletesForm (line 40) | @Test method whenFormHasNullVersion_butAnotherVersionHasInstances_deletesForm (line 65) | @Test method whenFormHasNullVersion_andInstancesWithNullVersion_softDeletesForm (line 90) | @Test method whenFormIdAndVersionCombinationIsNotUnique_andInstanceExists_hardDeletesForm (line 106) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/formmanagement/ServerFormsSynchronizerTest.java class ServerFormsSynchronizerTest (line 30) | public class ServerFormsSynchronizerTest { method downloadsNewForms (line 39) | @Test method downloadsUpdatedForms (line 49) | @Test method deletesFormsNotInList (line 59) | @Test method doesNotDownloadExistingForms (line 76) | @Test method whenFetchingFormDetailsThrowsAnError_throwsError (line 86) | @Test method whenDownloadingFormThrowsAnError_throwsErrorAndDownloadsOtherForms (line 98) | @Test class RecordingFormDownloader (line 119) | private static class RecordingFormDownloader implements FormDownloader { method downloadForm (line 123) | @Override method getDownloadedForms (line 128) | public List getDownloadedForms() { FILE: collect_app/src/test/java/org/odk/collect/android/formmanagement/ShouldAddFormFileTest.java class ShouldAddFormFileTest (line 6) | public class ShouldAddFormFileTest { method rejectIgnoredFiles (line 8) | @Test method rejectNonFormFileTypes (line 17) | @Test method acceptXmlForm (line 27) | @Test method acceptXhtmlForm (line 32) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/formmanagement/download/ServerFormDownloaderTest.java class ServerFormDownloaderTest (line 47) | public class ServerFormDownloaderTest { method downloadsAndSavesForm (line 57) | @Test method whenFormToDownloadIsUpdate_savesNewVersionAlongsideOldVersion (line 86) | @Test method whenFormToDownloadIsUpdate_withSameFormIdAndVersion_replacePreExistingForm (line 127) | @Test method whenFormListMissingHash_throwsError (line 183) | @Test method whenFormHasMediaFiles_downloadsAndSavesFormAndMediaFiles (line 208) | @Test method whenFormHasMediaFiles_andIsFormToDownloadIsUpdate_doesNotRedownloadMediaFiles (line 250) | @Test method whenFormHasMediaFiles_andIsFormToDownloadIsUpdate_downloadsFilesWithChangedHash (line 295) | @Test method whenFormHasMediaFiles_andFetchingMediaFileFails_throwsFetchErrorAndDoesNotSaveAnything (line 343) | @Test method whenFormHasMediaFiles_andFileExistsInMediaDirPath_throwsDiskExceptionAndDoesNotSaveAnything (line 374) | @Test method beforeDownloadingEachMediaFile_reportsProgress (line 408) | @Test method whenFormIsSoftDeleted_unDeletesForm (line 437) | @Test method whenMultipleFormsWithSameFormIdVersionDeleted_reDownloadUnDeletesFormWithSameHash (line 463) | @Test method whenFormAlreadyDownloaded_formRemainsOnDevice (line 497) | @Test method whenFormAlreadyDownloaded_andFormHasNewMediaFiles_updatesMediaFilesAndLastDetectedAttachmentsUpdateDateInForm (line 539) | @Test method whenFormAlreadyDownloaded_andFormHasNewMediaFiles_andMediaFetchFails_throwsFetchError (line 602) | @Test method afterDownloadingXForm_cancelling_throwsDownloadingInterruptedExceptionAndDoesNotSaveAnything (line 656) | @Test method afterDownloadingMediaFile_cancelling_throwsDownloadingInterruptedExceptionAndDoesNotSaveAnything (line 682) | @Test method whenFormHasEntityAttachmentsButNoEntityBlock_downloadsAndSavesFormAsAFormUsingEntities (line 711) | @Test method whenFormHasEntityAttachmentsAndEntityBlock_downloadsAndSavesFormAsAFormUsingEntities (line 739) | @Test method whenFormLacksEntityAttachmentsButHasEntityBlock_downloadsAndSavesFormAsAFormUsingEntities (line 767) | @Test method whenFormLacksEntityAttachmentsAndEntityBlock_downloadsAndSavesFormAsAFormNotUsingEntities (line 795) | @Test method whenFormAlreadyDownloadedDoesNotHaveEntities_andOneOfTheAttachmentsBecomesMarkedAsAnEntityList_downloadsAndMarkTheFormAsAFormThatUsesEntities (line 823) | @Test method whenAFormWithAnEntityListHasAlreadyBeenDownloading_redownloadingDoesNotUpdateLastDetectedAttachmentsUpdateDate (line 876) | @Test method getFormFilesPath (line 909) | private String getFormFilesPath() { method getCacheFilesPath (line 913) | private String getCacheFilesPath() { class RecordingProgressReporter (line 917) | public static class RecordingProgressReporter implements FormDownloade... method onDownloadingMediaFile (line 921) | @Override class CancelAfterFormDownloadFormSource (line 927) | public static class CancelAfterFormDownloadFormSource implements FormS... method CancelAfterFormDownloadFormSource (line 932) | public CancelAfterFormDownloadFormSource(String xform) { method fetchForm (line 936) | @Override method fetchFormList (line 942) | @Override method fetchManifest (line 947) | @Override method fetchMediaFile (line 952) | @Override method get (line 957) | @Override class CancelAfterMediaFileDownloadFormSource (line 963) | public static class CancelAfterMediaFileDownloadFormSource implements ... method CancelAfterMediaFileDownloadFormSource (line 968) | public CancelAfterMediaFileDownloadFormSource(String xform) { method fetchForm (line 972) | @Override method fetchMediaFile (line 977) | @Override method fetchFormList (line 983) | @Override method fetchManifest (line 988) | @Override method get (line 993) | @Override class FakeClock (line 999) | private static class FakeClock { method FakeClock (line 1002) | FakeClock(long time) { method set (line 1006) | void set(long time) { method get (line 1010) | long get() { FILE: collect_app/src/test/java/org/odk/collect/android/fragments/dialogs/SelectMinimalDialogTest.java class SelectMinimalDialogTest (line 34) | @RunWith(AndroidJUnit4.class) method setup (line 41) | @Before method whenClickBackButton_shouldDialogBeClosed (line 61) | @Test method whenClickBackArrowButton_shouldDialogBeClosed (line 77) | @Test method whenAutoCompleteAppearanceUsed_shouldSearchBarBeVisible (line 93) | @Test method isDialogVisible (line 107) | protected boolean isDialogVisible() { method getTestChoices (line 114) | protected List getTestChoices() { method setUpFormEntryPrompt (line 121) | protected void setUpFormEntryPrompt(List items, String a... FILE: collect_app/src/test/java/org/odk/collect/android/fragments/dialogs/SelectMultiMinimalDialogTest.java class SelectMultiMinimalDialogTest (line 19) | public class SelectMultiMinimalDialogTest extends SelectMinimalDialogTest { method whenClickBackButton_shouldAnswerBeSavedOnlyIfChanged (line 20) | @Test method whenClickBackArrowButton_shouldAnswerBeSavedOnlyIfChanged (line 41) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/fragments/dialogs/SelectOneMinimalDialogTest.java class SelectOneMinimalDialogTest (line 17) | public class SelectOneMinimalDialogTest extends SelectMinimalDialogTest { method whenClickBackButton_shouldAnswerBeSavedOnlyIfChanged (line 18) | @Test method whenClickBackArrowButton_shouldAnswerBeSavedOnlyIfChanged (line 36) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/fragments/support/DialogFragmentHelpers.java class DialogFragmentHelpers (line 30) | public class DialogFragmentHelpers { method DialogFragmentHelpers (line 32) | private DialogFragmentHelpers() { method setUpDatePickerDetails (line 35) | public static DatePickerDetails setUpDatePickerDetails(DatePickerDetai... method getDialogFragmentArguments (line 45) | public static Bundle getDialogFragmentArguments(DatePickerDetails date... method assertDialogIsCancellable (line 52) | public static void assertDialogIsCancellable(boolean cancellable) { method assertDialogShowsCorrectDate (line 56) | public static void assertDialogShowsCorrectDate(int year, int month, i... method assertDialogShowsCorrectDateForYearMode (line 63) | public static void assertDialogShowsCorrectDateForYearMode(int year, S... method assertDialogShowsCorrectDateForMonthMode (line 70) | public static void assertDialogShowsCorrectDateForMonthMode(int year, ... method assertDialogTextViewUpdatesDate (line 77) | public static void assertDialogTextViewUpdatesDate(String date, int ye... method assertDateUpdateInActivity (line 84) | public static void assertDateUpdateInActivity(DatePickerTestActivity a... method assertDialogIsDismissedOnButtonClick (line 96) | public static void assertDialogIsDismissedOnButtonClick(int dialogButt... method assertDialogRetainsDateOnScreenRotation (line 106) | @Deprecated method setDatePickerValue (line 125) | private static void setDatePickerValue(AlertDialog dialog, int year, i... method assertDatePickerValue (line 131) | private static void assertDatePickerValue(AlertDialog dialog, int year... class DatePickerTestActivity (line 137) | public static class DatePickerTestActivity extends FragmentActivity im... method onDateChanged (line 140) | @Override FILE: collect_app/src/test/java/org/odk/collect/android/javarosawrapper/FakeFormController.java class FakeFormController (line 22) | public class FakeFormController extends StubFormController { method FakeFormController (line 40) | public FakeFormController(FormIndex startingIndex, AuditEventLogger au... method getFormIndex (line 45) | @Nullable method getFormDef (line 51) | @Nullable method getEvent (line 57) | @Override method getAuditEventLogger (line 62) | @Nullable method stepToNextScreenEvent (line 68) | @Override method newRepeat (line 86) | @Override method saveOneScreenAnswer (line 93) | @Override method saveAllScreenAnswers (line 103) | @NonNull method getQuestionPrompt (line 120) | @Nullable method getQuestionPrompt (line 126) | @Nullable method validateAnswerConstraint (line 132) | @Override method validateAnswers (line 141) | @NonNull method stepToPreviousScreenEvent (line 151) | @Override method jumpToNewRepeatPrompt (line 162) | @Override method jumpToIndex (line 171) | @Override method getAnswer (line 177) | @Override method addNextEvents (line 182) | public void addNextEvents(List events) { method getStepPosition (line 186) | public int getStepPosition() { method setNewRepeatError (line 190) | public void setNewRepeatError(RuntimeException exception) { method setNextStepError (line 194) | public void setNextStepError(JavaRosaException exception) { method setPreviousStepError (line 198) | public void setPreviousStepError(JavaRosaException exception) { method setSaveError (line 202) | public void setSaveError(JavaRosaException exception) { method setPrompt (line 206) | public void setPrompt(FormIndex index, FormEntryPrompt prompt) { method setFailedConstraint (line 210) | public void setFailedConstraint(FailedValidationResult result) { method setValidationError (line 214) | public void setValidationError(JavaRosaException exception) { method setNextRepeatPrompt (line 218) | public void setNextRepeatPrompt(FormIndex nextRepeatPrompt) { method setCurrentEvent (line 222) | public void setCurrentEvent(int event) { method setQuestionPrompts (line 226) | public void setQuestionPrompts(List prompts) { method setFormDef (line 230) | public void setFormDef(FormDef formDef) { FILE: collect_app/src/test/java/org/odk/collect/android/javarosawrapper/FormControllerTest.java class FormControllerTest (line 24) | public class FormControllerTest { method validateAnswers_shouldNotChangeFormIndexToTheIndexOfInvalidQuestionIfAskedNotToDoThat (line 25) | @Test method validateAnswers_shouldChangeFormIndexToTheIndexOfInvalidQuestionIfAskedToDoThat (line 40) | @Test method jumpToNewRepeatPrompt_whenIndexIsInRepeat_jumpsToRepeatPrompt (line 55) | @Test method jumpToNewRepeatPrompt_whenIndexIsRepeatInGroup_jumpsToRepeatPrompt (line 69) | @Test method jumpToNewRepeatPrompt_whenIndexIsOuterOfNestedRepeat_jumpsToOuterRepeatPrompt (line 83) | @Test method jumpToNewRepeatPrompt_whenIndexIsInNestedRepeat_jumpsToNestedRepeatPrompt (line 97) | @Test method whenInstanceFileAndAuditConfigNull_getAuditEventLogger_isNotNull (line 112) | @Test method questionInGroupWithoutFieldListAppearance_isNotInFieldList (line 126) | @Test method questionInGroupWithoutFieldListAppearance_isInFieldList (line 136) | @Test method createFormController (line 147) | @NotNull FILE: collect_app/src/test/java/org/odk/collect/android/location/client/FakeLocationClient.java class FakeLocationClient (line 11) | public class FakeLocationClient implements LocationClient { method setLocationAvailable (line 23) | public void setLocationAvailable(boolean available) { method setFailOnStart (line 27) | public void setFailOnStart(boolean fail) { method setFailOnRequest (line 31) | public void setFailOnRequest(boolean fail) { method receiveFix (line 35) | public void receiveFix(Location location) { method isRunning (line 42) | public boolean isRunning() { method start (line 48) | public void start(LocationClientListener listener) { method stop (line 60) | public void stop() { method isLocationAvailable (line 69) | public boolean isLocationAvailable() { method requestLocationUpdates (line 73) | public void requestLocationUpdates(LocationListener locationListener) { method stopLocationUpdates (line 81) | public void stopLocationUpdates() { method setListener (line 85) | @Override method getListener (line 90) | protected LocationClientListener getListener() { method getLastLocation (line 94) | public Location getLastLocation() { method isMonitoringLocation (line 98) | public boolean isMonitoringLocation() { method getPriority (line 102) | public Priority getPriority() { method setPriority (line 106) | public void setPriority(Priority priority) { method setRetainMockAccuracy (line 110) | @Override method canSetUpdateIntervals (line 115) | public boolean canSetUpdateIntervals() { method setUpdateInterval (line 119) | public void setUpdateInterval(long updateInterval) { } method resetUpdateIntervals (line 121) | public void resetUpdateIntervals() { } FILE: collect_app/src/test/java/org/odk/collect/android/location/client/MaxAccuracyWithinTimeoutLocationClientWrapperTest.java class MaxAccuracyWithinTimeoutLocationClientWrapperTest (line 25) | @RunWith(AndroidJUnit4.class) method setUp (line 32) | @Before method requestingLocationUpdates_ShouldResultInUpdate (line 40) | @Test method denyingLocationPermissions_ShouldResultInNoUpdates (line 51) | @Test method onlyMoreAccurateFixes_ShouldResultInUpdates (line 63) | @Test method fixWithAccuracyAfterAFixWithout_ShouldResultInUpdate (line 81) | @Test method fixWithoutAccuracyAfterAFixWith_ShouldNotResultInUpdate (line 95) | @Test method requestingLocationUpdatesAgain_ShouldResetHighestAccuracy (line 109) | @Test method timeoutSecondsPassing_ShouldStopUpdates (line 125) | @Test method requestingLocationUpdatesAgain_ShouldResetTimeout (line 142) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/preferences/ServerPreferencesAdderTest.java class ServerPreferencesAdderTest (line 21) | @RunWith(AndroidJUnit4.class) method whenPreferencesAreAdded_returnsTrue (line 24) | @Test method whenAPreferenceHasAnIncorrectType_returnsFalse_andShowsToastError (line 33) | @Test method getString (line 49) | private String getString(int id) { FILE: collect_app/src/test/java/org/odk/collect/android/preferences/dialogs/ServerAuthDialogFragmentTest.java class ServerAuthDialogFragmentTest (line 22) | @RunWith(AndroidJUnit4.class) method prefillsUsernameAndPassword (line 30) | @Test method clickingOK_savesUsernameAndPasswordToGeneralPrefs (line 46) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/support/CollectHelpers.java class CollectHelpers (line 28) | public final class CollectHelpers { method CollectHelpers (line 30) | private CollectHelpers() { method overrideReferenceManager (line 34) | public static void overrideReferenceManager(ReferenceManager reference... method setupFakeReferenceManager (line 43) | public static ReferenceManager setupFakeReferenceManager(List T createThemedActivity(Clas... method createThemedActivity (line 83) | public static FragmentActivity createThemedActivity() { method buildThemedActivity (line 87) | public static ActivityController build... method buildThemedActivity (line 94) | public static ActivityController build... method setupDemoProject (line 101) | public static String setupDemoProject() { method createDemoProject (line 107) | public static String createDemoProject() { method createProject (line 111) | public static String createProject(Project project) { FILE: collect_app/src/test/java/org/odk/collect/android/support/MockFormEntryPromptBuilder.java class MockFormEntryPromptBuilder (line 22) | public class MockFormEntryPromptBuilder { method MockFormEntryPromptBuilder (line 26) | public MockFormEntryPromptBuilder() { method MockFormEntryPromptBuilder (line 38) | public MockFormEntryPromptBuilder(FormEntryPrompt prompt) { method withLongText (line 42) | public MockFormEntryPromptBuilder withLongText(String text) { method withIndex (line 47) | public MockFormEntryPromptBuilder withIndex(String index) { method withReadOnly (line 52) | public MockFormEntryPromptBuilder withReadOnly(boolean readOnly) { method withAudioURI (line 57) | public MockFormEntryPromptBuilder withAudioURI(String audioURI) { method withImageURI (line 62) | public MockFormEntryPromptBuilder withImageURI(String imageURI) { method withAdditionalAttribute (line 67) | public MockFormEntryPromptBuilder withAdditionalAttribute(String name,... method withSelectChoices (line 72) | public MockFormEntryPromptBuilder withSelectChoices(List... method withSpecialFormSelectChoiceText (line 82) | public MockFormEntryPromptBuilder withSpecialFormSelectChoiceText(List... method withControlType (line 90) | public MockFormEntryPromptBuilder withControlType(int controlType) { method withDataType (line 95) | public MockFormEntryPromptBuilder withDataType(int dataType) { method build (line 100) | public FormEntryPrompt build() { method withAppearance (line 104) | public MockFormEntryPromptBuilder withAppearance(String appearance) { method withAnswerDisplayText (line 109) | public MockFormEntryPromptBuilder withAnswerDisplayText(String text) { method withAnswer (line 118) | public MockFormEntryPromptBuilder withAnswer(IAnswerData answer) { method withQuestion (line 125) | public MockFormEntryPromptBuilder withQuestion(QuestionDef questionDef) { method withBindAttribute (line 130) | public MockFormEntryPromptBuilder withBindAttribute(String namespace, ... method withSelectChoiceText (line 139) | @NotNull FILE: collect_app/src/test/java/org/odk/collect/android/tasks/SaveFormIndexTaskTest.java class SaveFormIndexTaskTest (line 22) | @RunWith(AndroidJUnit4.class) method setup (line 25) | @Before method saveAndReadFormIndexTest (line 30) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/utilities/AdminPasswordProviderTest.java class AdminPasswordProviderTest (line 13) | public class AdminPasswordProviderTest { method when_adminPassHasEmptyValue_should_isAdminPasswordSetReturnFalse (line 15) | @Test method when_adminPassHasNullValue_should_isAdminPasswordSetReturnFalse (line 24) | @Test method when_adminPassIsSetProperly_should_isAdminPasswordSetReturnTrue (line 33) | @Test method when_adminPassHasEmptyValue_should_getAdminPasswordReturnEmptyString (line 42) | @Test method when_adminPassHasNullValue_should_getAdminPasswordReturnNull (line 51) | @Test method when_adminPassIsSetProperly_should_getAdminPasswordReturnCorrectValue (line 60) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/utilities/ArrayUtilsTest.java class ArrayUtilsTest (line 9) | public class ArrayUtilsTest { method toPrimitiveCreatesPrimitiveLongArray (line 11) | @Test method nullToPrimitiveCreatesEmptyPrimitiveLongArray (line 16) | @Test method arrayContainingNullCausesNpe (line 21) | @Test(expected = NullPointerException.class) method arrayStartingWithNullCausesNpe (line 26) | @Test(expected = NullPointerException.class) method arrayEndingWithNullCausesNpe (line 31) | @Test(expected = NullPointerException.class) method toObjectCreatesLongArray (line 36) | @Test method nullBecomesEmptyLongArray (line 41) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/utilities/CSVUtilsTest.java class CSVUtilsTest (line 10) | public class CSVUtilsTest { method null_shouldBePassedThrough (line 11) | @Test method stringsWithoutQuotesCommasOrNewlines_shouldBePassedThrough (line 16) | @Test method quotes_shouldBeEscaped_andSurroundedByQuotes (line 21) | @Test method commas_shouldBeSurroundedByQuotes (line 26) | @Test method newlines_shouldBeSurroundedByQuotes (line 31) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/utilities/ExternalAppUtilsTest.java class ExternalAppUtilsTest (line 28) | public class ExternalAppUtilsTest { method extractIntentNameTest (line 30) | @Test method extractParametersTest (line 37) | @Test method asStringDataTest (line 92) | @Test method asIntegerDataTest (line 101) | @Test method asDecimalDataTest (line 111) | @Test method assertCounterAppParameters (line 127) | private void assertCounterAppParameters(Map result) { FILE: collect_app/src/test/java/org/odk/collect/android/utilities/FileUtilsTest.java class FileUtilsTest (line 16) | public class FileUtilsTest { method mediaDirNameIsCorrect (line 18) | @Test method simplifyScopedStoragePathTest (line 28) | @Test method whenTryToListFilesOnNullFile_shouldReturnEmptyArray (line 38) | @Test method whenTryToListFilesOnFileThatDoesNotExist_shouldReturnEmptyArray (line 43) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/utilities/FormNameUtilsTest.java class FormNameUtilsTest (line 27) | public class FormNameUtilsTest { method normalizeFormNameTest (line 29) | @Test method formatFilenameFromFormNameTest (line 46) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/utilities/InstanceUploaderUtilsTest.java class InstanceUploaderUtilsTest (line 17) | @RunWith(AndroidJUnit4.class) method getUploadResultMessageContainsEditNumbers (line 25) | @Test method getUploadResultMessageTest (line 52) | @Test method getTestInstancesRepository (line 62) | private InMemInstancesRepository getTestInstancesRepository() { method getTestUploadResult (line 80) | private Map getTestUploadResult() { method getExpectedResultMsg (line 88) | private String getExpectedResultMsg() { FILE: collect_app/src/test/java/org/odk/collect/android/utilities/MyanmarDateUtilsTest.java class MyanmarDateUtilsTest (line 31) | public class MyanmarDateUtilsTest { method convertDatesTest (line 33) | @Test method assertGregorianDatesAreEqual (line 318) | private void assertGregorianDatesAreEqual(LocalDateTime firstDate, Loc... method assertMyanmarDatesAreEqual (line 324) | private void assertMyanmarDatesAreEqual(MyanmarDate firstDate, Myanmar... FILE: collect_app/src/test/java/org/odk/collect/android/utilities/QuestionFontSizeUtilsTest.java class QuestionFontSizeUtilsTest (line 14) | @RunWith(AndroidJUnit4.class) method whenFontSizeNotSpecified_shouldReturnDefaultValue (line 17) | @Test method whenFontSizeSpecified_shouldReturnSelectedValue (line 22) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/utilities/WebCredentialsUtilsTest.java class WebCredentialsUtilsTest (line 12) | public class WebCredentialsUtilsTest { method saveCredentialsPreferencesMethod_shouldSaveNewCredentialsAndReloadPropertyManager (line 14) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/version/VersionInformationTest.java class VersionInformationTest (line 9) | public class VersionInformationTest { method getSemanticVersion_returnsFirstComponent (line 11) | @Test method getSemanticVersion_whenEmpty_returnsEmpty (line 20) | @Test method isRelease_whenDescriptionIsOneComponent_returnsTrue (line 26) | @Test method isRelease_whenDescriptionIsTwoComponents_returnsFalse (line 32) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/views/ChoicesRecyclerViewTest.java class ChoicesRecyclerViewTest (line 58) | @RunWith(AndroidJUnit4.class) method setUp (line 67) | @Before method whenNonFLexAppearanceIsUsed_shouldGridLayoutManagerBeUsed (line 80) | @Test method whenFLexAppearanceIsUsed_shouldFlexboxLayoutManagerBeUsed (line 87) | @Test method whenNonFLexAppearanceIsUsedWithOneColumn_shouldDividersBeAdded (line 94) | @Test method whenNonFLexAppearanceIsUsedWithMoreThanOneColumn_shouldNotDividersBeAdded (line 107) | @Test method whenFLexAppearanceIsUsed_shouldFlexItemDecorationBeAdded (line 119) | @Test method whenChoicesFiltered_shouldProperValuesBeReturnedInSelectOneButtonsMode (line 132) | @Test method whenChoicesFiltered_shouldProperValuesBeReturnedInSelectMultiButtonsMode (line 152) | @Test method whenChoicesFiltered_shouldProperValuesBeReturnedInSelectOneNoButtonsMode (line 172) | @Test method whenChoicesFiltered_shouldProperValuesBeReturnedInSelectMultiNoButtonsMode (line 192) | @Test method whenClickOneOption_shouldPreviouslySelectedOptionBeUnselectedInSelectOneButtonsMode (line 212) | @Test method whenClickOneOption_shouldPreviouslySelectedOptionRemainSelectedInSelectMultiButtonsMode (line 231) | @Test method whenClickOneOption_shouldPreviouslySelectedOptionBeUnselectedInSelectOneNoButtonsMode (line 250) | @Test method whenClickOneOption_shouldPreviouslySelectedOptionRemainSelectedInSelectMultiNoButtonsMode (line 269) | @Test method whenClickOneElementTwice_shouldThatElementRemainSelectedInSelectOneButtonsMode (line 288) | @Test method whenClickOneElementTwice_shouldThatElementBeUnselectedInSelectMultiButtonsMode (line 307) | @Test method whenClickOneElementTwice_shouldThatElementRemainSelectedInSelectOneNoButtonsMode (line 326) | @Test method whenClickOneElementTwice_shouldThatElementBeUnselectedInSelectMultiNoButtonsMode (line 345) | @Test method whenButtonsModeIsUsed_shouldViewAndItsElementsBeLongClickableToSupportRemovingAnswers (line 364) | @Test method whenNoButtonsModeIsUsed_shouldViewBeLongClickableToSupportRemovingAnswers (line 388) | @Test method whenChangingAnswer_shouldHasAnswerChangedReturnCorrectValue (line 401) | @Test method whenChoiceSelectedInSelectOneNoButtonsMode_shouldTryToPlayAudio (line 426) | @Test method whenChoiceSelectedInSelectMultiNoButtonsMode_shouldTryToPlayAudio (line 440) | @Test method whenChoiceUnselectedInSelectMultiNoButtonsMode_shouldStopPlayingAudio (line 453) | @Test method whenColumnsPackAppearanceIsUsed_shouldMediaElementsBeHidden (line 469) | @Test method setUpReferenceManager (line 483) | private void setUpReferenceManager() throws InvalidReferenceException { method getTestChoices (line 490) | private List getTestChoices() { method setUpFormEntryPrompt (line 497) | private void setUpFormEntryPrompt(List items, String app... method clickChoice (line 504) | private void clickChoice(int index) { method clickNoButtonChoice (line 512) | private void clickNoButtonChoice(int index) { method clickButtonChoice (line 516) | private void clickButtonChoice(int index) { method assertVisibleItemsInButtonsMode (line 520) | private void assertVisibleItemsInButtonsMode(String... items) { method assertVisibleItemsInNoButtonsMode (line 531) | private void assertVisibleItemsInNoButtonsMode(String... items) { method getVisibleItems (line 538) | private List getVisibleItems() { method getRadioButton (line 543) | private RadioButton getRadioButton(int index) { method getCheckBox (line 547) | private CheckBox getCheckBox(int index) { method getChoiceView (line 551) | private ViewGroup getChoiceView(int index) { method getAudioVideoImageTextLabelView (line 555) | private AudioVideoImageTextLabel getAudioVideoImageTextLabelView(int i... method isItemSelected (line 559) | private boolean isItemSelected(int index) { method isNoButtonItemSelected (line 565) | private boolean isNoButtonItemSelected(int index) { method isButtonItemSelected (line 569) | private boolean isButtonItemSelected(int index) { method initRecyclerView (line 575) | private void initRecyclerView(AbstractSelectListAdapter adapter, boole... method filterList (line 580) | private void filterList(AbstractSelectListAdapter adapter, String text) { FILE: collect_app/src/test/java/org/odk/collect/android/views/TrackingTouchSliderTest.java class TrackingTouchSliderTest (line 18) | @RunWith(AndroidJUnit4.class) method setUp (line 23) | @Before method touchEventOnSlider_suppressFlingGesture (line 32) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/views/helpers/PromptAutoplayerTest.java class PromptAutoplayerTest (line 31) | public class PromptAutoplayerTest { method setup (line 37) | @Before method whenPromptHasAutoplayAudio_playsAudio (line 43) | @Test method whenPromptHasAutoplayAudio_withDifferentCapitalization_playsAudio (line 54) | @Test method whenPromptHasAutoplayAudio_butNoAudioURI_returnsFalse (line 65) | @Test method whenPromptHasAutoplayAudio_andIsSelectOne_playsAudioInOrder (line 76) | @Test method whenPromptHasAutoplayAudio_andIsSelectMultiple_playsAllAudioInOrder (line 100) | @Test method whenPromptHasAutoplayAudio_butNoAudioURI_andIsSelectOne_playsAllSelectAudioInOrder (line 124) | @Test method whenPromptHasAutoplayAudio_andIsSelectOne_butNoSelectChoiceAudio_playsPromptAudio (line 146) | @Test method whenPromptHasAutoplayAudio_andIsSelectOne_withMinimalAppearance_playsPromptAudio (line 162) | @Test method whenPromptHasAutoplayAudio_andIsSelectOne_withNoButtonsAppearance_playsPromptAudio (line 183) | @Test method whenPromptHasAutoplayAudio_andIsSelectOne_withDeprecatedCompactAppearance_playsPromptAudio (line 204) | @Test method whenPromptHasAutoplayVideo_returnsFalse (line 225) | @Test // We only support audio autoplaying with the helper right now method whenPromptHasNoAutoplay_returnsFalse (line 235) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/widgets/AnnotateWidgetTest.java class AnnotateWidgetTest (line 50) | public class AnnotateWidgetTest extends FileWidgetTest { method createWidget (line 57) | @NonNull method getNextAnswer (line 77) | @NonNull method createBinaryData (line 83) | @Override method buttonsShouldLaunchCorrectIntentsWhenThereIsNoCustomPackage (line 88) | @Test method buttonsShouldLaunchCorrectIntentsWhenCustomPackageIsSet (line 104) | @Test method buttonsShouldNotLaunchIntentsWhenPermissionsDenied (line 121) | @Test method usingReadOnlyOptionShouldMakeAllClickableElementsDisabled (line 128) | @Test method whenReadOnlyOverrideOptionIsUsed_shouldAllClickableElementsBeDisabled (line 137) | @Test method whenThereIsNoAnswer_hideImageViewAndErrorMessage (line 147) | @Test method whenGifFileSelected_doNotAttachItAndDisplayAMessage (line 157) | @Test method whenTheAnswerImageCanNotBeLoaded_hideImageViewAndShowErrorMessage (line 171) | @Test method whenPromptHasDefaultAnswer_showsInImageView (line 195) | @Test method whenPromptHasCurrentAnswer_showsInImageView (line 228) | @Test method markupButtonShouldBeDisabledIfImageAbsent (line 254) | @Test method whenPromptHasDefaultAnswer_passUriToDrawActivity (line 274) | @Test method whenPromptHasDefaultAnswerThatDoesNotExist_doNotPassUriToDrawActivity (line 304) | @Test method whenThereIsNoAnswer_doNotPassUriToDrawActivity (line 326) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/widgets/AudioWidgetTest.java class AudioWidgetTest (line 53) | @RunWith(AndroidJUnit4.class) method setUp (line 64) | @Before method whenPromptDoesNotHaveAnswer_showsButtons (line 74) | @Test method whenPromptHasAnswer_showsAudioController (line 85) | @Test method usingReadOnlyOption_doesNotShowCaptureAndChooseButtons (line 97) | @Test method getAnswer_whenPromptDoesNotHaveAnswer_returnsNull (line 104) | @Test method getAnswer_whenPromptHasAnswer_returnsAnswer (line 110) | @Test method whenWidgetIsNew_chooseSoundButtonIsNotShown (line 117) | @Test method deleteFile_removesWidgetAnswerAndStopsPlayingMedia (line 126) | @Test method deleteFile_setsFileAsideForDeleting (line 137) | @Test method clearAnswer_removesAnswerAndHidesPlayer (line 149) | @Test method clearAnswer_setsFileAsideForDeleting (line 159) | @Test method clearAnswer_callsValueChangeListeners (line 171) | @Test method setData_whenFileExists_replacesOriginalFileWithNewFile (line 181) | @Test method setData_whenPromptHasDifferentAudioFile_deletesOriginalAnswer (line 194) | @Test method setData_whenPromptDoesNotHaveAnswer_doesNotDeleteOriginalAnswer (line 208) | @Test method setData_whenFileDoesNotExist_doesNotUpdateWidgetAnswer (line 217) | @Test method setData_whenFileExists_updatesWidgetAnswer (line 226) | @Test method setData_supportsFilesAsWellAsStrings (line 242) | @Test method setData_whenFileExists_callsValueChangeListener (line 251) | @Test method setData_whenFileExists_hidesButtonsAndShowsAudioController (line 262) | @Test method clickingButtonsForLong_callsOnLongClickListeners (line 274) | @Test method clickingChooseButton_requestsAudioFile (line 287) | @Test method clickingCaptureButton_clearsWaveform (line 296) | @Test method clickingCaptureButton_clearsError (line 306) | @Test method whenRecordingRequesterStopsRecording_enablesButtons (line 317) | @Test method whenRecordingInProgress_showsDurationAndWaveform (line 330) | @Test method whenRecordingInProgress_updatesDuration (line 343) | @Test method whenRecordingInProgress_updatesWaveform (line 355) | @Test method whenRecordingFinished_showsButtons (line 367) | @Test method afterSetBinaryData_clickingPlayAndPause_playsAndPausesAudio (line 382) | @Test method afterSetBinaryData_whenPositionOfClipChanges_updatesPosition (line 405) | @Test method afterSetBinaryData_showsDurationOfAudio (line 423) | @Test method clickingRemove_andConfirming_clearsAnswer (line 438) | @Test method clickingRemove_andCancelling_doesNothing (line 450) | @Test method clickingRemove_andConfirming_hidesAudioControllerAndShowsButtons (line 462) | @Test method usingReadOnlyOptionShouldMakeAllClickableElementsDisabled (line 476) | @Test method whenReadOnlyOverrideOptionIsUsed_shouldAllClickableElementsBeDisabled (line 486) | @Test method createWidget (line 496) | public AudioWidget createWidget(FormEntryPrompt prompt) { method createWidget (line 508) | public AudioWidget createWidget(FormEntryPrompt prompt, boolean readOn... method getExpectedClip (line 520) | @NotNull class FakeRecordingRequester (line 528) | private static class FakeRecordingRequester implements RecordingReques... method requestRecording (line 534) | @Override method onBlockedStatusChange (line 539) | @Override method onRecordingStatusChange (line 544) | @Override method startRecording (line 549) | public void startRecording() { method stopRecording (line 553) | public void stopRecording() { method setDuration (line 557) | public void setDuration(String sessionId, long duration) { method setAmplitude (line 561) | public void setAmplitude(String sessionId, int amplitude) { method reset (line 565) | public void reset() { FILE: collect_app/src/test/java/org/odk/collect/android/widgets/BearingWidgetTest.java class BearingWidgetTest (line 41) | @RunWith(AndroidJUnit4.class) method setUp (line 50) | @Before method usingReadOnlyOption_hidesBearingButton (line 63) | @Test method whenPromptDoesNotHaveAnswer_getBearingButtonIsShown (line 68) | @Test method whenPromptHasAnswer_replaceBearingButtonIsShown (line 74) | @Test method whenPromptHasAnswer_answerTextViewShowsCorrectAnswer (line 80) | @Test method getAnswer_whenPromptAnswerDoesNotHaveAnswer_returnsNull (line 85) | @Test method getAnswer_whenPromptHasAnswer_returnsAnswer (line 90) | @Test method clearAnswer_clearsWidgetAnswer (line 95) | @Test method clearAnswer_updatesButtonLabel (line 102) | @Test method clearAnswer_callsValueChangeListeners (line 109) | @Test method setData_updatesWidgetAnswer (line 118) | @Test method setData_updatesButtonLabel (line 125) | @Test method setData_callsValueChangeListeners (line 132) | @Test method clickingAnswerTextForLong_callsOnLongClickListener (line 141) | @Test method clickingBearingButtonForLong_callOnLongClickListener (line 150) | @Test method clickingBearingButtonForLong_whenSensorIsAvailable_callsOnLongClickListener (line 159) | @Test method clickingBearingButton_whenAccelerometerSensorIsNotAvailable_doesNotLaunchAnyIntent (line 168) | @Test method clickingBearingButton_whenAccelerometerSensorIsNotAvailable_disablesBearingButton (line 173) | @Test method clickingBearingButton_whenAccelerometerSensorIsNotAvailable_makesEditTextEditable (line 178) | @Test method clickingBearingButton_whenMagneticSensorIsNotAvailable_doesNotLaunchAnyIntent (line 183) | @Test method clickingBearingButton_whenMagneticSensorIsNotAvailable_disablesBearingButton (line 188) | @Test method clickingBearingButton_whenMagneticSensorIsNotAvailable_makesEditTextEditable (line 193) | @Test method clickingBearingButton_whenSensorIsAvailable_setsWidgetWaitingForData (line 198) | @Test method clickingBearingButton_whenSensorIsAvailable_launchesCorrectIntent (line 209) | @Test method createWidget (line 218) | private BearingWidget createWidget(FormEntryPrompt prompt) { method assertNoIntentLaunchedWhenSensorIsUnavailable (line 222) | private void assertNoIntentLaunchedWhenSensorIsUnavailable(int sensorT... method assertAnswerTextIsEditableWhenSensorIsUnavailable (line 231) | private void assertAnswerTextIsEditableWhenSensorIsUnavailable(int sen... method assertBearingButtonIsDisabledWhenSensorIsUnavailable (line 239) | private void assertBearingButtonIsDisabledWhenSensorIsUnavailable(int ... FILE: collect_app/src/test/java/org/odk/collect/android/widgets/DecimalWidgetTest.java class DecimalWidgetTest (line 28) | public class DecimalWidgetTest extends GeneralStringWidgetTest { method setup (line 46) | @Before method getInitialAnswer (line 58) | @Override method getNextAnswer (line 63) | @NonNull method createWidget (line 69) | @NonNull method whenWidgetCreated_shouldLaunchButtonBeVisible (line 76) | @Test method whenWidgetCreated_shouldLaunchButtonHaveProperName (line 81) | @Test method whenFontSizeChanged_CustomFontSizeShouldBeUsed (line 86) | @Test method whenThereIsNoAnswer_shouldAudioPlayerBeHidden (line 93) | @Test method whenThereIsAnswer_shouldAudioPlayerBeDisplayed (line 100) | @Test method whenThereIsAnswer_shouldLaunchButtonBeHidden (line 107) | @Test method whenAnswerCleared_shouldAudioPlayerBeHidden (line 114) | @Test method whenLaunchButtonClicked_exWidgetIntentLauncherShouldBeStarted (line 123) | @Test method whenSetDataCalledWithNull_shouldExistedAnswerBeRemoved (line 129) | @Test method whenUnsupportedFileTypeAttached_shouldNotThatFileBeAdded (line 139) | @Test method whenUnsupportedFileTypeAttached_shouldTheFileBeRemoved (line 149) | @Test method whenUnsupportedFileTypeAttached_shouldToastBeDisplayed (line 158) | @Test method usingReadOnlyOptionShouldMakeAllClickableElementsDisabled (line 167) | @Test method whenReadOnlyOverrideOptionIsUsed_shouldAllClickableElementsBeDisabled (line 177) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/widgets/ExDecimalWidgetTest.java class ExDecimalWidgetTest (line 41) | public class ExDecimalWidgetTest extends GeneralExStringWidgetTest { method setup (line 42) | @Before method getInitialAnswer (line 54) | @Override method getNextAnswer (line 59) | @NonNull method createWidget (line 65) | @NonNull method whenWidgetCreated_shouldLaunchButtonBeVisible (line 72) | @Test method whenWidgetCreated_shouldLaunchButtonHaveProperName (line 77) | @Test method whenFontSizeChanged_CustomFontSizeShouldBeUsed (line 82) | @Test method whenThereIsNoAnswer_shouldImageViewBeHidden (line 89) | @Test method whenThereIsAnswer_shouldImageViewBeDisplayed (line 94) | @Test method whenAnswerCleared_shouldImageViewBeHidden (line 101) | @Test method whenLaunchButtonClicked_exWidgetIntentLauncherShouldBeStarted (line 110) | @Test method whenImageViewClicked_shouldFileViewerByCalled (line 116) | @Test method whenSetDataCalledWithNull_shouldExistedAnswerBeRemoved (line 125) | @Test method whenUnsupportedFileTypeAttached_shouldNotThatFileBeAdded (line 135) | @Test method whenUnsupportedFileTypeAttached_shouldTheFileBeRemoved (line 145) | @Test method whenUnsupportedFileTypeAttached_shouldToastBeDisplayed (line 154) | @Test method usingReadOnlyOptionShouldMakeAllClickableElementsDisabled (line 163) | @Test method whenReadOnlyOverrideOptionIsUsed_shouldAllClickableElementsBeDisabled (line 173) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/widgets/ExIntegerWidgetTest.java class ExIntegerWidgetTest (line 34) | public class ExIntegerWidgetTest extends GeneralExStringWidgetTest { method createWidget (line 52) | @NonNull method getNextAnswer (line 71) | @NonNull method buttonsShouldLaunchCorrectIntentsWhenThereIsNoCustomPackage (line 77) | @Test method buttonsShouldLaunchCorrectIntentsWhenCustomPackageIsSet (line 90) | @Test method buttonsShouldNotLaunchIntentsWhenPermissionsDenied (line 107) | @Test method usingReadOnlyOptionShouldMakeAllClickableElementsDisabled (line 114) | @Test method whenReadOnlyOverrideOptionIsUsed_shouldAllClickableElementsBeDisabled (line 122) | @Test method whenThereIsNoAnswer_hideImageViewAndErrorMessage (line 131) | @Test method whenTheAnswerImageCanNotBeLoaded_hideImageViewAndShowErrorMessage (line 141) | @Test method whenPromptHasDefaultAnswer_doesNotShow (line 165) | @Test method whenPromptHasCurrentAnswer_showsInImageView (line 192) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/widgets/IntegerWidgetTest.java class IntegerWidgetTest (line 22) | public class IntegerWidgetTest extends GeneralStringWidgetTest { method createWidget (line 52) | @NonNull method getNextAnswer (line 71) | @NonNull method usingReadOnlyOptionShouldMakeAllClickableElementsDisabled (line 77) | @Test method whenReadOnlyOverrideOptionIsUsed_shouldAllClickableElementsBeDisabled (line 84) | @Test method whenThereIsNoAnswer_hideImageViewAndErrorMessage (line 92) | @Test method whenTheAnswerImageCanNotBeLoaded_hideImageViewAndShowErrorMessage (line 102) | @Test method whenPromptHasDefaultAnswer_showsInImageView (line 126) | @Test method whenPromptHasCurrentAnswer_showsInImageView (line 159) | @Test method whenPromptHasDefaultAnswer_passUriToDrawActivity (line 185) | @Test method whenPromptHasDefaultAnswerThatDoesNotExist_doNotPassUriToDrawActivity (line 215) | @Test method whenThereIsNoAnswer_doNotPassUriToDrawActivity (line 237) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/widgets/StringNumberWidgetTest.java class StringNumberWidgetTest (line 24) | public class StringNumberWidgetTest extends GeneralStringWidgetTest cls, In... method assertActionEquals (line 50) | protected void assertActionEquals(String expectedAction, Intent intent) { method assertTypeEquals (line 54) | protected void assertTypeEquals(String type, Intent intent) { method assertExtraEquals (line 58) | protected void assertExtraEquals(String key, Object value, Intent inte... method createBinaryData (line 62) | public abstract Object createBinaryData(A answerData); method getAnswerShouldReturnCorrectAnswerAfterBeingSet (line 64) | @Test method settingANewAnswerShouldRemoveTheOldAnswer (line 80) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/widgets/base/FileWidgetTest.java class FileWidgetTest (line 18) | public abstract class FileWidgetTest extends Binar... method getInitialAnswer (line 23) | @NonNull method createBinaryData (line 29) | @Override method setUp (line 34) | @Override method settingANewAnswerShouldCallDeleteMediaToRemoveTheOldFile (line 42) | @Test method callingClearAnswerShouldCallDeleteMediaAndRemoveTheExistingAnswer (line 50) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/widgets/base/GeneralExStringWidgetTest.java class GeneralExStringWidgetTest (line 25) | public abstract class GeneralExStringWidgetTest selectionsToValues(List selections) { FILE: collect_app/src/test/java/org/odk/collect/android/widgets/base/GeneralSelectOneWidgetTest.java class GeneralSelectOneWidgetTest (line 22) | public abstract class GeneralSelectOneWidgetTest getSelectChoices() { method createSelectChoices (line 34) | private List createSelectChoices() { FILE: collect_app/src/test/java/org/odk/collect/android/widgets/base/WidgetTest.java class WidgetTest (line 24) | @RunWith(AndroidJUnit4.class) method setUp (line 43) | @Before method getAnswerShouldReturnNullIfPromptDoesNotHaveExistingAnswer (line 57) | @Test method getAnswerShouldReturnExistingAnswerIfPromptHasExistingAnswer (line 60) | @Test method callingClearShouldRemoveTheExistingAnswer (line 63) | @Test method callingClearShouldCallValueChangeListeners (line 66) | @Test method usingReadOnlyOptionShouldMakeAllClickableElementsDisabled (line 69) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/widgets/datetime/DateTimeUtilsTest.java class DateTimeUtilsTest (line 33) | @RunWith(AndroidJUnit4.class) method getCurrentDateTime_returnsCurrentDateAndTimeData (line 38) | @Test method getSelectedDate_returnsCorrectDateAndTimeData (line 46) | @Test method getDateAsGregorian_returnsCorrectDateAndTimeData (line 54) | @Test method getSelectedTime_returnsCorrectDateAndTimeData (line 63) | @Test method getTimeData_returnsCorrectTime (line 71) | @Test method getDateWithSkippedDaylightSavingGapIfExists_returnsCorrectDateAndTimeData (line 76) | @Test method skipDaylightSavingGapIfExistsTest (line 84) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/widgets/datetime/DateTimeWidgetTest.java class DateTimeWidgetTest (line 36) | @RunWith(AndroidJUnit4.class) method setUp (line 45) | @Before method usingReadOnlyOption_doesNotShowButtons (line 58) | @Test method whenPromptIsNotReadOnly_buttonShowsCorrectText (line 66) | @Test method getAnswer_whenPromptDoesNotHaveAnswer_returnsNull (line 74) | @Test method getAnswer_whenPromptHasDateAnswer_returnsDateAnswerAndCurrentTime (line 79) | @Test method getAnswer_whenPromptHasTimeAnswer_returnsTimeAnswerAndCurrentDate (line 88) | @Test method getAnswer_whenPromptHasAnswer_returnsAnswer (line 97) | @Test method whenPromptDoesNotHaveAnswer_answerTextViewShowsNoValueSelected (line 103) | @Test method whenPromptHasAnswer_answerTextViewShowsCorrectDateAndTime (line 111) | @Test method clickingSetDateButton_callsDisplayDatePickerDialogWithCurrentDate_whenPromptDoesNotHaveAnswer (line 122) | @Test method clickingSetTimeButton_callsDisplayTimePickerDialogWithCurrentTime_whenPromptDoesNotHaveAnswer (line 132) | @Test method clickingSetDateButton_callsDisplayDatePickerDialogWithSelectedDate_whenPromptHasAnswer (line 141) | @Test method clickingSetTimeButton_callsDisplayTimePickerDialogWithSelectedTime_whenPromptHasAnswer (line 151) | @Test method clearAnswer_clearsWidgetAnswer (line 160) | @Test method clearAnswer_callValueChangeListener (line 170) | @Test method clickingButtonForLong_callsLongClickListener (line 179) | @Test method clickingAnswerTextViewForLong_callsLongClickListener (line 191) | @Test method setDateData_updatesValueShownInDateAnswerTextView (line 203) | @Test method setDateData_updatesWidgetAnswer (line 214) | @Test method setTimeData_updatesValueShownInTimeAnswerTextView (line 224) | @Test method setTimeData_updatesWidgetAnswer (line 231) | @Test method setData_callsValueChangeListener (line 241) | @Test method createWidget (line 254) | private DateTimeWidget createWidget(FormEntryPrompt prompt) { FILE: collect_app/src/test/java/org/odk/collect/android/widgets/datetime/DateTimeWidgetUtilsTest.java class DateTimeWidgetUtilsTest (line 40) | @RunWith(AndroidJUnit4.class) method setUp (line 81) | @Before method getDatePickerDetailsTest (line 125) | @Test method displayTimePickerDialog_showsCustomTimePickerDialog (line 221) | @Test method displayDatePickerDialog_showsFixedDatePickerDialog_whenDatePickerTypeIsGregorian (line 230) | @Test method displayDatePickerDialog_showsEthiopianDatePickerDialog_whenDatePickerTypeIsEthiopian (line 235) | @Test method displayDatePickerDialog_showsCopticDatePickerDialog_whenDatePickerTypeIsCoptic (line 240) | @Test method displayDatePickerDialog_showsIslamicDatePickerDialog_whenDatePickerTypeIsIslamic (line 245) | @Test method displayDatePickerDialog_showsBikramSambatDatePickerDialog_whenDatePickerTypeIsBikramSambat (line 250) | @Test method displayDatePickerDialog_showsMyanmarDatePickerDialog_whenDatePickerTypeIsMyanmar (line 255) | @Test method displayDatePickerDialog_showsPersianDatePickerDialog_whenDatePickerTypeIsPersian (line 260) | @Test method displayDatePickerDialog_showsBuddhistDatePickerDialog_whenDatePickerTypeIsBuddhist (line 265) | @Test method displayDatePickerDialogWithYearMode_showsDatePickerWithDayAndMonthFixedToJanuaryFirst (line 270) | @Test method assertDialogIsShowing (line 283) | private void assertDialogIsShowing(DatePickerDetails.DatePickerType da... FILE: collect_app/src/test/java/org/odk/collect/android/widgets/datetime/DateWidgetTest.java class DateWidgetTest (line 32) | @RunWith(AndroidJUnit4.class) method setUp (line 41) | @Before method usingReadOnlyOption_doesNotShowButton (line 52) | @Test method whenPromptIsNotReadOnly_buttonShowsCorrectText (line 58) | @Test method getAnswer_whenPromptDoesNotHaveAnswer_returnsNull (line 64) | @Test method getAnswer_whenPromptHasAnswer_returnsDate (line 69) | @Test method whenPromptDoesNotHaveAnswer_answerTextViewShowsNoDateSelected (line 75) | @Test method whenPromptHasAnswer_answerTextViewShowsCorrectDate (line 81) | @Test method clickingButton_callsDisplayDatePickerDialogWithCurrentDate_whenPromptDoesNotHaveAnswer (line 91) | @Test method clickingButton_callsDisplayDatePickerDialogWithSelectedDate_whenPromptHasAnswer (line 101) | @Test method clearAnswer_clearsWidgetAnswer (line 111) | @Test method clearAnswer_callsValueChangeListener (line 118) | @Test method clickingButtonAndAnswerTextViewForLong_callsLongClickListener (line 127) | @Test method setData_updatesWidgetAnswer (line 138) | @Test method setData_updatesValueDisplayedInAnswerTextView (line 145) | @Test method setData_callsValueChangeListener (line 156) | @Test method createWidget (line 166) | private DateWidget createWidget(FormEntryPrompt prompt) { FILE: collect_app/src/test/java/org/odk/collect/android/widgets/datetime/DaylightSavingTest.java class DaylightSavingTest (line 47) | @RunWith(AndroidJUnit4.class) method setUp (line 63) | @Before method tearDown (line 70) | @After method testESTTimeZoneWithDateTimeWidget (line 75) | @Test method testEATTimezoneWithDateWidget (line 89) | @Test method prepareDateWidget (line 103) | private DateWidget prepareDateWidget(int year, int month, int day) { method prepareDateTimeWidget (line 126) | private DateTimeWidget prepareDateTimeWidget(int year, int month, int ... FILE: collect_app/src/test/java/org/odk/collect/android/widgets/datetime/TimeWidgetTest.java class TimeWidgetTest (line 31) | @RunWith(AndroidJUnit4.class) method setUp (line 40) | @Before method usingReadOnlyOption_doesNotShowButton (line 51) | @Test method whenPromptIsNotReadOnly_buttonShowsCorrectText (line 57) | @Test method getAnswer_whenPromptDoesNotHaveAnswer_returnsNull (line 63) | @Test method getAnswer_whenPromptHasAnswer_returnsTime (line 68) | @Test method whenPromptDoesNotHaveAnswer_answerTextViewShowsNoTimeSelected (line 74) | @Test method whenPromptHasAnswer_answerTextViewShowsCorrectTime (line 80) | @Test method clickingButton_callsDisplayTimePickerDialogWithCurrentTime_whenPromptDoesNotHaveAnswer (line 86) | @Test method clickingButton_callsDisplayTimePickerDialogWithSelectedTime_whenPromptHasAnswer (line 95) | @Test method clearAnswer_clearsWidgetAnswer (line 104) | @Test method clearAnswer_callsValueChangeListener (line 111) | @Test method clickingButtonAndAnswerTextViewForLong_callsLongClickListener (line 120) | @Test method setData_updatesWidgetAnswer (line 131) | @Test method setData_updatesValueDisplayedInAnswerTextView (line 138) | @Test method setData_callsValueChangeListener (line 145) | @Test method createWidget (line 155) | private TimeWidget createWidget(FormEntryPrompt prompt) { FILE: collect_app/src/test/java/org/odk/collect/android/widgets/datetime/pickers/BikramSambatDatePickerDialogTest.java class BikramSambatDatePickerDialogTest (line 18) | @RunWith(AndroidJUnit4.class) method setup (line 25) | @Before method dialogIsCancellable (line 35) | @Test method dialogShouldShowCorrectDate (line 43) | @Test method dialogShouldShowCorrectDate_forYearMode (line 51) | @Test method dialogShouldShowCorrectDate_forMonthMode (line 62) | @Test method settingDateInDatePicker_changesDateShownInTextView (line 73) | @Test method whenScreenIsRotated_dialogShouldRetainDateInDatePickerAndTextView (line 81) | @Test method clickingOk_updatesDateInActivity (line 86) | @Test method clickingOk_dismissesTheDialog (line 94) | @Test method clickingCancel_dismissesTheDialog (line 102) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/widgets/datetime/pickers/CopticDatePickerDialogTest.java class CopticDatePickerDialogTest (line 18) | @RunWith(AndroidJUnit4.class) method setup (line 25) | @Before method dialogIsCancellable (line 35) | @Test method dialogShouldShowCorrectDate (line 43) | @Test method dialogShouldShowCorrectDate_forYearMode (line 51) | @Test method dialogShouldShowCorrectDate_forMonthMode (line 61) | @Test method settingDateInDatePicker_changesDateShownInTextView (line 71) | @Test method whenScreenIsRotated_dialogShouldRetainDateInDatePickerAndTextView (line 79) | @Test method clickingOk_updatesDateInActivity (line 84) | @Test method clickingOk_dismissesTheDialog (line 92) | @Test method clickingCancel_dismissesTheDialog (line 100) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/widgets/datetime/pickers/EthiopianDatePickerDialogTest.java class EthiopianDatePickerDialogTest (line 18) | @RunWith(AndroidJUnit4.class) method setup (line 25) | @Before method dialogIsCancellable (line 35) | @Test method dialogShouldShowCorrectDate (line 43) | @Test method dialogShouldShowCorrectDate_forYearMode (line 51) | @Test method dialogShouldShowCorrectDate_forMonthMode (line 61) | @Test method settingDateInDatePicker_changesDateShownInTextView (line 71) | @Test method whenScreenIsRotated_dialogShouldRetainDateInDatePickerAndTextView (line 79) | @Test method clickingOk_updatesDateInActivity (line 84) | @Test method clickingOk_dismissesTheDialog (line 92) | @Test method clickingCancel_dismissesTheDialog (line 100) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/widgets/datetime/pickers/IslamicDatePickerDialogTest.java class IslamicDatePickerDialogTest (line 18) | @RunWith(AndroidJUnit4.class) method setup (line 25) | @Before method dialogIsCancellable (line 35) | @Test method dialogShouldShowCorrectDate (line 43) | @Test method dialogShouldShowCorrectDate_forYearMode (line 51) | @Test method dialogShouldShowCorrectDate_forMonthMode (line 61) | @Test method settingDateInDatePicker_changesDateShownInTextView (line 71) | @Test method whenScreenIsRotated_dialogShouldRetainDateInDatePickerAndTextView (line 79) | @Test method clickingOk_updatesDateInActivity (line 84) | @Test method clickingOk_dismissesTheDialog (line 92) | @Test method clickingCancel_dismissesTheDialog (line 100) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/widgets/datetime/pickers/MyanmarDatePickerDialogTest.java class MyanmarDatePickerDialogTest (line 18) | @RunWith(AndroidJUnit4.class) method setup (line 25) | @Before method dialogIsCancellable (line 35) | @Test method dialogShouldShowCorrectDate (line 43) | @Test method dialogShouldShowCorrectDate_forYearMode (line 51) | @Test method dialogShouldShowCorrectDate_forMonthMode (line 61) | @Test method settingDateInDatePicker_changesDateShownInTextView (line 71) | @Test method whenScreenIsRotated_dialogShouldRetainDateInDatePickerAndTextView (line 79) | @Test method clickingOk_updatesDateInActivity (line 84) | @Test method clickingOk_dismissesTheDialog (line 92) | @Test method clickingCancel_dismissesTheDialog (line 100) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/widgets/datetime/pickers/PersianDatePickerDialogTest.java class PersianDatePickerDialogTest (line 18) | @RunWith(AndroidJUnit4.class) method setup (line 25) | @Before method dialogIsCancellable (line 35) | @Test method dialogShouldShowCorrectDate (line 43) | @Test method dialogShouldShowCorrectDate_forYearMode (line 51) | @Test method dialogShouldShowCorrectDate_forMonthMode (line 61) | @Test method settingDateInDatePicker_changesDateShownInTextView (line 71) | @Test method whenScreenIsRotated_dialogShouldRetainDateInDatePickerAndTextView (line 79) | @Test method clickingOk_updatesDateInActivity (line 84) | @Test method clickingOk_dismissesTheDialog (line 92) | @Test method clickingCancel_dismissesTheDialog (line 100) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/widgets/items/LikertWidgetTest.java class LikertWidgetTest (line 28) | public class LikertWidgetTest extends QuestionWidgetTest getRandomDoubleArrayList() { method stringFromDoubles (line 46) | private static String stringFromDoubles(double[] doubles) { FILE: collect_app/src/test/java/org/odk/collect/android/widgets/support/QuestionWidgetHelpers.java class QuestionWidgetHelpers (line 14) | public final class QuestionWidgetHelpers { method QuestionWidgetHelpers (line 16) | private QuestionWidgetHelpers() { method widgetTestActivity (line 20) | public static WidgetTestActivity widgetTestActivity() { method widgetDependencies (line 24) | public static QuestionWidget.Dependencies widgetDependencies() { method mockValueChangedListener (line 28) | public static WidgetValueChangedListener mo... method promptWithAnswer (line 34) | public static FormEntryPrompt promptWithAnswer(IAnswerData answer) { method promptWithReadOnly (line 40) | public static FormEntryPrompt promptWithReadOnly() { method promptWithReadOnlyAndAnswer (line 46) | public static FormEntryPrompt promptWithReadOnlyAndAnswer(IAnswerData ... method promptWithQuestionAndAnswer (line 53) | public static FormEntryPrompt promptWithQuestionAndAnswer(QuestionDef ... method promptWithQuestionDefAndAnswer (line 60) | public static FormEntryPrompt promptWithQuestionDefAndAnswer(QuestionD... method promptWithReadOnlyAndQuestionDef (line 67) | public static FormEntryPrompt promptWithReadOnlyAndQuestionDef(Questio... method promptWithAppearance (line 74) | public static FormEntryPrompt promptWithAppearance(String appearance) { FILE: collect_app/src/test/java/org/odk/collect/android/widgets/utilities/ActivityGeoDataRequesterTest.java class ActivityGeoDataRequesterTest (line 46) | @RunWith(AndroidJUnit4.class) method setUp (line 61) | @Before method whenPermissionIsNotGranted_requestGeoPoint_doesNotLaunchAnyIntent (line 78) | @Test method whenPermissionIsNotGranted_requestGeoTrace_doesNotOpenDialog (line 87) | @Test method whenPermissionIGranted_requestGeoPoint_setsFormIndexWaitingForData (line 95) | @Test method requestGeoPoint_launchesCorrectIntent (line 101) | @Test method requestGeoPoint_whenAnswerIsPresent_addsToIntent (line 114) | @Test method requestGeoPoint_whenAnswerIsPresentButInvalid_doesNotAddToIntent (line 126) | @Test method whenWidgetHasAccuracyValue_requestGeoPoint_launchesCorrectIntent (line 138) | @Test method whenWidgetHasInvalidAccuracyValue_requestGeoPoint_launchesCorrectIntentWithDefaultThreshold (line 152) | @Test method whenWidgetHasUnacceptableAccuracyValue_requestGeoPoint_launchesCorrectIntent (line 166) | @Test method whenWidgetHasInvalidUnacceptableAccuracyValue_requestGeoPoint_launchesCorrectIntentWithDefaultThreshold (line 180) | @Test method whenWidgetHasMapsAppearance_requestGeoPoint_launchesCorrectIntent (line 194) | @Test method whenWidgetHasMapsAppearance_andIsReadOnly_requestGeoPoint_launchesCorrectIntent (line 210) | @Test method whenWidgetHasPlacementMapAppearance_requestGeoPoint_launchesCorrectIntent (line 227) | @Test method requestGeoTrace_opensDialog (line 243) | @Test method requestGeoPoint_whenWidgetHasAllowMockAccuracy_addsItToIntent (line 251) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/widgets/utilities/AudioRecorderRecordingStatusHandlerTest.java class AudioRecorderRecordingStatusHandlerTest (line 26) | @RunWith(AndroidJUnit4.class) method setup (line 34) | @Before method onIsRecordingChangedBlocked_listensToCurrentSession (line 40) | @Test method onIsRecordingChangedBlocked_whenFormHasBackgroundAudio_isAlwaysTrue (line 53) | @Test method whenViewModelSessionUpdates_callsInProgressListener (line 65) | @Test method whenViewModelSessionUpdates_forDifferentSession_callsInProgressListenerWithNull (line 79) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/widgets/utilities/InternalRecordingRequesterTest.java class InternalRecordingRequesterTest (line 25) | @RunWith(AndroidJUnit4.class) method setup (line 33) | @Before method requestRecording_startsWithAAC (line 43) | @Test method requestRecording_whenPromptQualityIsVoiceOnly_startsWithAMR (line 51) | @Test method requestRecording_whenPromptQualityIsLow_startsWithAACLow (line 62) | @Test method requestRecording_whenPermissionDenied_doesNothing (line 73) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/widgets/utilities/RangeWidgetUtilsTest.java class RangeWidgetUtilsTest (line 34) | @RunWith(AndroidJUnit4.class) method setup (line 45) | @Before method usingReadOnlyOption_disablesTheSlider (line 62) | @Test method usingReadOnlyOption_hidesPickerButton (line 69) | @Test method whenPromptDoesNotHaveAnswer_answerTextViewShowsNoValueSelected (line 75) | @Test method whenPromptHasAnswer_answerTextViewShowsCorrectAnswer (line 81) | @Test method whenPromptHasAnswerInIncreasingRange_sliderValueShouldBeSet (line 88) | @Test method whenPromptHasAnswerInDecreasingRange_sliderValueShouldBeSet (line 100) | @Test method whenPromptHasAnswerThatIsOutOfRange_sliderValueShouldNotBeSet (line 116) | @Test method whenPromptDoesNotHaveAnswer_pickerButtonShowsNoValueSelected (line 140) | @Test method whenPromptHasAnswer_pickerButtonShowsCorrectAnswer (line 146) | @Test method setNumberPickerValue_updatesAnswer (line 153) | @Test method setNumberPickerValue_whenRangeStartIsGreaterThenRangeEnd_updatesAnswer (line 159) | @Test method setUpLayoutElements_forHorizontalSliderWidget_shouldShowCorrectSlider (line 168) | @Test method setUpLayoutElements_forVerticalSliderWidget_shouldShowCorrectSlider (line 175) | @Test method setUpWidgetParameters_showsCorrectMinAndMaxValues (line 186) | @Test method whenRangeQuestionHasZeroRangeStep_invalidWidgetToastIsShown (line 194) | @Test method whenPromptHasInvalidWidgetParameters_invalidWidgetToastIsShown (line 203) | @Test method whenRangeQuestionHasZeroRangeStep_sliderIsDisabled (line 212) | @Test method whenPromptHasInvalidWidgetParameters_sliderIsDisabled (line 219) | @Test method whenRangeQuestionHasZeroRangeStep_pickerButtonIsDisabled (line 226) | @Test method whenPromptHasInvalidWidgetParameters_pickerButtonIsDisabled (line 233) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/widgets/utilities/RecordingRequesterProviderTest.java class RecordingRequesterProviderTest (line 11) | public class RecordingRequesterProviderTest { method whenNoQualitySpecified_andSettingExternalNotPreferred_createsInternalRecordingRequester (line 18) | @Test method whenNoQualitySpecified_andSettingExternalPreferred_createsExternalRecordingRequester (line 27) | @Test method whenQualityIsNormal_andSettingExternalNotPreferred_createsInternalRecordingRequester (line 36) | @Test method whenQualityIsNormal_andSettingExternalPreferred_createsInternalRecordingRequester (line 46) | @Test method whenQualityIsVoiceOnly_andSettingExternalNotPreferred_createsInternalRecordingRequester (line 56) | @Test method whenQualityIsVoiceOnly_andSettingExternalPreferred_createsInternalRecordingRequester (line 66) | @Test method whenQualityIsLow_andSettingExternalNotPreferred_createsInternalRecordingRequester (line 76) | @Test method whenQualityIsLow_andSettingExternalPreferred_createsInternalRecordingRequester (line 86) | @Test method whenQualityIsExternal_andSettingExternalPreferred_createsExternalRecordingRequester (line 96) | @Test method whenQualityIsExternal_andSettingExternalNotPreferred_createsExternalRecordingRequester (line 106) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/widgets/utilities/StringWidgetUtilsTest.java class StringWidgetUtilsTest (line 14) | public class StringWidgetUtilsTest { method getIntegerAnswerValueFromIAnswerDataTest (line 18) | @Test method getDoubleAnswerValueFromIAnswerDataTest (line 29) | @Test method getIntegerDataTest (line 42) | @Test method getDecimalDataTest (line 53) | @Test method getStringNumberDataTest (line 63) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/widgets/viewmodels/DateTimeViewModelTest.java class DateTimeViewModelTest (line 25) | @RunWith(AndroidJUnit4.class) method setUp (line 35) | @Before method setSelectedDate_updatesDateReturnedByViewModel (line 42) | @Test method setSelectedDateTime_updatesTimeReturnedByViewModel (line 49) | @Test method updatingDateInDateSetListener_updatesDateReturnedByViewModel (line 56) | @Test method updatingTimeInTimeSetListener_updatesTimeReturnedByViewModel_andClearsFocus (line 64) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/widgets/warnings/SpacesInUnderlyingValuesTest.java class SpacesInUnderlyingValuesTest (line 19) | public class SpacesInUnderlyingValuesTest { method setUp (line 23) | @Before method doesNotDetectErrorWhenThereIsNone (line 28) | @Test method doesNotDetectErrorInEmptySet (line 38) | @Test method doesDetectSingleSpaceError (line 46) | @Test method detectsMultipleErrors (line 56) | @Test method returnsInvalidValues (line 67) | @Test method spaceInTheBeginningOfUnderlyingValueIsTrimmed (line 78) | @Test method spaceInTheTheEndOfUnderlyingValueIsTrimmed (line 89) | @Test FILE: collect_app/src/test/java/org/odk/collect/android/widgets/warnings/SpacesInUnderlyingValuesWarningTest.java class SpacesInUnderlyingValuesWarningTest (line 17) | public class SpacesInUnderlyingValuesWarningTest { method setUp (line 27) | @Before method renderWarningWhenHasInvalidValues (line 33) | @Test method doesNotRenderWhenNoInvalidValuesDetected (line 42) | @Test FILE: db/src/main/java/org/odk/collect/db/sqlite/CustomSQLiteQueryBuilder.java class CustomSQLiteQueryBuilder (line 24) | public class CustomSQLiteQueryBuilder { method CustomSQLiteQueryBuilder (line 31) | CustomSQLiteQueryBuilder() { method end (line 35) | public void end() {} method getQueryString (line 37) | public String getQueryString() { method quoteIdentifier (line 41) | public static String quoteIdentifier(String unquoted) { method quoteStringLiteral (line 45) | public static String quoteStringLiteral(String unquoted) { method select (line 49) | public CustomSQLiteQueryBuilder select() { method columnsForInsert (line 54) | @SuppressWarnings("PMD.ConsecutiveLiteralAppends") method columnsForSelect (line 62) | public CustomSQLiteQueryBuilder columnsForSelect(String... columns) { method from (line 71) | public CustomSQLiteQueryBuilder from(String table) { method where (line 76) | public CustomSQLiteQueryBuilder where(String selectCriteria) { method where (line 81) | public CustomSQLiteQueryBuilder where(String[] selectCriteria) { method formatCompareEquals (line 85) | public static String formatCompareEquals(String left, String right) { method formatLogicalAnd (line 89) | public static String formatLogicalAnd(String[] criteria) { method renameTable (line 93) | public CustomSQLiteQueryBuilder renameTable(String table) { method to (line 98) | public CustomSQLiteQueryBuilder to(String table) { method dropIfExists (line 103) | public CustomSQLiteQueryBuilder dropIfExists(String table) { method insertInto (line 108) | public CustomSQLiteQueryBuilder insertInto(String table) { method createTable (line 113) | public CustomSQLiteQueryBuilder createTable(final String tableName) { method columnsForCreate (line 118) | public CustomSQLiteQueryBuilder columnsForCreate(List columnDe... method formatColumnDefinition (line 123) | public static String formatColumnDefinition(String columnName, String ... method alter (line 127) | public CustomSQLiteQueryBuilder alter() { method table (line 132) | public CustomSQLiteQueryBuilder table(final String table) { method addColumn (line 137) | public CustomSQLiteQueryBuilder addColumn(final String columnName, fin... FILE: db/src/main/java/org/odk/collect/db/sqlite/CustomSQLiteQueryExecutor.java class CustomSQLiteQueryExecutor (line 7) | public final class CustomSQLiteQueryExecutor extends CustomSQLiteQueryBu... method CustomSQLiteQueryExecutor (line 10) | private CustomSQLiteQueryExecutor(SQLiteDatabase db) { method begin (line 15) | public static CustomSQLiteQueryExecutor begin(SQLiteDatabase db) { method end (line 19) | @Override method query (line 25) | public Cursor query() throws SQLiteException { FILE: db/src/main/java/org/odk/collect/db/sqlite/DatabaseMigrator.java type DatabaseMigrator (line 5) | public interface DatabaseMigrator { method onCreate (line 6) | void onCreate(SQLiteDatabase db); method onUpgrade (line 8) | void onUpgrade(SQLiteDatabase db, int oldVersion); FILE: db/src/main/java/org/odk/collect/db/sqlite/SQLiteUtils.java class SQLiteUtils (line 9) | @Deprecated method SQLiteUtils (line 11) | private SQLiteUtils() { method doesTableExist (line 14) | public static boolean doesTableExist(SQLiteDatabase db, String tableNa... method renameTable (line 33) | public static void renameTable(SQLiteDatabase db, String table, String... method copyRows (line 39) | public static void copyRows(SQLiteDatabase db, String srcTable, String... method dropTable (line 46) | public static void dropTable(SQLiteDatabase db, String table) { FILE: db/src/test/java/org/odk/collect/db/sqlite/CustomSQLiteQueryBuilderTest.java class CustomSQLiteQueryBuilderTest (line 26) | public class CustomSQLiteQueryBuilderTest { method quoteIdentifierTest (line 30) | @Test method quoteStringLiteral (line 35) | @Test method selectTest (line 40) | @Test method columnsForInsertTest (line 45) | @Test method columnsForSelectTest (line 50) | @Test method fromTest (line 55) | @Test method whereOneTest (line 60) | @Test method whereMultipleTest (line 65) | @Test method renameTableTest (line 71) | @Test method toTest (line 76) | @Test method dropIfExistsTest (line 81) | @Test method insertIntoTest (line 86) | @Test method alterTest (line 91) | @Test method tableTest (line 96) | @Test method addColumnTest (line 101) | @Test method createTableTest (line 106) | @Test FILE: db/src/test/java/org/odk/collect/db/sqlite/SQLiteUtilsTest.java class SQLiteUtilsTest (line 19) | @RunWith(AndroidJUnit4.class) method doesTableExistTest (line 22) | @Test FILE: draw/src/main/java/org/odk/collect/draw/DrawActivity.java class DrawActivity (line 62) | public class DrawActivity extends LocalizedActivity { method handleOnBackPressed (line 91) | @Override method onCreate (line 97) | @Override method setOrientation (line 242) | @SuppressLint("SourceLockedOrientationActivity") method reset (line 254) | private void reset() { method cancelAndClose (line 264) | private void cancelAndClose() { method onKeyDown (line 269) | @Override method createQuitDrawDialog (line 287) | private void createQuitDrawDialog() { method clear (line 295) | private void clear(View view) { method close (line 302) | private void close(View view) { method setColor (line 309) | private void setColor(View view) { method scaleInAnimation (line 317) | private static void scaleInAnimation(final View view, int startOffset,... FILE: forms-test/src/main/java/org/odk/collect/formstest/FormsRepositoryTest.java class FormsRepositoryTest (line 28) | public abstract class FormsRepositoryTest { method buildSubject (line 31) | public abstract FormsRepository buildSubject(); method buildSubject (line 33) | public abstract FormsRepository buildSubject(Supplier clock); method getFormFilesPath (line 35) | public abstract String getFormFilesPath(); method getLatestByFormIdAndVersion_whenFormHasNullVersion_returnsForm (line 37) | @Test method getLatestByFormIdAndVersion_whenMultipleExist_returnsLatest (line 48) | @Test method getAllByFormIdAndVersion_whenFormHasNullVersion_returnsAllMatchingForms (line 66) | @Test method getAllNotDeletedByFormId_doesNotReturnDeletedForms (line 84) | @Test method getAllNotDeletedByFormIdAndVersion_onlyReturnsNotDeletedFormsThatMatchVersion (line 102) | @Test method softDelete_marksDeletedAsTrue (line 128) | @Test method softDelete_deletesTheSavepointThatBelongsToTheFormThatShouldBeDeleted (line 138) | @Test method restore_marksDeletedAsFalse (line 154) | @Test method save_multipleFormsWithTheSameHashIgnoresDuplicatesAndReturnsTheExistingForm (line 165) | @Test method save_addsId (line 179) | @Test method save_addsMediaPath_whereMediaDirCanBeCreated (line 188) | @Test method save_addsHashBasedOnFormFile (line 198) | @Test method save_whenNoFormFilePath_explodes (line 210) | @Test(expected = Exception.class) method save_whenFormHasId_updatesExisting (line 221) | @Test method save_whenFormHasId_updatesHash (line 235) | @Test method save_withNewFormVersion_copiesLanguageFromLatestFormVersion (line 254) | @Test method delete_deletesFiles (line 273) | @Test method delete_deletesTheSavepointThatBelongsToTheFormThatShouldBeDeleted (line 295) | @Test method delete_whenMediaPathIsFile_deletesFiles (line 311) | @Test method deleteAll_deletesAllForms (line 330) | @Test method deleteAll_deletesAllSavepointsThatBelongToFormsThatShouldBeDeleted (line 347) | @Test method deleteByMd5Hash_deletesFormsWithMatchingHash (line 363) | @Test method deleteByMd5Hash_deletesTheSavepointThatBelongsToTheFormThatShouldBeDeleted (line 376) | @Test method getOneByMd5Hash_whenHashIsNull_explodes (line 393) | @Test(expected = Exception.class) method getOneByMd5Hash_returnsMatchingForm (line 398) | @Test method getOneByPath_returnsMatchingForm (line 407) | @Test method getAllFormId_returnsMatchingForms (line 418) | @Test FILE: forms-test/src/main/java/org/odk/collect/formstest/InMemFormsRepository.java class InMemFormsRepository (line 23) | public class InMemFormsRepository implements FormsRepository { method InMemFormsRepository (line 31) | public InMemFormsRepository() { method InMemFormsRepository (line 35) | public InMemFormsRepository(Supplier clock) { method InMemFormsRepository (line 39) | public InMemFormsRepository(SavepointsRepository savepointsRepository) { method InMemFormsRepository (line 43) | public InMemFormsRepository(Supplier clock, SavepointsRepository... method get (line 48) | @Nullable method getLatestByFormIdAndVersion (line 54) | @Nullable method getOneByMd5Hash (line 66) | @Nullable method getOneByPath (line 76) | @Nullable method getAll (line 82) | @Override method getAllByFormIdAndVersion (line 87) | @Override method getAllByFormId (line 92) | @Override method getAllNotDeletedByFormId (line 97) | @Override method getAllNotDeletedByFormIdAndVersion (line 102) | public List getAllNotDeletedByFormIdAndVersion(String jrFormId, ... method save (line 106) | @Override method delete (line 157) | @Override method softDelete (line 167) | @Override method deleteByMd5Hash (line 180) | @Override method deleteAll (line 189) | @Override method restore (line 198) | @Override method deleteFilesForForm (line 210) | private void deleteFilesForForm(Form form) { FILE: forms-test/src/main/java/org/odk/collect/formstest/InMemInstancesRepository.java class InMemInstancesRepository (line 15) | public final class InMemInstancesRepository implements InstancesReposito... method InMemInstancesRepository (line 22) | public InMemInstancesRepository() { method InMemInstancesRepository (line 26) | public InMemInstancesRepository(List instances) { method InMemInstancesRepository (line 30) | public InMemInstancesRepository(Supplier clock) { method InMemInstancesRepository (line 34) | public InMemInstancesRepository(Supplier clock, List i... method get (line 39) | @Override method getOneByPath (line 50) | @Override method getAll (line 67) | @Override method getAllNotDeleted (line 72) | @Override method getAllByStatus (line 79) | @Override method getCountByStatus (line 93) | @Override method getAllByFormId (line 98) | @Override method getAllNotDeletedByFormIdAndVersion (line 111) | @Override method delete (line 120) | @Override method deleteAll (line 135) | @Override method save (line 144) | @Override method deleteWithLogging (line 187) | @Override method removeInstanceById (line 200) | public void removeInstanceById(Long databaseId) { method deleteInstanceFiles (line 209) | private void deleteInstanceFiles(Instance instance) { method saveInstance (line 215) | private void saveInstance(Instance instance) { FILE: forms-test/src/test/java/org/odk/collect/formstest/InMemFormsRepositoryTest.java class InMemFormsRepositoryTest (line 9) | public class InMemFormsRepositoryTest extends FormsRepositoryTest { method setup (line 13) | @Before method buildSubject (line 18) | @Override method buildSubject (line 23) | @Override method getFormFilesPath (line 28) | @Override FILE: forms/src/main/java/org/odk/collect/forms/Form.java class Form (line 29) | public final class Form { method Form (line 51) | private Form(Form.Builder builder) { class Builder (line 73) | public static class Builder { method Builder (line 94) | public Builder() { method Builder (line 97) | public Builder(@NotNull Form form) { method dbId (line 119) | public Builder dbId(Long id) { method displayName (line 124) | public Builder displayName(String displayName) { method description (line 129) | public Builder description(String description) { method formId (line 134) | public Builder formId(String formId) { method version (line 139) | public Builder version(String version) { method formFilePath (line 144) | public Builder formFilePath(String formFilePath) { method submissionUri (line 149) | public Builder submissionUri(String submissionUri) { method base64RSAPublicKey (line 154) | public Builder base64RSAPublicKey(String base64RSAPublicKey) { method md5Hash (line 159) | public Builder md5Hash(String md5Hash) { method date (line 164) | public Builder date(Long date) { method jrCacheFilePath (line 169) | public Builder jrCacheFilePath(String jrCacheFilePath) { method formMediaPath (line 174) | public Builder formMediaPath(String formMediaPath) { method language (line 179) | public Builder language(String language) { method autoSend (line 184) | public Builder autoSend(String autoSend) { method autoDelete (line 189) | public Builder autoDelete(String autoDelete) { method geometryXpath (line 194) | public Builder geometryXpath(String geometryXpath) { method deleted (line 199) | public Builder deleted(boolean deleted) { method lastDetectedAttachmentsUpdateDate (line 204) | public Builder lastDetectedAttachmentsUpdateDate(Long lastDetectedAt... method usesEntities (line 209) | public Builder usesEntities(boolean usesEntities) { method build (line 214) | public Form build() { method getDbId (line 219) | public Long getDbId() { method getDisplayName (line 223) | public String getDisplayName() { method getDescription (line 227) | public String getDescription() { method getFormId (line 231) | public String getFormId() { method getVersion (line 235) | @Nullable method getFormFilePath (line 240) | public String getFormFilePath() { method getSubmissionUri (line 244) | public String getSubmissionUri() { method getBASE64RSAPublicKey (line 248) | @Nullable method getMD5Hash (line 253) | public String getMD5Hash() { method getDate (line 257) | public Long getDate() { method getJrCacheFilePath (line 261) | public String getJrCacheFilePath() { method getFormMediaPath (line 265) | @Nullable method getLanguage (line 270) | public String getLanguage() { method getAutoSend (line 274) | @Nullable method getAutoDelete (line 279) | public String getAutoDelete() { method getGeometryXpath (line 283) | public String getGeometryXpath() { method isDeleted (line 287) | public boolean isDeleted() { method getLastDetectedAttachmentsUpdateDate (line 291) | public Long getLastDetectedAttachmentsUpdateDate() { method usesEntities (line 295) | public boolean usesEntities() { method equals (line 299) | @Override method hashCode (line 331) | @Override method toString (line 339) | @Override FILE: forms/src/main/java/org/odk/collect/forms/FormSource.java type FormSource (line 12) | public interface FormSource { method fetchFormList (line 14) | List fetchFormList() throws FormSourceException; method fetchManifest (line 16) | ManifestFile fetchManifest(String manifestURL) throws FormSourceExcept... method fetchForm (line 18) | @NotNull method fetchMediaFile (line 21) | @NotNull FILE: forms/src/main/java/org/odk/collect/forms/FormsRepository.java type FormsRepository (line 8) | public interface FormsRepository { method get (line 10) | @Nullable method getLatestByFormIdAndVersion (line 13) | @Nullable method getOneByPath (line 16) | @Nullable method getOneByMd5Hash (line 19) | @Nullable method getAll (line 22) | List getAll(); method getAllByFormIdAndVersion (line 24) | List getAllByFormIdAndVersion(String formId, @Nullable String ve... method getAllByFormId (line 26) | List getAllByFormId(String formId); method getAllNotDeletedByFormId (line 28) | List getAllNotDeletedByFormId(String formId); method getAllNotDeletedByFormIdAndVersion (line 30) | List getAllNotDeletedByFormIdAndVersion(String formId, @Nullable... method save (line 32) | Form save(@NotNull Form form); method delete (line 34) | void delete(Long id); method softDelete (line 36) | void softDelete(Long id); method deleteByMd5Hash (line 38) | void deleteByMd5Hash(@NotNull String md5Hash); method deleteAll (line 40) | void deleteAll(); method restore (line 42) | void restore(Long id); FILE: forms/src/main/java/org/odk/collect/forms/instances/Instance.java class Instance (line 29) | public final class Instance { method Instance (line 59) | private Instance(Builder builder) { class Builder (line 79) | public static class Builder { method Builder (line 98) | public Builder() { method Builder (line 102) | public Builder(Instance instance) { method displayName (line 121) | public Builder displayName(String displayName) { method submissionUri (line 126) | public Builder submissionUri(String submissionUri) { method canEditWhenComplete (line 131) | public Builder canEditWhenComplete(boolean canEditWhenComplete) { method instanceFilePath (line 136) | public Builder instanceFilePath(String instanceFilePath) { method formId (line 141) | public Builder formId(String formId) { method formVersion (line 146) | public Builder formVersion(String jrVersion) { method status (line 151) | public Builder status(String status) { method lastStatusChangeDate (line 156) | public Builder lastStatusChangeDate(Long lastStatusChangeDate) { method finalizationDate (line 161) | public Builder finalizationDate(Long finalizationDate) { method deletedDate (line 166) | public Builder deletedDate(Long deletedDate) { method geometryType (line 171) | public Builder geometryType(String geometryType) { method geometry (line 176) | public Builder geometry(String geometry) { method editOf (line 181) | public Builder editOf(Long editOf) { method editNumber (line 186) | public Builder editNumber(Long editNumber) { method dbId (line 191) | public Builder dbId(Long dbId) { method canDeleteBeforeSend (line 196) | @NotNull method build (line 202) | public Instance build() { method getDisplayName (line 207) | public String getDisplayName() { method getSubmissionUri (line 211) | public String getSubmissionUri() { method canEditWhenComplete (line 215) | public boolean canEditWhenComplete() { method getInstanceFilePath (line 219) | public String getInstanceFilePath() { method getFormId (line 223) | public String getFormId() { method getFormVersion (line 227) | public String getFormVersion() { method getStatus (line 231) | public String getStatus() { method getLastStatusChangeDate (line 235) | public Long getLastStatusChangeDate() { method getFinalizationDate (line 239) | public Long getFinalizationDate() { method getDeletedDate (line 243) | @Nullable method getGeometryType (line 248) | public String getGeometryType() { method getGeometry (line 252) | public String getGeometry() { method getEditOf (line 256) | @Nullable method getEditNumber (line 261) | @Nullable method getDbId (line 267) | public Long getDbId() { method canDeleteBeforeSend (line 271) | public boolean canDeleteBeforeSend() { method equals (line 275) | @Override method hashCode (line 289) | @Override FILE: forms/src/main/java/org/odk/collect/forms/instances/InstancesRepository.java type InstancesRepository (line 16) | public interface InstancesRepository { method get (line 18) | @Nullable method getOneByPath (line 24) | @Nullable method getAll (line 27) | List getAll(); method getAllNotDeleted (line 29) | List getAllNotDeleted(); method getAllByStatus (line 31) | List getAllByStatus(String... status); method getCountByStatus (line 33) | int getCountByStatus(String... status); method getAllByFormId (line 35) | List getAllByFormId(String formId); method getAllNotDeletedByFormIdAndVersion (line 37) | List getAllNotDeletedByFormIdAndVersion(String formId, Strin... method delete (line 39) | void delete(Long id); method deleteAll (line 41) | void deleteAll(); method save (line 43) | Instance save(Instance instance); method deleteWithLogging (line 49) | void deleteWithLogging(Long id); class IntegrityException (line 51) | class IntegrityException extends RuntimeException { method IntegrityException (line 52) | public IntegrityException(String message) { FILE: geo/src/main/java/org/odk/collect/geo/geopoint/GeoPointMapActivity.java class GeoPointMapActivity (line 61) | public class GeoPointMapActivity extends LocalizedActivity { method onCreate (line 133) | @Override method onSaveInstanceState (line 165) | @Override protected void onSaveInstanceState(Bundle state) { method returnLocation (line 196) | public void returnLocation() { method initMap (line 214) | @SuppressLint("MissingPermission") // Permission handled in Constructor method restoreFromInstanceState (line 296) | protected void restoreFromInstanceState(Bundle state) { method onLocationChanged (line 331) | public void onLocationChanged(MapPoint point) { method formatResult (line 355) | public String formatResult(MapPoint point) { method onDragEnd (line 359) | public void onDragEnd(int draggedFeatureId) { method onLongPress (line 368) | public void onLongPress(MapPoint point) { method enableZoomButton (line 376) | private void enableZoomButton(boolean shouldEnable) { method zoomToMarker (line 382) | public void zoomToMarker(boolean animate) { method clear (line 386) | private void clear() { method placeMarker (line 398) | private void placeMarker(@NonNull MapPoint point) { FILE: geo/src/main/java/org/odk/collect/geo/geopoly/GeoPolySettingsDialogFragment.java class GeoPolySettingsDialogFragment (line 19) | public class GeoPolySettingsDialogFragment extends DialogFragment { method GeoPolySettingsDialogFragment (line 37) | public GeoPolySettingsDialogFragment(SettingsDialogCallback callback) { method onCreateDialog (line 41) | @NonNull method formatInterval (line 115) | private String formatInterval(int seconds) { method populateSpinner (line 123) | private void populateSpinner(Spinner spinner, String[] options) { method formatAccuracyThreshold (line 131) | private String formatAccuracyThreshold(int meters) { type SettingsDialogCallback (line 137) | public interface SettingsDialogCallback { method startInput (line 138) | void startInput(); method updateRecordingMode (line 139) | void updateRecordingMode(int checkedId); method getCheckedId (line 141) | int getCheckedId(); method getIntervalIndex (line 142) | int getIntervalIndex(); method getAccuracyThresholdIndex (line 143) | int getAccuracyThresholdIndex(); method setIntervalIndex (line 145) | void setIntervalIndex(int intervalIndex); method setAccuracyThresholdIndex (line 146) | void setAccuracyThresholdIndex(int accuracyThresholdIndex); FILE: geo/src/test/java/org/odk/collect/geo/geopoint/GeoPointMapActivityTest.java class GeoPointMapActivityTest (line 47) | @RunWith(AndroidJUnit4.class) method setUp (line 55) | @Before method whenLocationNotSetShouldDisplayPleaseWaitMessage (line 98) | @Test method whenLocationSetShouldDisplayStatusMessage (line 106) | @Test method shouldReturnPointFromLastLocationFix (line 116) | @Test method whenLocationExtraIncluded_showsMarker (line 138) | @Test method mapFragmentRetainMockAccuracy_isFalse (line 151) | @Test method passingRetainMockAccuracyExtra_updatesMapFragmentState (line 159) | @Test method recreatingTheActivityWithTheLayersDialogDisplayedDoesNotCrashTheApp (line 175) | @Test method getLocationStatus (line 185) | private String getLocationStatus(Activity activity) { FILE: geo/src/test/java/org/odk/collect/geo/geopoly/GeoPolySettingsDialogFragmentTest.java class GeoPolySettingsDialogFragmentTest (line 31) | @RunWith(AndroidJUnit4.class) method setup (line 40) | @Before method dialogIsCancellable (line 48) | @Test method clickingStart_shouldDismissTheDialog (line 56) | @Test method clickingCancel_shouldDismissTheDialog (line 71) | @Test method clickingStart_callsCorrectMethodsInCorrectOrder (line 86) | @Test method selectingAutomaticMode_displaysIntervalAndAccuracyOptions (line 111) | @Test method notSelectingAutomaticMode_doesNotDisplayIntervalAndAccuracyOptions (line 126) | @Test method creatingDialog_showsCorrectView (line 139) | @Test FILE: google-maps/src/main/java/org/odk/collect/googlemaps/GoogleMapConfigurator.java class GoogleMapConfigurator (line 30) | public class GoogleMapConfigurator implements MapConfigurator { method GoogleMapConfigurator (line 36) | public GoogleMapConfigurator(String prefKey, int sourceLabelId, Google... method isAvailable (line 42) | @Override public boolean isAvailable(Context context) { method isGooglePlayServicesAvailable (line 53) | private static boolean isGooglePlayServicesAvailable(Context context) { method isGoogleMapsSdkAvailable (line 57) | private static boolean isGoogleMapsSdkAvailable(Context context) { method showUnavailableMessage (line 65) | @Override public void showUnavailableMessage(Context context) { method createPrefs (line 77) | @Override public List createPrefs(Context context, Setting... method getPrefKeys (line 91) | @Override public Set getPrefKeys() { method buildConfig (line 96) | @Override public Bundle buildConfig(Settings prefs) { method supportsLayer (line 105) | @Override public boolean supportsLayer(File file) { method getDisplayName (line 110) | @Override public String getDisplayName(File file) { class GoogleMapTypeOption (line 115) | public static class GoogleMapTypeOption { method GoogleMapTypeOption (line 119) | public GoogleMapTypeOption(int mapType, int labelId) { FILE: google-maps/src/main/java/org/odk/collect/googlemaps/GoogleMapFragment.java class GoogleMapFragment (line 91) | public class GoogleMapFragment extends MapViewModelMapFragment implements method init (line 131) | @Override method onCreateView (line 137) | @Nullable method onAttach (line 247) | @Override public void onAttach(@NonNull Context context) { method onResume (line 253) | @Override public void onResume() { method onPause (line 258) | @Override public void onPause() { method onDestroy (line 263) | @Override public void onDestroy() { method getCenter (line 268) | @Override public @NonNull MapPoint getCenter() { method getZoom (line 276) | @Override public double getZoom() { method addMarker (line 283) | @Override public int addMarker(MarkerDescription markerDescription) { method addMarker (line 288) | private int addMarker(int featureId, MarkerDescription markerDescripti... method addMarkers (line 293) | @Override method setMarkerIcon (line 304) | @Override public void setMarkerIcon(int featureId, MarkerIconDescripti... method getMarkerPoint (line 311) | @Override public @Nullable MapPoint getMarkerPoint(int featureId) { method addPolyLine (line 316) | @Override public int addPolyLine(LineDescription lineDescription) { method addPolyLine (line 322) | private void addPolyLine(int featureId, LineDescription lineDescriptio... method updatePolyLine (line 330) | @Override method addPolygon (line 336) | @Override method addPolygon (line 343) | private void addPolygon(int featureId, PolygonDescription polygonDescr... method updatePolygon (line 351) | @Override method getPolyPoints (line 357) | @Override public @NonNull List getPolyPoints(int featureId) { method clearFeatures (line 366) | @Override public void clearFeatures() { method setClickListener (line 376) | @Override public void setClickListener(@Nullable PointListener listene... method setLongPressListener (line 380) | @Override public void setLongPressListener(@Nullable PointListener lis... method setFeatureClickListener (line 384) | @Override public void setFeatureClickListener(@Nullable FeatureListene... method setDragEndListener (line 388) | @Override public void setDragEndListener(@Nullable FeatureListener lis... method setGpsLocationListener (line 392) | @Override public void setGpsLocationListener(@Nullable PointListener l... method setRetainMockAccuracy (line 396) | @Override method setGpsLocationEnabled (line 401) | @Override public void setGpsLocationEnabled(boolean enable) { method onLocationChanged (line 408) | @Override public void onLocationChanged(Location location) { method getGpsLocation (line 424) | @Override public @Nullable MapPoint getGpsLocation() { method onMapClick (line 428) | @Override public void onMapClick(LatLng latLng) { method onMapLongClick (line 434) | @Override public void onMapLongClick(LatLng latLng) { method onMarkerClick (line 440) | @Override public boolean onMarkerClick(Marker marker) { method onPolylineClick (line 454) | @Override public void onPolylineClick(Polyline polyline) { method onPolygonClick (line 460) | @Override public void onPolygonClick(@NonNull Polygon polygon) { method onMarkerDragStart (line 466) | @Override public void onMarkerDragStart(Marker marker) { method onMarkerDrag (line 473) | @Override public void onMarkerDrag(Marker marker) { method onMarkerDragEnd (line 481) | @Override public void onMarkerDragEnd(Marker marker) { method onClientStart (line 489) | @Override public void onClientStart() { method onClientStartFailure (line 495) | @Override public void onClientStartFailure() { method onClientStop (line 498) | @Override public void onClientStop() { method fromLatLng (line 501) | private static @NonNull MapPoint fromLatLng(@NonNull LatLng latLng) { method fromLocation (line 505) | private static @Nullable MapPoint fromLocation(@Nullable Location loca... method fromMarker (line 513) | private static @NonNull MapPoint fromMarker(@NonNull Marker marker) { method loadReferenceOverlay (line 535) | private void loadReferenceOverlay() { method setLabelsVisibility (line 550) | private void setLabelsVisibility(String state) { method expandBounds (line 555) | private LatLngBounds expandBounds(LatLngBounds bounds, double factor) { method moveOrAnimateCamera (line 576) | private void moveOrAnimateCamera(CameraUpdate movement, boolean animat... method enableLocationUpdates (line 584) | private void enableLocationUpdates(boolean enable) { method updateLocationIndicator (line 594) | private void updateLocationIndicator(LatLng loc, double radius) { method findFeature (line 623) | private int findFeature(Marker marker) { method findFeature (line 633) | private int findFeature(Polyline polyline) { method findFeature (line 642) | private int findFeature(Polygon polygon) { method updateFeature (line 651) | private void updateFeature(int featureId) { method createMarker (line 658) | private static Marker createMarker(Context context, MarkerDescription ... method getIconAnchorValueX (line 674) | private static float getIconAnchorValueX(MapFragment.IconAnchor iconAn... method getIconAnchorValueY (line 682) | private static float getIconAnchorValueY(MapFragment.IconAnchor iconAn... method getBitmapDescriptor (line 691) | private static BitmapDescriptor getBitmapDescriptor(Context context, M... method onConfigChanged (line 695) | private void onConfigChanged(Bundle config) { method createConfigurator (line 704) | private MapConfigurator createConfigurator() { method getMapViewModel (line 714) | @NonNull method updateMarker (line 726) | @Override method addCircle (line 732) | @Override method addCircle (line 739) | private void addCircle(int featureId, @NotNull CircleDescription circl... method updateCircle (line 743) | @Override type MapFeature (line 755) | public interface MapFeature { method ownsMarker (line 757) | boolean ownsMarker(Marker marker); method ownsPolyline (line 760) | boolean ownsPolyline(Polyline polyline); method ownsPolygon (line 762) | boolean ownsPolygon(Polygon polygon); method update (line 765) | void update(); method dispose (line 768) | void dispose(); class MarkerFeature (line 771) | private static class MarkerFeature implements MapFeature { method MarkerFeature (line 775) | MarkerFeature(Context context, MarkerDescription markerDescription, ... method setIcon (line 780) | public void setIcon(MarkerIconDescription markerIconDescription) { method getPoint (line 784) | public MapPoint getPoint() { method ownsMarker (line 788) | public boolean ownsMarker(Marker givenMarker) { method ownsPolyline (line 792) | public boolean ownsPolyline(Polyline givenPolyline) { method ownsPolygon (line 796) | @Override method update (line 801) | public void update() { } method dispose (line 803) | public void dispose() { type LineFeature (line 809) | private interface LineFeature extends MapFeature { method getPoints (line 810) | List getPoints(); class StaticPolyLineFeature (line 814) | private static class StaticPolyLineFeature implements LineFeature { method StaticPolyLineFeature (line 819) | StaticPolyLineFeature(LineDescription lineDescription, GoogleMap map) { method ownsMarker (line 841) | @Override method ownsPolyline (line 846) | @Override method ownsPolygon (line 851) | @Override method update (line 856) | @Override method dispose (line 860) | @Override method clearPolyline (line 865) | private void clearPolyline() { method getPoints (line 873) | @Override class DynamicPolyLineFeature (line 879) | private class DynamicPolyLineFeature implements LineFeature { method DynamicPolyLineFeature (line 886) | DynamicPolyLineFeature(Context context, LineDescription lineDescript... method ownsMarker (line 903) | @Override method ownsPolyline (line 908) | @Override method ownsPolygon (line 913) | @Override method update (line 918) | @Override method dispose (line 938) | @Override method getPoints (line 947) | public List getPoints() { method clearPolyline (line 955) | private void clearPolyline() { class DynamicPolygonFeature (line 963) | private class DynamicPolygonFeature implements LineFeature { method DynamicPolygonFeature (line 970) | DynamicPolygonFeature(GoogleMap map, PolygonDescription polygonDescr... method ownsMarker (line 987) | @Override method ownsPolyline (line 992) | @Override method ownsPolygon (line 997) | @Override method update (line 1002) | @Override method dispose (line 1023) | @Override method getPoints (line 1032) | public List getPoints() { method clearPolygon (line 1040) | private void clearPolygon() { class StaticPolygonFeature (line 1049) | private static class StaticPolygonFeature implements LineFeature { method StaticPolygonFeature (line 1054) | StaticPolygonFeature(GoogleMap map, PolygonDescription polygonDescri... method ownsMarker (line 1065) | @Override method ownsPolyline (line 1070) | @Override method ownsPolygon (line 1075) | @Override method update (line 1080) | @Override method dispose (line 1084) | @Override method getPoints (line 1092) | @Override class CameraListener (line 1098) | private abstract static class CameraListener implements GoogleMap.OnCa... method CameraListener (line 1104) | CameraListener(GoogleMap map) { method onCameraMoveFinished (line 1108) | abstract void onCameraMoveFinished(boolean isUser, boolean isZoom); method onCameraMoveStarted (line 1110) | @Override method onCameraIdle (line 1116) | @Override FILE: google-maps/src/main/java/org/odk/collect/googlemaps/GoogleMapsMapBoxOfflineTileProvider.java class GoogleMapsMapBoxOfflineTileProvider (line 34) | public class GoogleMapsMapBoxOfflineTileProvider implements TileProvider... method GoogleMapsMapBoxOfflineTileProvider (line 52) | public GoogleMapsMapBoxOfflineTileProvider(File file) { method GoogleMapsMapBoxOfflineTileProvider (line 56) | public GoogleMapsMapBoxOfflineTileProvider(String pathToFile) { method getTile (line 67) | @Override method close (line 95) | @Override method getMinimumZoom (line 107) | public int getMinimumZoom() { method getMaximumZoom (line 111) | public int getMaximumZoom() { method getBounds (line 115) | public LatLngBounds getBounds() { method isZoomLevelAvailable (line 119) | public boolean isZoomLevelAvailable(int zoom) { method calculateZoomConstraints (line 127) | private void calculateZoomConstraints() { method calculateBounds (line 152) | private void calculateBounds() { method isDatabaseAvailable (line 177) | private boolean isDatabaseAvailable() { FILE: google-maps/src/main/java/org/odk/collect/googlemaps/scaleview/Drawer.java class Drawer (line 13) | public class Drawer { method Drawer (line 34) | Drawer(int color, float textSize, float strokeWidth, float density, bo... method update (line 56) | private void update() { method getWidth (line 70) | int getWidth() { method getHeight (line 74) | int getHeight() { method setScales (line 82) | void setScales(Scales scales) { method setColor (line 86) | void setColor(int color) { method setTextSize (line 91) | void setTextSize(float textSize) { method setTextFont (line 96) | void setTextFont(Typeface font) { method setStrokeWidth (line 101) | void setStrokeWidth(float strokeWidth) { method setOutlineEnabled (line 108) | void setOutlineEnabled(boolean enabled) { method setExpandRtlEnabled (line 113) | void setExpandRtlEnabled(boolean enabled) { method setViewWidth (line 117) | void setViewWidth(int width) { method draw (line 121) | void draw(Canvas canvas) { FILE: google-maps/src/main/java/org/odk/collect/googlemaps/scaleview/MapScaleModel.java class MapScaleModel (line 7) | class MapScaleModel { method MapScaleModel (line 30) | MapScaleModel(float density) { method updateMaxWidth (line 35) | boolean updateMaxWidth(int width) { method setTileSize (line 44) | void setTileSize(int tileSize) { method setPosition (line 49) | void setPosition(float zoom, double latitude) { method update (line 57) | Scale update(boolean meters) { method text (line 83) | private String text(float distance, boolean meters) { FILE: google-maps/src/main/java/org/odk/collect/googlemaps/scaleview/MapScaleView.java class MapScaleView (line 15) | public class MapScaleView extends View { type ScaleType (line 24) | private enum ScaleType { method MapScaleView (line 28) | public MapScaleView(Context context) { method MapScaleView (line 32) | public MapScaleView(Context context, AttributeSet attrs) { method MapScaleView (line 36) | public MapScaleView(Context context, AttributeSet attrs, int defStyleA... method setTileSize (line 52) | public void setTileSize(int tileSize) { method setColor (line 57) | public void setColor(@ColorInt int color) { method setTextSize (line 62) | public void setTextSize(float textSize) { method setTextFont (line 68) | public void setTextFont(Typeface font) { method setStrokeWidth (line 74) | public void setStrokeWidth(float strokeWidth) { method setOutlineEnabled (line 80) | public void setOutlineEnabled(boolean enabled) { method setExpandRtlEnabled (line 85) | public void setExpandRtlEnabled(boolean enabled) { method setIsMiles (line 93) | @Deprecated method metersOnly (line 102) | public void metersOnly() { method milesOnly (line 107) | public void milesOnly() { method metersAndMiles (line 112) | public void metersAndMiles() { method update (line 117) | public void update(float zoom, double latitude) { method updateScales (line 122) | private void updateScales() { method onMeasure (line 140) | @Override method desiredWidth (line 157) | private int desiredWidth() { method desiredHeight (line 161) | private int desiredHeight() { method measureDimension (line 165) | private int measureDimension(int desiredSize, int measureSpec) { method onDraw (line 178) | @Override FILE: google-maps/src/main/java/org/odk/collect/googlemaps/scaleview/Scale.java class Scale (line 7) | class Scale { method Scale (line 12) | Scale(String text, float length) { method text (line 17) | public String text() { method length (line 21) | public float length() { FILE: google-maps/src/main/java/org/odk/collect/googlemaps/scaleview/Scales.java class Scales (line 9) | class Scales { method Scales (line 13) | Scales(Scale top, Scale bottom) { method top (line 18) | @Nullable method bottom (line 23) | @Nullable method maxLength (line 28) | float maxLength() { FILE: google-maps/src/main/java/org/odk/collect/googlemaps/scaleview/ViewConfig.java class ViewConfig (line 14) | class ViewConfig { method ViewConfig (line 24) | ViewConfig(Context context, AttributeSet attrs) { FILE: location/src/main/java/org/odk/collect/location/AndroidLocationClient.java class AndroidLocationClient (line 26) | @SuppressLint("MissingPermission") // Permission checks for location ser... method AndroidLocationClient (line 43) | public AndroidLocationClient(@NonNull Context context) { method AndroidLocationClient (line 53) | public AndroidLocationClient(@NonNull LocationManager locationManager) { method start (line 59) | @Override method stop (line 76) | @Override method requestLocationUpdates (line 88) | @Override method stopLocationUpdates (line 102) | @Override method setRetainMockAccuracy (line 112) | @Override method getLastLocation (line 117) | @Override method isMonitoringLocation (line 128) | @Override method setUpdateInterval (line 133) | @Override method onLocationChanged (line 140) | @Override method onStatusChanged (line 149) | @Override method onProviderEnabled (line 154) | @Override method onProviderDisabled (line 159) | @Override method sanitizeLocation (line 164) | private Location sanitizeLocation(Location location) { FILE: location/src/main/java/org/odk/collect/location/LocationClient.java type LocationClient (line 17) | public interface LocationClient { method start (line 23) | void start(LocationClientListener listener); method stop (line 32) | void stop(); method requestLocationUpdates (line 39) | void requestLocationUpdates(@NonNull LocationListener locationListener); method stopLocationUpdates (line 45) | void stopLocationUpdates(); method setListener (line 53) | void setListener(@Nullable LocationClientListener locationClientListen... method setPriority (line 64) | void setPriority(@NonNull Priority priority); method setRetainMockAccuracy (line 71) | void setRetainMockAccuracy(boolean retainMockAccuracy); method getLastLocation (line 79) | @Nullable method isLocationAvailable (line 88) | boolean isLocationAvailable(); method isMonitoringLocation (line 95) | boolean isMonitoringLocation(); method setUpdateInterval (line 104) | void setUpdateInterval(long updateInterval); type LocationClientListener (line 109) | interface LocationClientListener { method onClientStart (line 113) | void onClientStart(); method onClientStartFailure (line 118) | void onClientStartFailure(); method onClientStop (line 124) | void onClientStop(); type Priority (line 130) | enum Priority { method Priority (line 158) | Priority(int value) { method getValue (line 168) | public int getValue() { FILE: location/src/test/java/org/odk/collect/location/AndroidLocationClientTest.java class AndroidLocationClientTest (line 35) | @RunWith(AndroidJUnit4.class) method setUp (line 41) | @Before method startingShouldSetListenerAndStoppingShouldRemoveIt (line 47) | @Test method startingWithProvidersEnabledShouldCallStartAndStop (line 57) | @Test method startingWithoutProvidersEnabledShouldCallStartFailureAndStop (line 76) | @Test method requestingLocationUpdatesShouldUpdateCorrectListener (line 96) | @Test method passiveProviderOnlyShouldFailOnHighAndBalancedPriorities (line 146) | @Test method networkProviderOnlyShouldFailOnNoPowerPriority (line 194) | @Test method gpsProviderOnlyShouldFailOnLowAndNoPowerPriorities (line 243) | @Test method getLastLocationShouldReturnCorrectFromCorrectProviderForPriority (line 292) | @Test method whenNewlyReceivedLocationAccuracyIsNegative_shouldBeSetToZero (line 367) | @Test method whenNewlyReceivedLocationIsMocked_shouldAccuracyBeSetToZero (line 382) | @Test method whenNewlyReceivedLocationIsMocked_andRetainMockAccuracyIsTrue_doesNotChangeAccuracy (line 397) | @Test method whenLastKnownLocationAccuracyIsNegative_shouldBeSetToZero (line 413) | @Test method whenLastKnownLocationIsMocked_shouldAccuracyBeSetToZero (line 423) | @Test method whenLastKnownLocationIsMocked_andRetainMockAccuracyIsTrue_doesNotChangeAccuracy (line 433) | @Test method newMockLocation (line 444) | private static Location newMockLocation() { FILE: location/src/test/java/org/odk/collect/location/TestClientListener.java class TestClientListener (line 3) | class TestClientListener implements LocationClient.LocationClientListener { method reset (line 9) | void reset() { method wasStartCalled (line 15) | boolean wasStartCalled() { method wasStartFailureCalled (line 19) | boolean wasStartFailureCalled() { method wasStopCalled (line 23) | boolean wasStopCalled() { method onClientStart (line 27) | @Override method onClientStartFailure (line 32) | @Override method onClientStop (line 37) | @Override FILE: location/src/test/java/org/odk/collect/location/TestLocationListener.java class TestLocationListener (line 7) | class TestLocationListener implements com.google.android.gms.location.Lo... method getLastLocation (line 12) | @Nullable method onLocationChanged (line 17) | @Override FILE: mapbox/src/main/java/org/odk/collect/mapbox/MapboxMapConfigurator.java class MapboxMapConfigurator (line 26) | public class MapboxMapConfigurator implements MapConfigurator { method MapboxMapConfigurator (line 32) | public MapboxMapConfigurator() { method isAvailable (line 45) | @Override public boolean isAvailable(Context context) { method showUnavailableMessage (line 53) | @Override public void showUnavailableMessage(Context context) { method createPrefs (line 57) | @Override public List createPrefs(Context context, Setting... method getPrefKeys (line 71) | @Override public Set getPrefKeys() { method buildConfig (line 76) | @Override public Bundle buildConfig(Settings prefs) { method supportsLayer (line 85) | @Override public boolean supportsLayer(File file) { method getDisplayName (line 90) | @Override public String getDisplayName(File file) { class MapboxUrlOption (line 95) | static class MapboxUrlOption { method MapboxUrlOption (line 99) | MapboxUrlOption(String url, int labelId) { FILE: mapbox/src/main/java/org/odk/collect/mapbox/TileHttpServer.java class TileHttpServer (line 22) | class TileHttpServer { method TileHttpServer (line 30) | TileHttpServer() throws IOException { method start (line 38) | public void start() { method getUrlTemplate (line 46) | public String getUrlTemplate(String key) { method addSource (line 56) | public void addSource(String key, TileSource source) { method destroy (line 61) | public void destroy() { method createBoundSocket (line 76) | protected static ServerSocket createBoundSocket(int portMin, int portM... class ServerThread (line 88) | class ServerThread extends Thread { method ServerThread (line 91) | ServerThread(ServerSocket socket) { method run (line 95) | public void run() { class ResponseThread (line 111) | class ResponseThread extends Thread { method ResponseThread (line 114) | ResponseThread(Socket connection) { method run (line 118) | public void run() { method getResponse (line 140) | protected Response getResponse(String request) { method sendResponse (line 166) | protected void sendResponse(Socket connection, Response response) { class Response (line 189) | public static class Response { method Response (line 194) | Response(byte[] data, String contentType, String contentEncoding) { FILE: maps/src/main/java/org/odk/collect/maps/layers/MbtilesFile.java class MbtilesFile (line 30) | public class MbtilesFile implements Closeable, TileSource { type LayerType (line 33) | public enum LayerType { RASTER, VECTOR } method MbtilesFile (line 41) | public MbtilesFile(File file) throws MbtilesException { method MbtilesFile (line 45) | private MbtilesFile(File file, String contentType) throws MbtilesExcep... method getContentType (line 64) | public String getContentType() { method getContentEncoding (line 68) | public String getContentEncoding() { method getLayerType (line 72) | public LayerType getLayerType() { method getMetadata (line 76) | public @NonNull String getMetadata(String key) throws MbtilesException { method close (line 80) | public void close() { method getTileBlob (line 85) | public byte[] getTileBlob(int zoom, int x, int y) { method getVectorLayers (line 121) | public List getVectorLayers() { method readName (line 137) | public static String readName(File file) { method readLayerType (line 146) | public static LayerType readLayerType(File file) { class VectorLayer (line 155) | public static class VectorLayer { method VectorLayer (line 158) | VectorLayer(JSONObject json) { method detectContentType (line 164) | private static String detectContentType(File file) throws MbtilesExcep... method openSqliteReadOnly (line 204) | private static SQLiteDatabase openSqliteReadOnly(File file) { method startsWithBytes (line 209) | private static boolean startsWithBytes(byte[] actual, int... expected) { method queryMetadata (line 218) | private static @NonNull String queryMetadata(SQLiteDatabase db, String... method queryAnyTileHeader (line 228) | private static @NonNull byte[] queryAnyTileHeader(SQLiteDatabase db) t... class MbtilesException (line 237) | public static class MbtilesException extends IOException { method MbtilesException (line 238) | MbtilesException(Throwable cause) { method MbtilesException (line 243) | MbtilesException(String message) { class NotFileException (line 248) | public static class NotFileException extends MbtilesException { method NotFileException (line 249) | NotFileException(File file) { class UnsupportedFilenameException (line 254) | public static class UnsupportedFilenameException extends MbtilesExcept... method UnsupportedFilenameException (line 255) | UnsupportedFilenameException(File file) { class UnsupportedFormatException (line 260) | public static class UnsupportedFormatException extends MbtilesException { method UnsupportedFormatException (line 261) | UnsupportedFormatException(String format, File file) { FILE: maps/src/main/java/org/odk/collect/maps/layers/TileSource.java type TileSource (line 3) | public interface TileSource { method getTileBlob (line 4) | byte[] getTileBlob(int zoom, int x, int y); method getContentType (line 6) | String getContentType(); method getContentEncoding (line 8) | String getContentEncoding(); FILE: material/src/main/java/org/odk/collect/material/MaterialProgressDialogFragment.java class MaterialProgressDialogFragment (line 31) | public class MaterialProgressDialogFragment extends DialogFragment { method getOnCancelCallback (line 42) | protected OnCancelCallback getOnCancelCallback() { method getCancelButtonText (line 49) | protected String getCancelButtonText() { method getTitle (line 53) | public String getTitle() { method getMessage (line 57) | public String getMessage() { method setTitle (line 61) | public void setTitle(String title) { method setMessage (line 70) | public void setMessage(String message) { method setCancelable (line 79) | @Override method onCreateDialog (line 85) | @Override method onCancel (line 99) | @Override method setupView (line 107) | private void setupView(@NonNull AlertDialog dialog) { method setArgument (line 128) | private void setArgument(String key, Serializable value) { type OnCancelCallback (line 136) | public interface OnCancelCallback { method cancel (line 137) | boolean cancel(); method getDialogView (line 140) | public View getDialogView() { method showOn (line 144) | public static void showOn(LifecycleOwner lifecycleOwner, LiveData getValues(String header); FILE: open-rosa/src/main/java/org/odk/collect/openrosa/http/CollectThenSystemContentTypeMapper.java class CollectThenSystemContentTypeMapper (line 13) | public class CollectThenSystemContentTypeMapper implements OpenRosaHttpI... method CollectThenSystemContentTypeMapper (line 17) | public CollectThenSystemContentTypeMapper(MimeTypeMap androidTypeMap) { method map (line 21) | @NonNull method getFileExtension (line 38) | private static String getFileExtension(String fileName) { type CollectContentTypeMappings (line 46) | private enum CollectContentTypeMappings { method CollectContentTypeMappings (line 55) | CollectContentTypeMappings(String extension, String contentType) { method of (line 60) | public static String of(String extension) { FILE: open-rosa/src/main/java/org/odk/collect/openrosa/http/HttpCredentials.java class HttpCredentials (line 3) | public class HttpCredentials implements HttpCredentialsInterface { method HttpCredentials (line 8) | public HttpCredentials(String username, String password) { method getUsername (line 13) | @Override method getPassword (line 18) | @Override method equals (line 23) | @Override method hashCode (line 37) | @Override FILE: open-rosa/src/main/java/org/odk/collect/openrosa/http/HttpCredentialsInterface.java type HttpCredentialsInterface (line 3) | public interface HttpCredentialsInterface { method getUsername (line 4) | String getUsername(); method getPassword (line 6) | String getPassword(); FILE: open-rosa/src/main/java/org/odk/collect/openrosa/http/HttpGetResult.java class HttpGetResult (line 26) | public class HttpGetResult { method HttpGetResult (line 36) | public HttpGetResult(InputStream is, @NonNull Map head... method getInputStream (line 43) | public InputStream getInputStream() { method getHash (line 47) | public String getHash() { method isOpenRosaResponse (line 51) | public boolean isOpenRosaResponse() { method getStatusCode (line 82) | public int getStatusCode() { FILE: open-rosa/src/main/java/org/odk/collect/openrosa/http/HttpHeadResult.java class HttpHeadResult (line 19) | public class HttpHeadResult { method HttpHeadResult (line 25) | public HttpHeadResult(int statusCode, CaseInsensitiveHeaders headers) { method getStatusCode (line 30) | public int getStatusCode() { method getHeaders (line 34) | public CaseInsensitiveHeaders getHeaders() { FILE: open-rosa/src/main/java/org/odk/collect/openrosa/http/HttpPostResult.java class HttpPostResult (line 3) | public class HttpPostResult { method HttpPostResult (line 9) | public HttpPostResult(String httpResponse, int responseCode, String re... method getResponseCode (line 15) | public int getResponseCode() { method getReasonPhrase (line 19) | public String getReasonPhrase() { method getHttpResponse (line 23) | public String getHttpResponse() { FILE: open-rosa/src/main/java/org/odk/collect/openrosa/http/OpenRosaHttpInterface.java type OpenRosaHttpInterface (line 27) | public interface OpenRosaHttpInterface { method executeGetRequest (line 38) | @NonNull method executeHeadRequest (line 49) | @NonNull method uploadSubmissionAndFiles (line 62) | @NonNull type FileToContentTypeMapper (line 69) | interface FileToContentTypeMapper { method map (line 71) | @NonNull FILE: open-rosa/src/main/java/org/odk/collect/openrosa/http/okhttp/OkHttpCaseInsensitiveHeaders.java class OkHttpCaseInsensitiveHeaders (line 12) | public class OkHttpCaseInsensitiveHeaders implements CaseInsensitiveHead... method OkHttpCaseInsensitiveHeaders (line 15) | public OkHttpCaseInsensitiveHeaders(Headers headers) { method getHeaders (line 19) | @Override method containsHeader (line 24) | @Override method getAnyValue (line 29) | @Nullable method getValues (line 35) | @Nullable FILE: open-rosa/src/main/java/org/odk/collect/openrosa/http/okhttp/OkHttpConnection.java class OkHttpConnection (line 36) | public class OkHttpConnection implements OpenRosaHttpInterface { method OkHttpConnection (line 48) | public OkHttpConnection(@Nullable String cacheDir, @NonNull FileToCont... method executeGetRequest (line 54) | @NonNull method executeHeadRequest (line 114) | @NonNull method uploadSubmissionAndFiles (line 138) | @NonNull method executePostRequest (line 197) | @NonNull method discardEntityBytes (line 228) | private void discardEntityBytes(Response response) { FILE: open-rosa/src/main/java/org/odk/collect/openrosa/http/okhttp/OkHttpOpenRosaServerClientProvider.java class OkHttpOpenRosaServerClientProvider (line 33) | public class OkHttpOpenRosaServerClientProvider implements OpenRosaServe... method OkHttpOpenRosaServerClientProvider (line 48) | public OkHttpOpenRosaServerClientProvider(@NonNull OkHttpClient baseCl... method OkHttpOpenRosaServerClientProvider (line 53) | public OkHttpOpenRosaServerClientProvider(String cacheDir) { method get (line 57) | @Override method createNewClient (line 70) | @NonNull class OkHttpOpenRosaServerClient (line 103) | private static class OkHttpOpenRosaServerClient implements OpenRosaSer... method OkHttpOpenRosaServerClient (line 108) | OkHttpOpenRosaServerClient(OkHttpClient client, String userAgent) { method makeRequest (line 113) | @Override method getHeaderDate (line 122) | private static String getHeaderDate(Date currentTime) { FILE: open-rosa/src/main/java/org/odk/collect/openrosa/http/okhttp/OpenRosaServerClient.java type OpenRosaServerClient (line 9) | public interface OpenRosaServerClient { method makeRequest (line 11) | Response makeRequest(Request request, Date currentTime) throws IOExcep... FILE: open-rosa/src/main/java/org/odk/collect/openrosa/http/okhttp/OpenRosaServerClientProvider.java type OpenRosaServerClientProvider (line 7) | public interface OpenRosaServerClientProvider { method get (line 9) | OpenRosaServerClient get(String schema, String userAgent, @NonNull Htt... FILE: open-rosa/src/test/java/org/odk/collect/openrosa/forms/OpenRosaXmlFetcherTest.java class OpenRosaXmlFetcherTest (line 23) | @RunWith(AndroidJUnit4.class) method setup (line 29) | @Before method getXML_returnsResultWith0Status (line 35) | @Test method getXML_whenUnsuccessful_returnsResultWithStatusAndErrorMessage (line 52) | @Test FILE: open-rosa/src/test/java/org/odk/collect/openrosa/http/CaseInsensitiveEmptyHeadersTest.java class CaseInsensitiveEmptyHeadersTest (line 6) | public class CaseInsensitiveEmptyHeadersTest { method testGetHeaders (line 9) | @Test method testContainsHeader (line 14) | @Test method testNullHeaderLookup (line 19) | @Test method testGetAnyValue (line 24) | @Test method testGetValues (line 29) | @Test FILE: open-rosa/src/test/java/org/odk/collect/openrosa/http/CollectThenSystemContentTypeMapperTest.java class CollectThenSystemContentTypeMapperTest (line 14) | @RunWith(MockitoJUnitRunner.class) method setup (line 22) | @Before method whenExtensionIsRecognized_returnsTypeForFile (line 27) | @Test method whenExtensionIsNotRecognized_returnsTypeFromAndroid (line 35) | @Test method whenExtensionIsNotRecognized_andAndroidDoesNotRecognize_returnsOctetStreamType (line 41) | @Test FILE: open-rosa/src/test/java/org/odk/collect/openrosa/http/OpenRosaGetRequestTest.java class OpenRosaGetRequestTest (line 26) | public abstract class OpenRosaGetRequestTest { method buildSubject (line 30) | protected abstract OpenRosaHttpInterface buildSubject(); method setup (line 38) | @Before method makesAGetRequestToUri (line 44) | @Test method sendsCollectHeaders (line 58) | @Test method returnsBodyWithEmptyHash (line 68) | @Test method whenResponseIsGzipped_returnsBody (line 78) | @Test method whenContentTypeIsXML_returnsBodyWithMD5Hash (line 88) | @Test method withContentType_whenResponseHasDifferentContentType_throwsException (line 99) | @Test(expected = Exception.class) method withContentType_whenResponseContainsContentType_returnsResult (line 107) | @Test method returnsOpenRosaVersion (line 117) | @Test method whenStatusCodeIsNot200_returnsNullBodyAndStatusCode (line 131) | @Test method whenResponseBodyIsNull_returnsNullBodyAndStatusCode (line 140) | @Test method gzip (line 155) | private static byte[] gzip(String data) throws IOException { FILE: open-rosa/src/test/java/org/odk/collect/openrosa/http/OpenRosaHeadRequestTest.java class OpenRosaHeadRequestTest (line 21) | public abstract class OpenRosaHeadRequestTest { method buildSubject (line 25) | protected abstract OpenRosaHttpInterface buildSubject(); method setup (line 33) | @Before method makesAHeadRequestToUri (line 39) | @Test method sendsCollectHeaders (line 53) | @Test method when204Response_returnsHeaders (line 63) | @Test method when204Response_returnsLowerCaseHeaders (line 77) | @Test method whenRequestFails_throwsExceptionWithMessage (line 90) | @Test FILE: open-rosa/src/test/java/org/odk/collect/openrosa/http/OpenRosaPostRequestTest.java class OpenRosaPostRequestTest (line 37) | public abstract class OpenRosaPostRequestTest { method buildSubject (line 39) | protected abstract OpenRosaHttpInterface buildSubject(OpenRosaHttpInte... method setup (line 47) | @Before method makesAPostRequestToUri (line 53) | @Test method returnsPostResult (line 67) | @Test method whenResponseIsGzipped_returnsBody (line 80) | @Test method whenResponseIs204_throwsException (line 93) | @Test(expected = Exception.class) method whenThereIsAServerError_returnsPostBody (line 102) | @Test method whenRequestFails_throwsExceptionWithMessage (line 115) | @Test method sendsSubmissionFileAsFirstPartOfBody (line 127) | @Test method sendsAttachmentsAsPartsOfBody (line 144) | @Test method sendsAttachmentsAsPartsOfBody_withContentType (line 167) | @Test method whenMoreThanOneAttachment_andRequestIsLargerThanMaxContentLength_sendsTwoRequests (line 183) | @Test method whenMoreThanOneAttachment_andRequestIsLargerThanMaxContentLength__andFirstRequestIs500_returnsErrorResult (line 217) | @Test method whenMoreThanOneAttachment_andRequestIsLargerThanMaxContentLength_andSecondRequestIs500_returnsErrorResult (line 231) | @Test method createTempFile (line 246) | private File createTempFile(String content) throws Exception { method createTempFile (line 250) | private File createTempFile(String content, String extension) throws E... method splitMultiPart (line 260) | private List splitMultiPart(RecordedRequest request) { method gzip (line 268) | private static byte[] gzip(String data) throws IOException { class XmlOrBlahContentTypeMapper (line 280) | private class XmlOrBlahContentTypeMapper implements OpenRosaHttpInterf... method map (line 282) | @NonNull FILE: open-rosa/src/test/java/org/odk/collect/openrosa/http/okhttp/OkHttpCaseInsensitiveHeadersTest.java class OkHttpCaseInsensitiveHeadersTest (line 13) | public class OkHttpCaseInsensitiveHeadersTest { method setup (line 16) | @Before method testMixedCaseHeaderLookup (line 21) | @Test method testLowerCaseHeaderLookup (line 28) | @Test method testUpperCaseHeaderLookup (line 35) | @Test method testNullHeaderLookup (line 42) | @Test method testGetAnyForSingleValue (line 47) | @Test method testGetAnyForMultipleValue (line 53) | @Test method testCaseInsensitiveNameCollisions (line 65) | @Test method buildTestHeaders (line 71) | private static OkHttpCaseInsensitiveHeaders buildTestHeaders() { FILE: open-rosa/src/test/java/org/odk/collect/openrosa/http/okhttp/OkHttpConnectionGetRequestTest.java class OkHttpConnectionGetRequestTest (line 9) | public class OkHttpConnectionGetRequestTest extends OpenRosaGetRequestTe... method buildSubject (line 11) | @Override FILE: open-rosa/src/test/java/org/odk/collect/openrosa/http/okhttp/OkHttpConnectionHeadRequestTest.java class OkHttpConnectionHeadRequestTest (line 9) | public class OkHttpConnectionHeadRequestTest extends OpenRosaHeadRequest... method buildSubject (line 11) | @Override FILE: open-rosa/src/test/java/org/odk/collect/openrosa/http/okhttp/OkHttpConnectionPostRequestTest.java class OkHttpConnectionPostRequestTest (line 6) | public class OkHttpConnectionPostRequestTest extends OpenRosaPostRequest... method buildSubject (line 8) | @Override FILE: open-rosa/src/test/java/org/odk/collect/openrosa/http/okhttp/OkHttpOpenRosaServerClientProviderTest.java class OkHttpOpenRosaServerClientProviderTest (line 19) | public class OkHttpOpenRosaServerClientProviderTest extends OpenRosaServ... method buildSubject (line 21) | @Override method buildSubject (line 26) | private OkHttpOpenRosaServerClientProvider buildSubject(String cacheDi... method differentCredentialsHaveDifferentInstances (line 36) | @Test method whenCacheDirDoesNotExist_doesNotCreateCache (line 49) | @Test method whenCacheDirIsFile_doesNotCreateCache (line 64) | @Test FILE: open-rosa/src/test/java/org/odk/collect/openrosa/http/okhttp/OpenRosaServerClientProviderTest.java class OpenRosaServerClientProviderTest (line 26) | public abstract class OpenRosaServerClientProviderTest { method buildSubject (line 28) | protected abstract OpenRosaServerClientProvider buildSubject(); method setup (line 35) | @Before method sendsOpenRosaHeaders (line 40) | @Test method sendsDateHeader (line 52) | @Test method sendsAcceptsGzipHeader (line 69) | @Test method withCredentials_whenBasicChallengeReceived_whenHttp_doesNotRetryWithCredentials (line 81) | @Test method withCredentials_whenBasicChallengeReceived_whenHttps_retriesWithCredentials (line 93) | @Test method withCredentials_whenDigestChallengeReceived_retriesWithCredentials (line 109) | @Test method withCredentials_whenDigestChallengeReceived_whenHttps_retriesWithCredentials (line 124) | @Test method withCredentials_onceBasicChallenged_whenHttps_proactivelySendsCredentials (line 140) | @Test method withCredentials_onceDigestChallenged_proactivelySendsCredentials (line 159) | @Test method withCredentials_onceDigestChallenged_whenHttps_proactivelySendsCredentials (line 178) | @Test method authenticationIsCachedBetweenInstances (line 197) | @Test method whenUsingDifferentCredentials_authenticationIsNotCachedBetweenInstances (line 215) | @Test method whenUsingNullAndThenNonNullCredentials_authenticationIsNotCachedBetweenInstances (line 234) | @Test method whenConnectingToDifferentHosts_authenticationIsNotCachedBetweenInstances (line 252) | @Test method whenUsingHttpsThenHttp_doesNotRespondToBasicAuthChallengesInSecondInstance (line 272) | @Test method whenLastRequestSetCookies_nextRequestDoesNotSendThem (line 293) | @Test method enqueueSuccess (line 309) | protected void enqueueSuccess(MockWebServer mockWebServer) { method enqueueBasicChallenge (line 313) | private void enqueueBasicChallenge(MockWebServer mockWebServer) { method enqueueDigestChallenge (line 320) | private void enqueueDigestChallenge(MockWebServer mockWebServer) { FILE: open-rosa/src/test/java/org/odk/collect/openrosa/support/MockWebServerHelper.java class MockWebServerHelper (line 6) | public final class MockWebServerHelper { method MockWebServerHelper (line 8) | private MockWebServerHelper() { method buildRequest (line 12) | public static Request buildRequest(MockWebServer mockWebServer, String... FILE: open-rosa/src/test/java/org/odk/collect/openrosa/support/StubWebCredentialsProvider.java class StubWebCredentialsProvider (line 11) | public class StubWebCredentialsProvider implements OpenRosaXmlFetcher.We... method getCredentials (line 13) | @Override FILE: osmdroid/src/main/java/org/odk/collect/osmdroid/OsmDroidMapConfigurator.java class OsmDroidMapConfigurator (line 21) | public class OsmDroidMapConfigurator implements MapConfigurator { method OsmDroidMapConfigurator (line 27) | public OsmDroidMapConfigurator(WebMapService service) { method OsmDroidMapConfigurator (line 37) | public OsmDroidMapConfigurator(String prefKey, int sourceLabelId, WmsO... method isAvailable (line 43) | @Override public boolean isAvailable(Context context) { method showUnavailableMessage (line 48) | @Override public void showUnavailableMessage(Context context) { } method createPrefs (line 50) | @Override public List createPrefs(Context context, Setting... method getPrefKeys (line 67) | @Override public Collection getPrefKeys() { method buildConfig (line 71) | @Override public Bundle buildConfig(Settings prefs) { method supportsLayer (line 88) | @Override public boolean supportsLayer(File file) { method getDisplayName (line 93) | @Override public String getDisplayName(File file) { class WmsOption (line 98) | public static class WmsOption { method WmsOption (line 103) | public WmsOption(String id, int labelId, WebMapService service) { FILE: osmdroid/src/main/java/org/odk/collect/osmdroid/OsmDroidMapFragment.java class OsmDroidMapFragment (line 100) | public class OsmDroidMapFragment extends MapViewModelMapFragment implements method init (line 137) | @Override method onAttach (line 142) | @Override method onResume (line 162) | @Override method onPause (line 168) | @Override method onDestroy (line 174) | @Override method onCreateView (line 181) | @Override method getCenter (line 293) | @Override method getZoom (line 299) | @Override method addMarker (line 304) | @Override method addMarker (line 310) | private int addMarker(int featureId, MarkerDescription markerDescripti... method addMarkers (line 315) | @Override method setMarkerIcon (line 326) | @Override method getMarkerPoint (line 335) | @Override method addPolyLine (line 342) | @Override method addPolyLine (line 349) | private void addPolyLine(int featureId, LineDescription lineDescriptio... method updatePolyLine (line 357) | @Override method addPolygon (line 363) | @Override method addPolygon (line 370) | private void addPolygon(int featureId, PolygonDescription polygonDescr... method updatePolygon (line 378) | @Override method getPolyPoints (line 384) | @Override method clearFeatures (line 394) | @Override method setClickListener (line 404) | @Override method setLongPressListener (line 409) | @Override method setFeatureClickListener (line 414) | @Override method setDragEndListener (line 419) | @Override method setGpsLocationListener (line 424) | @Override method setRetainMockAccuracy (line 429) | @Override method setGpsLocationEnabled (line 434) | @Override method getGpsLocation (line 442) | @Override method onLocationChanged (line 448) | @Override method onClientStart (line 463) | @Override method onClientStartFailure (line 473) | @Override method onClientStop (line 477) | @Override method enableLocationUpdates (line 481) | private void enableLocationUpdates(boolean enable) { method safelyDisableOverlayLocationFollowing (line 498) | private void safelyDisableOverlayLocationFollowing() { method fromLocation (line 505) | private static @Nullable method fromGeoPoint (line 517) | private static @NonNull method fromGeoPoint (line 522) | private static @NonNull method fromMarker (line 527) | private static @NonNull method toGeoPoint (line 541) | private static @NonNull method loadReferenceOverlay (line 549) | private void loadReferenceOverlay() { method addMapLayoutChangeListener (line 571) | private void addMapLayoutChangeListener(MapView map) { method createMarker (line 591) | private Marker createMarker(MapView map, MarkerDescription markerDescr... method getIconAnchorValueX (line 638) | private float getIconAnchorValueX(MapFragment.IconAnchor iconAnchor) { method getIconAnchorValueY (line 646) | private float getIconAnchorValueY(MapFragment.IconAnchor iconAnchor) { method findFeature (line 658) | private int findFeature(Marker marker) { method findFeature (line 670) | private int findFeature(Polyline polyline) { method findFeature (line 679) | private int findFeature(Polygon polygon) { method updateFeature (line 688) | private void updateFeature(int featureId) { method addAttributionAndMapEventsOverlays (line 695) | private void addAttributionAndMapEventsOverlays() { method onConfigChanged (line 715) | private void onConfigChanged(Bundle config) { method getMapViewModel (line 724) | @NonNull method updateMarker (line 730) | @Override method addCircle (line 736) | @Override method updateCircle (line 741) | @Override type MapFeature (line 752) | interface MapFeature { method ownsMarker (line 756) | boolean ownsMarker(Marker marker); method ownsPolyline (line 761) | boolean ownsPolyline(Polyline polyline); method ownsPolygon (line 763) | boolean ownsPolygon(Polygon polygon); method update (line 768) | void update(); method dispose (line 773) | void dispose(); class MarkerFeature (line 779) | private class MarkerFeature implements MapFeature { method MarkerFeature (line 783) | MarkerFeature(MapView map, MarkerDescription markerDescription) { method setIcon (line 788) | public void setIcon(MarkerIconDescription markerIconDescription) { method getPoint (line 796) | public MapPoint getPoint() { method ownsMarker (line 800) | public boolean ownsMarker(Marker givenMarker) { method ownsPolyline (line 804) | public boolean ownsPolyline(Polyline polyline) { method ownsPolygon (line 808) | @Override method update (line 813) | public void update() { method dispose (line 816) | public void dispose() { type LineFeature (line 822) | private interface LineFeature extends MapFeature { method getPoints (line 824) | List getPoints(); class StaticPolyLineFeature (line 827) | private class StaticPolyLineFeature implements LineFeature { method StaticPolyLineFeature (line 832) | StaticPolyLineFeature(MapView map, LineDescription lineDescription) { method ownsMarker (line 854) | @Override method ownsPolyline (line 859) | @Override method ownsPolygon (line 864) | @Override method update (line 869) | @Override method dispose (line 873) | @Override method getPoints (line 878) | @Override class DynamicPolyLineFeature (line 884) | private class DynamicPolyLineFeature implements LineFeature { method DynamicPolyLineFeature (line 889) | DynamicPolyLineFeature(MapView map, LineDescription lineDescription) { method ownsMarker (line 912) | @Override method ownsPolyline (line 917) | @Override method ownsPolygon (line 922) | @Override method update (line 927) | @Override method dispose (line 938) | @Override method getPoints (line 947) | @Override class DynamicPolygonFeature (line 957) | private class DynamicPolygonFeature implements LineFeature { method DynamicPolygonFeature (line 963) | DynamicPolygonFeature(MapView map, PolygonDescription polygonDescrip... method ownsMarker (line 987) | @Override method ownsPolyline (line 992) | @Override method ownsPolygon (line 997) | @Override method update (line 1002) | @Override method dispose (line 1013) | @Override method getPoints (line 1022) | @Override class StaticPolygonFeature (line 1032) | private class StaticPolygonFeature implements LineFeature { method StaticPolygonFeature (line 1038) | StaticPolygonFeature(MapView map, PolygonDescription polygonDescript... method ownsMarker (line 1058) | @Override method ownsPolyline (line 1063) | @Override method ownsPolygon (line 1068) | @Override method update (line 1073) | @Override method dispose (line 1077) | @Override method getPoints (line 1082) | @Override class AttributionOverlay (line 1091) | private static class AttributionOverlay extends Overlay { method AttributionOverlay (line 1097) | AttributionOverlay(Context context) { method draw (line 1108) | @Override class OsmLocationClientWrapper (line 1128) | private static class OsmLocationClientWrapper implements IMyLocationPr... method OsmLocationClientWrapper (line 1131) | OsmLocationClientWrapper(LocationClient locationClient) { method startLocationProvider (line 1135) | @Override method stopLocationProvider (line 1144) | @Override method getLastKnownLocation (line 1149) | @Override method destroy (line 1154) | @Override class RegisterReceiver (line 1161) | private static class RegisterReceiver implements IRegisterReceiver { method RegisterReceiver (line 1165) | RegisterReceiver(Context context) { method registerReceiver (line 1169) | @Override method unregisterReceiver (line 1174) | @Override method destroy (line 1181) | @Override class MapEventsReceiver (line 1186) | private static class MapEventsReceiver implements org.osmdroid.events.... method MapEventsReceiver (line 1191) | MapEventsReceiver(PointListener clickListener, PointListener longPre... method singleTapConfirmedHelper (line 1196) | @Override method longPressHelper (line 1205) | @Override FILE: osmdroid/src/main/java/org/odk/collect/osmdroid/OsmMBTileModuleProvider.java class OsmMBTileModuleProvider (line 34) | class OsmMBTileModuleProvider extends MapTileFileStorageProviderBase { method OsmMBTileModuleProvider (line 38) | OsmMBTileModuleProvider(IRegisterReceiver receiverRegistrar, OsmMBTile... method getName (line 50) | @Override method getThreadGroupName (line 55) | @Override method getTileLoader (line 60) | @Override method getUsesDataConnection (line 65) | @Override method getMinimumZoomLevel (line 70) | @Override method getMaximumZoomLevel (line 75) | @Override method setTileSource (line 80) | @Override class TileLoader (line 91) | private class TileLoader extends MapTileModuleProviderBase.TileLoader { method loadTile (line 93) | @Override FILE: osmdroid/src/main/java/org/odk/collect/osmdroid/OsmMBTileProvider.java class OsmMBTileProvider (line 32) | class OsmMBTileProvider extends MapTileProviderArray { method OsmMBTileProvider (line 34) | OsmMBTileProvider(IRegisterReceiver receiverRegistrar, File file) { FILE: osmdroid/src/main/java/org/odk/collect/osmdroid/OsmMBTileSource.java class OsmMBTileSource (line 35) | class OsmMBTileSource extends BitmapTileSourceBase { method OsmMBTileSource (line 58) | protected OsmMBTileSource(int minZoom, method createFromFile (line 74) | public static OsmMBTileSource createFromFile(File file) { method getInt (line 108) | protected static int getInt(SQLiteDatabase db, String sql) { method getInputStream (line 122) | public InputStream getInputStream(long tileIndex) { FILE: osmdroid/src/main/java/org/odk/collect/osmdroid/WebMapService.java class WebMapService (line 12) | public class WebMapService implements Serializable { method WebMapService (line 22) | public WebMapService(String cacheName, int minZoomLevel, int maxZoomLe... method asOnlineTileSource (line 34) | public OnlineTileSourceBase asOnlineTileSource() { method getExtension (line 50) | private String getExtension(String urlTemplate) { FILE: settings/src/main/java/org/odk/collect/settings/ODKAppSettingsMigrator.java class ODKAppSettingsMigrator (line 31) | public class ODKAppSettingsMigrator implements SettingsMigrator { method ODKAppSettingsMigrator (line 36) | public ODKAppSettingsMigrator(Settings metaSettings) { method migrate (line 40) | @Override method getUnprotectedMigrations (line 57) | private List getUnprotectedMigrations() { method getMetaMigrations (line 137) | public List getMetaMigrations() { method getProtectedMigrations (line 146) | public List getProtectedMigrations() { FILE: settings/src/main/java/org/odk/collect/settings/enums/FormUpdateMode.java type FormUpdateMode (line 5) | public enum FormUpdateMode implements StringIdEnum { method FormUpdateMode (line 13) | FormUpdateMode(int string) { method getStringId (line 17) | @Override FILE: settings/src/main/java/org/odk/collect/settings/migration/KeyCombiner.java class KeyCombiner (line 13) | public class KeyCombiner implements Migration { method KeyCombiner (line 20) | KeyCombiner(String... oldKeys) { method withValues (line 24) | public KeyCombiner withValues(Object... oldValues) { method toPairs (line 29) | public KeyCombiner toPairs(Object... keysAndValues) { method apply (line 35) | public void apply(Settings prefs) { FILE: settings/src/main/java/org/odk/collect/settings/migration/KeyExtractor.java class KeyExtractor (line 8) | public class KeyExtractor implements Migration { method KeyExtractor (line 16) | public KeyExtractor(String key) { method fromKey (line 20) | public KeyExtractor fromKey(String key) { method fromValue (line 25) | public KeyExtractor fromValue(Object oldValue) { method toValue (line 30) | public KeyExtractor toValue(String newKeyValue) { method apply (line 35) | @Override FILE: settings/src/main/java/org/odk/collect/settings/migration/KeyMover.java class KeyMover (line 7) | public class KeyMover implements Migration { method KeyMover (line 11) | public KeyMover(String key) { method toPreferences (line 15) | public KeyMover toPreferences(Settings newPrefs) { method apply (line 20) | @Override FILE: settings/src/main/java/org/odk/collect/settings/migration/KeyRenamer.java class KeyRenamer (line 7) | public class KeyRenamer implements Migration { method KeyRenamer (line 12) | KeyRenamer(String oldKey) { method toKey (line 16) | public KeyRenamer toKey(String newKey) { method apply (line 21) | public void apply(Settings prefs) { FILE: settings/src/main/java/org/odk/collect/settings/migration/KeyTranslator.java class KeyTranslator (line 10) | public class KeyTranslator implements Migration { method KeyTranslator (line 17) | KeyTranslator(String oldKey) { method toKey (line 21) | public KeyTranslator toKey(String newKey) { method fromValue (line 26) | public KeyTranslator fromValue(Object oldValue) { method toValue (line 31) | public KeyTranslator toValue(Object newValue) { method apply (line 36) | public void apply(Settings prefs) { FILE: settings/src/main/java/org/odk/collect/settings/migration/KeyUpdater.java class KeyUpdater (line 12) | public class KeyUpdater implements Migration { method KeyUpdater (line 19) | KeyUpdater(String... oldKeys) { method withValues (line 23) | public KeyUpdater withValues(Object... oldValues) { method toPairs (line 28) | public KeyUpdater toPairs(Object... keysAndValues) { method apply (line 34) | public void apply(Settings prefs) { FILE: settings/src/main/java/org/odk/collect/settings/migration/KeyValuePair.java class KeyValuePair (line 4) | class KeyValuePair { method KeyValuePair (line 8) | KeyValuePair(String key, Object value) { FILE: settings/src/main/java/org/odk/collect/settings/migration/Migration.java type Migration (line 5) | public interface Migration { method apply (line 6) | void apply(Settings prefs); FILE: settings/src/main/java/org/odk/collect/settings/migration/MigrationUtils.java class MigrationUtils (line 7) | public final class MigrationUtils { method MigrationUtils (line 9) | private MigrationUtils() { method translateValue (line 13) | public static ValueTranslator translateValue(String value) { method renameKey (line 23) | public static KeyRenamer renameKey(String oldKey) { method translateKey (line 36) | public static KeyTranslator translateKey(String oldKey) { method combineKeys (line 52) | public static KeyCombiner combineKeys(String... oldKeys) { method updateKeys (line 59) | public static KeyUpdater updateKeys(String... oldKeys) { method moveKey (line 63) | public static KeyMover moveKey(String key) { method removeKey (line 67) | public static Migration removeKey(String key) { method extractNewKey (line 71) | public static KeyExtractor extractNewKey(String oldKey) { method replace (line 76) | @SuppressLint("ApplySharedPref") method replace (line 83) | @SuppressLint("ApplySharedPref") method asPairs (line 94) | static KeyValuePair[] asPairs(Object... args) { FILE: settings/src/main/java/org/odk/collect/settings/migration/ValueTranslator.java class ValueTranslator (line 7) | public class ValueTranslator implements Migration { method ValueTranslator (line 13) | public ValueTranslator(String oldValue) { method toValue (line 17) | public ValueTranslator toValue(String newValue) { method forKey (line 22) | public ValueTranslator forKey(String key) { method apply (line 27) | @Override FILE: settings/src/test/java/org/odk/collect/settings/ODKAppSettingsMigratorTest.java class ODKAppSettingsMigratorTest (line 18) | public class ODKAppSettingsMigratorTest { method shouldMigrateGoogleMapSettings (line 24) | @Test method shouldMigrateMapboxMapSettings (line 43) | @Test method shouldMigrateOsmMapSettings (line 70) | @Test method shouldMigrateAdminSettings (line 101) | @Test method migratesMetaKeysToMetaPrefs (line 124) | @Test method migratesServerType (line 143) | @Test method migratesAutosendSettings (line 150) | @Test method migratesFormUpdateModeSettings (line 189) | @Test method migratesServerList (line 244) | @Test method when_markAsFinalized_wasDisabled_and_defaultCompleted_wasDisabled_thenDisableNew_finalize_andRemoveOldSettings (line 257) | @Test method when_markAsFinalized_wasDisabled_and_defaultCompleted_wasEnabled_thenDisableNew_saveAsDraft_andRemoveOldSettings (line 274) | @Test method when_markAsFinalized_wasDisabled_and_defaultCompleted_wasNotSet_thenDisableNew_finalize_andRemoveOldSettings (line 291) | @Test method when_markAsFinalized_wasEnabled_and_defaultCompleted_wasDisabled_thenDoNotUpdateSettingsAndRemoveOldOnes (line 307) | @Test method when_markAsFinalized_wasEnabled_and_defaultCompleted_wasEnabled_thenDoNotUpdateSettingsAndRemoveOldOnes (line 320) | @Test method when_AllowOtherWaysOfEditingFormIsDisabled_thenSaveAsDraftShouldBeDisabledAndFinalizeShouldBeEnabled (line 333) | @Test method when_AllowOtherWaysOfEditingFormIsEnabled_thenDoNotUpdateSaveAsDraftOrFinalize (line 349) | @Test method migratesFinalizeInFormEntryToNewKey (line 365) | @Test method whenFinalizeInFormEntryWasDisabledWithOldKey_disablesBulkFinalize (line 376) | @Test method migratesStamenMapsToOSM (line 386) | @Test method runMigrations (line 393) | private void runMigrations() { FILE: settings/src/test/java/org/odk/collect/settings/migration/KeyCombinerTest.java class KeyCombinerTest (line 11) | public class KeyCombinerTest { method combinesValuesOfTwoKeys_andRemovesOldKeys (line 15) | @Test method canCombineMultipleValues (line 32) | @Test method whenCombinedKeyExists_removesOtherKey_andModifiesExistingKey (line 62) | @Test FILE: settings/src/test/java/org/odk/collect/settings/migration/KeyExtractorTest.java class KeyExtractorTest (line 11) | public class KeyExtractorTest { method createsNewKeyBasedOnExistingKeysValue (line 15) | @Test method whenNewKeyExists_doesNothing (line 31) | @Test method whenOldKeyMissing_doesNothing (line 48) | @Test FILE: settings/src/test/java/org/odk/collect/settings/migration/KeyMoverTest.java class KeyMoverTest (line 13) | public class KeyMoverTest { method movesKeyAndValueToOtherPrefs (line 18) | @Test method whenKeyNotInOriginalPrefs_doesNothing (line 34) | @Test method whenKeyInOtherPrefs_doesNothing (line 44) | @Test FILE: settings/src/test/java/org/odk/collect/settings/migration/KeyRemoverTest.java class KeyRemoverTest (line 11) | public class KeyRemoverTest { method whenKeyDoesNotExist_doesNothing (line 15) | @Test FILE: settings/src/test/java/org/odk/collect/settings/migration/KeyRenamerTest.java class KeyRenamerTest (line 11) | public class KeyRenamerTest { method renamesKeys (line 15) | @Test method whenNewKeyExists_doesNotDoAnything (line 30) | @Test FILE: settings/src/test/java/org/odk/collect/settings/migration/KeyTranslatorTest.java class KeyTranslatorTest (line 11) | public class KeyTranslatorTest { method renamesKeyAndTranslatesValues (line 15) | @Test method canTranslateMultipleValues (line 32) | @Test method whenKeyHasUnknownValue_doesNotDoAnything (line 62) | @Test method whenNewKeyExists_doesNotDoAnything (line 79) | @Test FILE: settings/src/test/java/org/odk/collect/settings/migration/ValueTranslatorTest.java class ValueTranslatorTest (line 11) | public class ValueTranslatorTest { method translatesValueForKey (line 15) | @Test method doesNotTranslateOtherValues (line 28) | @Test method whenKeyNotInPrefs_doesNothing (line 41) | @Test FILE: shared/src/main/java/org/odk/collect/shared/strings/RandomString.java class RandomString (line 5) | public final class RandomString { method RandomString (line 7) | private RandomString() { method randomString (line 13) | public static String randomString(int len) { FILE: web-page/src/test/java/org/odk/collect/webpage/CustomTabsWebPageServiceTest.java class CustomTabsWebPageServiceTest (line 17) | @RunWith(AndroidJUnit4.class) method uriShouldBeNormalized (line 20) | @Test