Home
last modified time | relevance | path

Searched refs:editor (Results 1 – 25 of 335) sorted by relevance

12345678910>>...14

/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/flame/
DLoaderButton.java23 public ParticleEffectLoaderButton (FlameMain editor) { in ParticleEffectLoaderButton() argument
24 this(editor, null); in ParticleEffectLoaderButton()
26 public ParticleEffectLoaderButton (FlameMain editor, Listener<ParticleEffect> listener) { in ParticleEffectLoaderButton() argument
27 super(editor, "Load Controller", listener); in ParticleEffectLoaderButton()
31 File file = editor.showFileLoadDialog(); in loadResource()
35 listener.onResourceLoaded(editor.openEffect(file, false)); in loadResource()
47 public ModelLoaderButton (FlameMain editor) { in ModelLoaderButton() argument
48 this(editor, null); in ModelLoaderButton()
50 public ModelLoaderButton (FlameMain editor, Listener<Model> listener) { in ModelLoaderButton() argument
51 super(editor, "Load Model", listener); in ModelLoaderButton()
[all …]
DInfluencerPanel.java8 public InfluencerPanel (FlameMain editor, T influencer, String name, String description) { in InfluencerPanel() argument
9 super(editor, name, description, true, true); in InfluencerPanel()
13 …public InfluencerPanel (FlameMain editor, T influencer, String name, String description, boolean i… in InfluencerPanel() argument
14 super(editor, name, description, isAlwaysActive, isRemovable); in InfluencerPanel()
21 editor.getEmitter().influencers.removeValue(value, true); in removePanel()
22 editor.getEmitter().init(); in removePanel()
23 editor.getEmitter().start(); in removePanel()
24 editor.reloadRows(); in removePanel()
DTextureLoaderPanel.java22 public TextureLoaderPanel (FlameMain editor, String name, String description) { in TextureLoaderPanel() argument
23 super(editor, name, description); in TextureLoaderPanel()
37 minFilterBox.setSelectedItem(editor.getTexture().getMinFilter()); in initializeComponents()
38 magFilterBox.setSelectedItem(editor.getTexture().getMagFilter()); in initializeComponents()
42editor.getTexture().setFilter((TextureFilter)minFilterBox.getSelectedItem(), (TextureFilter)magFil… in initializeComponents()
52 File file = editor.showFileLoadDialog(); in initializeComponents()
54 TextureAtlas atlas = editor.load(file.getAbsolutePath(), TextureAtlas.class, null, null); in initializeComponents()
56 editor.setAtlas(atlas); in initializeComponents()
65 File file = editor.showFileLoadDialog(); in initializeComponents()
71 Texture texture = editor.load(file.getAbsolutePath(), Texture.class, null, params); in initializeComponents()
[all …]
DRegionInfluencerPanel.java22 …public RegionInfluencerPanel (FlameMain editor, String name, String desc, RegionInfluencer influen… in RegionInfluencerPanel() argument
23 super(editor, influencer, name, desc); in RegionInfluencerPanel()
32 regionSelectDialog = new JDialog(editor, "Pick regions", true); in initializeComponents()
44 if(editor.isUsingDefaultTexture()) { in initializeComponents()
45 JOptionPane.showMessageDialog(editor, "Load a Texture or an Atlas first."); in initializeComponents()
49 TextureAtlas atlas = editor.getAtlas(); in initializeComponents()
53 regionPickerPanel.setTexture(editor.getTexture()); in initializeComponents()
71 editor.setTexture(regions.get(0).getTexture()); in onRegionsSelected()
72 editor.restart(); in onRegionsSelected()
DSpawnInfluencerPanel.java73 public SpawnInfluencerPanel (final FlameMain editor, SpawnInfluencer influencer) { in SpawnInfluencerPanel() argument
74 …super(editor, influencer, "Spawn Influencer", "Define where the particles are spawned.", true, fal… in SpawnInfluencerPanel()
107 …SpawnInfluencer influencer = (SpawnInfluencer)editor.getEmitter().findInfluencer(SpawnInfluencer.c… in setPrimitiveSpawnShape()
158 public void update (FlameMain editor) { in update() argument
159 …SpawnInfluencer influencer = (SpawnInfluencer)editor.getEmitter().findInfluencer(SpawnInfluencer.c… in update()
199 Model defaultModel = editor.assetManager.get(FlameMain.DEFAULT_MODEL_PARTICLE); in initializeComponents()
215 …anel = new TemplatePickerPanel<Model>(editor, models, this, Model.class, new LoaderButton.ModelLoa… in initializeComponents()
217 …addContent(i++, 0, xPanel = new RangedNumericPanel(editor, pointSpawnShapeValue.xOffsetValue, "X O… in initializeComponents()
218 …addContent(i++, 0, yPanel = new RangedNumericPanel(editor, pointSpawnShapeValue.yOffsetValue, "Y O… in initializeComponents()
219 …addContent(i++, 0, zPanel = new RangedNumericPanel(editor, pointSpawnShapeValue.zOffsetValue, "Z O… in initializeComponents()
[all …]
DEffectPanel.java65 FlameMain editor; field in EffectPanel
73 public EffectPanel (FlameMain editor) { in EffectPanel() argument
74 this.editor = editor; in EffectPanel()
131 …ontroller("ModelInstance Controller", emitter, new ModelInstanceRenderer(editor.getModelInstancePa… in createDefaultModelInstanceController()
132 new ModelInfluencer.Single((Model) editor.assetManager.get(FlameMain.DEFAULT_MODEL_PARTICLE) ), in createDefaultModelInstanceController()
174 …return new ParticleController("Billboard Controller", emitter, new BillboardRenderer(editor.getBil… in createDefaultBillboardController()
175 new RegionInfluencer.Single(editor.getTexture()), in createDefaultBillboardController()
220 …return new ParticleController("PointSprite Controller", emitter, new PointSpriteRenderer(editor.ge… in createDefaultPointController()
221 …new RegionInfluencer.Single((Texture) editor.assetManager.get(FlameMain.DEFAULT_BILLBOARD_PARTICLE… in createDefaultPointController()
260 …new ParticleControllerInfluencer.Single(editor.assetManager.get(FlameMain.DEFAULT_TEMPLATE_PFX, Pa… in createDefaultParticleController()
[all …]
DRegularEmitterPanel.java34 RegularEmitter emitter = (RegularEmitter) editor.getEmitter().emitter; in initializeComponents()
42 …addContent(i++, 0, countPanel = new CountPanel(editor, "Count", "Min number of particles at all ti… in initializeComponents()
43 …addContent(i++, 0, delayPanel = new RangedNumericPanel(editor, emitter.getDelay(), "Delay", "Time … in initializeComponents()
44 …addContent(i++, 0, durationPanel = new RangedNumericPanel(editor, emitter.getDuration(), "Duration… in initializeComponents()
45 …addContent(i++, 0, emissionPanel = new ScaledNumericPanel(editor, emitter.getEmission(), "Duration… in initializeComponents()
46 …addContent(i++, 0, lifePanel = new ScaledNumericPanel(editor, emitter.getLife(), "Duration", "Life… in initializeComponents()
47 …addContent(i++, 0, lifeOffsetPanel = new ScaledNumericPanel(editor, emitter.getLifeOffset(), "Dura… in initializeComponents()
DParticleValuePanel.java8 public ParticleValuePanel (FlameMain editor, String name, String description) { in ParticleValuePanel() argument
9 this(editor, name, description, true); in ParticleValuePanel()
12 …public ParticleValuePanel (FlameMain editor, String name, String description, boolean isAlwaysActi… in ParticleValuePanel() argument
13 this(editor, name, description, isAlwaysActive, false); in ParticleValuePanel()
16 …public ParticleValuePanel (FlameMain editor, String name, String description, boolean isAlwaysActi… in ParticleValuePanel() argument
17 super(editor, name, description, isAlwaysActive, isRemovable); in ParticleValuePanel()
DDrawPanel.java18 public DrawPanel (FlameMain editor, String name, String description) { in DrawPanel() argument
19 super(editor, name, description); in DrawPanel()
52 DrawPanel.this.editor.getRenderer().setDrawXYZ(drawXYZCheckBox.isSelected()); in initializeComponents()
55 drawXYZCheckBox.setSelected(editor.getRenderer().IsDrawXYZ()); in initializeComponents()
59 DrawPanel.this.editor.getRenderer().setDrawXZPlane(drawXZPlaneBox.isSelected()); in initializeComponents()
62 drawXZPlaneBox.setSelected(editor.getRenderer().IsDrawXZPlane()); in initializeComponents()
66 DrawPanel.this.editor.getRenderer().setDrawXYPlane(drawXYPlaneBox.isSelected()); in initializeComponents()
DParticleControllerInfluencerPanel.java17 …public ParticleControllerInfluencerPanel (FlameMain editor, ParticleControllerInfluencer influence… in ParticleControllerInfluencerPanel() argument
18 super(editor, influencer, name, desc, true, false); in ParticleControllerInfluencerPanel()
32 …controllerPicker = new TemplatePickerPanel<ParticleController>(editor, null, this, ParticleControl… in initializeComponents()
42 …contentPanel.add(new LoaderButton.ParticleEffectLoaderButton(editor, this), new GridBagConstraints… in initializeComponents()
50 editor.restart(); in onTemplateChecked()
61 editor.assetManager.getAll(ParticleEffect.class, effects); in reloadControllers()
87 …value.templates.addAll( ((ParticleEffect)editor.assetManager.get(FlameMain.DEFAULT_BILLBOARD_PARTI… in handle()
92 editor.restart(); in handle()
DModelInfluencerPanel.java14 …public ModelInfluencerPanel (FlameMain editor, ModelInfluencer influencer, boolean single, String … in ModelInfluencerPanel() argument
15 super(editor, influencer, name, desc, true, false); in ModelInfluencerPanel()
29 …Panel = new TemplatePickerPanel<Model>(editor, null, this, Model.class, new LoaderButton.ModelLoad… in initializeComponents()
37 editor.restart(); in onTemplateChecked()
49 editor.restart(); in handle()
DCountPanel.java31 public CountPanel (final FlameMain editor, String name, String description, int min, int max) { in CountPanel() argument
32 super(editor, name, description); in CountPanel()
44 ParticleController controller = editor.getEmitter(); in initializeComponents()
46 editor.restart(); in initializeComponents()
55 ParticleController controller = editor.getEmitter(); in initializeComponents()
57 editor.restart(); in initializeComponents()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/tester/android/content/
DTestSharedPreferencesTest.java24 private SharedPreferences.Editor editor; field in TestSharedPreferencesTest
32 editor = sharedPreferences.edit(); in setUp()
33 editor.putBoolean("boolean", true); in setUp()
34 editor.putFloat("float", 1.1f); in setUp()
35 editor.putInt("int", 2); in setUp()
36 editor.putLong("long", 3l); in setUp()
37 editor.putString("string", "foobar"); in setUp()
42 editor.commit(); in commit_shouldStoreValues()
54 editor.commit(); in getAll_shouldReturnAllValues()
65 editor.remove("deleteMe"); in commit_shouldRemoveValuesThenSetValues()
[all …]
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
DPresencePreferences.java74 Editor editor = mCommonPref.edit(); in updateCapabilityDiscoveryTime() local
76 editor.putLong(CAPABILITY_DISCOVERY_TIME, time); in updateCapabilityDiscoveryTime()
77 editor.commit(); in updateCapabilityDiscoveryTime()
94 Editor editor = mCommonPref.edit(); in setSubscriberId() local
95 editor.putString(PHONE_SUBSCRIBER_ID, id); in setSubscriberId()
96 editor.commit(); in setSubscriberId()
113 Editor editor = mCommonPref.edit(); in setLine1Number() local
114 editor.putString(PHONE_LINE1_NUMBER, number); in setLine1Number()
115 editor.commit(); in setLine1Number()
132 Editor editor = mCommonPref.edit(); in setRcsTestMode() local
[all …]
/external/replicaisland/src/com/replica/replicaisland/
DSetPreferencesActivity.java63 SharedPreferences.Editor editor = prefs.edit(); in onDialogClosed() local
64 editor.remove(PreferenceConstants.PREFERENCE_LEVEL_ROW); in onDialogClosed()
65 editor.remove(PreferenceConstants.PREFERENCE_LEVEL_INDEX); in onDialogClosed()
66 editor.remove(PreferenceConstants.PREFERENCE_LEVEL_COMPLETED); in onDialogClosed()
67 editor.remove(PreferenceConstants.PREFERENCE_LINEAR_MODE); in onDialogClosed()
68 editor.remove(PreferenceConstants.PREFERENCE_TOTAL_GAME_TIME); in onDialogClosed()
69 editor.remove(PreferenceConstants.PREFERENCE_PEARLS_COLLECTED); in onDialogClosed()
70 editor.remove(PreferenceConstants.PREFERENCE_PEARLS_TOTAL); in onDialogClosed()
71 editor.remove(PreferenceConstants.PREFERENCE_ROBOTS_DESTROYED); in onDialogClosed()
72 editor.remove(PreferenceConstants.PREFERENCE_DIFFICULTY); in onDialogClosed()
[all …]
DMainMenuActivity.java221 SharedPreferences.Editor editor = prefs.edit(); in onResume() local
222 editor.putBoolean(PreferenceConstants.PREFERENCE_CLICK_ATTACK, false); in onResume()
223 editor.commit(); in onResume()
226 SharedPreferences.Editor editor = prefs.edit(); in onResume() local
231 editor.putBoolean(PreferenceConstants.PREFERENCE_SCREEN_CONTROLS, true); in onResume()
235 editor.putBoolean(PreferenceConstants.PREFERENCE_TILT_CONTROLS, true); in onResume()
238 editor.commit(); in onResume()
260 SharedPreferences.Editor editor = prefs.edit(); in onResume() local
261 editor.putBoolean(PreferenceConstants.PREFERENCE_SAFE_MODE, true); in onResume()
262 editor.commit(); in onResume()
[all …]
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/particleeditor/
DEffectPanel.java41 ParticleEditor editor; field in EffectPanel
47 public EffectPanel (ParticleEditor editor) { in EffectPanel() argument
48 this.editor = editor; in EffectPanel()
112 Array<ParticleEmitter> emitters = editor.effect.getEmitters(); in addEmitter()
114 emitter.setPosition(editor.worldCamera.viewportWidth / 2, editor.worldCamera.viewportHeight / 2); in addEmitter()
123 editor.reloadRows(); in addEmitter()
137 editor.reloadRows(); in emitterSelected()
141 FileDialog dialog = new FileDialog(editor, "Open Effect", FileDialog.LOAD); in openEffect()
157 editor.effect = effect; in openEffect()
158 editor.effectFile = effectFile; in openEffect()
[all …]
DImagePanel.java39 public ImagePanel (final ParticleEditor editor, String name, String description) { in ImagePanel() argument
48 FileDialog dialog = new FileDialog(editor, "Open Image", FileDialog.LOAD); in ImagePanel()
57 final ParticleEmitter emitter = editor.getEmitter(); in ImagePanel()
58 editor.setIcon(emitter, icon); in ImagePanel()
75 final ParticleEmitter emitter = editor.getEmitter(); in ImagePanel()
79 editor.setIcon(emitter, null); in ImagePanel()
89 final ParticleEmitter emitter = editor.getEmitter(); in ImagePanel()
92 editor.setIcon(emitter, null); in ImagePanel()
112 updateIconInfo(editor.getIcon(editor.getEmitter())); in ImagePanel()
DSpawnPanel.java42 …public SpawnPanel (final ParticleEditor editor, final SpawnShapeValue spawnShapeValue, String name… in SpawnPanel() argument
58 editor.setVisible("Spawn Width", true); in SpawnPanel()
59 editor.setVisible("Spawn Height", true); in SpawnPanel()
63 editor.setVisible("Spawn Width", true); in SpawnPanel()
64 editor.setVisible("Spawn Height", true); in SpawnPanel()
68 editor.setVisible("Spawn Width", false); in SpawnPanel()
69 editor.setVisible("Spawn Height", false); in SpawnPanel()
92 public void update (ParticleEditor editor) { in update() argument
93 shapeCombo.setSelectedItem(editor.getEmitter().getSpawnShape().getShape()); in update()
DOptionsPanel.java36 public OptionsPanel (final ParticleEditor editor, String name, String description) { in OptionsPanel() argument
43 editor.getEmitter().setAttached(attachedCheckBox.isSelected()); in OptionsPanel()
49 editor.getEmitter().setContinuous(continuousCheckbox.isSelected()); in OptionsPanel()
55 editor.getEmitter().setAligned(alignedCheckbox.isSelected()); in OptionsPanel()
61 editor.getEmitter().setAdditive(additiveCheckbox.isSelected()); in OptionsPanel()
67 editor.getEmitter().setBehind(behindCheckbox.isSelected()); in OptionsPanel()
74 editor.getEmitter().setPremultipliedAlpha(premultipliedAlphaCheckbox.isSelected()); in OptionsPanel()
78 ParticleEmitter emitter = editor.getEmitter(); in OptionsPanel()
/external/v8/test/unittests/compiler/
Dcommon-operator-reducer-unittest.cc29 AdvancedReducer::Editor* editor, Node* node, in Reduce() argument
33 CommonOperatorReducer reducer(editor, graph(), common(), &machine); in Reduce()
39 StrictMock<MockAdvancedReducerEditor> editor; in Reduce() local
40 return Reduce(&editor, node, flags); in Reduce()
81 StrictMock<MockAdvancedReducerEditor> editor; in TEST_F() local
82 EXPECT_CALL(editor, Replace(if_true, IsDead())); in TEST_F()
83 EXPECT_CALL(editor, Replace(if_false, control)); in TEST_F()
84 Reduction const r = Reduce(&editor, branch); in TEST_F()
98 StrictMock<MockAdvancedReducerEditor> editor; in TEST_F() local
99 EXPECT_CALL(editor, Replace(if_true, control)); in TEST_F()
[all …]
Ddead-code-elimination-unittest.cc25 Reduction Reduce(AdvancedReducer::Editor* editor, Node* node) { in Reduce() argument
26 DeadCodeElimination reducer(editor, graph(), common()); in Reduce()
31 StrictMock<MockAdvancedReducerEditor> editor; in Reduce() local
32 return Reduce(&editor, node); in Reduce()
196 StrictMock<MockAdvancedReducerEditor> editor; in TEST_F() local
197 EXPECT_CALL(editor, Replace(phi, v0)); in TEST_F()
198 EXPECT_CALL(editor, Replace(ephi, e0)); in TEST_F()
199 Reduction const r = Reduce(&editor, merge); in TEST_F()
224 StrictMock<MockAdvancedReducerEditor> editor; in TEST_F() local
225 EXPECT_CALL(editor, Revisit(phi)); in TEST_F()
[all …]
/external/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/
DAndroidPreferences.java30 Editor editor; field in AndroidPreferences
39 editor.putBoolean(key, val); in putBoolean()
46 editor.putInt(key, val); in putInteger()
53 editor.putLong(key, val); in putLong()
60 editor.putFloat(key, val); in putFloat()
67 editor.putString(key, val); in putString()
147 editor.clear(); in clear()
152 if (editor != null) { in flush()
154 editor.apply(); in flush()
156 editor.commit(); in flush()
[all …]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DCache.java233 DiskLruCache.Editor editor = null; in put() local
235 editor = cache.edit(urlToKey(response.request())); in put()
236 if (editor == null) { in put()
239 entry.writeTo(editor); in put()
240 return new CacheRequestImpl(editor); in put()
242 abortQuietly(editor); in put()
254 DiskLruCache.Editor editor = null; in update() local
256 editor = snapshot.edit(); // Returns null if snapshot is not current. in update()
257 if (editor != null) { in update()
258 entry.writeTo(editor); in update()
[all …]
/external/smali/smalidea/src/test/java/org/jf/smalidea/
DSmaliCodeFragmentFactoryTest.java44 import com.intellij.openapi.editor.Editor;
45 import com.intellij.openapi.editor.impl.EditorImpl;
233 Editor editor = createEditor(fragment.getVirtualFile()); in assertCompletionContains() local
234 editor.getCaretModel().moveToOffset(completionText.length()); in assertCompletionContains()
236 new CodeCompletionHandlerBase(CompletionType.BASIC).invokeCompletion(getProject(), editor); in assertCompletionContains() local
256 Editor editor = createEditor(fragment.getVirtualFile()); in assertVariableType() local
257 editor.getCaretModel().moveToOffset(1); in assertVariableType()
267 Editor editor = FileEditorManager.getInstance(getProject()).openTextEditor( in createEditor() local
271 ((EditorImpl)editor).setCaretActive(); in createEditor()
272 return editor; in createEditor()

12345678910>>...14