/packages/apps/Camera2/src/com/android/camera/widget/ |
ExternalViewerButton.java | 39 private final SparseArray<Cling> mClingMap; 43 mClingMap = new SparseArray<Cling>(); 57 * Sets cling of the given viewer type for external viewer button. 59 public void setClingForViewer(int viewerType, Cling cling) { 60 if (cling == null) { 61 Log.w(TAG, "Cannot set a null cling for viewer"); 64 mClingMap.put(viewerType, cling); 65 cling.setReferenceView(this); 69 * Clears cling of the given viewer type for external viewer button 72 Cling cling = mClingMap.get(viewerType); local 140 Cling cling = mClingMap.get(mState); local [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
LauncherClings.java | 68 // Disable the migration cling 77 // Set the flag to skip the folder cling 83 // Disable the migration cling 91 * Shows the migration cling. 111 // Show the longpress cling next 124 View cling = mInflater.inflate(R.layout.longpress_cling, root, false); local 126 cling.setOnLongClickListener(new OnLongClickListener() { 136 final ViewGroup content = (ViewGroup) cling.findViewById(R.id.cling_content); 147 root.addView(cling); 150 // This is the first cling being shown. No need to animate [all...] |
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/ |
AospLauncherStrategy.java | 54 // remove cling if it exists 55 UiObject2 cling = mDevice.findObject(By.res(LAUNCHER_PKG, "workspace_cling")); local 56 if (cling != null) { 57 cling.findObject(By.clazz(Button.class).text("OK")).click();
|
/frameworks/base/services/core/java/com/android/server/policy/ |
ImmersiveModeConfirmation.java | 211 // Set touchable region to cover the cling layout. 251 // create the confirmation cling 265 final View cling = mClingLayout; local 266 cling.setAlpha(0f); 267 cling.setTranslationY(-OFFSET_DP * density); 272 cling.animate()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
Launcher.java | 3968 final Cling cling = (Cling) findViewById(clingId); local 4024 final View cling = findViewById(id); local 4038 Cling cling = (Cling) findViewById(R.id.workspace_cling); local 4059 View cling = findViewById(R.id.workspace_cling); local 4092 Cling cling = (Cling) findViewById(R.id.folder_cling); local 4099 Cling cling = (Cling) findViewById(R.id.workspace_cling); local 4103 Cling cling = (Cling) findViewById(R.id.all_apps_cling); local 4107 Cling cling = (Cling) findViewById(R.id.folder_cling); local [all...] |
Cling.java | 38 public class Cling extends FrameLayout { 40 static final String WORKSPACE_CLING_DISMISSED_KEY = "cling.workspace.dismissed"; 41 static final String ALLAPPS_CLING_DISMISSED_KEY = "cling.allapps.dismissed"; 42 static final String FOLDER_CLING_DISMISSED_KEY = "cling.folder.dismissed"; 71 public Cling(Context context) { 75 public Cling(Context context, AttributeSet attrs) { 79 public Cling(Context context, AttributeSet attrs, int defStyle) { 82 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.Cling, defStyle, 0); 96 mPunchThroughGraphic = r.getDrawable(R.drawable.cling); 268 // Draw the rest of the cling [all...] |
Folder.java | 438 Cling cling = mLauncher.showFirstRunFoldersCling(); 439 if (cling != null) { 440 cling.bringToFront(); [all...] |
/packages/apps/Camera2/src/com/android/camera/app/ |
FilmstripBottomPanel.java | 30 import com.android.camera.widget.Cling; 75 public void setClingForViewer(int viewerType, Cling cling) { 76 mViewButton.setClingForViewer(viewerType, cling); 85 public Cling getClingForViewer(int viewerType) {
|
CameraAppUI.java | 66 import com.android.camera.widget.Cling; 107 * Sets cling for external viewer button. 109 void setClingForViewer(int viewerType, Cling cling); 112 * Clears cling for external viewer button. 117 * Returns a cling for the specified viewer type. 119 Cling getClingForViewer(int viewerType); 861 * Creates a cling for the specific viewer and links the cling to the corresponding 864 * @param viewerType defines which viewer the cling is for [all...] |