android-sdk: Adds templates for all methods from EditText and TextView and View

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1835 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
sekelsenmat
2011-08-26 14:21:31 +00:00
parent ebe2235117
commit 5e63f131fd
2 changed files with 526 additions and 425 deletions

View File

@ -3,12 +3,12 @@
<ProjectOptions> <ProjectOptions>
<Version Value="9"/> <Version Value="9"/>
<General> <General>
<SessionStorage Value="InProjectDir"/>
<MainUnit Value="0"/> <MainUnit Value="0"/>
<Title Value="android_bindings_generator"/> <Title Value="android_bindings_generator"/>
<ResourceType Value="res"/> <ResourceType Value="res"/>
<UseXPManifest Value="True"/> <UseXPManifest Value="True"/>
<Icon Value="0"/> <Icon Value="0"/>
<ActiveWindowIndexAtStart Value="0"/>
</General> </General>
<i18n> <i18n>
<EnableI18N LFM="False"/> <EnableI18N LFM="False"/>
@ -16,7 +16,7 @@
<VersionInfo> <VersionInfo>
<StringTable ProductVersion=""/> <StringTable ProductVersion=""/>
</VersionInfo> </VersionInfo>
<BuildModes Count="1" Active="Default"> <BuildModes Count="1">
<Item1 Name="Default" Default="True"/> <Item1 Name="Default" Default="True"/>
</BuildModes> </BuildModes>
<PublishOptions> <PublishOptions>
@ -39,17 +39,11 @@
<PackageName Value="LCL"/> <PackageName Value="LCL"/>
</Item2> </Item2>
</RequiredPackages> </RequiredPackages>
<Units Count="36"> <Units Count="3">
<Unit0> <Unit0>
<Filename Value="android_bindings_generator.pas"/> <Filename Value="android_bindings_generator.pas"/>
<IsPartOfProject Value="True"/> <IsPartOfProject Value="True"/>
<UnitName Value="android_bindings_generator"/> <UnitName Value="android_bindings_generator"/>
<EditorIndex Value="2"/>
<WindowIndex Value="0"/>
<TopLine Value="1"/>
<CursorPos X="15" Y="14"/>
<UsageCount Value="73"/>
<Loaded Value="True"/>
</Unit0> </Unit0>
<Unit1> <Unit1>
<Filename Value="mainform.pas"/> <Filename Value="mainform.pas"/>
@ -57,421 +51,13 @@
<ComponentName Value="Form1"/> <ComponentName Value="Form1"/>
<ResourceBaseClass Value="Form"/> <ResourceBaseClass Value="Form"/>
<UnitName Value="mainform"/> <UnitName Value="mainform"/>
<EditorIndex Value="0"/>
<WindowIndex Value="0"/>
<TopLine Value="7"/>
<CursorPos X="3" Y="39"/>
<UsageCount Value="73"/>
<Loaded Value="True"/>
<LoadedDesigner Value="True"/>
</Unit1> </Unit1>
<Unit2> <Unit2>
<Filename Value="../../../p-tools/turbochessclock4android/androidmenu.pas"/>
<UnitName Value="androidmenu"/>
<WindowIndex Value="0"/>
<TopLine Value="51"/>
<CursorPos X="25" Y="24"/>
<UsageCount Value="11"/>
</Unit2>
<Unit3>
<Filename Value="../../../p-tools/turbochessclock4android/androidutil.pas"/>
<UnitName Value="androidutil"/>
<WindowIndex Value="0"/>
<TopLine Value="1"/>
<CursorPos X="1" Y="1"/>
<UsageCount Value="12"/>
</Unit3>
<Unit4>
<Filename Value="../../../p-tools/turbochessclock4android/androidview.pas"/>
<UnitName Value="androidview"/>
<WindowIndex Value="0"/>
<TopLine Value="1"/>
<CursorPos X="82" Y="10"/>
<UsageCount Value="12"/>
</Unit4>
<Unit5>
<Filename Value="../../../p-tools/turbochessclock4android/androiddialog.pas"/>
<UnitName Value="androiddialog"/>
<WindowIndex Value="0"/>
<TopLine Value="1"/>
<CursorPos X="1" Y="1"/>
<UsageCount Value="12"/>
</Unit5>
<Unit6>
<Filename Value="../../../p-tools/turbochessclock4android/androidinputevent.pas"/>
<UnitName Value="androidinputevent"/>
<WindowIndex Value="0"/>
<TopLine Value="1"/>
<CursorPos X="1" Y="1"/>
<UsageCount Value="6"/>
</Unit6>
<Unit7>
<Filename Value="../../../p-tools/turbochessclock4android/android/src/com/pascal/turbochessclock/AndroidMenu.java"/>
<WindowIndex Value="0"/>
<TopLine Value="54"/>
<CursorPos X="87" Y="37"/>
<UsageCount Value="13"/>
<DefaultSyntaxHighlighter Value="Java"/>
</Unit7>
<Unit8>
<Filename Value="android_sdk_bindings_gen.pas"/> <Filename Value="android_sdk_bindings_gen.pas"/>
<IsPartOfProject Value="True"/> <IsPartOfProject Value="True"/>
<UnitName Value="android_sdk_bindings_gen"/> <UnitName Value="android_sdk_bindings_gen"/>
<EditorIndex Value="3"/> </Unit2>
<WindowIndex Value="0"/>
<TopLine Value="526"/>
<CursorPos X="58" Y="569"/>
<UsageCount Value="73"/>
<Loaded Value="True"/>
</Unit8>
<Unit9>
<Filename Value="../../../p-tools/turbochessclock4android/androidapp.pas"/>
<UnitName Value="androidapp"/>
<WindowIndex Value="0"/>
<TopLine Value="1"/>
<CursorPos X="1" Y="60"/>
<UsageCount Value="12"/>
</Unit9>
<Unit10>
<Filename Value="../../../p-tools/turbochessclock4android/androidpipescomm.pas"/>
<UnitName Value="androidpipescomm"/>
<WindowIndex Value="0"/>
<TopLine Value="1"/>
<CursorPos X="1" Y="1"/>
<UsageCount Value="6"/>
</Unit10>
<Unit11>
<Filename Value="../../../fpcbuild/fpcsrc/rtl/objpas/sysutils/sysstrh.inc"/>
<WindowIndex Value="0"/>
<TopLine Value="92"/>
<CursorPos X="18" Y="116"/>
<UsageCount Value="6"/>
<DefaultSyntaxHighlighter Value="Delphi"/>
</Unit11>
<Unit12>
<Filename Value="../../../p-tools/turbochessclock4android/android/src/com/pascal/turbochessclock/AndroidView.java"/>
<WindowIndex Value="0"/>
<TopLine Value="232"/>
<CursorPos X="111" Y="259"/>
<UsageCount Value="12"/>
<DefaultSyntaxHighlighter Value="Java"/>
</Unit12>
<Unit13>
<Filename Value="../../../p-tools/systeminfo4android/androidpipescomm.pas"/>
<UnitName Value="androidpipescomm"/>
<WindowIndex Value="0"/>
<TopLine Value="127"/>
<CursorPos X="17" Y="161"/>
<UsageCount Value="10"/>
</Unit13>
<Unit14>
<Filename Value="sdk_level_7/android_all.pas"/>
<UnitName Value="android_all"/>
<WindowIndex Value="0"/>
<TopLine Value="1"/>
<CursorPos X="1" Y="1"/>
<UsageCount Value="9"/>
</Unit14>
<Unit15>
<Filename Value="../../../p-tools/systeminfo4android/javalang.pas"/>
<UnitName Value="javalang"/>
<WindowIndex Value="0"/>
<TopLine Value="1"/>
<CursorPos X="1" Y="1"/>
<UsageCount Value="7"/>
</Unit15>
<Unit16>
<Filename Value="../../../p-tools/systeminfo4android/androidtimer.pas"/>
<UnitName Value="androidtimer"/>
<WindowIndex Value="0"/>
<TopLine Value="1"/>
<CursorPos X="3" Y="20"/>
<UsageCount Value="7"/>
</Unit16>
<Unit17>
<Filename Value="sdk_level_7/AndroidAll.java"/>
<WindowIndex Value="0"/>
<TopLine Value="441"/>
<CursorPos X="16" Y="441"/>
<UsageCount Value="9"/>
<DefaultSyntaxHighlighter Value="Java"/>
</Unit17>
<Unit18>
<Filename Value="sdk_level_7/android_all.txt"/>
<EditorIndex Value="4"/>
<WindowIndex Value="0"/>
<TopLine Value="267"/>
<CursorPos X="19" Y="308"/>
<UsageCount Value="28"/>
<Loaded Value="True"/>
<DefaultSyntaxHighlighter Value="None"/>
</Unit18>
<Unit19>
<Filename Value="../../../lazarus/lcl/graphics.pp"/>
<UnitName Value="Graphics"/>
<WindowIndex Value="0"/>
<TopLine Value="501"/>
<CursorPos X="54" Y="525"/>
<UsageCount Value="7"/>
</Unit19>
<Unit20>
<Filename Value="../../../test/androidlcl/android/src/com/pascal/androidlcl/AndroidAll.java"/>
<WindowIndex Value="0"/>
<TopLine Value="365"/>
<CursorPos X="38" Y="381"/>
<UsageCount Value="7"/>
<DefaultSyntaxHighlighter Value="Java"/>
</Unit20>
<Unit21>
<Filename Value="../../../lazarus/lcl/interfaces/lcl.pas"/>
<UnitName Value="LCL"/>
<EditorIndex Value="1"/>
<WindowIndex Value="0"/>
<TopLine Value="1"/>
<CursorPos X="26" Y="9"/>
<UsageCount Value="28"/>
<Loaded Value="True"/>
</Unit21>
<Unit22>
<Filename Value="../../examples/androidlcl/android/src/com/pascal/androidlcl/AndroidAll.java"/>
<IsVisibleTab Value="True"/>
<EditorIndex Value="6"/>
<WindowIndex Value="0"/>
<TopLine Value="451"/>
<CursorPos X="40" Y="451"/>
<UsageCount Value="12"/>
<Loaded Value="True"/>
<DefaultSyntaxHighlighter Value="Java"/>
</Unit22>
<Unit23>
<Filename Value="../../../lazarus/lcl/interfaces/android/android_all.pas"/>
<UnitName Value="android_all"/>
<EditorIndex Value="5"/>
<WindowIndex Value="0"/>
<TopLine Value="882"/>
<CursorPos X="34" Y="882"/>
<UsageCount Value="28"/>
<Loaded Value="True"/>
</Unit23>
<Unit24>
<Filename Value="../../../lazarus/lcl/interfaces/android/androidpipescomm.pas"/>
<UnitName Value="androidpipescomm"/>
<EditorIndex Value="7"/>
<WindowIndex Value="0"/>
<TopLine Value="38"/>
<CursorPos X="15" Y="62"/>
<UsageCount Value="28"/>
<Loaded Value="True"/>
</Unit24>
<Unit25>
<Filename Value="../../../lazarus/lcl/interfaces/android/androidapp.pas"/>
<UnitName Value="androidapp"/>
<WindowIndex Value="0"/>
<TopLine Value="74"/>
<CursorPos X="1" Y="1"/>
<UsageCount Value="7"/>
</Unit25>
<Unit26>
<Filename Value="../../../lazarus/lcl/arrow.pp"/>
<UnitName Value="Arrow"/>
<WindowIndex Value="0"/>
<TopLine Value="21"/>
<CursorPos X="3" Y="45"/>
<UsageCount Value="18"/>
</Unit26>
<Unit27>
<Filename Value="../../../lazarus/lcl/extctrls.pp"/>
<UnitName Value="ExtCtrls"/>
<WindowIndex Value="0"/>
<TopLine Value="388"/>
<CursorPos X="3" Y="412"/>
<UsageCount Value="18"/>
</Unit27>
<Unit28>
<Filename Value="../../../lazarus/lcl/comctrls.pp"/>
<UnitName Value="ComCtrls"/>
<WindowIndex Value="0"/>
<TopLine Value="1952"/>
<CursorPos X="26" Y="1976"/>
<UsageCount Value="18"/>
</Unit28>
<Unit29>
<Filename Value="../../../lazarus/lcl/stdctrls.pp"/>
<UnitName Value="StdCtrls"/>
<WindowIndex Value="0"/>
<TopLine Value="1025"/>
<CursorPos X="32" Y="1049"/>
<UsageCount Value="18"/>
</Unit29>
<Unit30>
<Filename Value="../../../lazarus/lcl/grids.pas"/>
<UnitName Value="Grids"/>
<WindowIndex Value="0"/>
<TopLine Value="606"/>
<CursorPos X="3" Y="630"/>
<UsageCount Value="18"/>
</Unit30>
<Unit31>
<Filename Value="../../../lazarus/lcl/toolwin.pp"/>
<UnitName Value="Toolwin"/>
<WindowIndex Value="0"/>
<TopLine Value="31"/>
<CursorPos X="3" Y="56"/>
<UsageCount Value="18"/>
</Unit31>
<Unit32>
<Filename Value="../../../lazarus/lcl/interfaces/wince/winceobject.inc"/>
<WindowIndex Value="0"/>
<TopLine Value="301"/>
<CursorPos X="12" Y="339"/>
<UsageCount Value="8"/>
</Unit32>
<Unit33>
<Filename Value="../../../lazarus/lcl/interfaces/carbon/carbonobject.inc"/>
<WindowIndex Value="0"/>
<TopLine Value="520"/>
<CursorPos X="44" Y="552"/>
<UsageCount Value="8"/>
</Unit33>
<Unit34>
<Filename Value="../../examples/androidlcl/android/src/com/pascal/androidlcl/AndroidApp.java"/>
<WindowIndex Value="0"/>
<TopLine Value="1"/>
<CursorPos X="1" Y="1"/>
<UsageCount Value="10"/>
<DefaultSyntaxHighlighter Value="Java"/>
</Unit34>
<Unit35>
<Filename Value="../../../lazarus/lcl/interfaces/android/javalang.pas"/>
<UnitName Value="javalang"/>
<WindowIndex Value="0"/>
<TopLine Value="53"/>
<CursorPos X="3" Y="77"/>
<UsageCount Value="10"/>
</Unit35>
</Units> </Units>
<JumpHistory Count="30" HistoryIndex="29">
<Position1>
<Filename Value="sdk_level_7/android_all.txt"/>
<Caret Line="164" Column="12" TopLine="123"/>
</Position1>
<Position2>
<Filename Value="sdk_level_7/android_all.txt"/>
<Caret Line="203" Column="12" TopLine="162"/>
</Position2>
<Position3>
<Filename Value="sdk_level_7/android_all.txt"/>
<Caret Line="231" Column="1" TopLine="183"/>
</Position3>
<Position4>
<Filename Value="sdk_level_7/android_all.txt"/>
<Caret Line="233" Column="12" TopLine="192"/>
</Position4>
<Position5>
<Filename Value="sdk_level_7/android_all.txt"/>
<Caret Line="236" Column="12" TopLine="195"/>
</Position5>
<Position6>
<Filename Value="sdk_level_7/android_all.txt"/>
<Caret Line="243" Column="12" TopLine="202"/>
</Position6>
<Position7>
<Filename Value="sdk_level_7/android_all.txt"/>
<Caret Line="246" Column="12" TopLine="205"/>
</Position7>
<Position8>
<Filename Value="sdk_level_7/android_all.txt"/>
<Caret Line="251" Column="12" TopLine="210"/>
</Position8>
<Position9>
<Filename Value="sdk_level_7/android_all.txt"/>
<Caret Line="260" Column="12" TopLine="219"/>
</Position9>
<Position10>
<Filename Value="sdk_level_7/android_all.txt"/>
<Caret Line="263" Column="13" TopLine="222"/>
</Position10>
<Position11>
<Filename Value="sdk_level_7/android_all.txt"/>
<Caret Line="271" Column="12" TopLine="230"/>
</Position11>
<Position12>
<Filename Value="sdk_level_7/android_all.txt"/>
<Caret Line="289" Column="12" TopLine="248"/>
</Position12>
<Position13>
<Filename Value="sdk_level_7/android_all.txt"/>
<Caret Line="286" Column="52" TopLine="267"/>
</Position13>
<Position14>
<Filename Value="sdk_level_7/android_all.txt"/>
<Caret Line="2" Column="1" TopLine="1"/>
</Position14>
<Position15>
<Filename Value="sdk_level_7/android_all.txt"/>
<Caret Line="24" Column="12" TopLine="1"/>
</Position15>
<Position16>
<Filename Value="sdk_level_7/android_all.txt"/>
<Caret Line="164" Column="12" TopLine="123"/>
</Position16>
<Position17>
<Filename Value="sdk_level_7/android_all.txt"/>
<Caret Line="203" Column="12" TopLine="162"/>
</Position17>
<Position18>
<Filename Value="sdk_level_7/android_all.txt"/>
<Caret Line="224" Column="12" TopLine="183"/>
</Position18>
<Position19>
<Filename Value="sdk_level_7/android_all.txt"/>
<Caret Line="230" Column="12" TopLine="189"/>
</Position19>
<Position20>
<Filename Value="sdk_level_7/android_all.txt"/>
<Caret Line="233" Column="12" TopLine="192"/>
</Position20>
<Position21>
<Filename Value="sdk_level_7/android_all.txt"/>
<Caret Line="236" Column="12" TopLine="195"/>
</Position21>
<Position22>
<Filename Value="sdk_level_7/android_all.txt"/>
<Caret Line="243" Column="12" TopLine="202"/>
</Position22>
<Position23>
<Filename Value="sdk_level_7/android_all.txt"/>
<Caret Line="246" Column="12" TopLine="205"/>
</Position23>
<Position24>
<Filename Value="sdk_level_7/android_all.txt"/>
<Caret Line="251" Column="12" TopLine="210"/>
</Position24>
<Position25>
<Filename Value="sdk_level_7/android_all.txt"/>
<Caret Line="260" Column="12" TopLine="219"/>
</Position25>
<Position26>
<Filename Value="sdk_level_7/android_all.txt"/>
<Caret Line="263" Column="13" TopLine="222"/>
</Position26>
<Position27>
<Filename Value="sdk_level_7/android_all.txt"/>
<Caret Line="271" Column="12" TopLine="230"/>
</Position27>
<Position28>
<Filename Value="sdk_level_7/android_all.txt"/>
<Caret Line="289" Column="12" TopLine="248"/>
</Position28>
<Position29>
<Filename Value="sdk_level_7/android_all.txt"/>
<Caret Line="277" Column="56" TopLine="267"/>
</Position29>
<Position30>
<Filename Value="sdk_level_7/android_all.txt"/>
<Caret Line="2" Column="1" TopLine="1"/>
</Position30>
</JumpHistory>
</ProjectOptions> </ProjectOptions>
<CompilerOptions> <CompilerOptions>
<Version Value="10"/> <Version Value="10"/>
@ -490,6 +76,9 @@
</Options> </Options>
</Linking> </Linking>
<Other> <Other>
<CompilerMessages>
<UseMsgFile Value="True"/>
</CompilerMessages>
<CompilerPath Value="$(CompPath)"/> <CompilerPath Value="$(CompPath)"/>
</Other> </Other>
</CompilerOptions> </CompilerOptions>

