Home
last modified time | relevance | path

Searched refs:listener (Results 1 – 25 of 55) sorted by relevance

123

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/
DGlobalProjectMonitor.java187 IFileListener listener; field in GlobalProjectMonitor.FileListenerBundle
195 IFolderListener listener; field in GlobalProjectMonitor.FolderListenerBundle
233 bundle.listener.fileChanged((IFile)r, delta.getMarkerDeltas(), kind, in visit()
248 bundle.listener.folderChanged((IFolder)r, kind, mIsAndroidProject); in visit()
357 public synchronized void addFileListener(IFileListener listener, int kindMask) { in addFileListener() argument
359 bundle.listener = listener; in addFileListener()
369 public synchronized void removeFileListener(IFileListener listener) { in removeFileListener() argument
372 if (bundle.listener == listener) { in removeFileListener()
386 public synchronized void addFolderListener(IFolderListener listener, int kindMask) { in addFolderListener() argument
388 bundle.listener = listener; in addFolderListener()
[all …]
DResourceManager.java134 public void addListener(IResourceListener listener) { in addListener() argument
136 mListeners.add(listener); in addListener()
144 public void removeListener(IResourceListener listener) { in removeListener() argument
146 mListeners.remove(listener); in removeListener()
532 for (IResourceListener listener : mListeners) { in notifyListenerOnFolderChange()
534 listener.folderChanged(project, folder, eventType); in notifyListenerOnFolderChange()
545 for (IResourceListener listener : mListeners) { in notifyListenerOnFileChange()
547 listener.fileChanged(project, file, eventType); in notifyListenerOnFileChange()
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/service/
DControllerService.java119 public void addControllerListener(ControllerListener listener) { in addControllerListener() argument
120 assert listener != null; in addControllerListener()
121 if (listener != null) { in addControllerListener()
123 if (!mListeners.contains(listener)) { in addControllerListener()
124 mListeners.add(listener); in addControllerListener()
135 public void removeControllerListener(ControllerListener listener) { in removeControllerListener() argument
136 assert listener != null; in removeControllerListener()
138 mListeners.remove(listener); in removeControllerListener()
249 for (ControllerListener listener : mListeners) { in notifyErrorChanged()
250 listener.onErrorChanged(); in notifyErrorChanged()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DDelegatingAction.java45 public void addPropertyChangeListener(IPropertyChangeListener listener) { in addPropertyChangeListener() argument
46 mAction.addPropertyChangeListener(listener); in addPropertyChangeListener()
125 public void removePropertyChangeListener(IPropertyChangeListener listener) { in removePropertyChangeListener() argument
126 mAction.removePropertyChangeListener(listener); in removePropertyChangeListener()
165 public void setHelpListener(HelpListener listener) { in setHelpListener() argument
166 mAction.setHelpListener(listener); in setHelpListener()
DLayoutCanvasViewer.java144 public void addPostSelectionChangedListener(ISelectionChangedListener listener) { in addPostSelectionChangedListener() argument
145 mPostChangedListeners.add(listener); in addPostSelectionChangedListener()
149 public void removePostSelectionChangedListener(ISelectionChangedListener listener) { in removePostSelectionChangedListener() argument
150 mPostChangedListeners.remove(listener); in removePostSelectionChangedListener()
DCustomViewFinder.java123 public void refresh(final Listener listener) { in refresh() argument
124 refresh(listener, false /* sync */); in refresh()
127 private void refresh(final Listener listener, boolean sync) { in refresh() argument
131 if (listener != null) { in refresh()
133 mListeners.add(listener); in refresh()
137 if (listener != null) { in refresh()
138 mListeners.add(listener); in refresh()
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/
DViewNode.java63 private StateListener listener; field in ViewNode
124 listener.nodeStateChanged(this); in filter()
129 listener.nodeIndexChanged(this); in computeIndex()
136 void setStateListener(StateListener listener) { in setStateListener() argument
137 this.listener = listener; in setStateListener()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DXmlEditorMultiOutline.java111 public void addSelectionChangedListener(ISelectionChangedListener listener) { in addSelectionChangedListener() argument
115 mListeners.add(listener); in addSelectionChangedListener()
119 public void removeSelectionChangedListener(ISelectionChangedListener listener) { in removeSelectionChangedListener() argument
120 mListeners.remove(listener); in removeSelectionChangedListener()
205 public void addSelectionChangedListener(ISelectionChangedListener listener) { in addSelectionChangedListener() argument
214 public void removeSelectionChangedListener(ISelectionChangedListener listener) { in removeSelectionChangedListener() argument
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
DLayoutReloadMonitor.java122 public void addListener(IProject project, ILayoutReloadListener listener) { in addListener() argument
130 list.add(listener); in addListener()
137 public void removeListener(IProject project, ILayoutReloadListener listener) { in removeListener() argument
141 list.remove(listener); in removeListener()
149 public void removeListener(ILayoutReloadListener listener) { in removeListener() argument
156 if (i == listener) { in removeListener()
315 for (ILayoutReloadListener listener : listeners) {
317 listener.reloadLayout(flags, libraryChanged);
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/
DDdmsPlugin.java594 public synchronized void addSelectionListener(ISelectionListener listener) { in addSelectionListener() argument
595 mListeners.add(listener); in addSelectionListener()
598 listener.selectionChanged(mCurrentDevice); in addSelectionListener()
599 listener.selectionChanged(mCurrentClient); in addSelectionListener()
602 public synchronized void removeSelectionListener(ISelectionListener listener) { in removeSelectionListener() argument
603 mListeners.remove(listener); in removeSelectionListener()
717 for (ISelectionListener listener : mListeners) { in selectionChanged()
718 listener.selectionChanged(mCurrentDevice); in selectionChanged()
726 for (ISelectionListener listener : mListeners) { in selectionChanged()
727 listener.selectionChanged(mCurrentClient); in selectionChanged()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/uimodel/
DUiColorValueNode.java55 ModifyListener listener = new ModifyListener() { in onAddValidators() local
69 text.addModifyListener(listener); in onAddValidators()
80 listener.modifyText(null); in onAddValidators()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DLocaleMenuListener.java96 LocaleMenuListener listener = new LocaleMenuListener(chooser, ACTION_SET_LOCALE, in show() local
98 item.addSelectionListener(listener); in show()
114 LocaleMenuListener listener = new LocaleMenuListener(chooser, in show() local
116 item.addSelectionListener(listener); in show()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/junit/runtime/
DRemoteAdtTestRunner.java242 boolean isDebug, ITestRunListener listener) { in TestRunnerJob() argument
247 mListener = listener; in TestRunnerJob()
296 TestCollector listener) { in TestTreeCollectorJob() argument
297 super(name, runner, isDebug, listener); in TestTreeCollectorJob()
320 ITestRunListener listener) { in InstrumentationRunJob() argument
321 super(name, runner, isDebug, listener); in InstrumentationRunJob()
397 public TestResultsNotifier(IListensToTestExecutions listener, int nDevices) { in TestResultsNotifier() argument
398 mListener = listener; in TestResultsNotifier()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/
DAttributeDescriptorLabelProvider.java64 public void addListener(ILabelProviderListener listener) { in addListener() argument
82 public void removeListener(ILabelProviderListener listener) { in removeListener() argument
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/activities/
DBaseBindingActivity.java110 final ControllerListener listener = createControllerListener(); in bindToService() local
121 mServiceBinder.addControllerListener(listener); in bindToService()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/
DUiModelTreeLabelProvider.java85 public void addListener(ILabelProviderListener listener) { in addListener() argument
101 public void removeListener(ILabelProviderListener listener) { in removeListener() argument
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/
DResourceLabelProvider.java79 public void addListener(ILabelProviderListener listener) { in addListener() argument
94 public void removeListener(ILabelProviderListener listener) { in removeListener() argument
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/model/
DUiManifestPkgAttrNode.java146 ModifyListener listener = new ModifyListener() { in onAddValidators() local
160 text.addModifyListener(listener); in onAddValidators()
171 listener.modifyText(null); in onAddValidators()
194 public void addListener(ILabelProviderListener listener) { in doBrowseClick()
207 public void removeListener(ILabelProviderListener listener) { in doBrowseClick()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/
DEmulatorConfigTab.java241 SelectionListener listener = new SelectionAdapter() { in createControl() local
247 mPreferredAvdSelector.setSelectionListener(listener); in createControl()
248 mDeviceTypeCombo.addSelectionListener(listener); in createControl()
252 mFutureLaunchesOnSameDevice.addSelectionListener(listener); in createControl()
278 mSpeedCombo.addSelectionListener(listener); in createControl()
288 mDelayCombo.addSelectionListener(listener); in createControl()
298 mWipeDataButton.addSelectionListener(listener); in createControl()
307 mNoBootAnimButton.addSelectionListener(listener); in createControl()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
DFolderDecorator.java96 public void addListener(ILabelProviderListener listener) { in addListener() argument
101 public void removeListener(ILabelProviderListener listener) { in removeListener() argument
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/
DUiElementNode.java735 public void addUpdateListener(IUiUpdateListener listener) { in addUpdateListener() argument
739 if (!mUiUpdateListeners.contains(listener)) { in addUpdateListener()
740 mUiUpdateListeners.add(listener); in addUpdateListener()
750 public void removeUpdateListener(IUiUpdateListener listener) { in removeUpdateListener() argument
752 mUiUpdateListeners.remove(listener); in removeUpdateListener()
1514 for (IUiUpdateListener listener : mUiUpdateListeners) { in invokeUiUpdateListeners()
1516 listener.uiElementNodeUpdated(this, state); in invokeUiUpdateListeners()
2087 for (NodeCreationListener listener : sListeners) { in fireNodeCreated()
2088 listener.nodeCreated(parent, newChild, index); in fireNodeCreated()
2102 for (NodeCreationListener listener : sListeners) { in fireNodeDeleted()
[all …]
DUiFlagAttributeNode.java280 ControlAdapter listener = new ControlAdapter() { in createDialogArea() local
288 mTable.addControlListener(listener); in createDialogArea()
289 listener.controlResized(null /* event not used */); in createDialogArea()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/editors/
DStateViewPage.java354 public void addSelectionChangedListener(ISelectionChangedListener listener) { in addSelectionChangedListener() argument
355 mTreeViewer.addSelectionChangedListener(listener); in addSelectionChangedListener()
364 public void removeSelectionChangedListener(ISelectionChangedListener listener) { in removeSelectionChangedListener() argument
365 mTreeViewer.removeSelectionChangedListener(listener); in removeSelectionChangedListener()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/welcome/
DAdtStartup.java356 LayoutWindowCoordinator listener = LayoutWindowCoordinator.get(window, false /*create*/); in windowClosed() local
357 if (listener != null) { in windowClosed()
358 listener.dispose(); in windowClosed()
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/device/
DDeviceBridge.java56 public static void startListenForDevices(AndroidDebugBridge.IDeviceChangeListener listener) { in startListenForDevices() argument
57 AndroidDebugBridge.addDeviceChangeListener(listener); in startListenForDevices()

123