/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...] |
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/ |
AospLauncherStrategy.java | 53 // remove cling if it exists 54 UiObject2 cling = mDevice.findObject(By.res(LAUNCHER_PKG, "workspace_cling")); local 55 if (cling != null) { 56 cling.findObject(By.clazz(Button.class).text("OK")).click(); 75 // check if there's a "cling" on screen 76 UiObject2 cling = mDevice.findObject(By.res(LAUNCHER_PKG, "cling_dismiss") local 78 if (cling != null) { 79 cling.click();
|
/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...] |
/frameworks/base/services/core/java/com/android/server/policy/ |
ImmersiveModeConfirmation.java | 254 // Set touchable region to cover the cling layout. 294 // create the confirmation cling 308 final View cling = mClingLayout; local 309 cling.setAlpha(0f); 310 cling.setTranslationY(-OFFSET_DP * density); 315 cling.animate()
|
/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...] |