Searched refs:mainActivity (Results 1 – 5 of 5) sorted by relevance
36 private val mainActivity: WeakReference<MainActivity> = WeakReference(activity) constant39 val mainActivity = mainActivity.get() ?: return in handleMessage() constant40 val showStartView = mainActivity.findViewById<View>(R.id.onstart_textview) in handleMessage()41 val showStopView = mainActivity.findViewById<View>(R.id.onstop_textview) in handleMessage()50 showStartView.setBackgroundColor(getColor(mainActivity, R.color.start_received)) in handleMessage()62 showStopView.setBackgroundColor(getColor(mainActivity, R.color.stop_received)) in handleMessage()67 uncolorButtonAndClearText(showStartView, mainActivity) in handleMessage()70 uncolorButtonAndClearText(showStopView, mainActivity) in handleMessage()81 val mainActivity = mainActivity.get() ?: return in updateParamsTextView() constant82 val paramsTextView = mainActivity.findViewById<TextView>(R.id.task_params) in updateParamsTextView()[all …]
329 TimeOutHandler(MainActivity mainActivity) { in TimeOutHandler() argument330 mMainActivityWeakReference = new WeakReference<>(mainActivity); in TimeOutHandler()334 MainActivity mainActivity = mMainActivityWeakReference.get(); in handleMessage() local336 if (mainActivity != null) { in handleMessage()340 mainActivity.setUiState(UI_STATE_CONNECTION_TIMEOUT); in handleMessage()341 mainActivity.unregisterNetworkCallback(); in handleMessage()
206 MainActivity mainActivity = mActivity.get(); in handleMessage() local207 if (mainActivity == null) { in handleMessage()211 View showStartView = mainActivity.findViewById(R.id.onstart_textview); in handleMessage()212 View showStopView = mainActivity.findViewById(R.id.onstop_textview); in handleMessage()
385 MainActivity mainActivity = mMainActivityWeakReference.get(); in handleMessage() local387 if (mainActivity != null) { in handleMessage()390 mainActivity.refreshDisplayAndSetNextUpdate(); in handleMessage()
META-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...