Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/app/
DFilterUtils.java82 int ctype = result[CLUSTER_TYPE]; in setupMenuItems() local
89 (ctype & CLUSTER_BY_TIME) != 0, (ccurrent & CLUSTER_BY_TIME) != 0); in setupMenuItems()
91 (ctype & CLUSTER_BY_LOCATION) != 0, (ccurrent & CLUSTER_BY_LOCATION) != 0); in setupMenuItems()
93 (ctype & CLUSTER_BY_TAG) != 0, (ccurrent & CLUSTER_BY_TAG) != 0); in setupMenuItems()
95 (ctype & CLUSTER_BY_FACE) != 0, (ccurrent & CLUSTER_BY_FACE) != 0); in setupMenuItems()
97 model.setClusterItemVisibility(CLUSTER_BY_ALBUM, !inAlbum || ctype == 0); in setupMenuItems()
99 setMenuItemApplied(model, R.id.action_cluster_album, ctype == 0, in setupMenuItems()
141 int ctype = toClusterType(segments[2]); in getAppliedFilters() local
142 result[CLUSTER_TYPE] |= ctype; in getAppliedFilters()
143 result[CLUSTER_CURRENT_TYPE] = ctype; in getAppliedFilters()
[all …]