View File

@ -206,11 +206,344 @@ const MATCH_PARENT = $FFFFFFFF;
const WRAP_CONTENT = $FFFFFFFE; const WRAP_CONTENT = $FFFFFFFE;
[View] TJavaObject [View] TJavaObject
method void setLayoutParams(ViewGroup.LayoutParams params); const DRAWING_CACHE_QUALITY_AUTO = 0;
method void setVisibility(int visibility); const DRAWING_CACHE_QUALITY_HIGH = $00100000;
const VISIBLE = 0; const DRAWING_CACHE_QUALITY_LOW = $00080000;
const INVISIBLE = 4; const FOCUSABLES_ALL = $00000000;
const FOCUSABLES_TOUCH_MODE = 1;
const FOCUS_BACKWARD = 1;
const FOCUS_DOWN = $00000082;
const FOCUS_FORWARD = 2;
const FOCUS_LEFT = $00000011;
const FOCUS_RIGHT = $00000042;
const FOCUS_UP = $00000021;
const GONE = 8; const GONE = 8;
const HAPTIC_FEEDBACK_ENABLED = $10000000;
const INVISIBLE = 4;
const KEEP_SCREEN_ON = $04000000;
const LAYER_TYPE_HARDWARE = 2;
const LAYER_TYPE_NONE = 0;
const LAYER_TYPE_SOFTWARE = 1;
const MEASURED_HEIGHT_STATE_SHIFT = $00000010;
const MEASURED_SIZE_MASK = $00ffffff;
const MEASURED_STATE_MASK = $ff000000;
const MEASURED_STATE_TOO_SMALL = $01000000;
const NO_ID = $ffffffff;
const OVER_SCROLL_ALWAYS = 0;
const OVER_SCROLL_IF_CONTENT_SCROLLS = 1;
const OVER_SCROLL_NEVER = 2;
const SCROLLBARS_INSIDE_INSET = $01000000;
const SCROLLBARS_INSIDE_OVERLAY = 0;
const SCROLLBARS_OUTSIDE_INSET = $03000000;
const SCROLLBARS_OUTSIDE_OVERLAY = $02000000;
const SCROLLBAR_POSITION_DEFAULT = 0;
const SCROLLBAR_POSITION_LEFT = 1;
const SCROLLBAR_POSITION_RIGHT = 2;
const SOUND_EFFECTS_ENABLED = $08000000;
const STATUS_BAR_HIDDEN = 1;
const STATUS_BAR_VISIBLE = 0;
const VIEW_LOG_TAG = 'View';
const VISIBLE = 0;
#
#View(Context context)
#View(Context context, AttributeSet attrs)
#View(Context context, AttributeSet attrs, int defStyle)
#void addFocusables(ArrayList<View> views, int direction)
#void addFocusables(ArrayList<View> views, int direction, int focusableMode)
#void addOnAttachStateChangeListener(View.OnAttachStateChangeListener listener)
#void addOnLayoutChangeListener(View.OnLayoutChangeListener listener)
#void addTouchables(ArrayList<View> views)
#ViewPropertyAnimator animate()
#void bringToFront()
#void buildDrawingCache(boolean autoScale)
#void buildDrawingCache()
#void buildLayer()
#void cancelLongPress()
#boolean checkInputConnectionProxy(View view)
#void clearAnimation()
#void clearFocus()
#static int combineMeasuredStates(int curState, int newState)
#void computeScroll()
#void createContextMenu(ContextMenu menu)
#void destroyDrawingCache()
#void dispatchConfigurationChanged(Configuration newConfig)
#void dispatchDisplayHint(int hint)
#boolean dispatchDragEvent(DragEvent event)
#boolean dispatchGenericMotionEvent(MotionEvent event)
#boolean dispatchKeyEvent(KeyEvent event)
#boolean dispatchKeyEventPreIme(KeyEvent event)
#boolean dispatchKeyShortcutEvent(KeyEvent event)
#boolean dispatchPopulateAccessibilityEvent(AccessibilityEvent event)
#Dispatches an AccessibilityEvent to the View children to be populated.
#void dispatchSystemUiVisibilityChanged(int visibility)
#boolean dispatchTouchEvent(MotionEvent event)
#boolean dispatchTrackballEvent(MotionEvent event)
#boolean dispatchUnhandledMove(View focused, int direction)
#void dispatchWindowFocusChanged(boolean hasFocus)
#void dispatchWindowVisibilityChanged(int visibility)
#void draw(Canvas canvas)
#View findFocus()
#final View findViewById(int id)
#final View findViewWithTag(Object tag)
#View focusSearch(int direction)
#void forceLayout()
#float getAlpha()
#Animation getAnimation()
#IBinder getApplicationWindowToken()
#Drawable getBackground()
#int getBaseline()
#final int getBottom()
#CharSequence getContentDescription()
#final Context getContext()
#static int getDefaultSize(int size, int measureSpec)
#final int[] getDrawableState()
#Bitmap getDrawingCache(boolean autoScale)
#Bitmap getDrawingCache()
#int getDrawingCacheBackgroundColor()
#int getDrawingCacheQuality()
#void getDrawingRect(Rect outRect)
#long getDrawingTime()
#boolean getFilterTouchesWhenObscured()
#ArrayList<View> getFocusables(int direction)
#void getFocusedRect(Rect r)
#boolean getGlobalVisibleRect(Rect r, Point globalOffset)
#final boolean getGlobalVisibleRect(Rect r)
#Handler getHandler()
#final int getHeight()
#void getHitRect(Rect outRect)
#int getHorizontalFadingEdgeLength()
#int getId()
#boolean getKeepScreenOn()
#KeyEvent.DispatcherState getKeyDispatcherState()
#int getLayerType()
#ViewGroup.LayoutParams getLayoutParams()
#final int getLeft()
#final boolean getLocalVisibleRect(Rect r)
#void getLocationInWindow(int[] location)
#void getLocationOnScreen(int[] location)
#Matrix getMatrix()
#final int getMeasuredHeight()
#final int getMeasuredHeightAndState()
#final int getMeasuredState()
#final int getMeasuredWidth()
#final int getMeasuredWidthAndState()
#int getNextFocusDownId()
#int getNextFocusForwardId()
#int getNextFocusLeftId()
#int getNextFocusRightId()
#int getNextFocusUpId()
#View.OnFocusChangeListener getOnFocusChangeListener()
#int getOverScrollMode()
#int getPaddingBottom()
#int getPaddingLeft()
#int getPaddingRight()
#int getPaddingTop()
#final ViewParent getParent()
#float getPivotX()
#float getPivotY()
#Resources getResources()
#final int getRight()
#View getRootView()
#float getRotation()
#float getRotationX()
#float getRotationY()
#float getScaleX()
#float getScaleY()
#int getScrollBarStyle()
#final int getScrollX()
#final int getScrollY()
#int getSolidColor()
#int getSystemUiVisibility()
#Object getTag(int key)
#Object getTag()
#final int getTop()
#TouchDelegate getTouchDelegate()
#ArrayList<View> getTouchables()
#float getTranslationX()
#float getTranslationY()
#int getVerticalFadingEdgeLength()
#int getVerticalScrollbarPosition()
#int getVerticalScrollbarWidth()
#ViewTreeObserver getViewTreeObserver()
#int getVisibility()
#final int getWidth()
#IBinder getWindowToken()
#int getWindowVisibility()
#void getWindowVisibleDisplayFrame(Rect outRect)
#float getX()
#float getY()
#boolean hasFocus()
#boolean hasFocusable()
#boolean hasWindowFocus()
#static View inflate(Context context, int resource, ViewGroup root)
#void invalidate(Rect dirty)
#void invalidate(int l, int t, int r, int b)
#void invalidate()
#void invalidateDrawable(Drawable drawable)
#boolean isActivated()
#boolean isClickable()
#boolean isDirty()
#boolean isDrawingCacheEnabled()
#boolean isDuplicateParentStateEnabled()
#boolean isEnabled()
#final boolean isFocusable()
#final boolean isFocusableInTouchMode()
#boolean isFocused()
#boolean isHapticFeedbackEnabled()
#boolean isHardwareAccelerated()
#boolean isHorizontalFadingEdgeEnabled()
#boolean isHorizontalScrollBarEnabled()
#boolean isInEditMode()
#boolean isInTouchMode()
#boolean isLayoutRequested()
#boolean isLongClickable()
#boolean isOpaque()
#boolean isPressed()
#boolean isSaveEnabled()
#boolean isSaveFromParentEnabled()
#boolean isScrollbarFadingEnabled()
#boolean isSelected()
#boolean isShown()
#boolean isSoundEffectsEnabled()
#boolean isVerticalFadingEdgeEnabled()
#boolean isVerticalScrollBarEnabled()
#void jumpDrawablesToCurrentState()
#void layout(int l, int t, int r, int b)
#final void measure(int widthMeasureSpec, int heightMeasureSpec)
#void offsetLeftAndRight(int offset)
#void offsetTopAndBottom(int offset)
#boolean onCheckIsTextEditor()
#InputConnection onCreateInputConnection(EditorInfo outAttrs)
#boolean onDragEvent(DragEvent event)
#boolean onFilterTouchEventForSecurity(MotionEvent event)
#void onFinishTemporaryDetach()
#boolean onGenericMotionEvent(MotionEvent event)
#boolean onKeyDown(int keyCode, KeyEvent event)
#boolean onKeyLongPress(int keyCode, KeyEvent event)
#boolean onKeyMultiple(int keyCode, int repeatCount, KeyEvent event)
#boolean onKeyPreIme(int keyCode, KeyEvent event)
#boolean onKeyShortcut(int keyCode, KeyEvent event)
#boolean onKeyUp(int keyCode, KeyEvent event)
#void onStartTemporaryDetach()
#boolean onTouchEvent(MotionEvent event)
#boolean onTrackballEvent(MotionEvent event)
#void onWindowFocusChanged(boolean hasWindowFocus)
#boolean performClick()
#boolean performHapticFeedback(int feedbackConstant, int flags)
#boolean performHapticFeedback(int feedbackConstant)
#boolean performLongClick()
#void playSoundEffect(int soundConstant)
#boolean post(Runnable action)
#boolean postDelayed(Runnable action, long delayMillis)
#void postInvalidate(int left, int top, int right, int bottom)
#void postInvalidate()
#void postInvalidateDelayed(long delayMilliseconds, int left, int top, int right, int bottom)
#void postInvalidateDelayed(long delayMilliseconds)
#void refreshDrawableState()
#boolean removeCallbacks(Runnable action)
#void removeOnAttachStateChangeListener(View.OnAttachStateChangeListener listener)
#void removeOnLayoutChangeListener(View.OnLayoutChangeListener listener)
#boolean requestFocus(int direction, Rect previouslyFocusedRect)
#final boolean requestFocus(int direction)
#final boolean requestFocus()
#final boolean requestFocusFromTouch()
#void requestLayout()
#boolean requestRectangleOnScreen(Rect rectangle)
#boolean requestRectangleOnScreen(Rect rectangle, boolean immediate)
#static int resolveSize(int size, int measureSpec)
#static int resolveSizeAndState(int size, int measureSpec, int childMeasuredState)
#void restoreHierarchyState(SparseArray<Parcelable> container)
#void saveHierarchyState(SparseArray<Parcelable> container)
#void scheduleDrawable(Drawable who, Runnable what, long when)
#void scrollBy(int x, int y)
#void scrollTo(int x, int y)
#void sendAccessibilityEvent(int eventType)
#void sendAccessibilityEventUnchecked(AccessibilityEvent event)
#void setActivated(boolean activated)
#void setAlpha(float alpha)
#void setAnimation(Animation animation)
#void setBackgroundColor(int color)
#void setBackgroundDrawable(Drawable d)
#void setBackgroundResource(int resid)
#final void setBottom(int bottom)
#void setCameraDistance(float distance)
#void setClickable(boolean clickable)
#void setContentDescription(CharSequence contentDescription)
#void setDrawingCacheBackgroundColor(int color)
#void setDrawingCacheEnabled(boolean enabled)
#void setDrawingCacheQuality(int quality)
#void setDuplicateParentStateEnabled(boolean enabled)
#void setEnabled(boolean enabled)
#void setFadingEdgeLength(int length)
#void setFilterTouchesWhenObscured(boolean enabled)
#void setFocusable(boolean focusable)
#void setFocusableInTouchMode(boolean focusableInTouchMode)
#void setHapticFeedbackEnabled(boolean hapticFeedbackEnabled)
#void setHorizontalFadingEdgeEnabled(boolean horizontalFadingEdgeEnabled)
#void setHorizontalScrollBarEnabled(boolean horizontalScrollBarEnabled)
#void setId(int id)
#void setKeepScreenOn(boolean keepScreenOn)
#void setLayerType(int layerType, Paint paint)
method void setLayoutParams(ViewGroup.LayoutParams params);
#final void setLeft(int left)
#void setLongClickable(boolean longClickable)
#void setMinimumHeight(int minHeight)
#void setMinimumWidth(int minWidth)
#void setNextFocusDownId(int nextFocusDownId)
#void setNextFocusForwardId(int nextFocusForwardId)
#void setNextFocusLeftId(int nextFocusLeftId)
#void setNextFocusRightId(int nextFocusRightId)
#void setNextFocusUpId(int nextFocusUpId)
callbacksetter void setOnClickListener($View.OnClickListener l)
#void setOnCreateContextMenuListener(View.OnCreateContextMenuListener l)
#void setOnDragListener(View.OnDragListener l)
#void setOnFocusChangeListener(View.OnFocusChangeListener l)
#void setOnGenericMotionListener(View.OnGenericMotionListener l)
#void setOnKeyListener(View.OnKeyListener l)
#void setOnLongClickListener(View.OnLongClickListener l)
#void setOnSystemUiVisibilityChangeListener(View.OnSystemUiVisibilityChangeListener l)
#void setOnTouchListener(View.OnTouchListener l)
#void setOverScrollMode(int overScrollMode)
#void setPadding(int left, int top, int right, int bottom)
#void setPivotX(float pivotX)
#void setPivotY(float pivotY)
#void setPressed(boolean pressed)
#final void setRight(int right)
#void setRotation(float rotation)
#void setRotationX(float rotationX)
#void setRotationY(float rotationY)
#void setSaveEnabled(boolean enabled)
#void setSaveFromParentEnabled(boolean enabled)
#void setScaleX(float scaleX)
#void setScaleY(float scaleY)
#void setScrollBarStyle(int style)
#void setScrollContainer(boolean isScrollContainer)
#void setScrollbarFadingEnabled(boolean fadeScrollbars)
#void setSelected(boolean selected)
#void setSoundEffectsEnabled(boolean soundEffectsEnabled)
#void setSystemUiVisibility(int visibility)
#void setTag(int key, Object tag)
#void setTag(Object tag)
#final void setTop(int top)
#void setTouchDelegate(TouchDelegate delegate)
#void setTranslationX(float translationX)
#void setTranslationY(float translationY)
#void setVerticalFadingEdgeEnabled(boolean verticalFadingEdgeEnabled)
#void setVerticalScrollBarEnabled(boolean verticalScrollBarEnabled)
#void setVerticalScrollbarPosition(int position)
method void setVisibility(int visibility);
#void setWillNotCacheDrawing(boolean willNotCacheDrawing)
#void setWillNotDraw(boolean willNotDraw)
#void setX(float x)
#void setY(float y)
#boolean showContextMenu()
#ActionMode startActionMode(ActionMode.Callback callback)
#void startAnimation(Animation animation)
#final boolean startDrag(ClipData data, View.DragShadowBuilder shadowBuilder, Object myLocalState, int flags)
#void unscheduleDrawable(Drawable who)
#void unscheduleDrawable(Drawable who, Runnable what)
#boolean willNotCacheDrawing()
#boolean willNotDraw()
[ViewGroup] View [ViewGroup] View
method void addView(View child, int aindex, ViewGroup.LayoutParams params); overload; method void addView(View child, int aindex, ViewGroup.LayoutParams params); overload;
@ -234,13 +567,192 @@ constructor Create(int param_width, int param_height, int param_x, int param_y);
[TextView] View [TextView] View
constructor Create(Activity); override; constructor Create(Activity); override;
method void setText(CharSequence AText); #TextView(Context context, AttributeSet attrs)
callbacksetter void setOnClickListener($View.OnClickListener l) #TextView(Context context, AttributeSet attrs, int defStyle)
method void setTextSize(int unit_; float size); #void addTextChangedListener(TextWatcher watcher)
#final void append(CharSequence text)
#void append(CharSequence text, int start, int end)
#void beginBatchEdit()
#boolean bringPointIntoView(int offset)
#void cancelLongPress()
#void clearComposingText()
#void computeScroll()
#void debug(int depth)
#boolean didTouchFocusSelect()
#boolean dispatchPopulateAccessibilityEvent(AccessibilityEvent event)
#void endBatchEdit()
#boolean extractText(ExtractedTextRequest request, ExtractedText outText)
#final int getAutoLinkMask()
#int getBaseline()
#int getCompoundDrawablePadding()
#Drawable[] getCompoundDrawables()
#int getCompoundPaddingBottom()
#int getCompoundPaddingLeft()
#int getCompoundPaddingRight()
#int getCompoundPaddingTop()
#final int getCurrentHintTextColor()
#final int getCurrentTextColor()
#ActionMode.Callback getCustomSelectionActionModeCallback()
#Editable getEditableText()
#TextUtils.TruncateAt getEllipsize()
#CharSequence getError()
#int getExtendedPaddingBottom()
#int getExtendedPaddingTop()
#InputFilter[] getFilters()
#void getFocusedRect(Rect r)
#boolean getFreezesText()
#int getGravity()
#CharSequence getHint()
#final ColorStateList getHintTextColors()
#int getImeActionId()
#CharSequence getImeActionLabel()
#int getImeOptions()
#Bundle getInputExtras(boolean create)
#int getInputType()
#final KeyListener getKeyListener()
#final Layout getLayout()
#int getLineBounds(int line, Rect bounds)
#int getLineCount()
#int getLineHeight()
#final ColorStateList getLinkTextColors()
#final boolean getLinksClickable()
#final MovementMethod getMovementMethod()
#TextPaint getPaint()
#int getPaintFlags()
#String getPrivateImeOptions()
#int getSelectionEnd()
#int getSelectionStart()
method CharSequence getText() method CharSequence getText()
#static int getTextColor(Context context, TypedArray attrs, int def)
#final ColorStateList getTextColors()
#static ColorStateList getTextColors(Context context, TypedArray attrs)
#float getTextScaleX()
#float getTextSize()
#int getTotalPaddingBottom()
#int getTotalPaddingLeft()
#int getTotalPaddingRight()
#int getTotalPaddingTop()
#final TransformationMethod getTransformationMethod()
#URLSpan[] getUrls()
#boolean hasSelection()
#void invalidateDrawable(Drawable drawable)
#boolean isInputMethodTarget()
#boolean isTextSelectable()
#void jumpDrawablesToCurrentState()
#int length()
#boolean moveCursorToVisibleOffset()
#void onBeginBatchEdit()
#boolean onCheckIsTextEditor()
#void onCommitCompletion(CompletionInfo text)
#void onCommitCorrection(CorrectionInfo info)
#InputConnection onCreateInputConnection(EditorInfo outAttrs)
#boolean onDragEvent(DragEvent event)
#void onEditorAction(int actionCode)
#void onEndBatchEdit()
#void onFinishTemporaryDetach()
#boolean onGenericMotionEvent(MotionEvent event)
#boolean onKeyDown(int keyCode, KeyEvent event)
#boolean onKeyMultiple(int keyCode, int repeatCount, KeyEvent event)
#boolean onKeyShortcut(int keyCode, KeyEvent event)
#boolean onKeyUp(int keyCode, KeyEvent event)
#boolean onPreDraw()
#boolean onPrivateIMECommand(String action, Bundle data)
#void onRestoreInstanceState(Parcelable state)
#Parcelable onSaveInstanceState()
#void onStartTemporaryDetach()
#boolean onTextContextMenuItem(int id)
#boolean onTouchEvent(MotionEvent event)
#boolean onTrackballEvent(MotionEvent event)
#void onWindowFocusChanged(boolean hasWindowFocus)
#boolean performLongClick()
#void removeTextChangedListener(TextWatcher watcher)
#final void setAutoLinkMask(int mask)
#void setCompoundDrawablePadding(int pad)
#void setCompoundDrawables(Drawable left, Drawable top, Drawable right, Drawable bottom)
#void setCompoundDrawablesWithIntrinsicBounds(Drawable left, Drawable top, Drawable right, Drawable bottom)
#void setCompoundDrawablesWithIntrinsicBounds(int left, int top, int right, int bottom)
#void setCursorVisible(boolean visible)
#void setCustomSelectionActionModeCallback(ActionMode.Callback actionModeCallback)
#final void setEditableFactory(Editable.Factory factory)
#void setEllipsize(TextUtils.TruncateAt where)
#void setEms(int ems)
#void setEnabled(boolean enabled)
#void setError(CharSequence error)
#void setError(CharSequence error, Drawable icon)
#void setExtractedText(ExtractedText text)
#void setFilters(InputFilter[] filters)
#void setFreezesText(boolean freezesText)
#void setGravity(int gravity)
#void setHeight(int pixels)
#void setHighlightColor(int color)
#final void setHint(CharSequence hint)
#final void setHint(int resid)
#final void setHintTextColor(ColorStateList colors)
#final void setHintTextColor(int color)
#void setHorizontallyScrolling(boolean whether)
#void setImeActionLabel(CharSequence label, int actionId)
#void setImeOptions(int imeOptions)
#void setIncludeFontPadding(boolean includepad)
#void setInputExtras(int xmlResId)
#void setInputType(int type)
#void setKeyListener(KeyListener input)
#void setLineSpacing(float add, float mult)
#void setLines(int lines)
#final void setLinkTextColor(ColorStateList colors)
#final void setLinkTextColor(int color)
#final void setLinksClickable(boolean whether)
#void setMarqueeRepeatLimit(int marqueeLimit)
#void setMaxEms(int maxems)
#void setMaxHeight(int maxHeight)
#void setMaxLines(int maxlines)
#void setMaxWidth(int maxpixels)
#void setMinEms(int minems)
#void setMinHeight(int minHeight)
#void setMinLines(int minlines)
#void setMinWidth(int minpixels)
#final void setMovementMethod(MovementMethod movement)
#void setOnEditorActionListener(TextView.OnEditorActionListener l)
#void setPadding(int left, int top, int right, int bottom)
#void setPaintFlags(int flags)
#void setPrivateImeOptions(String type)
#void setRawInputType(int type)
#void setScroller(Scroller s)
#void setSelectAllOnFocus(boolean selectAllOnFocus)
#void setSelected(boolean selected)
#void setShadowLayer(float radius, float dx, float dy, int color)
#void setSingleLine()
#void setSingleLine(boolean singleLine)
#final void setSpannableFactory(Spannable.Factory factory)
#final void setText(int resid)
#final void setText(char[] text, int start, int len)
#final void setText(int resid, TextView.BufferType type)
method void setText(CharSequence AText);
#void setText(CharSequence text, TextView.BufferType type)
#void setTextAppearance(Context context, int resid)
#void setTextColor(ColorStateList colors)
#void setTextColor(int color)
#void setTextIsSelectable(boolean selectable)
#final void setTextKeepState(CharSequence text)
#final void setTextKeepState(CharSequence text, TextView.BufferType type)
#void setTextScaleX(float size)
#void setTextSize(float size)
method void setTextSize(int unit_; float size);
#final void setTransformationMethod(TransformationMethod method)
#void setTypeface(Typeface tf, int style)
#void setTypeface(Typeface tf)
#void setWidth(int pixels)
[EditText] TextView [EditText] TextView
constructor Create(Activity); override; constructor Create(Activity); override;
#EditText(Context context, AttributeSet attrs)
#EditText(Context context, AttributeSet attrs, int defStyle)
#void extendSelection(int index)
#Editable getText()
#void selectAll()
#void setEllipsize(TextUtils.TruncateAt ellipsis)
#void setSelection(int index)
#void setSelection(int start, int stop)
#void setText(CharSequence text, TextView.BufferType type)
[Button] TextView [Button] TextView
constructor Create(Activity); override; constructor Create(Activity); override;