public class

CarouselWidget

extends AbsSpinner
implements GestureDetector.OnGestureListener AdapterView.OnItemClickListener AdapterView.OnItemLongClickListener
java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ com.htc.widget.AdapterView<T extends android.widget.Adapter>
         ↳ com.htc.widget.AbsSpinner
           ↳ com.htc.widget.CarouselWidget

This class is deprecated.
Not supported class

Class Overview

The CarouselWidget of Edit mode window

Summary

[Expand]
Inherited Constants
From class com.htc.widget.AdapterView
From class android.view.ViewGroup
From class android.view.View
Fields
protected DragController mDragger
protected int mState
[Expand]
Inherited Fields
From class com.htc.widget.AbsSpinner
From class android.view.ViewGroup
From class android.view.View
Public Constructors
CarouselWidget(Context context)
CarouselWidget(Context context, AttributeSet attrs)
Public Methods
boolean acceptDrop(DragSource source, int x, int y, int xOffset, int yOffset, Object dragInfo)
boolean dispatchKeyEvent(KeyEvent event)
void dispatchSetSelected(boolean arg0)
void draw(Canvas canvas)
void enableSecondBackground(boolean enable)
void forceStopPartialFling()
ViewGroup.LayoutParams generateLayoutParams(AttributeSet arg0)
int getWidgetHeight()
int getWidgetWidth()
void offsetChildrenTopAndBottom(int arg0)
boolean onDown(MotionEvent arg0)
void onDragEnter(DragSource source, int x, int y, int xOffset, int yOffset, Object dragInfo)
void onDragExit(DragSource source, int x, int y, int xOffset, int yOffset, Object dragInfo)
void onDragOver(DragSource source, int x, int y, int xOffset, int yOffset, Object dragInfo)
void onDrop(DragSource source, int x, int y, int xOffset, int yOffset, Object dragInfo)
abstract void onDropAnimationEnd(View target)
abstract void onDropCompleted(View target, boolean success)
boolean onFling(MotionEvent arg0, MotionEvent arg1, float arg2, float arg3)
void onItemClick(AdapterView<?> parent, View view, int position, long id)
boolean onItemLongClick(AdapterView<?> parent, View view, int position, long id)
boolean onKeyDown(int keycode, KeyEvent event)
void onLongPress(MotionEvent arg0)
boolean onScroll(MotionEvent arg0, MotionEvent arg1, float arg2, float arg3)
void onShowPress(MotionEvent arg0)
boolean onSingleTapUp(MotionEvent arg0)
boolean onTouchEvent(MotionEvent arg0)
void partialFling(int arg0, int arg1, int arg2)
void partialFling(int arg0, int arg1, int arg2, boolean arg3)
void scrollBottom()
void scrollBy(int arg0)
void scrollLeft()
void scrollRight()
void scrollTop()
void setAnimationDuration(int arg0)
void setCallbackDuringFling(boolean arg0)
void setCallbackOnUnselectedItemClick(boolean arg0)
void setGravity(int arg0)
void setSpacing(int arg0)
void setUnselectedAlpha(float arg0)
boolean showContextMenu()
boolean showContextMenuForChild(View arg0)
Protected Methods
boolean checkLayoutParams(ViewGroup.LayoutParams arg0)
int computeHorizontalScrollExtent()
int computeHorizontalScrollOffset()
int computeHorizontalScrollRange()
void dispatchDraw(Canvas canvas)
void dispatchSetPressed(boolean arg0)
ViewGroup.LayoutParams generateDefaultLayoutParams()
ViewGroup.LayoutParams generateExpandedLayoutParams()
ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams arg0)
ViewGroup.LayoutParams generateReducedLayoutParams()
ViewGroup.LayoutParams generateShrinkedLayoutParams()
int getChildDrawingOrder(int arg0, int arg1)
boolean getChildStaticTransformation(View arg0, Transformation arg1)
ContextMenu.ContextMenuInfo getContextMenuInfo()
void onAnimationEnd()
void onConfigurationChanged(Configuration newConfig)
void onFinishInflate()
void onFocusChanged(boolean arg0, int arg1, Rect arg2)
void onLayout(boolean arg0, int arg1, int arg2, int arg3, int arg4)
[Expand]
Inherited Methods
From class com.htc.widget.AbsSpinner
From class com.htc.widget.AdapterView
From class android.view.ViewGroup
From class android.view.View
From class java.lang.Object
From interface android.graphics.drawable.Drawable.Callback
From interface android.graphics.drawable.Drawable.Callback2
From interface android.view.GestureDetector.OnGestureListener
From interface android.view.HtcIfViewGroup
From interface android.view.KeyEvent.Callback
From interface android.view.ViewManager
From interface android.view.ViewParent
From interface android.view.accessibility.AccessibilityEventSource
From interface com.htc.widget.AdapterView.OnItemClickListener
From interface com.htc.widget.AdapterView.OnItemLongClickListener

Fields

protected DragController mDragger

Since: API Level

protected int mState

Since: API Level

Public Constructors

