TrafficSim/doc/apidoc/de/hems/trafficsim/MainActivity.html
2020-11-15 16:34:32 +01:00

1299 lines
79 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
<!-- Generated by javadoc (1.8.0_242-release) on Sun Nov 15 16:26:40 CET 2020 -->
<title>MainActivity</title>
<meta content="2020-11-15" name="date">
<link href="../../../stylesheet.css" rel="stylesheet" title="Style" type="text/css">
<script src="../../../script.js" type="text/javascript"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="MainActivity";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":9,"i9":10,"i10":10,"i11":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation
links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../de/hems/trafficsim/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev&nbsp;Class</li>
<li><a href="../../../de/hems/trafficsim/Renderer.html" title="class in de.hems.trafficsim"><span
class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?de/hems/trafficsim/MainActivity.html"
target="_top">Frames</a></li>
<li><a href="MainActivity.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.classes.inherited.from.class.androidx.core.app.ComponentActivity">Nested</a>&nbsp;|&nbsp;
</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">de.hems.trafficsim</div>
<h2 class="title" title="Class MainActivity">Class MainActivity</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>android.content.Context</li>
<li>
<ul class="inheritance">
<li>android.content.ContextWrapper</li>
<li>
<ul class="inheritance">
<li>android.view.ContextThemeWrapper</li>
<li>
<ul class="inheritance">
<li>android.app.Activity</li>
<li>
<ul class="inheritance">
<li>androidx.core.app.ComponentActivity</li>
<li>
<ul class="inheritance">
<li>androidx.activity.ComponentActivity</li>
<li>
<ul class="inheritance">
<li>
androidx.fragment.app.FragmentActivity
</li>
<li>
<ul class="inheritance">
<li>
androidx.appcompat.app.AppCompatActivity
</li>
<li>
<ul class="inheritance">
<li>
de.hems.trafficsim.MainActivity
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>android.content.ComponentCallbacks, android.content.ComponentCallbacks2,
android.view.KeyEvent.Callback, android.view.LayoutInflater.Factory,
android.view.LayoutInflater.Factory2,
android.view.View.OnCreateContextMenuListener, android.view.Window.Callback,
android.widget.SeekBar.OnSeekBarChangeListener,
androidx.activity.OnBackPressedDispatcherOwner,
androidx.appcompat.app.ActionBarDrawerToggle.DelegateProvider,
androidx.appcompat.app.AppCompatCallback,
androidx.core.app.ActivityCompat.OnRequestPermissionsResultCallback,
androidx.core.app.ActivityCompat.RequestPermissionsRequestCodeValidator,
androidx.core.app.TaskStackBuilder.SupportParentable,
androidx.core.view.KeyEventDispatcher.Component,
androidx.lifecycle.LifecycleOwner, androidx.lifecycle.ViewModelStoreOwner,
androidx.savedstate.SavedStateRegistryOwner
</dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">MainActivity</span>
extends androidx.appcompat.app.AppCompatActivity
implements android.widget.SeekBar.OnSeekBarChangeListener</pre>
<div class="block">Main user interface class, containing all necessary gui elements
and their control flow.
</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<ul class="blockList">
<li class="blockList"><a
name="nested.classes.inherited.from.class.androidx.core.app.ComponentActivity">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from class&nbsp;androidx.core.app.ComponentActivity</h3>
<code>androidx.core.app.ComponentActivity.ExtraData</code></li>
</ul>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table border="0" cellpadding="3" cellspacing="0" class="memberSummary"
summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static float</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../de/hems/trafficsim/MainActivity.html#defaultBrakeProb">defaultBrakeProb</a></span></code>
<div class="block">default value of brake probability</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../de/hems/trafficsim/MainActivity.html#defaultDelay">defaultDelay</a></span></code>
<div class="block">default value of the delay between two
simulation steps
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../de/hems/trafficsim/MainActivity.html#defaultFrameskip">defaultFrameskip</a></span></code>
<div class="block">default value of the number of vehicles on
the track
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../de/hems/trafficsim/MainActivity.html#defaultHistoryLength">defaultHistoryLength</a></span></code>
<div class="block">default value of the number of vehicles on
the track
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static float</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../de/hems/trafficsim/MainActivity.html#defaultMaxVelocity">defaultMaxVelocity</a></span></code>
<div class="block">default value of the maximum velocity of the
vehicles
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../de/hems/trafficsim/MainActivity.html#defaultNoOfVehicles">defaultNoOfVehicles</a></span></code>
<div class="block">default value of the number of vehicles on
the track
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../de/hems/trafficsim/MainActivity.html#defaultTrackLength">defaultTrackLength</a></span></code>
<div class="block">default value of the length of the track
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a
href="../../../de/hems/trafficsim/Renderer.html"
title="class in de.hems.trafficsim">Renderer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../de/hems/trafficsim/MainActivity.html#renderer">renderer</a></span></code>
<div class="block">the renderer instance drawing the track
history
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a
href="../../../de/hems/trafficsim/Track.html"
title="class in de.hems.trafficsim">Track</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../de/hems/trafficsim/MainActivity.html#track">track</a></span></code>
<div class="block">the track to show in the activity</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a
href="../../../de/hems/trafficsim/TimeRecordView.html"
title="class in de.hems.trafficsim">TimeRecordView</a></code>
</td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../de/hems/trafficsim/MainActivity.html#trackView">trackView</a></span></code>
<div class="block">the surface view on which the renderer draws
the track history
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected
android.widget.LinearLayout</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../de/hems/trafficsim/MainActivity.html#viewStack">viewStack</a></span></code>
<div class="block">the layout which keeps the surface view</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a
href="../../../de/hems/trafficsim/Worker.html"
title="class in de.hems.trafficsim">Worker</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../de/hems/trafficsim/MainActivity.html#worker">worker</a></span></code>
<div class="block">the thread which runs the simulation and
visualization
</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a
name="fields.inherited.from.class.android.app.Activity">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;android.app.Activity</h3>
<code>DEFAULT_KEYS_DIALER, DEFAULT_KEYS_DISABLE,
DEFAULT_KEYS_SEARCH_GLOBAL, DEFAULT_KEYS_SEARCH_LOCAL,
DEFAULT_KEYS_SHORTCUT, FOCUSED_STATE_SET, RESULT_CANCELED,
RESULT_FIRST_USER, RESULT_OK</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a
name="fields.inherited.from.class.android.content.Context">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;android.content.Context</h3>
<code>ACCESSIBILITY_SERVICE, ACCOUNT_SERVICE, ACTIVITY_SERVICE,
ALARM_SERVICE, APP_OPS_SERVICE, APPWIDGET_SERVICE,
AUDIO_SERVICE, BATTERY_SERVICE, BIND_ABOVE_CLIENT,
BIND_ADJUST_WITH_ACTIVITY, BIND_ALLOW_OOM_MANAGEMENT,
BIND_AUTO_CREATE, BIND_DEBUG_UNBIND, BIND_EXTERNAL_SERVICE,
BIND_IMPORTANT, BIND_INCLUDE_CAPABILITIES, BIND_NOT_FOREGROUND,
BIND_NOT_PERCEPTIBLE, BIND_WAIVE_PRIORITY, BIOMETRIC_SERVICE,
BLOB_STORE_SERVICE, BLUETOOTH_SERVICE, CAMERA_SERVICE,
CAPTIONING_SERVICE, CARRIER_CONFIG_SERVICE, CLIPBOARD_SERVICE,
COMPANION_DEVICE_SERVICE, CONNECTIVITY_DIAGNOSTICS_SERVICE,
CONNECTIVITY_SERVICE, CONSUMER_IR_SERVICE,
CONTEXT_IGNORE_SECURITY, CONTEXT_INCLUDE_CODE,
CONTEXT_RESTRICTED, CROSS_PROFILE_APPS_SERVICE,
DEVICE_POLICY_SERVICE, DISPLAY_SERVICE, DOWNLOAD_SERVICE,
DROPBOX_SERVICE, EUICC_SERVICE, FILE_INTEGRITY_SERVICE,
FINGERPRINT_SERVICE, HARDWARE_PROPERTIES_SERVICE,
INPUT_METHOD_SERVICE, INPUT_SERVICE, IPSEC_SERVICE,
JOB_SCHEDULER_SERVICE, KEYGUARD_SERVICE, LAUNCHER_APPS_SERVICE,
LAYOUT_INFLATER_SERVICE, LOCATION_SERVICE,
MEDIA_PROJECTION_SERVICE, MEDIA_ROUTER_SERVICE,
MEDIA_SESSION_SERVICE, MIDI_SERVICE, MODE_APPEND,
MODE_ENABLE_WRITE_AHEAD_LOGGING, MODE_MULTI_PROCESS,
MODE_NO_LOCALIZED_COLLATORS, MODE_PRIVATE, MODE_WORLD_READABLE,
MODE_WORLD_WRITEABLE, NETWORK_STATS_SERVICE, NFC_SERVICE,
NOTIFICATION_SERVICE, NSD_SERVICE, POWER_SERVICE, PRINT_SERVICE,
RECEIVER_VISIBLE_TO_INSTANT_APPS, RESTRICTIONS_SERVICE,
ROLE_SERVICE, SEARCH_SERVICE, SENSOR_SERVICE, SHORTCUT_SERVICE,
STORAGE_SERVICE, STORAGE_STATS_SERVICE, SYSTEM_HEALTH_SERVICE,
TELECOM_SERVICE, TELEPHONY_IMS_SERVICE, TELEPHONY_SERVICE,
TELEPHONY_SUBSCRIPTION_SERVICE, TEXT_CLASSIFICATION_SERVICE,
TEXT_SERVICES_MANAGER_SERVICE, TV_INPUT_SERVICE,
UI_MODE_SERVICE, USAGE_STATS_SERVICE, USB_SERVICE, USER_SERVICE,
VIBRATOR_SERVICE, VPN_MANAGEMENT_SERVICE, WALLPAPER_SERVICE,
WIFI_AWARE_SERVICE, WIFI_P2P_SERVICE, WIFI_RTT_RANGING_SERVICE,
WIFI_SERVICE, WINDOW_SERVICE</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a
name="fields.inherited.from.class.android.content.ComponentCallbacks2">
<!-- -->
</a>
<h3>Fields inherited from interface&nbsp;android.content.ComponentCallbacks2</h3>
<code>TRIM_MEMORY_BACKGROUND, TRIM_MEMORY_COMPLETE,
TRIM_MEMORY_MODERATE, TRIM_MEMORY_RUNNING_CRITICAL,
TRIM_MEMORY_RUNNING_LOW, TRIM_MEMORY_RUNNING_MODERATE,
TRIM_MEMORY_UI_HIDDEN</code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table border="0" cellpadding="3" cellspacing="0" class="memberSummary"
summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span>
</caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a
href="../../../de/hems/trafficsim/MainActivity.html#MainActivity--">MainActivity</a></span>()</code>&nbsp;
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table border="0" cellpadding="3" cellspacing="0" class="memberSummary"
summary="Method Summary table, listing methods, and an explanation">
<caption><span class="activeTableTab"
id="t0"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span
class="tableTab" id="t1"><span><a href="javascript:show(1);">Static Methods</a></span><span
class="tabEnd">&nbsp;</span></span><span class="tableTab"
id="t2"><span><a
href="javascript:show(2);">Instance Methods</a></span><span
class="tabEnd">&nbsp;</span></span><span class="tableTab"
id="t4"><span><a
href="javascript:show(8);">Concrete Methods</a></span><span
class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor" id="i0">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../de/hems/trafficsim/MainActivity.html#onClearButtonClick-android.view.View-">onClearButtonClick</a></span>(android.view.View&nbsp;view)</code>
<div class="block">Handler function for clicks on the "Stop"
button.
</div>
</td>
</tr>
<tr class="rowColor" id="i1">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../de/hems/trafficsim/MainActivity.html#onCreate-android.os.Bundle-">onCreate</a></span>(android.os.Bundle&nbsp;savedInstanceState)</code>
<div class="block">Constructor for MainActivity</div>
</td>
</tr>
<tr class="altColor" id="i2">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../de/hems/trafficsim/MainActivity.html#onPlayButtonClick-android.view.View-">onPlayButtonClick</a></span>(android.view.View&nbsp;view)</code>
<div class="block">Handler function for clicks on the "Play"
button.
</div>
</td>
</tr>
<tr class="rowColor" id="i3">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../de/hems/trafficsim/MainActivity.html#onProgressChanged-android.widget.SeekBar-int-boolean-">onProgressChanged</a></span>(android.widget.SeekBar&nbsp;seekBar,
int&nbsp;progress,
boolean&nbsp;fromUser)</code>
<div class="block">Handler function for changes on the seek
bars.
</div>
</td>
</tr>
<tr class="altColor" id="i4">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../de/hems/trafficsim/MainActivity.html#onStartTrackingTouch-android.widget.SeekBar-">onStartTrackingTouch</a></span>(android.widget.SeekBar&nbsp;seekBar)</code>
<div class="block">Handler function for beginning touch events
on a seek bar.
</div>
</td>
</tr>
<tr class="rowColor" id="i5">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../de/hems/trafficsim/MainActivity.html#onStepButtonClick-android.view.View-">onStepButtonClick</a></span>(android.view.View&nbsp;view)</code>
<div class="block">Handler function for clicks on the "Step"
button.
</div>
</td>
</tr>
<tr class="altColor" id="i6">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../de/hems/trafficsim/MainActivity.html#onStopButtonClick-android.view.View-">onStopButtonClick</a></span>(android.view.View&nbsp;view)</code>
<div class="block">Handler function for clicks on the "Stop"
button.
</div>
</td>
</tr>
<tr class="rowColor" id="i7">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../de/hems/trafficsim/MainActivity.html#onStopTrackingTouch-android.widget.SeekBar-">onStopTrackingTouch</a></span>(android.widget.SeekBar&nbsp;seekBar)</code>
<div class="block">Handler function for ending touch events on a
seek bar.
</div>
</td>
</tr>
<tr class="altColor" id="i8">
<td class="colFirst"><code>static float</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../de/hems/trafficsim/MainActivity.html#round-float-int-">round</a></span>(float&nbsp;number,
int&nbsp;digits)</code>
<div class="block">Utility function to round a float to a given
amount of digits.
</div>
</td>
</tr>
<tr class="rowColor" id="i9">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../de/hems/trafficsim/MainActivity.html#stopWorker--">stopWorker</a></span>()</code>
<div class="block">Stops the current worker thread.</div>
</td>
</tr>
<tr class="altColor" id="i10">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../de/hems/trafficsim/MainActivity.html#updateStats--">updateStats</a></span>()</code>
<div class="block">Updates the statistics view.</div>
</td>
</tr>
<tr class="rowColor" id="i11">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../de/hems/trafficsim/MainActivity.html#updateTrack--">updateTrack</a></span>()</code>
<div class="block">Creates a new track with the current
settings.
</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a
name="methods.inherited.from.class.androidx.appcompat.app.AppCompatActivity">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;androidx.appcompat.app.AppCompatActivity</h3>
<code>addContentView, attachBaseContext, closeOptionsMenu,
dispatchKeyEvent, findViewById, getDelegate,
getDrawerToggleDelegate, getMenuInflater, getResources,
getSupportActionBar, getSupportParentActivityIntent,
invalidateOptionsMenu, onConfigurationChanged, onContentChanged,
onCreateSupportNavigateUpTaskStack, onDestroy, onKeyDown,
onMenuItemSelected, onMenuOpened, onNightModeChanged,
onPanelClosed, onPostCreate, onPostResume,
onPrepareSupportNavigateUpTaskStack, onSaveInstanceState,
onStart, onStop, onSupportActionModeFinished,
onSupportActionModeStarted, onSupportContentChanged,
onSupportNavigateUp, onTitleChanged,
onWindowStartingSupportActionMode, openOptionsMenu,
setContentView, setContentView, setContentView,
setSupportActionBar, setSupportProgress,
setSupportProgressBarIndeterminate,
setSupportProgressBarIndeterminateVisibility,
setSupportProgressBarVisibility, setTheme,
startSupportActionMode, supportInvalidateOptionsMenu,
supportNavigateUpTo, supportRequestWindowFeature,
supportShouldUpRecreateTask</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a
name="methods.inherited.from.class.androidx.fragment.app.FragmentActivity">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;androidx.fragment.app.FragmentActivity</h3>
<code>dump, getSupportFragmentManager, getSupportLoaderManager,
onActivityResult, onAttachFragment, onCreatePanelMenu,
onCreateView, onCreateView, onLowMemory,
onMultiWindowModeChanged, onNewIntent, onPause,
onPictureInPictureModeChanged, onPrepareOptionsPanel,
onPreparePanel, onRequestPermissionsResult, onResume,
onResumeFragments, onStateNotSaved,
setEnterSharedElementCallback, setExitSharedElementCallback,
startActivityForResult, startActivityForResult,
startActivityFromFragment, startActivityFromFragment,
startIntentSenderForResult, startIntentSenderForResult,
startIntentSenderFromFragment, supportFinishAfterTransition,
supportPostponeEnterTransition,
supportStartPostponedEnterTransition,
validateRequestPermissionsRequestCode</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a
name="methods.inherited.from.class.androidx.activity.ComponentActivity">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;androidx.activity.ComponentActivity</h3>
<code>getLastCustomNonConfigurationInstance, getLifecycle,
getOnBackPressedDispatcher, getSavedStateRegistry,
getViewModelStore, onBackPressed,
onRetainCustomNonConfigurationInstance,
onRetainNonConfigurationInstance</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a
name="methods.inherited.from.class.androidx.core.app.ComponentActivity">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;androidx.core.app.ComponentActivity</h3>
<code>dispatchKeyShortcutEvent, getExtraData, putExtraData,
superDispatchKeyEvent</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a
name="methods.inherited.from.class.android.app.Activity">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;android.app.Activity</h3>
<code>closeContextMenu, createPendingResult, dismissDialog,
dismissKeyboardShortcutsHelper, dispatchGenericMotionEvent,
dispatchPopulateAccessibilityEvent, dispatchTouchEvent,
dispatchTrackballEvent, enterPictureInPictureMode,
enterPictureInPictureMode, finish, finishActivity,
finishActivityFromChild, finishAffinity, finishAfterTransition,
finishAndRemoveTask, finishFromChild, getActionBar,
getApplication, getCallingActivity, getCallingPackage,
getChangingConfigurations, getComponentName, getContentScene,
getContentTransitionManager, getCurrentFocus,
getFragmentManager, getIntent, getLastNonConfigurationInstance,
getLayoutInflater, getLoaderManager, getLocalClassName,
getMaxNumPictureInPictureActions, getMediaController, getParent,
getParentActivityIntent, getPreferences, getReferrer,
getRequestedOrientation, getSearchEvent, getSystemService,
getTaskId, getTitle, getTitleColor, getVoiceInteractor,
getVolumeControlStream, getWindow, getWindowManager,
hasWindowFocus, isActivityTransitionRunning,
isChangingConfigurations, isChild, isDestroyed, isFinishing,
isImmersive, isInMultiWindowMode, isInPictureInPictureMode,
isLocalVoiceInteractionSupported, isTaskRoot,
isVoiceInteraction, isVoiceInteractionRoot, managedQuery,
moveTaskToBack, navigateUpTo, navigateUpToFromChild,
onActionModeFinished, onActionModeStarted, onActivityReenter,
onApplyThemeResource, onAttachedToWindow, onAttachFragment,
onChildTitleChanged, onContextItemSelected, onContextMenuClosed,
onCreate, onCreateContextMenu, onCreateDescription,
onCreateDialog, onCreateDialog, onCreateNavigateUpTaskStack,
onCreateOptionsMenu, onCreatePanelView, onCreateThumbnail,
onDetachedFromWindow, onEnterAnimationComplete,
onGenericMotionEvent, onGetDirectActions, onKeyLongPress,
onKeyMultiple, onKeyShortcut, onKeyUp,
onLocalVoiceInteractionStarted, onLocalVoiceInteractionStopped,
onMultiWindowModeChanged, onNavigateUp, onNavigateUpFromChild,
onOptionsItemSelected, onOptionsMenuClosed,
onPerformDirectAction, onPictureInPictureModeChanged,
onPictureInPictureRequested, onPostCreate, onPrepareDialog,
onPrepareDialog, onPrepareNavigateUpTaskStack,
onPrepareOptionsMenu, onProvideAssistContent,
onProvideAssistData, onProvideKeyboardShortcuts,
onProvideReferrer, onRestart, onRestoreInstanceState,
onRestoreInstanceState, onSaveInstanceState, onSearchRequested,
onSearchRequested, onTopResumedActivityChanged, onTouchEvent,
onTrackballEvent, onTrimMemory, onUserInteraction,
onUserLeaveHint, onVisibleBehindCanceled,
onWindowAttributesChanged, onWindowFocusChanged,
onWindowStartingActionMode, onWindowStartingActionMode,
openContextMenu, overridePendingTransition,
postponeEnterTransition, recreate,
registerActivityLifecycleCallbacks, registerForContextMenu,
releaseInstance, removeDialog, reportFullyDrawn,
requestDragAndDropPermissions, requestPermissions,
requestShowKeyboardShortcuts, requestVisibleBehind,
requestWindowFeature, requireViewById, runOnUiThread,
setActionBar, setContentTransitionManager, setDefaultKeyMode,
setEnterSharedElementCallback, setExitSharedElementCallback,
setFeatureDrawable, setFeatureDrawableAlpha,
setFeatureDrawableResource, setFeatureDrawableUri,
setFinishOnTouchOutside, setImmersive, setInheritShowWhenLocked,
setIntent, setLocusContext, setMediaController,
setPictureInPictureParams, setProgress,
setProgressBarIndeterminate,
setProgressBarIndeterminateVisibility, setProgressBarVisibility,
setRequestedOrientation, setResult, setResult,
setSecondaryProgress, setShowWhenLocked, setTaskDescription,
setTitle, setTitle, setTitleColor, setTranslucent,
setTurnScreenOn, setVisible, setVolumeControlStream,
setVrModeEnabled, shouldShowRequestPermissionRationale,
shouldUpRecreateTask, showAssist, showDialog, showDialog,
showLockTaskEscapeMessage, startActionMode, startActionMode,
startActivities, startActivities, startActivity, startActivity,
startActivityFromChild, startActivityFromChild,
startActivityFromFragment, startActivityFromFragment,
startActivityIfNeeded, startActivityIfNeeded, startIntentSender,
startIntentSender, startIntentSenderFromChild,
startIntentSenderFromChild, startLocalVoiceInteraction,
startLockTask, startManagingCursor, startNextMatchingActivity,
startNextMatchingActivity, startPostponedEnterTransition,
startSearch, stopLocalVoiceInteraction, stopLockTask,
stopManagingCursor, takeKeyEvents, triggerSearch,
unregisterActivityLifecycleCallbacks,
unregisterForContextMenu</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a
name="methods.inherited.from.class.android.view.ContextThemeWrapper">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;android.view.ContextThemeWrapper</h3>
<code>applyOverrideConfiguration, getAssets, getTheme,
setTheme</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a
name="methods.inherited.from.class.android.content.ContextWrapper">
<!-- -->
</a>
<h3>Methods inherited from
class&nbsp;android.content.ContextWrapper</h3>
<code>bindIsolatedService, bindService, bindService,
bindServiceAsUser, checkCallingOrSelfPermission,
checkCallingOrSelfUriPermission, checkCallingPermission,
checkCallingUriPermission, checkPermission, checkSelfPermission,
checkUriPermission, checkUriPermission, clearWallpaper,
createAttributionContext, createConfigurationContext,
createContextForSplit, createDeviceProtectedStorageContext,
createDisplayContext, createPackageContext, createWindowContext,
databaseList, deleteDatabase, deleteFile,
deleteSharedPreferences, enforceCallingOrSelfPermission,
enforceCallingOrSelfUriPermission, enforceCallingPermission,
enforceCallingUriPermission, enforcePermission,
enforceUriPermission, enforceUriPermission, fileList,
getApplicationContext, getApplicationInfo, getAttributionTag,
getBaseContext, getCacheDir, getClassLoader, getCodeCacheDir,
getContentResolver, getDatabasePath, getDataDir, getDir,
getDisplay, getExternalCacheDir, getExternalCacheDirs,
getExternalFilesDir, getExternalFilesDirs, getExternalMediaDirs,
getFilesDir, getFileStreamPath, getMainExecutor, getMainLooper,
getNoBackupFilesDir, getObbDir, getObbDirs, getOpPackageName,
getPackageCodePath, getPackageManager, getPackageName,
getPackageResourcePath, getSharedPreferences,
getSystemServiceName, getWallpaper,
getWallpaperDesiredMinimumHeight,
getWallpaperDesiredMinimumWidth, grantUriPermission,
isDeviceProtectedStorage, isRestricted, moveDatabaseFrom,
moveSharedPreferencesFrom, openFileInput, openFileOutput,
openOrCreateDatabase, openOrCreateDatabase, peekWallpaper,
registerReceiver, registerReceiver, registerReceiver,
registerReceiver, removeStickyBroadcast,
removeStickyBroadcastAsUser, revokeUriPermission,
revokeUriPermission, sendBroadcast, sendBroadcast,
sendBroadcastAsUser, sendBroadcastAsUser, sendOrderedBroadcast,
sendOrderedBroadcast, sendOrderedBroadcast,
sendOrderedBroadcast, sendOrderedBroadcastAsUser,
sendStickyBroadcast, sendStickyBroadcastAsUser,
sendStickyOrderedBroadcast, sendStickyOrderedBroadcastAsUser,
setWallpaper, setWallpaper, startForegroundService,
startInstrumentation, startService, stopService, unbindService,
unregisterReceiver, updateServiceGroup</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a
name="methods.inherited.from.class.android.content.Context">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;android.content.Context</h3>
<code>getColor, getColorStateList, getDrawable, getString,
getString, getSystemService, getText, obtainStyledAttributes,
obtainStyledAttributes, obtainStyledAttributes,
obtainStyledAttributes, registerComponentCallbacks,
sendBroadcastWithMultiplePermissions,
unregisterComponentCallbacks</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a
name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify,
notifyAll, toString, wait, wait, wait</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a
name="methods.inherited.from.class.android.view.Window.Callback">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;android.view.Window.Callback</h3>
<code>onPointerCaptureChanged</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="defaultNoOfVehicles">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>defaultNoOfVehicles</h4>
<pre>public static final&nbsp;int defaultNoOfVehicles</pre>
<div class="block">default value of the number of vehicles on the
track
</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd>
<a href="../../../constant-values.html#de.hems.trafficsim.MainActivity.defaultNoOfVehicles">Constant
Field Values</a></dd>
</dl>
</li>
</ul>
<a name="defaultTrackLength">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>defaultTrackLength</h4>
<pre>public static final&nbsp;int defaultTrackLength</pre>
<div class="block">default value of the length of the track</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd>
<a href="../../../constant-values.html#de.hems.trafficsim.MainActivity.defaultTrackLength">Constant
Field Values</a></dd>
</dl>
</li>
</ul>
<a name="defaultBrakeProb">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>defaultBrakeProb</h4>
<pre>public static final&nbsp;float defaultBrakeProb</pre>
<div class="block">default value of brake probability</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd>
<a href="../../../constant-values.html#de.hems.trafficsim.MainActivity.defaultBrakeProb">Constant
Field Values</a></dd>
</dl>
</li>
</ul>
<a name="defaultMaxVelocity">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>defaultMaxVelocity</h4>
<pre>public static final&nbsp;float defaultMaxVelocity</pre>
<div class="block">default value of the maximum velocity of the
vehicles
</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd>
<a href="../../../constant-values.html#de.hems.trafficsim.MainActivity.defaultMaxVelocity">Constant
Field Values</a></dd>
</dl>
</li>
</ul>
<a name="defaultDelay">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>defaultDelay</h4>
<pre>public static final&nbsp;int defaultDelay</pre>
<div class="block">default value of the delay between two simulation
steps
</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd>
<a href="../../../constant-values.html#de.hems.trafficsim.MainActivity.defaultDelay">Constant
Field Values</a></dd>
</dl>
</li>
</ul>
<a name="defaultHistoryLength">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>defaultHistoryLength</h4>
<pre>public static final&nbsp;int defaultHistoryLength</pre>
<div class="block">default value of the number of vehicles on the
track
</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd>
<a href="../../../constant-values.html#de.hems.trafficsim.MainActivity.defaultHistoryLength">Constant
Field Values</a></dd>
</dl>
</li>
</ul>
<a name="defaultFrameskip">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>defaultFrameskip</h4>
<pre>public static final&nbsp;int defaultFrameskip</pre>
<div class="block">default value of the number of vehicles on the
track
</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd>
<a href="../../../constant-values.html#de.hems.trafficsim.MainActivity.defaultFrameskip">Constant
Field Values</a></dd>
</dl>
</li>
</ul>
<a name="track">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>track</h4>
<pre>protected&nbsp;<a href="../../../de/hems/trafficsim/Track.html"
title="class in de.hems.trafficsim">Track</a> track</pre>
<div class="block">the track to show in the activity</div>
</li>
</ul>
<a name="trackView">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>trackView</h4>
<pre>protected&nbsp;<a
href="../../../de/hems/trafficsim/TimeRecordView.html"
title="class in de.hems.trafficsim">TimeRecordView</a> trackView</pre>
<div class="block">the surface view on which the renderer draws the
track history
</div>
</li>
</ul>
<a name="worker">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>worker</h4>
<pre>protected&nbsp;<a
href="../../../de/hems/trafficsim/Worker.html"
title="class in de.hems.trafficsim">Worker</a> worker</pre>
<div class="block">the thread which runs the simulation and
visualization
</div>
</li>
</ul>
<a name="renderer">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>renderer</h4>
<pre>protected&nbsp;<a
href="../../../de/hems/trafficsim/Renderer.html"
title="class in de.hems.trafficsim">Renderer</a> renderer</pre>
<div class="block">the renderer instance drawing the track history
</div>
</li>
</ul>
<a name="viewStack">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>viewStack</h4>
<pre>protected&nbsp;android.widget.LinearLayout viewStack</pre>
<div class="block">the layout which keeps the surface view</div>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="MainActivity--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>MainActivity</h4>
<pre>public&nbsp;MainActivity()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="onCreate-android.os.Bundle-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onCreate</h4>
<pre>protected&nbsp;void&nbsp;onCreate(android.os.Bundle&nbsp;savedInstanceState)</pre>
<div class="block">Constructor for MainActivity</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>onCreate</code>&nbsp;in class&nbsp;<code>androidx.appcompat.app.AppCompatActivity</code>
</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>savedInstanceState</code> - Bundle with previously
saved activity state, otherwise null
</dd>
</dl>
</li>
</ul>
<a name="round-float-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>round</h4>
<pre>public static&nbsp;float&nbsp;round(float&nbsp;number,
int&nbsp;digits)</pre>
<div class="block">Utility function to round a float to a given
amount of digits.
</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>number</code> - number to round</dd>
<dd><code>digits</code> - amount of digits</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>rounded number</dd>
</dl>
</li>
</ul>
<a name="updateStats--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateStats</h4>
<pre>public&nbsp;void&nbsp;updateStats()</pre>
<div class="block">Updates the statistics view.</div>
</li>
</ul>
<a name="onStepButtonClick-android.view.View-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onStepButtonClick</h4>
<pre>public&nbsp;void&nbsp;onStepButtonClick(android.view.View&nbsp;view)</pre>
<div class="block">Handler function for clicks on the "Step"
button.
</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>view</code> - the view the event is generated from
</dd>
</dl>
</li>
</ul>
<a name="onPlayButtonClick-android.view.View-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onPlayButtonClick</h4>
<pre>public&nbsp;void&nbsp;onPlayButtonClick(android.view.View&nbsp;view)</pre>
<div class="block">Handler function for clicks on the "Play"
button.
</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>view</code> - the view the event is generated from
</dd>
</dl>
</li>
</ul>
<a name="onStopButtonClick-android.view.View-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onStopButtonClick</h4>
<pre>public&nbsp;void&nbsp;onStopButtonClick(android.view.View&nbsp;view)</pre>
<div class="block">Handler function for clicks on the "Stop"
button.
</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>view</code> - the view the event is generated from
</dd>
</dl>
</li>
</ul>
<a name="stopWorker--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>stopWorker</h4>
<pre>protected&nbsp;void&nbsp;stopWorker()</pre>
<div class="block">Stops the current worker thread.</div>
</li>
</ul>
<a name="onClearButtonClick-android.view.View-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onClearButtonClick</h4>
<pre>public&nbsp;void&nbsp;onClearButtonClick(android.view.View&nbsp;view)</pre>
<div class="block">Handler function for clicks on the "Stop"
button.
</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>view</code> - the view the event is generated from
</dd>
</dl>
</li>
</ul>
<a name="updateTrack--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateTrack</h4>
<pre>protected&nbsp;void&nbsp;updateTrack()</pre>
<div class="block">Creates a new track with the current settings.
This methods restarts the simulation it
it was running before.
</div>
</li>
</ul>
<a name="onProgressChanged-android.widget.SeekBar-int-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onProgressChanged</h4>
<pre>public&nbsp;void&nbsp;onProgressChanged(android.widget.SeekBar&nbsp;seekBar,
int&nbsp;progress,
boolean&nbsp;fromUser)</pre>
<div class="block">Handler function for changes on the seek bars.
</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>onProgressChanged</code>&nbsp;in interface&nbsp;<code>android.widget.SeekBar.OnSeekBarChangeListener</code>
</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>seekBar</code> - the seek bar changed</dd>
<dd><code>progress</code> - the new progress value of the seek
bar
</dd>
<dd><code>fromUser</code> - flag if the event is the result of
an user action
</dd>
</dl>
</li>
</ul>
<a name="onStartTrackingTouch-android.widget.SeekBar-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onStartTrackingTouch</h4>
<pre>public&nbsp;void&nbsp;onStartTrackingTouch(android.widget.SeekBar&nbsp;seekBar)</pre>
<div class="block">Handler function for beginning touch events on a
seek bar.
</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>onStartTrackingTouch</code>&nbsp;in
interface&nbsp;<code>android.widget.SeekBar.OnSeekBarChangeListener</code>
</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>seekBar</code> - the seek bar touched</dd>
</dl>
</li>
</ul>
<a name="onStopTrackingTouch-android.widget.SeekBar-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>onStopTrackingTouch</h4>
<pre>public&nbsp;void&nbsp;onStopTrackingTouch(android.widget.SeekBar&nbsp;seekBar)</pre>
<div class="block">Handler function for ending touch events on a
seek bar.
</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>onStopTrackingTouch</code>&nbsp;in
interface&nbsp;<code>android.widget.SeekBar.OnSeekBarChangeListener</code>
</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>seekBar</code> - the seek bar touched</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation
links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../de/hems/trafficsim/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev&nbsp;Class</li>
<li><a href="../../../de/hems/trafficsim/Renderer.html" title="class in de.hems.trafficsim"><span
class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?de/hems/trafficsim/MainActivity.html"
target="_top">Frames</a></li>
<li><a href="MainActivity.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.classes.inherited.from.class.androidx.core.app.ComponentActivity">Nested</a>&nbsp;|&nbsp;
</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>