use of com.android.tools.idea.ddms.actions.ToggleAllocationTrackingAction in project android by JetBrains.
the class MemoryMonitorView method getToolbarActions.
@Override
@NotNull
public ActionGroup getToolbarActions() {
DefaultActionGroup group = new DefaultActionGroup();
group.add(new RecordingAction(this));
group.add(new Separator());
group.add(new GcAction(myDeviceContext));
group.add(new DumpHprofAction(myProject, myDeviceContext, myEvents));
group.add(new ToggleAllocationTrackingAction(myProject, myDeviceContext, myEvents));
group.add(new Separator());
group.add(new BrowserHelpAction("Memory monitor", "http://developer.android.com/r/studio-ui/am-memory.html"));
if (Boolean.getBoolean("studio.profiling.debug")) {
group.addSeparator();
group.add(new ToggleDebugRender(myTimelineComponent));
}
return group;
}
Aggregations