public CarouselWidget (Context context)

Since: API Level 2.0

public CarouselWidget (Context context, AttributeSet attrs)

Since: API Level 2.0

Public Methods

public boolean acceptDrop (DragSource source, int x, int y, int xOffset, int yOffset, Object dragInfo)

Since: API Level 2.0

public boolean dispatchKeyEvent (KeyEvent event)

Since: API Level

public void dispatchSetSelected (boolean arg0)

Since: API Level

public void draw (Canvas canvas)

Since: API Level 4.9

public void enableSecondBackground (boolean enable)

Since: API Level 2.0

public void forceStopPartialFling ()

Since: API Level

public ViewGroup.LayoutParams generateLayoutParams (AttributeSet arg0)

Since: API Level

public int getWidgetHeight ()

Since: API Level 2.0

public int getWidgetWidth ()

Since: API Level 2.0

public void offsetChildrenTopAndBottom (int arg0)

Since: API Level

public boolean onDown (MotionEvent arg0)

Since: API Level

public void onDragEnter (DragSource source, int x, int y, int xOffset, int yOffset, Object dragInfo)

Since: API Level 2.0

public void onDragExit (DragSource source, int x, int y, int xOffset, int yOffset, Object dragInfo)

Since: API Level 2.0

public void onDragOver (DragSource source, int x, int y, int xOffset, int yOffset, Object dragInfo)

Since: API Level 2.0

public void onDrop (DragSource source, int x, int y, int xOffset, int yOffset, Object dragInfo)

Since: API Level 2.0

public abstract void onDropAnimationEnd (View target)

Since: API Level

public abstract void onDropCompleted (View target, boolean success)

Since: API Level

public boolean onFling (MotionEvent arg0, MotionEvent arg1, float arg2, float arg3)

Since: API Level

public void onItemClick (AdapterView<?> parent, View view, int position, long id)

Since: API Level 2.0

public boolean onItemLongClick (AdapterView<?> parent, View view, int position, long id)

Since: API Level 2.0

public boolean onKeyDown (int keycode, KeyEvent event)

Since: API Level

public void onLongPress (MotionEvent arg0)

Since: API Level

public boolean onScroll (MotionEvent arg0, MotionEvent arg1, float arg2, float arg3)

Since: API Level

public void onShowPress (MotionEvent arg0)

Since: API Level

public boolean onSingleTapUp (MotionEvent arg0)

Since: API Level

public boolean onTouchEvent (MotionEvent arg0)

Since: API Level

public void partialFling (int arg0, int arg1, int arg2)

Since: API Level

public void partialFling (int arg0, int arg1, int arg2, boolean arg3)

Since: API Level

public void scrollBottom ()

Since: API Level 2.0

public void scrollBy (int arg0)

Since: API Level

public void scrollLeft ()

Since: API Level 2.0

public void scrollRight ()

Since: API Level 2.0

public void scrollTop ()

Since: API Level 2.0

public void setAnimationDuration (int arg0)

Since: API Level

public void setCallbackDuringFling (boolean arg0)

Since: API Level

public void setCallbackOnUnselectedItemClick (boolean arg0)

Since: API Level

public void setGravity (int arg0)

Since: API Level

public void setSpacing (int arg0)

Since: API Level

public void setUnselectedAlpha (float arg0)

Since: API Level

public boolean showContextMenu ()

Since: API Level

public boolean showContextMenuForChild (View arg0)

Since: API Level

Protected Methods

protected boolean checkLayoutParams (ViewGroup.LayoutParams arg0)

Since: API Level

protected int computeHorizontalScrollExtent ()

Since: API Level

protected int computeHorizontalScrollOffset ()

Since: API Level

protected int computeHorizontalScrollRange ()

Since: API Level

protected void dispatchDraw (Canvas canvas)

Since: API Level

protected void dispatchSetPressed (boolean arg0)

Since: API Level

protected ViewGroup.LayoutParams generateDefaultLayoutParams ()

Since: API Level

protected ViewGroup.LayoutParams generateExpandedLayoutParams ()

Since: API Level

protected ViewGroup.LayoutParams generateLayoutParams (ViewGroup.LayoutParams arg0)

Since: API Level

protected ViewGroup.LayoutParams generateReducedLayoutParams ()

Since: API Level

protected ViewGroup.LayoutParams generateShrinkedLayoutParams ()

Since: API Level

protected int getChildDrawingOrder (int arg0, int arg1)

Since: API Level

protected boolean getChildStaticTransformation (View arg0, Transformation arg1)

Since: API Level

protected ContextMenu.ContextMenuInfo getContextMenuInfo ()

Since: API Level

protected void onAnimationEnd ()

Since: API Level

protected void onConfigurationChanged (Configuration newConfig)

Since: API Level 4.9

protected void onFinishInflate ()

Since: API Level

protected void onFocusChanged (boolean arg0, int arg1, Rect arg2)

Since: API Level

protected void onLayout (boolean arg0, int arg1, int arg2, int arg3, int arg4)

Since: API Level