Home
last modified time | relevance | path

Searched refs:ConfigToggle (Results 1 – 10 of 10) sorted by relevance

/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/
DLinearLayoutManagerActivity.java26 import com.example.android.supportv7.widget.util.ConfigToggle;
49 protected ConfigToggle[] createConfigToggles() { in createConfigToggles()
50 return new ConfigToggle[]{ in createConfigToggles()
51 new ConfigToggle(this, R.string.checkbox_orientation) { in createConfigToggles()
67 new ConfigToggle(this, R.string.checkbox_reverse) { in createConfigToggles() method
78 new ConfigToggle(this, R.string.checkbox_layout_dir) { in createConfigToggles() method
91 new ConfigToggle(this, R.string.checkbox_stack_from_end) { in createConfigToggles() method
102 new ConfigToggle(this, R.string.checkbox_snap) { in createConfigToggles() method
DLinearLayoutManagerJankActivity.java27 import com.example.android.supportv7.widget.util.ConfigToggle;
64 protected ConfigToggle[] createConfigToggles() {
65 return new ConfigToggle[]{
66 new ConfigToggle(this, R.string.enable_bind_slowdown) {
73 new ConfigToggle(this, R.string.enable_inflate_slowdown) {
80 new ConfigToggle(this, R.string.enable_prefetch) {
DGridLayoutManagerActivity.java29 import com.example.android.supportv7.widget.util.ConfigToggle;
53 protected ConfigToggle[] createConfigToggles() { in createConfigToggles()
54 return new ConfigToggle[]{ in createConfigToggles()
55 new ConfigToggle(this, R.string.checkbox_orientation) { in createConfigToggles()
67 new ConfigToggle(this, R.string.checkbox_reverse) { in createConfigToggles() method
78 new ConfigToggle(this, R.string.checkbox_layout_dir) { in createConfigToggles() method
91 new ConfigToggle(this, R.string.checkbox_stack_from_end) { in createConfigToggles() method
DStaggeredGridLayoutManagerActivity.java22 import com.example.android.supportv7.widget.util.ConfigToggle;
39 protected ConfigToggle[] createConfigToggles() { in createConfigToggles()
40 return new ConfigToggle[] { in createConfigToggles()
41 new ConfigToggle(this, R.string.vertical) { in createConfigToggles()
DBaseLayoutManagerActivity.java37 import com.example.android.supportv7.widget.util.ConfigToggle;
53 private ConfigToggle[] mConfigToggles;
171 protected ConfigToggle[] createConfigToggles() {
172 return new ConfigToggle[] {};
184 ConfigToggle toggle = mConfigToggles[position];
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/touch/
DSwipeToDismissActivity.java29 import com.example.android.supportv7.widget.util.ConfigToggle;
38 ConfigToggle[] createConfigToggles() { in createConfigToggles()
39 ConfigToggle[] configToggles = { in createConfigToggles()
40 new ConfigToggle(this, R.string.swipe_start) { in createConfigToggles()
51 new ConfigToggle(this, R.string.swipe_end) { in createConfigToggles()
62 new ConfigToggle(this, R.string.pointer_swipe_enabled) { in createConfigToggles()
75 ConfigToggle[] copy = new ConfigToggle[configToggles.length + 1]; in createConfigToggles()
77 copy[copy.length - 1] = new ConfigToggle(this, R.string.custom_swipe_enabled) { in createConfigToggles()
DDragAndDropActivity.java28 import com.example.android.supportv7.widget.util.ConfigToggle;
37 ConfigToggle[] createConfigToggles() { in createConfigToggles()
38 return new ConfigToggle[]{ in createConfigToggles()
39 new ConfigToggle(this, R.string.drag_up) { in createConfigToggles()
50 new ConfigToggle(this, R.string.drag_down) { in createConfigToggles() method
61 new ConfigToggle(this, R.string.long_press_drag) { in createConfigToggles() method
DItemTouchHelperActivity.java37 import com.example.android.supportv7.widget.util.ConfigToggle;
57 private ConfigToggle[] mConfigToggles;
85 ConfigToggle toggle = mConfigToggles[position]; in initToggles()
99 abstract ConfigToggle[] createConfigToggles(); in createConfigToggles()
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/util/
DConfigToggle.java21 abstract public class ConfigToggle { class
24 protected ConfigToggle(Context context, int labelId) { in ConfigToggle() method in ConfigToggle
DConfigViewHolder.java30 private ConfigToggle mConfigToggle;
38 public void bind(ConfigToggle toggle) { in bind()